5.1 Action Request System Java API

com.remedy.arsys.api
Class PermissionInfo

java.lang.Object
  |
  +--com.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()
          This method can be used to populate a hash table.
 
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.
Overrides:
clone in class java.lang.Object

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 if and only if the argument is not null and is of same type object representing the same content.
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
This method can be used to populate a hash table. Implicitly used method to test equality of objects.
Overrides:
hashCode in class java.lang.Object

5.1 Action Request System Java API