Class BusinessObjectRestrictionsBase

java.lang.Object
org.kuali.rice.kns.document.authorization.BusinessObjectRestrictionsBase
All Implemented Interfaces:
Serializable, BusinessObjectRestrictions
Direct Known Subclasses:
InquiryOrMaintenanceDocumentRestrictionsBase

@Deprecated public class BusinessObjectRestrictionsBase extends Object implements BusinessObjectRestrictions
Deprecated.
Only used in KNS classes, use KRAD.
See Also:
  • Field Details

    • allRestrictedFields

      protected Set<String> allRestrictedFields
      Deprecated.
  • Constructor Details

    • BusinessObjectRestrictionsBase

      public BusinessObjectRestrictionsBase()
      Deprecated.
  • Method Details

    • hasAnyFieldRestrictions

      public boolean hasAnyFieldRestrictions()
      Deprecated.
      Specified by:
      hasAnyFieldRestrictions in interface BusinessObjectRestrictions
    • hasRestriction

      public boolean hasRestriction(String fieldName)
      Deprecated.
      Specified by:
      hasRestriction in interface BusinessObjectRestrictions
    • addFullyMaskedField

      public void addFullyMaskedField(String fieldName, MaskFormatter maskFormatter)
      Deprecated.
      Specified by:
      addFullyMaskedField in interface BusinessObjectRestrictions
    • addPartiallyMaskedField

      public void addPartiallyMaskedField(String fieldName, MaskFormatter maskFormatter)
      Deprecated.
      Specified by:
      addPartiallyMaskedField in interface BusinessObjectRestrictions
    • getFieldRestriction

      public FieldRestriction getFieldRestriction(String fieldName)
      Deprecated.
      This method returns the authorization setting for the given field name. If the field name is not restricted in any way, a default full-editable value is returned.
      Specified by:
      getFieldRestriction in interface BusinessObjectRestrictions
      Parameters:
      fieldName - - name of field to get authorization restrictions for.
      Returns:
      a populated FieldAuthorization class for this field
    • clearAllRestrictions

      public void clearAllRestrictions()
      Deprecated.
    • normalizeFieldName

      protected String normalizeFieldName(String fieldName)
      Deprecated.
      This method is used to convert field names on forms into a format that's compatible with field names that are registered with a restriction. The base implementation of this method just returns the string.
      Parameters:
      fieldName - The field name that would be rendered on a form
      Returns:
    • isFullyMaskedField

      protected boolean isFullyMaskedField(String fieldName)
      Deprecated.
    • isPartiallyMaskedField

      protected boolean isPartiallyMaskedField(String fieldName)
      Deprecated.