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

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

public class InquiryOrMaintenanceDocumentRestrictionsBase
extends BusinessObjectRestrictionsBase
implements InquiryOrMaintenanceDocumentRestrictions, InquiryRestrictions

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.document.authorization.BusinessObjectRestrictionsBase
allRestrictedFields
 
Constructor Summary
InquiryOrMaintenanceDocumentRestrictionsBase()
           
 
Method Summary
 void addHiddenField(String fieldName)
           
 void addHiddenSectionId(String sectionId)
           
 void clearAllRestrictions()
           
 FieldRestriction getFieldRestriction(String fieldName)
          This method returns the authorization setting for the given field name.
 boolean hasAnyFieldRestrictions()
           
 boolean hasRestriction(String fieldName)
           
protected  boolean isHiddenField(String fieldName)
           
 boolean isHiddenSectionId(String sectionId)
           
 
Methods inherited from class org.kuali.rice.kns.document.authorization.BusinessObjectRestrictionsBase
addFullyMaskedField, addPartiallyMaskedField, isFullyMaskedField, isPartiallyMaskedField, normalizeFieldName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.document.authorization.BusinessObjectRestrictions
addFullyMaskedField, addPartiallyMaskedField
 

Constructor Detail

InquiryOrMaintenanceDocumentRestrictionsBase

public InquiryOrMaintenanceDocumentRestrictionsBase()
Method Detail

addHiddenField

public void addHiddenField(String fieldName)
Specified by:
addHiddenField in interface InquiryOrMaintenanceDocumentRestrictions

addHiddenSectionId

public void addHiddenSectionId(String sectionId)
Specified by:
addHiddenSectionId in interface InquiryOrMaintenanceDocumentRestrictions

getFieldRestriction

public FieldRestriction getFieldRestriction(String fieldName)
Description copied from class: BusinessObjectRestrictionsBase
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
Overrides:
getFieldRestriction in class BusinessObjectRestrictionsBase
Parameters:
fieldName - - name of field to get authorization restrictions for.
Returns:
a populated FieldAuthorization class for this field

hasRestriction

public boolean hasRestriction(String fieldName)
Specified by:
hasRestriction in interface BusinessObjectRestrictions
Overrides:
hasRestriction in class BusinessObjectRestrictionsBase
See Also:
org.kuali.rice.krad.authorization.BusinessObjectRestrictionsBase#hasRestriction(java.lang.String)

hasAnyFieldRestrictions

public boolean hasAnyFieldRestrictions()
Specified by:
hasAnyFieldRestrictions in interface BusinessObjectRestrictions
Overrides:
hasAnyFieldRestrictions in class BusinessObjectRestrictionsBase
See Also:
org.kuali.rice.krad.authorization.BusinessObjectRestrictionsBase#hasAnyFieldRestrictions()

clearAllRestrictions

public void clearAllRestrictions()
Overrides:
clearAllRestrictions in class BusinessObjectRestrictionsBase

isHiddenSectionId

public boolean isHiddenSectionId(String sectionId)
Specified by:
isHiddenSectionId in interface InquiryOrMaintenanceDocumentRestrictions
See Also:
org.kuali.rice.krad.authorization.InquiryOrMaintenanceDocumentRestrictions#isHiddenSectionId(java.lang.String)

isHiddenField

protected boolean isHiddenField(String fieldName)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.