org.pentaho.platform.util.client
Class BiPlatformRepositoryClientNavigationService

java.lang.Object
  extended by org.pentaho.platform.util.client.BiPlatformRepositoryClientNavigationService
All Implemented Interfaces:
INavigationService

public class BiPlatformRepositoryClientNavigationService
extends Object
implements INavigationService


Constructor Summary
BiPlatformRepositoryClientNavigationService()
           
 
Method Summary
 GetCheckedoutDocsResponse getCheckedoutDocs(String repositoryId, String folderId, String filter, boolean includeAllowableActions, boolean includeRelationships, int maxItems, int skipCount)
           
 List<CmisObject> getChildren(String repositoryId, String folderId, TypesOfFileableObjects type, String filter, boolean includeAllowableActions, boolean includeRelationships, int maxItems, int skipCount)
           
 List<CmisObject> getDescendants(String repositoryId, String folderId, TypesOfFileableObjects type, int depth, String filter, boolean includeAllowableActions, boolean includeRelationships)
           
 org.dom4j.Document getDoc()
           
 List<CmisObject> getFolderParent(String repositoryId, String folderId, String filter, boolean includeAllowableActions, boolean includeRelationships, boolean returnToRoot)
           
 List<CmisObject> getObjectParent(String repositoryId, String objectId, String filter, boolean includeAllowableActions, boolean includeRelationships)
           
 String getRepositoryFilename(CmisObject object)
           
 String getRepositoryPath(CmisObject object)
           
 void setDoc(org.dom4j.Document doc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BiPlatformRepositoryClientNavigationService

public BiPlatformRepositoryClientNavigationService()
Method Detail

getDoc

public org.dom4j.Document getDoc()

setDoc

public void setDoc(org.dom4j.Document doc)

getObjectParent

public List<CmisObject> getObjectParent(String repositoryId,
                                        String objectId,
                                        String filter,
                                        boolean includeAllowableActions,
                                        boolean includeRelationships)
                                 throws InvalidArgumentException,
                                        ConstraintViolationException,
                                        FilterNotValidException,
                                        RuntimeException,
                                        UpdateConflictException,
                                        ObjectNotFoundException,
                                        OperationNotSupportedException,
                                        PermissionDeniedException,
                                        FolderNotValidException
Specified by:
getObjectParent in interface INavigationService
Throws:
InvalidArgumentException
ConstraintViolationException
FilterNotValidException
RuntimeException
UpdateConflictException
ObjectNotFoundException
OperationNotSupportedException
PermissionDeniedException
FolderNotValidException

getFolderParent

public List<CmisObject> getFolderParent(String repositoryId,
                                        String folderId,
                                        String filter,
                                        boolean includeAllowableActions,
                                        boolean includeRelationships,
                                        boolean returnToRoot)
                                 throws InvalidArgumentException,
                                        ConstraintViolationException,
                                        FilterNotValidException,
                                        RuntimeException,
                                        UpdateConflictException,
                                        ObjectNotFoundException,
                                        OperationNotSupportedException,
                                        PermissionDeniedException,
                                        FolderNotValidException
Specified by:
getFolderParent in interface INavigationService
Throws:
InvalidArgumentException
ConstraintViolationException
FilterNotValidException
RuntimeException
UpdateConflictException
ObjectNotFoundException
OperationNotSupportedException
PermissionDeniedException
FolderNotValidException

getDescendants

public List<CmisObject> getDescendants(String repositoryId,
                                       String folderId,
                                       TypesOfFileableObjects type,
                                       int depth,
                                       String filter,
                                       boolean includeAllowableActions,
                                       boolean includeRelationships)
                                throws InvalidArgumentException,
                                       ConstraintViolationException,
                                       FilterNotValidException,
                                       RuntimeException,
                                       UpdateConflictException,
                                       ObjectNotFoundException,
                                       OperationNotSupportedException,
                                       PermissionDeniedException,
                                       FolderNotValidException
Specified by:
getDescendants in interface INavigationService
Throws:
InvalidArgumentException
ConstraintViolationException
FilterNotValidException
RuntimeException
UpdateConflictException
ObjectNotFoundException
OperationNotSupportedException
PermissionDeniedException
FolderNotValidException

getChildren

public List<CmisObject> getChildren(String repositoryId,
                                    String folderId,
                                    TypesOfFileableObjects type,
                                    String filter,
                                    boolean includeAllowableActions,
                                    boolean includeRelationships,
                                    int maxItems,
                                    int skipCount)
                             throws InvalidArgumentException,
                                    ConstraintViolationException,
                                    FilterNotValidException,
                                    RuntimeException,
                                    UpdateConflictException,
                                    ObjectNotFoundException,
                                    OperationNotSupportedException,
                                    PermissionDeniedException,
                                    FolderNotValidException
Specified by:
getChildren in interface INavigationService
Throws:
InvalidArgumentException
ConstraintViolationException
FilterNotValidException
RuntimeException
UpdateConflictException
ObjectNotFoundException
OperationNotSupportedException
PermissionDeniedException
FolderNotValidException

getCheckedoutDocs

public GetCheckedoutDocsResponse getCheckedoutDocs(String repositoryId,
                                                   String folderId,
                                                   String filter,
                                                   boolean includeAllowableActions,
                                                   boolean includeRelationships,
                                                   int maxItems,
                                                   int skipCount)
                                            throws InvalidArgumentException,
                                                   ConstraintViolationException,
                                                   FilterNotValidException,
                                                   RuntimeException,
                                                   UpdateConflictException,
                                                   ObjectNotFoundException,
                                                   OperationNotSupportedException,
                                                   PermissionDeniedException,
                                                   FolderNotValidException
Specified by:
getCheckedoutDocs in interface INavigationService
Throws:
InvalidArgumentException
ConstraintViolationException
FilterNotValidException
RuntimeException
UpdateConflictException
ObjectNotFoundException
OperationNotSupportedException
PermissionDeniedException
FolderNotValidException

getRepositoryPath

public String getRepositoryPath(CmisObject object)
Specified by:
getRepositoryPath in interface INavigationService

getRepositoryFilename

public String getRepositoryFilename(CmisObject object)
Specified by:
getRepositoryFilename in interface INavigationService