|
||||||||||
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 | |
private java.util.Set |
actions
The set of actions of this constraint. |
private java.lang.String |
actionsAsString
The cached actions as a string. |
private int |
hashCode
The cached hash code. |
Instance |
instance
|
private java.lang.Long |
key
The primary key. |
private java.lang.String |
role
The role of this contraint. |
private static long |
serialVersionUID
The serialVersionUID |
private java.lang.String |
toString
The cached toString value. |
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 |
private static final long serialVersionUID
private java.lang.Long key
private java.lang.String role
private java.util.Set actions
private transient java.lang.String toString
private transient int hashCode
private transient java.lang.String actionsAsString
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 |