public class Security
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Security() |
Security(RoleMap nativeRoleMap) |
Modifier and Type | Method and Description |
---|---|
RoleMap |
getInheritable()
Gets the
RoleMap that the object inherits from its parent. |
RoleMap |
getNative()
Gets the
RoleMap that is explicitly defined for the object. |
boolean |
isCanInherit()
Indicates whether the object can inherit permissions from its parent.
|
boolean |
isDoesInherit()
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 the
RoleMap that the object inherits from its parent. |
void |
setNative(RoleMap nativeRoleMap_)
Sets the
RoleMap that is explicitly defined for the object. |
java.lang.String |
toString() |
void |
toXML(java.lang.StringBuffer buffer_)
Converts the object to XML and stores it in a
StringBuffer . |
public Security()
public Security(RoleMap nativeRoleMap)
public boolean isCanInherit()
true
if the object can inherit permissions
from its parent, false
otherwise.public void setCanInherit(boolean canInherit_)
canInherit_
- true
if the object can inherit
permissions from its parent, false
otherwise.public boolean isDoesInherit()
true
if the object inherits permissions
from its parent, false
otherwise.public void setDoesInherit(boolean doesInherit_)
doesInherit_
- true
if the object inherits permissions
from its parent, false
otherwise.public RoleMap getInheritable()
RoleMap
that the object inherits from its parent.RoleMap
that the object inherits from its
parent, or null
if it does not inherit.setInheritable(RoleMap)
public void setInheritable(RoleMap inheritableRoleMap_)
RoleMap
that the object inherits from its parent.inheritableRoleMap_
- the RoleMap
that the object
inherits from its parent, or null
if it does not inherit.getInheritable()
public RoleMap getNative()
RoleMap
that is explicitly defined for the object.RoleMap
that is explicitly defined for the
object.setNative(RoleMap)
public void setNative(RoleMap nativeRoleMap_)
RoleMap
that is explicitly defined for the object.nativeRoleMap_
- The RoleMap
that is explicitly defined
for the object.getNative()
public void toXML(java.lang.StringBuffer buffer_)
StringBuffer
.buffer_
- the StringBuffer
to append the XML to.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.