|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.migration.model24.instance.InstanceSecurityBinding
Security Constraint for an instance
Field Summary | |
Instance |
instance
|
Constructor Summary | |
InstanceSecurityBinding()
|
|
InstanceSecurityBinding(InstanceSecurityBinding other)
Copy constructor. |
|
InstanceSecurityBinding(java.util.Set actions,
java.lang.String role)
Create a new constraint with the provided actions and the specified role. |
|
InstanceSecurityBinding(java.lang.String actions,
java.lang.String role)
Create a new constraint with the provided actions for the specified role. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
java.util.Set |
getActions()
Return a java.util.Set of allowed actions. |
java.lang.String |
getActionsAsString()
Return a comma separated list of actions. |
Instance |
getInstance()
|
protected java.lang.Long |
getKey()
|
java.lang.String |
getRole()
Return the role of this constraint |
int |
hashCode()
|
void |
setActions(java.util.Set actions)
|
void |
setInstance(Instance instance)
|
protected void |
setKey(java.lang.Long k)
|
void |
setRole(java.lang.String role)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public Instance instance
Constructor Detail |
public InstanceSecurityBinding()
public InstanceSecurityBinding(java.lang.String actions, java.lang.String role)
actions
- a comma separated list of allowed actionsrole
- the role namepublic InstanceSecurityBinding(java.util.Set actions, java.lang.String role)
actions
- the set of actionsrole
- the role namepublic InstanceSecurityBinding(InstanceSecurityBinding other)
Method Detail |
public java.util.Set getActions()
java.util.Set
of allowed actions.
public java.lang.String getRole()
public java.lang.String getActionsAsString()
public java.lang.String toString()
Object.toString()
public boolean equals(java.lang.Object o)
public int hashCode()
protected void setKey(java.lang.Long k)
protected java.lang.Long getKey()
public void setActions(java.util.Set actions)
public void setRole(java.lang.String role)
public Instance getInstance()
public void setInstance(Instance instance)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |