com.adobe.livecycle.rightsmanagement.client.infomodel
Class PolicySetCoordinatorAndPerms

java.lang.Object
  extended by com.adobe.livecycle.rightsmanagement.client.infomodel.PolicySetCoordinatorAndPerms
All Implemented Interfaces:
java.io.Serializable

public class PolicySetCoordinatorAndPerms
extends java.lang.Object
implements java.io.Serializable

The PolicySetCoordinatorAndPerms interface provides methods for creating and manipulating policy set co-ordinators and their permissions.

See Also:
Serialized Form

Constructor Summary
PolicySetCoordinatorAndPerms(java.lang.String coordinatorId, java.lang.String[] perms)
           
 
Method Summary
 java.lang.String getCoordinatorId()
          retrieves the principal Id of the co-ordinator of the policy set
 java.lang.String[] getPerms()
          retrieves an array of permissions of the co-ordinator, contains only values pertaining to PolicyServerConstants.PolicySetAggregatePermissions
 void setCoordinatorId(java.lang.String coordinatorId)
          sets the principal Id of the co-ordinator of the policy set
 void setPerms(java.lang.String[] perms)
          sets an array of permissions of the co-ordinator, can be only amongst the ones under PolicyServerConstants.PolicySetAggregatePermissions
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicySetCoordinatorAndPerms

public PolicySetCoordinatorAndPerms(java.lang.String coordinatorId,
                                    java.lang.String[] perms)
Method Detail

getCoordinatorId

public java.lang.String getCoordinatorId()
retrieves the principal Id of the co-ordinator of the policy set

Returns:
Returns the CoordinatorId.

setCoordinatorId

public void setCoordinatorId(java.lang.String coordinatorId)
sets the principal Id of the co-ordinator of the policy set

Parameters:
coordinatorId - the coordinatorId to set

getPerms

public java.lang.String[] getPerms()
retrieves an array of permissions of the co-ordinator, contains only values pertaining to PolicyServerConstants.PolicySetAggregatePermissions

Returns:
Returns the Permissions as an String[]

setPerms

public void setPerms(java.lang.String[] perms)
sets an array of permissions of the co-ordinator, can be only amongst the ones under PolicyServerConstants.PolicySetAggregatePermissions

Parameters:
perms - an array of permission for the coordinator to be set