DocumentTypeService gets all documents by mime types.

|| *Method* || *Return* || *Prototype* || *Desription* ||
| *getAllSupportedType* | {{List<String>}} | getAllSupportedType(); | Get all supported document type{example}{example}@return List<String> |
| *getAllDocumentsByDocumentType* | {{List<Node>}} | getAllDocumentsByDocumentType(String documentType, String workspace, String repository, SessionProvider sessionProvider) throws Exception; | Get all documents by kind of document type{example}{example}@param documentType: Kind of document(Images, Video){example}{example}@param workspace: The name of workspace will be used to get documents{example}{example}@param repository: The name of repository will be used to get documents{example}{example}@param sessionProvider {example}{example}@param mimeType: The mime type of node(For example image\a/\ajpg){example}{example}@return List<Node>: all documents by kind of document type{example}{example}@throws Exception |
| *getAllDocumentsByType* | {{List<Node>}} | getAllDocumentsByType(String workspace, String repository, SessionProvider sessionProvider, String mimeType) throws Exception; | Get all document by mimetype{example}{example}@param workspace: The name of workspace will be used to get documents{example}{example}@param repository: The name of repository will be used to get documents{example}{example}@param sessionProvider{example}{example}@param mimeType: The mime type of node(For example image\a/\ajpg){example}{example}@return List<Node>: all documents by mime type{example}{example}@throws Exception |
| *getAllDocumentsByUser* | {{List<Node>}} | getAllDocumentsByUser(String workspace, String repository, SessionProvider sessionProvider, String/[/] mimeTypes, String userName) throws Exception; | Get all document type by user{example}{example}@param workspace: The name of workspace will be used to get documents{example}{example}@param repository: The name of repository will be used to get documents{example}{example}@param sessionProvider: {example}{example}@param mimeTypes: The array of mimetype(For example image\a/\ajpg, image\a/\apng){example}{example}@param userName: The name of current use{example}{example}@return List<Node>: all documents by mime type{example}{example}@throws Exception |
| *isContentsType* | {{boolean}} | isContentsType(String documentType); | Check the document is content type or not{example}{example}@param documentType{example}{example}@return |
| *getAllDocumentByContentsType* | {{List<Node>}} | getAllDocumentByContentsType(String documentType, String workspace, String repository, SessionProvider sessionProvider, String userName) throws Exception; | Get all contents type document{example}{example}@param documentType Contents type{example}{example}@param workspace The name of workspace will be used to get documents{example}{example}@param repository The name of repository will be used to get documents{example}{example}@param sessionProvider {example}{example}@return List<Node> all contents type document{example}{example}@param userName{example}{example}@return{example}{example}@throws Exception |
| *getMimeTypes* | {{String/[/]}} | getMimeTypes(String documentType); | Get mime types by document type{example}{example}@param documentType{example}{example}@return array of string|

