public final class Privilege extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Privilege>
Constructor and Description |
---|
Privilege(PrivilegeType privilegeType)
Creates a permission to perform a certain function based on the specified
type of privilege.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Privilege that) |
boolean |
equals(java.lang.Object o) |
java.util.SortedSet<AccessibleActionVariable> |
getActionVariables()
Returns action variables used by some permission types.
|
java.util.SortedSet<AccessibleFlowChartVariable> |
getFlowChartVariables()
Returns flow chart variables used by some permission types.
|
java.util.SortedSet<java.lang.String> |
getNamespaces()
Returns namespaces used by some permission types.
|
PrivilegeType |
getType()
Returns the underlying privilege type for this privilege.
|
int |
hashCode() |
void |
setActionVariables(AccessibleActionVariable... actionVariables)
Sets action variables used by some permission types.
|
void |
setFlowChartVariables(AccessibleFlowChartVariable... flowChartVariables)
Sets flow chart variables used by some permission types.
|
void |
setNamespaces(java.lang.String... namespaces)
Sets namespaces used by some permission types.
|
public Privilege(PrivilegeType privilegeType)
privilegeType
- The type of permission that this privilege grants.public java.util.SortedSet<AccessibleActionVariable> getActionVariables()
public java.util.SortedSet<AccessibleFlowChartVariable> getFlowChartVariables()
public java.util.SortedSet<java.lang.String> getNamespaces()
public PrivilegeType getType()
public void setActionVariables(AccessibleActionVariable... actionVariables)
actionVariables
- Action variables used by some permission types.public void setFlowChartVariables(AccessibleFlowChartVariable... flowChartVariables)
flowChartVariables
- Flow chart variables used by some permission types.public void setNamespaces(java.lang.String... namespaces)
namespaces
- Namespaces used by some permission types.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
© 2000-2025 Flux Corporation. All rights reserved.