public class HeliosAccessControlRulesTable
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
HeliosAccessControlRulesTable()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
action(int i)
Return the action field of the i:th rule in the rule table.
|
java.lang.String |
actor(int i)
Return the actor field of the i:th rule in the rule table.
|
java.lang.String |
actorType(int i)
Return the type of the actor of the i:th rule in the rule table.
|
void |
add(java.lang.String action,
java.lang.String ruling,
java.lang.String actor,
java.lang.String actorType)
Add a rule to the table of rules
|
int |
length()
Gives the number of rules in the table
|
void |
remove(java.lang.String action,
java.lang.String ruling,
java.lang.String actor,
java.lang.String actorType)
Remove a rule from the table of rules.
|
java.lang.String |
ruling(int i)
Return the ruling field of the i:th rule in the rule table.
|
java.lang.String |
toString() |
public HeliosAccessControlRulesTable()
public void add(java.lang.String action,
java.lang.String ruling,
java.lang.String actor,
java.lang.String actorType)
action - the action the rule is aboutruling - whether the action is ALLOWED or DENIEDactor - userID or attribute of the actoractorType - type of actor is either USERID or EGONETWORKATTRIBUTEpublic void remove(java.lang.String action,
java.lang.String ruling,
java.lang.String actor,
java.lang.String actorType)
action - the action the rule is aboutruling - whether the action is ALLOWED or DENIEDactor - userID or attribute of the actoractorType - type of actor is either USERID or EGONETWORKATTRIBUTEpublic int length()
public java.lang.String action(int i)
i - the number of the rulepublic java.lang.String ruling(int i)
i - the number of the rulepublic java.lang.String actor(int i)
i - the number of the rulepublic java.lang.String actorType(int i)
i - the number of the rulepublic java.lang.String toString()
toString in class java.lang.Object