org.kuali.rice.krad.uif.field
Class FieldSecurity

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.DictionaryBeanBase
      extended by org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
          extended by org.kuali.rice.krad.uif.component.ComponentSecurity
              extended by org.kuali.rice.krad.uif.field.FieldSecurity
All Implemented Interfaces:
Serializable, DictionaryBean, UifDictionaryBean
Direct Known Subclasses:
ActionSecurity, DataFieldSecurity

public class FieldSecurity
extends ComponentSecurity

Field security adds the edit in line and view in line flags to the standard component security

These flags are only applicable when the field is part of a collection group. They indicate there is security on the field within the collection line

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
FieldSecurity()
           
 
Method Summary
protected
<T> void
copyProperties(T componentSecurity)
          Copies properties for copy()
 boolean isEditInLineAuthz()
          Indicates whether the field has edit in line authorization and KIM should be consulted
 boolean isViewInLineAuthz()
          Indicates whether the field has view in line unmask authorization and KIM should be consulted
 void setEditInLineAuthz(boolean editInLineAuthz)
          Setter for the edit in line authorization flag
 void setViewInLineAuthz(boolean viewInLineAuthz)
          Setter for the view in line authorization flag
 
Methods inherited from class org.kuali.rice.krad.uif.component.ComponentSecurity
copy, finalize, getAdditionalPermissionDetails, getAdditionalRoleQualifiers, getComponentAttribute, getIdAttribute, getNamespaceAttribute, isEditAuthz, isViewAuthz, setAdditionalPermissionDetails, setAdditionalRoleQualifiers, setComponentAttribute, setEditAuthz, setIdAttribute, setNamespaceAttribute, setViewAuthz
 
Methods inherited from class org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
getComponentCode, getNamespaceCode
 

Constructor Detail

FieldSecurity

public FieldSecurity()
Method Detail

isEditInLineAuthz

public boolean isEditInLineAuthz()
Indicates whether the field has edit in line authorization and KIM should be consulted

Returns:
true if the field has edit in line authorization, false if not

setEditInLineAuthz

public void setEditInLineAuthz(boolean editInLineAuthz)
Setter for the edit in line authorization flag

Parameters:
editInLineAuthz -

isViewInLineAuthz

public boolean isViewInLineAuthz()
Indicates whether the field has view in line unmask authorization and KIM should be consulted

Returns:
true if the field has view in line unmask authorization, false if not

setViewInLineAuthz

public void setViewInLineAuthz(boolean viewInLineAuthz)
Setter for the view in line authorization flag

Parameters:
viewInLineAuthz -

copyProperties

protected <T> void copyProperties(T componentSecurity)
Description copied from class: DictionaryBeanBase
Copies properties for copy()

Overrides:
copyProperties in class ComponentSecurity
Parameters:
componentSecurity - base bean
See Also:
ComponentSecurity.copy()


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