Examples of QNodeDefinitionImpl


Examples of org.apache.jackrabbit.spi.commons.QNodeDefinitionImpl

    public QNodeDefinition getNodeDefinition(SessionInfo sessionInfo,
                                             NodeId nodeId)
            throws RepositoryException {
        SessionInfoImpl sInfo = getSessionInfoImpl(sessionInfo);
        try {
            return new QNodeDefinitionImpl(getNode(nodeId, sInfo).getDefinition(),
                    sInfo.getNamePathResolver());
        } catch (NameException e) {
            throw new RepositoryException(e);
        }
    }
View Full Code Here

Examples of org.apache.jackrabbit.spi.commons.QNodeDefinitionImpl

    public QNodeDefinition getNodeDefinition(SessionInfo sessionInfo,
                                             NodeId nodeId)
            throws RepositoryException {
        SessionInfoImpl sInfo = getSessionInfoImpl(sessionInfo);
        try {
            return new QNodeDefinitionImpl(getNode(nodeId, sInfo).getDefinition(),
                    sInfo.getNamePathResolver());
        } catch (NameException e) {
            throw new RepositoryException(e);
        }
    }
View Full Code Here

Examples of org.apache.jackrabbit.spi.commons.QNodeDefinitionImpl

     * Default implementation of a {@link QNodeDefinitionBuilder}.
     */
    public class QNodeDefinitionBuilderImpl extends QNodeDefinitionBuilder {

        public QNodeDefinition build() {
            return new QNodeDefinitionImpl(
                    this.getName(),
                    this.getDeclaringNodeType(),
                    this.getAutoCreated(),
                    this.getMandatory(),
                    this.getOnParentVersion(),
View Full Code Here

Examples of org.apache.jackrabbit.spi.commons.QNodeDefinitionImpl

        public void build() {
            if (requiredPrimaryTypes.isEmpty()) {
                requiredPrimaryTypes.add(NameConstants.NT_BASE);
            }

            ntd.childNodeDefs.add(new QNodeDefinitionImpl(
                    name,
                    declaringNodeType,
                    super.autocreate,
                    super.isMandatory,
                    super.onParent,
View Full Code Here

Examples of org.apache.jackrabbit.spi.commons.QNodeDefinitionImpl

     * @throws IllegalStateException if the instance has not the necessary
     *                               information to build the QNodeDefinition
     *                               instance.
     */
    public QNodeDefinition build() throws IllegalStateException {
        return new QNodeDefinitionImpl(getName(), getDeclaringNodeType(),
                getAutoCreated(), getMandatory(), getOnParentVersion(),
                getProtected(), getDefaultPrimaryType(),
                getRequiredPrimaryTypes(), getAllowsSameNameSiblings());
    }
View Full Code Here

Examples of org.apache.jackrabbit.spi.commons.QNodeDefinitionImpl

    public QNodeDefinition getNodeDefinition(SessionInfo sessionInfo,
                                             NodeId nodeId)
            throws RepositoryException {
        SessionInfoImpl sInfo = getSessionInfoImpl(sessionInfo);
        try {
            return new QNodeDefinitionImpl(getNode(nodeId, sInfo).getDefinition(),
                    sInfo.getNamePathResolver());
        } catch (NameException e) {
            throw new RepositoryException(e);
        }
    }
View Full Code Here

Examples of org.apache.jackrabbit.spi.commons.QNodeDefinitionImpl

    public QNodeDefinition getNodeDefinition(SessionInfo sessionInfo,
                                             NodeId nodeId)
            throws RepositoryException {
        SessionInfoImpl sInfo = getSessionInfoImpl(sessionInfo);
        try {
            return new QNodeDefinitionImpl(getNode(nodeId, sInfo).getDefinition(),
                    sInfo.getNamePathResolver());
        } catch (NameException e) {
            throw new RepositoryException(e);
        }
    }
View Full Code Here

Examples of org.apache.jackrabbit.spi.commons.QNodeDefinitionImpl

     * Default implementation of a {@link QNodeDefinitionBuilder}.
     */
    public class QNodeDefinitionBuilderImpl extends QNodeDefinitionBuilder {

        public QNodeDefinition build() {
            return new QNodeDefinitionImpl(
                    this.getName(),
                    this.getDeclaringNodeType(),
                    this.getAutoCreated(),
                    this.getMandatory(),
                    this.getOnParentVersion(),
View Full Code Here

Examples of org.apache.jackrabbit.spi.commons.QNodeDefinitionImpl

     * Default implementation of a {@link QNodeDefinitionBuilder}.
     */
    public class QNodeDefinitionBuilderImpl extends QNodeDefinitionBuilder {

        public QNodeDefinition build() {
            return new QNodeDefinitionImpl(
                    this.getName(),
                    this.getDeclaringNodeType(),
                    this.getAutoCreated(),
                    this.getMandatory(),
                    this.getOnParentVersion(),
View Full Code Here

Examples of org.apache.jackrabbit.spi.commons.QNodeDefinitionImpl

    /**
     * Returns the QNodeDefinition for this NodeDef
     * @return the QNodeDefinition
     */
    public QNodeDefinition getQNodeDefinition() {
        return new QNodeDefinitionImpl(
                getName(),
                getDeclaringNodeType(),
                isAutoCreated(),
                isMandatory(),
                getOnParentVersion(),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.