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

org.apache.jackrabbit.commons.webdav.NodeTypeConstants Maven / Gradle / Ivy

There is a newer version: 6.5.21
Show newest version
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.jackrabbit.commons.webdav;

/**
 * NodeTypeConstants used to represent nodetype definitions in
 * Xml.
 *
 * @see javax.jcr.nodetype.NodeType
 */
public interface NodeTypeConstants {

    public static final String XML_NODETYPENAME = "nodetypename";

    public static final String XML_REPORT_ALLNODETYPES = "all-nodetypes";
    public static final String XML_REPORT_MIXINNODETYPES = "mixin-nodetypes";
    public static final String XML_REPORT_PRIMARYNODETYPES = "primary-nodetypes";
    public static final String XML_NODETYPES = "nodetypes";
    public static final String XML_NODETYPE = "nodetype";

    //------< copied from org.apache.jackrabbit.core.nodetype.xml.Constants >---

    /** Name of the node type definition root element. */
    String NODETYPES_ELEMENT = "nodeTypes";

    /** Name of the node type definition element. */
    String NODETYPE_ELEMENT = "nodeType";

    /** Name of the child node definition element. */
    String CHILDNODEDEFINITION_ELEMENT = "childNodeDefinition";

    /** Name of the property definition element. */
    String PROPERTYDEFINITION_ELEMENT = "propertyDefinition";

    /** Name of the isMixin attribute. */
    String ISMIXIN_ATTRIBUTE = "isMixin";

    /** Name of the hasOrderableChildNodes attribute. */
    String HASORDERABLECHILDNODES_ATTRIBUTE = "hasOrderableChildNodes";

    /**
     * Name of the isAbstract attribute.
     * @since JCR 2.0
     */
    String ISABSTRACT_ATTRIBUTE = "isAbstract";

    /**
     * Name of the isQueryable attribute.
     * @since JCR 2.0
     */
    String ISQUERYABLE_ATTRIBUTE = "isQueryable";

    /** Name of the primary item name attribute. */
    String PRIMARYITEMNAME_ATTRIBUTE = "primaryItemName";

    /** Name of the supertypes element. */
    String SUPERTYPES_ELEMENT = "supertypes";

    /** Name of the supertype element. */
    String SUPERTYPE_ELEMENT = "supertype";

    /** Name of the name attribute. */
    String NAME_ATTRIBUTE = "name";

    /** Name of the autoCreated attribute. */
    String AUTOCREATED_ATTRIBUTE = "autoCreated";

    /** Name of the mandatory attribute. */
    String MANDATORY_ATTRIBUTE = "mandatory";

    /** Name of the onParentVersion attribute. */
    String ONPARENTVERSION_ATTRIBUTE = "onParentVersion";

    /** Name of the protected attribute. */
    String PROTECTED_ATTRIBUTE = "protected";

    /** Name of the required type attribute. */
    String REQUIREDTYPE_ATTRIBUTE = "requiredType";

    /** Name of the value constraints element. */
    String VALUECONSTRAINTS_ELEMENT = "valueConstraints";

    /** Name of the value constraint element. */
    String VALUECONSTRAINT_ELEMENT = "valueConstraint";

    /** Name of the default values element. */
    String DEFAULTVALUES_ELEMENT = "defaultValues";

    /** Name of the default value element. */
    String DEFAULTVALUE_ELEMENT = "defaultValue";

    /** Name of the multiple attribute. */
    String MULTIPLE_ATTRIBUTE = "multiple";

    /** Name of the required primary types element. */
    String REQUIREDPRIMARYTYPES_ELEMENT = "requiredPrimaryTypes";

    /** Name of the required primary type element. */
    String REQUIREDPRIMARYTYPE_ELEMENT = "requiredPrimaryType";

    /** Name of the default primary type attribute. */
    String DEFAULTPRIMARYTYPE_ATTRIBUTE = "defaultPrimaryType";

    /** Name of the sameNameSiblings attribute. */
    String SAMENAMESIBLINGS_ATTRIBUTE = "sameNameSiblings";

    /**
     * Name of the availableQueryOperators element.
     * @since JCR 2.0
     */
    String AVAILABLE_QUERY_OPERATORS_ELEMENT = "availableQueryOperators";

    /**
     * Name of the availableQueryOperator element.
     * @since JCR 2.0
     */
    String AVAILABLE_QUERY_OPERATOR_ELEMENT = "availableQueryOperator";

    /**
     * Name of the fullTextSearchable attribute.
     * @since JCR 2.0
     */
    String FULL_TEXT_SEARCHABLE_ATTRIBUTE = "fullTextSearchable";

    /**
     * Name of the queryOrderable attribute.
     * @since JCR 2.0
     */
    String QUERY_ORDERABLE_ATTRIBUTE = "queryOrderable";

    //----------< attr. not defined by copied from o.a.j.core.n.x.Constants >---
    /**
     * Name of the declaring nodetype. This value is not needed during
     * discovery of nodetype definitions. However if the definition of an item is
     * retrieved (instead of being calculated on the client), this information is
     * needed
     */
    String DECLARINGNODETYPE_ATTRIBUTE = "declaringNodeType";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy