org.kuali.rice.kns.document.authorization
Class MaintenanceDocumentRestrictionsBase
java.lang.Object
org.kuali.rice.kns.document.authorization.BusinessObjectRestrictionsBase
org.kuali.rice.kns.document.authorization.InquiryOrMaintenanceDocumentRestrictionsBase
org.kuali.rice.kns.document.authorization.MaintenanceDocumentRestrictionsBase
- All Implemented Interfaces:
- Serializable, BusinessObjectRestrictions, InquiryOrMaintenanceDocumentRestrictions, MaintenanceDocumentRestrictions, InquiryRestrictions
public class MaintenanceDocumentRestrictionsBase
- extends InquiryOrMaintenanceDocumentRestrictionsBase
- implements MaintenanceDocumentRestrictions
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MaintenanceDocumentRestrictionsBase
public MaintenanceDocumentRestrictionsBase()
addReadOnlyField
public void addReadOnlyField(String fieldName)
- Specified by:
addReadOnlyField
in interface MaintenanceDocumentRestrictions
addReadOnlySectionId
public void addReadOnlySectionId(String sectionId)
- Specified by:
addReadOnlySectionId
in interface MaintenanceDocumentRestrictions
getReadOnlySectionIds
public Set<String> getReadOnlySectionIds()
- Specified by:
getReadOnlySectionIds
in interface MaintenanceDocumentRestrictions
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 InquiryOrMaintenanceDocumentRestrictionsBase
- Parameters:
fieldName
- - name of field to get authorization restrictions for.
- Returns:
- a populated FieldAuthorization class for this field
clearAllRestrictions
public void clearAllRestrictions()
- Overrides:
clearAllRestrictions
in class InquiryOrMaintenanceDocumentRestrictionsBase
isReadOnlyField
protected boolean isReadOnlyField(String fieldName)
hasAnyFieldRestrictions
public boolean hasAnyFieldRestrictions()
- Specified by:
hasAnyFieldRestrictions
in interface BusinessObjectRestrictions
- Overrides:
hasAnyFieldRestrictions
in class InquiryOrMaintenanceDocumentRestrictionsBase
- See Also:
org.kuali.rice.krad.authorization.InquiryOrMaintenanceDocumentRestrictionsBase#hasAnyFieldRestrictions()
hasRestriction
public boolean hasRestriction(String fieldName)
- Specified by:
hasRestriction
in interface BusinessObjectRestrictions
- Overrides:
hasRestriction
in class InquiryOrMaintenanceDocumentRestrictionsBase
- See Also:
org.kuali.rice.krad.authorization.InquiryOrMaintenanceDocumentRestrictionsBase#hasRestriction(java.lang.String)
isReadOnlySectionId
public boolean isReadOnlySectionId(String sectionId)
- Specified by:
isReadOnlySectionId
in interface MaintenanceDocumentRestrictions
- See Also:
MaintenanceDocumentRestrictions.isReadOnlySectionId(java.lang.String)
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.