Class AccessPermission
- All Implemented Interfaces:
Serializable,Comparable,EnumeratedType,LocalizableMetadata,LocalizableMessage,Message
Supported API: true
Extendable: false
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AccessPermissionAdministrative permissionstatic final AccessPermissionFull control (All permissions)static final AccessPermissionChange Context permissionstatic final AccessPermissionChange Domain permissionstatic final AccessPermissionChange Permissions permissionstatic final AccessPermissionCreate permissionstatic final AccessPermissionCreate By Move permissionstatic final AccessPermissionDelete permissionstatic final AccessPermissionDownload permissionstatic final AccessPermissionModify permissionstatic final AccessPermissionModify Content permissionstatic final AccessPermissionModify Identity permissionstatic final AccessPermissionModify Security Labels permissionstatic final AccessPermissionNew View Version permissionstatic final AccessPermissionRead permissionstatic final AccessPermissionRevise permissionstatic final AccessPermissionSet State permissionFields inherited from interface wt.meta.EnumeratedType
DEFAULT_VALUE, ORDER, SELECTABLE -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessPermissiontoAccessPermission(String internal_value) Returns the AccessPermission instance for the internal_value argument.Methods inherited from class wt.access._AccessPermission
getAccessPermissionDefault, getAccessPermissionSet, getValueSetMethods inherited from class wt.fc.EnumeratedType
equals, getDisplay, getLocalizedMessage, getOrder, getSelectableValueSet, getStringValue, getStringValue, hashCode, isDefaultValue, isDefaultValue, isSelectable, main, toEnumeratedType, toEnumeratedType, toString
-
Field Details
-
ALL
Full control (All permissions)A user, group, or organization granted the Full Control (All) permission is granted all permissions currently defined and any that might be defined in the future. Therefore, if new permission types are defined, you do not have to write rules that specifically grant them to users, groups, or organizations with full control access.
Supported API: true -
READ
Read permissionThe right to know the existence of an object and to view the object and its attributes. Additionally, if the object has content, you can view an object's content information such as the file path to a local file or the location of external storage. This permission does not allow you to view the actual contents of the file.
Supported API: true -
DOWNLOAD
Download permissionThe right to download local files that are the primary content or are attachments of an object. This right is applicable to objects with content, such as documents or drawings.
Supported API: true- See Also:
-
MODIFY
Modify permissionThe right to change the attributes of an object, as well as other characteristics that are part of the object definition but are not controlled by the Modify Content or Modify Identity permissions.
For versioned objects, a user must have the Modify permission on the latest iteration of each version of a target object to update the attributes common to all versions that are not part of the object's identity. Modify permission on a version of a target object is required to modify that version's attributes.
Supported API: true -
MODIFY_CONTENT
Modify Content permissionThe right to modify any local file, URL, or external storage for the primary content and attachments of an object with content. This includes modifying content information and adding, replacing, or deleting content.
Supported API: true- See Also:
-
MODIFY_IDENTITY
Modify Identity permissionThe right to modify a subset of the attributes that determine the identity of an object.
For example, for a part this subset includes the part number and the organization identifier (such as cage code) of the part, but not part name (which is often treated as a short description). For a folder, the attributes include the folder name.
For information on customizing the code to modify the set of attributes used in determining the identity of an object, see the Windchill Customization Guide.
Supported API: true- See Also:
-
IdentityAccessControlled
-
MODIFY_SECURITY_LABELS
Modify Security Labels permissionThe right to modify the security label values set on an object. In addition to having Modify Security Labels permission, the user must be an authorized participant for the security label values currently set on the object. If a custom evaluator class has been configured, its
isAllowedToModifySecurityLabelValueandisAllowedToModifySecurityLabelValuesmethods must return true for the user. This right is applicable to objects that can have security labels applied.For information on creating a custom evaluator class and overriding its methods, see "Customizing Security Labels" in the Windchill Customization Guide. A list of object types that can have security labels applied is available in the <Windchill>/conf/exposedSecurityLabelObjects.xml file.
Supported API: true -
CREATE_BY_MOVE
Create By Move permissionThe right to move an object into an administrative domain.
Supported API: true- See Also:
-
CREATE
Create permissionThe right to create an object.
Supported API: true -
SET_STATE
Set State permissionThe right of a user to perform a set state operation where a state transition has been defined to allow the transition from the current life cycle state to the new state.
Note: To perform a set state operation, a user must have the Set State permission and there must be a valid state transition defined between the current state and the desired state. If there is no transition defined, the user must have the Administrative permission to perform the operation.
For information on set state transitions and operations, see help available from the Life Cycle Administration utility.
Supported API: true- See Also:
-
REVISE
Revise permissionThe right to revise an object. Revising creates a new version of the object at the same level as the original in the version tree. For example, you can create revision B from revision A.
Supported API: true- See Also:
-
NEW_VIEW_VERSION
New View Version permissionThe right to create a version for a specific view.
Supported API: true- See Also:
-
CHANGE_DOMAIN
Change Domain permissionThe right to move an object out of an administrative domain.
Supported API: true- See Also:
-
CHANGE_CONTEXT
Change Context permissionThe right to move an object out of a context.
Supported API: true- See Also:
-
CHANGE_PERMISSIONS
Change Permissions permissionThe right to change the ad hoc permissions that others have. Users, groups, or organizations granted the Change Permissions permission are allowed to change the ad hoc permissions of others to the permissions they themselves have or to a subset of the permissions they have.
Supported API: true- See Also:
-
DELETE
Delete permissionThe right to delete an object.
Supported API: true -
ADMINISTRATIVE
Administrative permissionThe right to perform certain administrative tasks. For example, an administrator would have the right to break a lock or change an object's owner.
Supported API: true
-
-
Method Details
-
toAccessPermission
public static AccessPermission toAccessPermission(String internal_value) throws WTInvalidParameterException Returns the AccessPermission instance for the internal_value argument.
Supported API: true- Parameters:
internal_value- The internal (persistent) value for a valid instance of AccessPermission.- Returns:
- AccessPermission
- Throws:
WTInvalidParameterException
-