Package com.appiancorp.suiteapi.common
Class Security
java.lang.Object
com.appiancorp.suiteapi.common.Security
- All Implemented Interfaces:
Serializable
This bean is used to represent the security on objects in the
Application, and what securities that the object can inherit from 'parent'
entities, if there are any.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets theRoleMapthat the object inherits from its parent.Gets theRoleMapthat is explicitly defined for the object.booleanIndicates whether the object can inherit permissions from its parent.booleanIndicates whether the object actually inherits permissions from its parent.voidsetCanInherit(boolean canInherit_) Sets whether the object can inherit permissions from its parent.voidsetDoesInherit(boolean doesInherit_) Sets whether the object actually inherits permissions from its parent.voidsetInheritable(RoleMap inheritableRoleMap_) Sets theRoleMapthat the object inherits from its parent.voidSets theRoleMapthat is explicitly defined for the object.toString()voidtoXML(StringBuffer buffer_) Converts the object to XML and stores it in aStringBuffer.
-
Constructor Details
-
Security
public Security() -
Security
-
-
Method Details
-
isCanInherit
public boolean isCanInherit()Indicates whether the object can inherit permissions from its parent.- Returns:
trueif the object can inherit permissions from its parent,falseotherwise.
-
setCanInherit
public void setCanInherit(boolean canInherit_) Sets whether the object can inherit permissions from its parent.- Parameters:
canInherit_-trueif the object can inherit permissions from its parent,falseotherwise.
-
isDoesInherit
public boolean isDoesInherit()Indicates whether the object actually inherits permissions from its parent.- Returns:
trueif the object inherits permissions from its parent,falseotherwise.
-
setDoesInherit
public void setDoesInherit(boolean doesInherit_) Sets whether the object actually inherits permissions from its parent.- Parameters:
doesInherit_-trueif the object inherits permissions from its parent,falseotherwise.
-
getInheritable
Gets theRoleMapthat the object inherits from its parent.- Returns:
- the
RoleMapthat the object inherits from its parent, ornullif it does not inherit. - See Also:
-
setInheritable
Sets theRoleMapthat the object inherits from its parent.- Parameters:
inheritableRoleMap_- theRoleMapthat the object inherits from its parent, ornullif it does not inherit.- See Also:
-
getNative
Gets theRoleMapthat is explicitly defined for the object.- Returns:
- the
RoleMapthat is explicitly defined for the object. - See Also:
-
setNative
Sets theRoleMapthat is explicitly defined for the object.- Parameters:
nativeRoleMap_- TheRoleMapthat is explicitly defined for the object.- See Also:
-
toXML
Converts the object to XML and stores it in aStringBuffer.- Parameters:
buffer_- theStringBufferto append the XML to.
-
toString
-