Package wt.access

Class AccessPermission

All Implemented Interfaces:
Serializable, Comparable, EnumeratedType, LocalizableMetadata, LocalizableMessage, Message

@GenAsEnumeratedType(supportedAPI=PUBLIC) public class AccessPermission extends _AccessPermission
AccessPermission represents the access control permissions that may be granted or denied.

Supported API: true

Extendable: false
See Also:
  • Field Details

    • ALL

      public static final AccessPermission 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

      public static final AccessPermission READ
      Read permission

      The 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

      public static final AccessPermission DOWNLOAD
      Download permission

      The 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

      public static final AccessPermission MODIFY
      Modify permission

      The 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

      public static final AccessPermission MODIFY_CONTENT
      Modify Content permission

      The 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

      public static final AccessPermission MODIFY_IDENTITY
      Modify Identity permission

      The 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

      public static final AccessPermission MODIFY_SECURITY_LABELS
      Modify Security Labels permission

      The 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 isAllowedToModifySecurityLabelValue and isAllowedToModifySecurityLabelValues methods 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

      See Also:
    • CREATE_BY_MOVE

      public static final AccessPermission CREATE_BY_MOVE
      Create By Move permission

      The right to move an object into an administrative domain.

      Supported API: true

      See Also:
    • CREATE

      public static final AccessPermission CREATE
      Create permission

      The right to create an object.

      Supported API: true

    • SET_STATE

      public static final AccessPermission SET_STATE
      Set State permission

      The 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

      public static final AccessPermission REVISE
      Revise permission

      The 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

      public static final AccessPermission NEW_VIEW_VERSION
      New View Version permission

      The right to create a version for a specific view.

      Supported API: true

      See Also:
    • CHANGE_DOMAIN

      public static final AccessPermission CHANGE_DOMAIN
      Change Domain permission

      The right to move an object out of an administrative domain.

      Supported API: true

      See Also:
    • CHANGE_CONTEXT

      public static final AccessPermission CHANGE_CONTEXT
      Change Context permission

      The right to move an object out of a context.

      Supported API: true

      See Also:
    • CHANGE_PERMISSIONS

      public static final AccessPermission CHANGE_PERMISSIONS
      Change Permissions permission

      The 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

      public static final AccessPermission DELETE
      Delete permission

      The right to delete an object.

      Supported API: true

    • ADMINISTRATIVE

      public static final AccessPermission ADMINISTRATIVE
      Administrative permission

      The 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