|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.Permission
public final class Permission
This class defines all the different permission settings used by StarTeam. Note that for historical reasons, permission IDs may overlap. The correct choice of Permission actually depends on the context of the object (ISecurable/ISecurableContainer).
| Field Summary | |
|---|---|
static Permission[] |
ALL
The collection of all Permissions |
static Permission |
ALL_PERMISSIONS
All permissions. |
static Permission |
COMPONENT_CREATE_FILTERS
The right to create filters |
static Permission |
COMPONENT_CREATE_QUERIES
The right to create queries ID 0x00400000 is reused across multiple permissions |
static Permission |
FILE_CHECKIN
The right to check in a file. |
static Permission |
FILE_CHECKOUT
The right to check out a file. |
static Permission |
GENERIC_AQUIRE_OWNERSHIP
The right to acquire object ownership. |
static Permission |
GENERIC_CHANGE_ACCESS_RIGHTS
The right to change security settings of an object. |
static Permission |
GENERIC_CREATE_NEW_OBJECT
The right to create a new object and place it in the container. |
static Permission |
GENERIC_DELETE_OBJECT
The right to remove an object from a container (this will be required when an object is being moved from one container to another and may be required when the object is being deleted); this is equivalent to the right to delete (soft-delete) an object. |
static Permission |
GENERIC_MODIFY_OBJECT
The right to modify object properties (the extent of the right may differ from one object class to the next). |
static Permission |
GENERIC_PURGE_OBJECT
The right to purge (hard-delete) an object. |
static Permission |
GENERIC_SEE_OBJECT
The right to see an object and its properties (but not necessarily the physical contents). |
static Permission |
ITEM_ADD_TO_REVISION_LABEL
The right to add object to a revision label; ID 0x04000000 is reused across multiple permissions |
static Permission |
ITEM_ADD_TO_VIEW_LABEL
The right to add object to a view label; |
static Permission |
ITEM_BREAK_EXCLUSIVE_LOCK
The right to break an exclusive lock |
static Permission |
ITEM_CREATE_LINKS
The right to create links for the object. |
static Permission |
ITEM_DELETE_LINKS
The right to delete links for the object; ID 0x00080000 is reused across multiple permissions |
static Permission |
ITEM_DETACH_FROM_REVISION_LABEL
The right to exclude object from a revision label; ID 0x08000000 is reused across multiple permissions |
static Permission |
ITEM_DETACH_FROM_VIEW_LABEL
The right to exclude object from a view label; ID 0x00010000 is reused across multiple permissions |
static Permission |
ITEM_LOCK_EXCLUSIVELY
The right to set an exclusive lock |
static Permission |
ITEM_MODIFY_BEHAVIOR
The right to modify object behavior. |
static Permission |
ITEM_MODIFY_LINKS
The right to modify the links for an object. |
static Permission |
ITEM_MOVE
The right to move objects out of the folder (this right is important if the objects themselves are not protected by their own ACLs). |
static Permission |
ITEM_PERFORM_MAINTENANCE
The right to edit comments etc |
static Permission |
ITEM_SEE_HISTORY
The right to see object history (if it has any); ID 0x00001000 is reused across multiple permissions |
static Permission |
ITEM_SEE_LINKS
The right to see object links (if it has any); |
static Permission |
ITEM_SHARE
The right to share objects out of the folder (this right is important if the objects themselves are not protected by their own ACLs). |
static Permission |
PROMOTION_STATE_MODIFY_STATUS
The right to modify promotion status ID 0x00020000 is reused across multiple permissions |
static Permission |
SERVER_ADD_COLLABORATION_USER
The right to add new user to collaboration user group |
static Permission |
SERVER_ADMIN_REMOTELY
The right to administer server remotely ID 0x04000000 is reused across multiple permissions |
static Permission |
SERVER_ADMIN_USER_ACCOUNTS
The right to administer user accounts ID 0x08000000 is reused across multiple permissions |
static Permission |
SERVER_ADMINISTER_COMPONENT_RIGHTS
The right to administer component rights ID 0x00020000 is reused across multiple permissions |
static Permission |
SERVER_CREATE_PROJECT
The right to create projects ID 0x00010000 is reused across multiple permissions |
static Permission |
SERVER_MODIFY_CONFIGURATION
The right to modify server settings |
static Permission |
SERVER_MODIFY_SCHEMA
The right to add/modify property definitions of the objects in the components ID 0x00001000 is reused across multiple permissions |
static Permission |
SERVER_MODIFY_SYSTEM_POLICY
The right to modify system policy ID 0x02000000 is reused across multiple permissions |
static Permission |
SERVER_REPLICATION_RIGHTS
The right to allow user impersonation ID 0x00080000 is reused across multiple permissions |
static Permission |
SERVER_VIEW_COMMAND_STATS
The right to view server command statistics |
static Permission |
SERVER_VIEW_CONFIGURATION
The right to view server settings ID 0x00400000 is reused across multiple permissions |
static Permission |
SERVER_VIEW_DIAGNOSTICS
The right to view server diagnostics ID 0x00200000 is reused across multiple permissions |
static Permission |
SERVER_VIEW_LOG
The right to view server log ID 0x00100000 is reused across multiple permissions |
static Permission |
SERVER_VIEW_SECURITY_LOG
The right to view security log ID 0x10000000 is reused across multiple permissions |
static Permission |
SERVER_VIEW_SYSTEM_POLICY
The right to view system policy ID 0x01000000 is reused across multiple permissions |
static Permission |
VIEW_CREATE_REVISION_LABEL
The right to create a revision label; ID 0x00010000 is reused across multiple permissions |
static Permission |
VIEW_CREATE_VIEW_LABEL
The right to create a view label; |
static Permission |
VIEW_DEFINE_PROMOTION_MODEL
The right to define the promotion model ID 0x01000000 is reused across multiple permissions |
static Permission |
VIEW_DELETE_REVISION_LABEL
The right to delete revision labels; |
static Permission |
VIEW_DELETE_VIEW_LABEL
The right to delete view labels; on servers prior to version 5.1, same as VIEW_DELETE_LABEL. |
static Permission |
VIEW_EDIT_REVISION_LABEL
The right to edit revision labels; |
static Permission |
VIEW_EDIT_VIEW_LABEL
The right to edit view labels; |
static Permission |
VIEW_MODIFY_PROMOTION_STATUS
The right to modify promotion status ID 0x02000000 is reused across multiple permissions |
static Permission |
VIEW_OVERRIDE_DEFAULT_TYPES
The right to override project defaults when specifying which item types are initially shared at view creation (for variant views only); ID 0x10000000 is reused across multiple permissions |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares object o with this permission instance |
static Permission |
fromID(int id)
Gets the first Permission value corresponding to the given ID. |
java.lang.String[] |
getAdvisoryNames()
returns a set of advisory user friendly descriptions for this permission Note that some permissions (identified by ID) will return only 1 name, but others may return several. |
int |
getID()
return the ID of this Permission instance |
java.lang.String |
getName()
the advisory description of this permission |
int |
hashCode()
Returns the hashCode for this instance |
java.lang.String |
toString()
returns a set of advisory user friendly descriptions for this permission |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Permission ALL_PERMISSIONS
public static final Permission SERVER_VIEW_COMMAND_STATS
public static final Permission SERVER_ADD_COLLABORATION_USER
public static final Permission SERVER_VIEW_SECURITY_LOG
public static final Permission VIEW_OVERRIDE_DEFAULT_TYPES
public static final Permission SERVER_ADMIN_USER_ACCOUNTS
public static final Permission ITEM_DETACH_FROM_REVISION_LABEL
Permission.ITEM_DETACH_FROM_VIEW_LABELpublic static final Permission SERVER_ADMIN_REMOTELY
public static final Permission ITEM_ADD_TO_REVISION_LABEL
Permission.ITEM_ADD_TO_VIEW_LABELpublic static final Permission SERVER_MODIFY_SYSTEM_POLICY
public static final Permission VIEW_MODIFY_PROMOTION_STATUS
public static final Permission SERVER_VIEW_SYSTEM_POLICY
public static final Permission VIEW_DEFINE_PROMOTION_MODEL
public static final Permission SERVER_MODIFY_CONFIGURATION
public static final Permission SERVER_VIEW_CONFIGURATION
public static final Permission VIEW_DELETE_VIEW_LABEL
ID 0x00400000 is reused across multiple
permissionspublic static final Permission COMPONENT_CREATE_QUERIES
public static final Permission COMPONENT_CREATE_FILTERS
public static final Permission SERVER_VIEW_DIAGNOSTICS
public static final Permission VIEW_EDIT_VIEW_LABEL
ID 0x00200000 is reused across multiple
permissionspublic static final Permission FILE_CHECKOUT
public static final Permission SERVER_VIEW_LOG
public static final Permission VIEW_CREATE_VIEW_LABEL
ID 0x100000 is reused across multiple
permissionspublic static final Permission FILE_CHECKIN
public static final Permission SERVER_REPLICATION_RIGHTS
public static final Permission ITEM_DELETE_LINKS
public static final Permission VIEW_DELETE_REVISION_LABEL
ID 0x00040000 is reused across multiple
permissionspublic static final Permission ITEM_MODIFY_LINKS
public static final Permission SERVER_ADMINISTER_COMPONENT_RIGHTS
public static final Permission ITEM_CREATE_LINKS
public static final Permission VIEW_EDIT_REVISION_LABEL
ID 0x00020000 is reused across multiple
permissionspublic static final Permission PROMOTION_STATE_MODIFY_STATUS
public static final Permission SERVER_CREATE_PROJECT
public static final Permission VIEW_CREATE_REVISION_LABEL
Permission.VIEW_CREATE_VIEW_LABELpublic static final Permission ITEM_DETACH_FROM_VIEW_LABEL
Permission.ITEM_DETACH_FROM_REVISION_LABELpublic static final Permission ITEM_MOVE
public static final Permission ITEM_ADD_TO_VIEW_LABEL
Permission.ITEM_ADD_TO_REVISION_LABELpublic static final Permission ITEM_SEE_LINKS
public static final Permission SERVER_MODIFY_SCHEMA
public static final Permission ITEM_SEE_HISTORY
public static final Permission ITEM_PERFORM_MAINTENANCE
public static final Permission ITEM_MODIFY_BEHAVIOR
public static final Permission ITEM_SHARE
public static final Permission GENERIC_CREATE_NEW_OBJECT
public static final Permission GENERIC_PURGE_OBJECT
public static final Permission GENERIC_DELETE_OBJECT
public static final Permission GENERIC_MODIFY_OBJECT
public static final Permission GENERIC_SEE_OBJECT
public static final Permission ITEM_BREAK_EXCLUSIVE_LOCK
public static final Permission ITEM_LOCK_EXCLUSIVELY
public static final Permission GENERIC_CHANGE_ACCESS_RIGHTS
public static final Permission GENERIC_AQUIRE_OWNERSHIP
public static final Permission[] ALL
| Method Detail |
|---|
public static Permission fromID(int id)
id - The ID of a Permission value.
public int getID()
public java.lang.String[] getAdvisoryNames()
public java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the Object to compare for equality
public int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||