|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.voms.service.ACLEntry
Convenience functions for ACLEntry.
Constructor Summary | |
ACLEntry()
|
|
ACLEntry(DBAdmin admin,
Operation operation,
boolean allow)
Creates a new ACL entry with the given data. |
|
ACLEntry(java.lang.String adminDN,
java.lang.String adminCA,
Operation operation,
boolean allow)
Creates a new ACL entry with the given data. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getAdminCA()
|
java.lang.String |
getAdminDN()
|
java.lang.String |
getOperationName()
|
int |
hashCode()
|
boolean |
isAllow()
|
DBAdmin |
myGetAdmin()
Returns the admin field of this ACL entry, or null, if it was not given. |
Operation |
myGetOperation()
Returns the operation field of this ACL entry. |
void |
mySetAdmin(DBAdmin admin)
Sets the admin field of this ACL entry. |
void |
mySetOperation(Operation operation)
Sets the operation field of this ACL entry. |
void |
setAdminCA(java.lang.String adminCA)
|
void |
setAdminDN(java.lang.String adminDN)
|
void |
setAllow(boolean allow)
|
void |
setOperationName(java.lang.String operationName)
Sets the operation field of this ACL entry to the given string. |
java.lang.String |
toString()
Prints the ACL entry. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ACLEntry()
public ACLEntry(java.lang.String adminDN, java.lang.String adminCA, Operation operation, boolean allow)
public ACLEntry(DBAdmin admin, Operation operation, boolean allow) throws GeneralDatabaseException
Method Detail |
public java.lang.String getAdminCA()
public java.lang.String getAdminDN()
public boolean isAllow()
public java.lang.String getOperationName()
public void setAdminCA(java.lang.String adminCA)
public void setAdminDN(java.lang.String adminDN)
public void setAllow(boolean allow)
public boolean equals(java.lang.Object o)
public int hashCode()
public void setOperationName(java.lang.String operationName)
java.lang.IllegalArgumentException
- (unchecked!) if there is no such operation.public void mySetOperation(Operation operation)
public Operation myGetOperation() throws ArgumentException
ArgumentException
public void mySetAdmin(DBAdmin admin) throws GeneralDatabaseException
GeneralDatabaseException
public DBAdmin myGetAdmin()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |