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
-
Method Summary
Modifier and TypeMethodDescriptionGets theRoleMap
that the object inherits from its parent.Gets theRoleMap
that is explicitly defined for the object.boolean
Indicates whether the object can inherit permissions from its parent.boolean
Indicates whether the object actually inherits permissions from its parent.void
setCanInherit
(boolean canInherit_) Sets whether the object can inherit permissions from its parent.void
setDoesInherit
(boolean doesInherit_) Sets whether the object actually inherits permissions from its parent.void
setInheritable
(RoleMap inheritableRoleMap_) Sets theRoleMap
that the object inherits from its parent.void
Sets theRoleMap
that is explicitly defined for the object.toString()
void
toXML
(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:
true
if the object can inherit permissions from its parent,false
otherwise.
-
setCanInherit
public void setCanInherit(boolean canInherit_) Sets whether the object can inherit permissions from its parent.- Parameters:
canInherit_
-true
if the object can inherit permissions from its parent,false
otherwise.
-
isDoesInherit
public boolean isDoesInherit()Indicates whether the object actually inherits permissions from its parent.- Returns:
true
if the object inherits permissions from its parent,false
otherwise.
-
setDoesInherit
public void setDoesInherit(boolean doesInherit_) Sets whether the object actually inherits permissions from its parent.- Parameters:
doesInherit_
-true
if the object inherits permissions from its parent,false
otherwise.
-
getInheritable
Gets theRoleMap
that the object inherits from its parent.- Returns:
- the
RoleMap
that the object inherits from its parent, ornull
if it does not inherit. - See Also:
-
setInheritable
Sets theRoleMap
that the object inherits from its parent.- Parameters:
inheritableRoleMap_
- theRoleMap
that the object inherits from its parent, ornull
if it does not inherit.- See Also:
-
getNative
Gets theRoleMap
that is explicitly defined for the object.- Returns:
- the
RoleMap
that is explicitly defined for the object. - See Also:
-
setNative
Sets theRoleMap
that is explicitly defined for the object.- Parameters:
nativeRoleMap_
- TheRoleMap
that is explicitly defined for the object.- See Also:
-
toXML
Converts the object to XML and stores it in aStringBuffer
.- Parameters:
buffer_
- theStringBuffer
to append the XML to.
-
toString
-