com.tivoli.pd.jadmin
Class PDAclEntryUser
java.lang.Object
|
+--com.tivoli.pd.jadmin.PDAclEntry
|
+--com.tivoli.pd.jadmin.PDAclEntryUser
- All Implemented Interfaces:
- java.lang.Cloneable
- public class PDAclEntryUser
- extends PDAclEntry
- implements java.lang.Cloneable
Policy Director class for the user ACL entry.
Method Summary |
java.lang.Object |
clone()
Returns a copy of this object. |
boolean |
equals(java.lang.Object obj)
Determines whether this PDAclEntryUser is equivalent to the input object. |
java.lang.String |
getUserId()
Returns the user Id for this object. |
void |
setUserId(java.lang.String inUserId)
Sets the user name for this ACL entry. |
java.lang.String |
toString()
Return a String representation of this object. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
PDAclEntryUser
public PDAclEntryUser(PDContext context,
java.lang.String userId,
java.lang.String permission,
PDMessages messages)
throws PDException
- Constructs a PDAclEntryUser object.
- Parameters:
context
- the context for communicating with the
Management Server.
Cannot be null.userId
- User name. Cannot be NULL.permission
- New permissions for this ACL entry. This
is a string consisting of single letter
action codes along with action group names.
Cannot be NULL.messages
- in/out parameter;
empty PDMessages on input;
may contain zero or more informational
or warning messages on output.
Cannot be null.- Throws:
PDException
- if an error occurs.
This exception may contain error and message codes defined in the
product Error Message Reference document.
getUserId
public java.lang.String getUserId()
- Returns the user Id for this object.
- Returns:
- user name for this object.
setUserId
public void setUserId(java.lang.String inUserId)
throws PDException
- Sets the user name for this ACL entry.
- Parameters:
inUserId
- name of the user.
Cannot be NULL.- Throws:
PDException
- if an error occurs.
This exception may contain error and message codes defined in the
product Error Message Reference document.
toString
public java.lang.String toString()
- Return a String representation of this object.
- Overrides:
toString
in class PDAclEntry
clone
public java.lang.Object clone()
- Returns a copy of this object.
- Overrides:
clone
in class PDAclEntry
equals
public boolean equals(java.lang.Object obj)
- Determines whether this PDAclEntryUser is equivalent to the input object.
- Overrides:
equals
in class PDAclEntry