7.0 Action Request System Java API

com.remedy.arsys.api
Class PermissionInfo

java.lang.Object
  extended bycom.remedy.arsys.api.PermissionInfo
All Implemented Interfaces:
java.lang.Cloneable

public class PermissionInfo
extends java.lang.Object
implements java.lang.Cloneable

The PermissionInfo class specifies the permissions for an AR System object. For schemas, fields, and containers, you can assign different level of access to different groups.


Constructor Summary
PermissionInfo(InternalID id)
           
PermissionInfo(InternalID id, int perm)
           
 
Method Summary
 java.lang.Object clone()
          Makes a deep copy of the object.
 boolean equals(java.lang.Object anObject)
          Use this method for checking equality.
 InternalID getGroupID()
          Returns the internal ID of the group.
 int getPermissionValue()
          Returns the integer value indicating the access privileges for the group.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionInfo

public PermissionInfo(InternalID id)

PermissionInfo

public PermissionInfo(InternalID id,
                      int perm)
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Makes a deep copy of the object.

Throws:
java.lang.CloneNotSupportedException

getGroupID

public InternalID getGroupID()
Returns the internal ID of the group.


getPermissionValue

public int getPermissionValue()
Returns the integer value indicating the access privileges for the group.

The following constants describe the possible values for schemas, and containers:

The following constants describe the possible values for fields:


equals

public boolean equals(java.lang.Object anObject)
Use this method for checking equality. The result is true only if the argument is not null and is of same type object representing the same content.


hashCode

public int hashCode()
Returns the hash code value for this instance of the current class. This method is supported as required by the general contract of Object.hashCode, for the benefit of hash tables such as those provided by java.util.Hashtable.


7.0 Action Request System Java API