com.tivoli.pd.jadmin
Class PDAclEntryGroup

java.lang.Object
  extended by com.tivoli.pd.jutil.PDEnvironmentObject
      extended by com.tivoli.pd.jadmin.PDAclEntry
          extended by com.tivoli.pd.jadmin.PDAclEntryGroup
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class PDAclEntryGroup
extends PDAclEntry
implements java.lang.Cloneable

Policy Director class for the group ACL entry.

Modes: Local,Remote

See Also:
Serialized Form

Constructor Summary
PDAclEntryGroup(PDContext context, java.lang.String groupId, java.lang.String permission, PDMessages messages)
          Constructs a PDAclEntryGroup object.
 
Method Summary
 java.lang.Object clone()
          Returns a copy of this object.
 boolean equals(java.lang.Object obj)
          Determines whether this PDAclEntryGroup is equivalent to the input object.
 java.lang.String getGroupId()
          Returns the group Id for this object.
 void setGroupId(java.lang.String inGroupId)
          Sets the group name for this ACL entry.
 java.lang.String toString()
          Return a String representation of this object.
 
Methods inherited from class com.tivoli.pd.jadmin.PDAclEntry
getPermission, setPermission
 
Methods inherited from class com.tivoli.pd.jutil.PDEnvironmentObject
getContext, setContext
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PDAclEntryGroup

public PDAclEntryGroup(PDContext context,
                       java.lang.String groupId,
                       java.lang.String permission,
                       PDMessages messages)
                throws PDException
Constructs a PDAclEntryGroup object.

Parameters:
context - the context for communicating with the Management Server. Cannot be null.
groupId - Group 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.
Method Detail

getGroupId

public java.lang.String getGroupId()
Returns the group Id for this object.

Returns:
group name for this object.

setGroupId

public void setGroupId(java.lang.String inGroupId)
                throws PDException
Sets the group name for this ACL entry.

Parameters:
inGroupId - name of the group. 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 PDAclEntryGroup is equivalent to the input object.

Overrides:
equals in class PDAclEntry