All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.chemistry.opencmis.commons.impl.jaxb.EnumAllowableActionsKey Maven / Gradle / Ivy

There is a newer version: 1.2.3
Show newest version

package org.apache.chemistry.opencmis.commons.impl.jaxb;

import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;


/**
 * 

Java class for enumAllowableActionsKey. * *

The following schema fragment specifies the expected content contained within this class. *

 * <simpleType name="enumAllowableActionsKey">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="canGetDescendents.Folder"/>
 *     <enumeration value="canGetChildren.Folder"/>
 *     <enumeration value="canGetParents.Folder"/>
 *     <enumeration value="canGetFolderParent.Object"/>
 *     <enumeration value="canCreateDocument.Folder"/>
 *     <enumeration value="canCreateFolder.Folder"/>
 *     <enumeration value="canCreateRelationship.Source"/>
 *     <enumeration value="canCreateRelationship.Target"/>
 *     <enumeration value="canGetProperties.Object"/>
 *     <enumeration value="canViewContent.Object"/>
 *     <enumeration value="canUpdateProperties.Object"/>
 *     <enumeration value="canMove.Object"/>
 *     <enumeration value="canMove.Target"/>
 *     <enumeration value="canMove.Source"/>
 *     <enumeration value="canDelete.Object"/>
 *     <enumeration value="canDeleteTree.Folder"/>
 *     <enumeration value="canSetContent.Document"/>
 *     <enumeration value="canDeleteContent.Document"/>
 *     <enumeration value="canAddToFolder.Object"/>
 *     <enumeration value="canAddToFolder.Folder"/>
 *     <enumeration value="canRemoveFromFolder.Object"/>
 *     <enumeration value="canRemoveFromFolder.Folder"/>
 *     <enumeration value="canCheckout.Document"/>
 *     <enumeration value="canCancelCheckout.Document"/>
 *     <enumeration value="canCheckin.Document"/>
 *     <enumeration value="canGetAllVersions.VersionSeries"/>
 *     <enumeration value="canGetObjectRelationships.Object"/>
 *     <enumeration value="canAddPolicy.Object"/>
 *     <enumeration value="canAddPolicy.Policy"/>
 *     <enumeration value="canRemovePolicy.Object"/>
 *     <enumeration value="canRemovePolicy.Policy"/>
 *     <enumeration value="canGetAppliedPolicies.Object"/>
 *     <enumeration value="canGetACL.Object"/>
 *     <enumeration value="canApplyACL.Object"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "enumAllowableActionsKey", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumAllowableActionsKey { @XmlEnumValue("canGetDescendents.Folder") CAN_GET_DESCENDENTS_FOLDER("canGetDescendents.Folder"), @XmlEnumValue("canGetChildren.Folder") CAN_GET_CHILDREN_FOLDER("canGetChildren.Folder"), @XmlEnumValue("canGetParents.Folder") CAN_GET_PARENTS_FOLDER("canGetParents.Folder"), @XmlEnumValue("canGetFolderParent.Object") CAN_GET_FOLDER_PARENT_OBJECT("canGetFolderParent.Object"), @XmlEnumValue("canCreateDocument.Folder") CAN_CREATE_DOCUMENT_FOLDER("canCreateDocument.Folder"), @XmlEnumValue("canCreateFolder.Folder") CAN_CREATE_FOLDER_FOLDER("canCreateFolder.Folder"), @XmlEnumValue("canCreateRelationship.Source") CAN_CREATE_RELATIONSHIP_SOURCE("canCreateRelationship.Source"), @XmlEnumValue("canCreateRelationship.Target") CAN_CREATE_RELATIONSHIP_TARGET("canCreateRelationship.Target"), @XmlEnumValue("canGetProperties.Object") CAN_GET_PROPERTIES_OBJECT("canGetProperties.Object"), @XmlEnumValue("canViewContent.Object") CAN_VIEW_CONTENT_OBJECT("canViewContent.Object"), @XmlEnumValue("canUpdateProperties.Object") CAN_UPDATE_PROPERTIES_OBJECT("canUpdateProperties.Object"), @XmlEnumValue("canMove.Object") CAN_MOVE_OBJECT("canMove.Object"), @XmlEnumValue("canMove.Target") CAN_MOVE_TARGET("canMove.Target"), @XmlEnumValue("canMove.Source") CAN_MOVE_SOURCE("canMove.Source"), @XmlEnumValue("canDelete.Object") CAN_DELETE_OBJECT("canDelete.Object"), @XmlEnumValue("canDeleteTree.Folder") CAN_DELETE_TREE_FOLDER("canDeleteTree.Folder"), @XmlEnumValue("canSetContent.Document") CAN_SET_CONTENT_DOCUMENT("canSetContent.Document"), @XmlEnumValue("canDeleteContent.Document") CAN_DELETE_CONTENT_DOCUMENT("canDeleteContent.Document"), @XmlEnumValue("canAddToFolder.Object") CAN_ADD_TO_FOLDER_OBJECT("canAddToFolder.Object"), @XmlEnumValue("canAddToFolder.Folder") CAN_ADD_TO_FOLDER_FOLDER("canAddToFolder.Folder"), @XmlEnumValue("canRemoveFromFolder.Object") CAN_REMOVE_FROM_FOLDER_OBJECT("canRemoveFromFolder.Object"), @XmlEnumValue("canRemoveFromFolder.Folder") CAN_REMOVE_FROM_FOLDER_FOLDER("canRemoveFromFolder.Folder"), @XmlEnumValue("canCheckout.Document") CAN_CHECKOUT_DOCUMENT("canCheckout.Document"), @XmlEnumValue("canCancelCheckout.Document") CAN_CANCEL_CHECKOUT_DOCUMENT("canCancelCheckout.Document"), @XmlEnumValue("canCheckin.Document") CAN_CHECKIN_DOCUMENT("canCheckin.Document"), @XmlEnumValue("canGetAllVersions.VersionSeries") CAN_GET_ALL_VERSIONS_VERSION_SERIES("canGetAllVersions.VersionSeries"), @XmlEnumValue("canGetObjectRelationships.Object") CAN_GET_OBJECT_RELATIONSHIPS_OBJECT("canGetObjectRelationships.Object"), @XmlEnumValue("canAddPolicy.Object") CAN_ADD_POLICY_OBJECT("canAddPolicy.Object"), @XmlEnumValue("canAddPolicy.Policy") CAN_ADD_POLICY_POLICY("canAddPolicy.Policy"), @XmlEnumValue("canRemovePolicy.Object") CAN_REMOVE_POLICY_OBJECT("canRemovePolicy.Object"), @XmlEnumValue("canRemovePolicy.Policy") CAN_REMOVE_POLICY_POLICY("canRemovePolicy.Policy"), @XmlEnumValue("canGetAppliedPolicies.Object") CAN_GET_APPLIED_POLICIES_OBJECT("canGetAppliedPolicies.Object"), @XmlEnumValue("canGetACL.Object") CAN_GET_ACL_OBJECT("canGetACL.Object"), @XmlEnumValue("canApplyACL.Object") CAN_APPLY_ACL_OBJECT("canApplyACL.Object"); private final String value; EnumAllowableActionsKey(String v) { value = v; } public String value() { return value; } public static EnumAllowableActionsKey fromValue(String v) { for (EnumAllowableActionsKey c: EnumAllowableActionsKey.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy