Examples of NavigationServicePort


Examples of org.apache.chemistry.opencmis.commons.impl.jaxb.NavigationServicePort

     * org.apache.opencmis.client.provider.NavigationService#getFolderParent
     * (java.lang.String, java.lang.String, java.lang.String,
     * org.apache.opencmis.client.provider.ExtensionsData)
     */
    public ObjectData getFolderParent(String repositoryId, String folderId, String filter, ExtensionsData extension) {
        NavigationServicePort port = fPortProvider.getNavigationServicePort();

        try {
            return convert(port.getFolderParent(repositoryId, folderId, filter, convert(extension)));
        } catch (CmisException e) {
            throw convertException(e);
        } catch (Exception e) {
            throw new CmisRuntimeException("Error: " + e.getMessage(), e);
        }
View Full Code Here

Examples of org.apache.chemistry.opencmis.commons.impl.jaxb.NavigationServicePort

     * java.lang.Boolean, org.apache.opencmis.client.provider.ExtensionsData)
     */
    public List<ObjectInFolderContainer> getFolderTree(String repositoryId, String folderId, BigInteger depth,
            String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships,
            String renditionFilter, Boolean includePathSegment, ExtensionsData extension) {
        NavigationServicePort port = fPortProvider.getNavigationServicePort();

        try {
            List<CmisObjectInFolderContainerType> containerList = port.getFolderTree(repositoryId, folderId, depth,
                    filter, includeAllowableActions, convert(EnumIncludeRelationships.class, includeRelationships),
                    renditionFilter, includePathSegment, convert(extension));

            // no list?
            if (containerList == null) {
View Full Code Here

Examples of org.apache.chemistry.opencmis.commons.impl.jaxb.NavigationServicePort

     * java.lang.Boolean, org.apache.opencmis.client.provider.ExtensionsData)
     */
    public List<ObjectParentData> getObjectParents(String repositoryId, String objectId, String filter,
            Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter,
            Boolean includeRelativePathSegment, ExtensionsData extension) {
        NavigationServicePort port = fPortProvider.getNavigationServicePort();

        try {
            List<CmisObjectParentsType> parentsList = port.getObjectParents(repositoryId, objectId, filter,
                    includeAllowableActions, convert(EnumIncludeRelationships.class, includeRelationships),
                    renditionFilter, includeRelativePathSegment, convert(extension));

            // no list?
            if (parentsList == null) {
View Full Code Here

Examples of org.apache.chemistry.opencmis.commons.impl.jaxb.NavigationServicePort

     * org.apache.opencmis.client.provider.ExtensionsData)
     */
    public ObjectList getCheckedOutDocs(String repositoryId, String folderId, String filter, String orderBy,
            Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter,
            BigInteger maxItems, BigInteger skipCount, ExtensionsData extension) {
        NavigationServicePort port = fPortProvider.getNavigationServicePort();

        try {
            return convert(port.getCheckedOutDocs(repositoryId, folderId, filter, orderBy, includeAllowableActions,
                    convert(EnumIncludeRelationships.class, includeRelationships), renditionFilter, maxItems,
                    skipCount, convert(extension)));
        } catch (CmisException e) {
            throw convertException(e);
        } catch (Exception e) {
View Full Code Here

Examples of org.apache.chemistry.opencmis.commons.impl.jaxb.NavigationServicePort

     * org.apache.opencmis.client.provider.ExtensionsData)
     */
    public ObjectInFolderList getChildren(String repositoryId, String folderId, String filter, String orderBy,
            Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter,
            Boolean includePathSegment, BigInteger maxItems, BigInteger skipCount, ExtensionsData extension) {
        NavigationServicePort port = fPortProvider.getNavigationServicePort();

        try {
            return convert(port.getChildren(repositoryId, folderId, filter, orderBy, includeAllowableActions, convert(
                    EnumIncludeRelationships.class, includeRelationships), renditionFilter, includePathSegment,
                    maxItems, skipCount, convert(extension)));
        } catch (CmisException e) {
            throw convertException(e);
        } catch (Exception e) {
View Full Code Here

Examples of org.apache.chemistry.opencmis.commons.impl.jaxb.NavigationServicePort

     * java.lang.Boolean, org.apache.opencmis.client.provider.ExtensionsData)
     */
    public List<ObjectInFolderContainer> getDescendants(String repositoryId, String folderId, BigInteger depth,
            String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships,
            String renditionFilter, Boolean includePathSegment, ExtensionsData extension) {
        NavigationServicePort port = fPortProvider.getNavigationServicePort();

        try {
            List<CmisObjectInFolderContainerType> containerList = port.getDescendants(repositoryId, folderId, depth,
                    filter, includeAllowableActions, convert(EnumIncludeRelationships.class, includeRelationships),
                    renditionFilter, includePathSegment, convert(extension));

            // no list?
            if (containerList == null) {
View Full Code Here

Examples of org.apache.chemistry.opencmis.commons.impl.jaxb.NavigationServicePort

    }

    public ObjectInFolderList getChildren(String repositoryId, String folderId, String filter, String orderBy,
            Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter,
            Boolean includePathSegment, BigInteger maxItems, BigInteger skipCount, ExtensionsData extension) {
        NavigationServicePort port = portProvider.getNavigationServicePort();

        try {
            return convert(port.getChildren(repositoryId, folderId, filter, orderBy, includeAllowableActions,
                    convert(EnumIncludeRelationships.class, includeRelationships), renditionFilter, includePathSegment,
                    maxItems, skipCount, convert(extension)));
        } catch (CmisException e) {
            throw convertException(e);
        } catch (Exception e) {
View Full Code Here

Examples of org.apache.chemistry.opencmis.commons.impl.jaxb.NavigationServicePort

    }

    public List<ObjectInFolderContainer> getDescendants(String repositoryId, String folderId, BigInteger depth,
            String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships,
            String renditionFilter, Boolean includePathSegment, ExtensionsData extension) {
        NavigationServicePort port = portProvider.getNavigationServicePort();

        try {
            List<CmisObjectInFolderContainerType> containerList = port.getDescendants(repositoryId, folderId, depth,
                    filter, includeAllowableActions, convert(EnumIncludeRelationships.class, includeRelationships),
                    renditionFilter, includePathSegment, convert(extension));

            // no list?
            if (containerList == null) {
View Full Code Here

Examples of org.apache.chemistry.opencmis.commons.impl.jaxb.NavigationServicePort

            portProvider.endCall(port);
        }
    }

    public ObjectData getFolderParent(String repositoryId, String folderId, String filter, ExtensionsData extension) {
        NavigationServicePort port = portProvider.getNavigationServicePort();

        try {
            return convert(port.getFolderParent(repositoryId, folderId, filter, convert(extension)));
        } catch (CmisException e) {
            throw convertException(e);
        } catch (Exception e) {
            throw new CmisRuntimeException("Error: " + e.getMessage(), e);
        } finally {
View Full Code Here

Examples of org.apache.chemistry.opencmis.commons.impl.jaxb.NavigationServicePort

    }

    public List<ObjectInFolderContainer> getFolderTree(String repositoryId, String folderId, BigInteger depth,
            String filter, Boolean includeAllowableActions, IncludeRelationships includeRelationships,
            String renditionFilter, Boolean includePathSegment, ExtensionsData extension) {
        NavigationServicePort port = portProvider.getNavigationServicePort();

        try {
            List<CmisObjectInFolderContainerType> containerList = port.getFolderTree(repositoryId, folderId, depth,
                    filter, includeAllowableActions, convert(EnumIncludeRelationships.class, includeRelationships),
                    renditionFilter, includePathSegment, convert(extension));

            // no list?
            if (containerList == null) {
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.