org.kuali.rice.kns.document.authorization
Class BusinessObjectRestrictionsBase

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

Deprecated. Only used in KNS classes, use KRAD.

@Deprecated
public class BusinessObjectRestrictionsBase
extends Object
implements BusinessObjectRestrictions

See Also:
Serialized Form

Field Summary
protected  Set<String> allRestrictedFields
          Deprecated.  
 
Constructor Summary
BusinessObjectRestrictionsBase()
          Deprecated.  
 
Method Summary
 void addFullyMaskedField(String fieldName, MaskFormatter maskFormatter)
          Deprecated.  
 void addPartiallyMaskedField(String fieldName, MaskFormatter maskFormatter)
          Deprecated.  
 void clearAllRestrictions()
          Deprecated.  
 FieldRestriction getFieldRestriction(String fieldName)
          Deprecated. This method returns the authorization setting for the given field name.
 boolean hasAnyFieldRestrictions()
          Deprecated.  
 boolean hasRestriction(String fieldName)
          Deprecated.  
protected  boolean isFullyMaskedField(String fieldName)
          Deprecated.  
protected  boolean isPartiallyMaskedField(String fieldName)
          Deprecated.  
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allRestrictedFields

protected Set<String> allRestrictedFields
Deprecated. 
Constructor Detail

BusinessObjectRestrictionsBase

public BusinessObjectRestrictionsBase()
Deprecated. 
Method Detail

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. 


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.