Package com.fluig.sdk.service
Interface FolderDocumentService
-
- All Superinterfaces:
BaseAPIService
public interface FolderDocumentService extends BaseAPIService
Fornece acesso aos serviços de pastas (GED).- Since:
- 1.5
- Author:
- vanei
-
-
Field Summary
Fields Modifier and Type Field Description static StringJNDI_NAMEstatic StringJNDI_REMOTE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FolderVOcreate(FolderVO vo)Criação de uma nova pastaDocumentVOget(int documentId)Recupera um documento através do idList<DocumentVO>list(int folderId)Recupera lista de documentos através do id da pastaList<DocumentVO>list(int folderId, int permission)Recupera lista de documentos através do id da pastaList<DocumentVO>listDocumentsByFolder(FolderVO folderVO, int limit, int offset)Retorna os documentos de uma pastaDocumentVOupdateDocumentDescription(long companyId, int documentId, String description)Atualiza documento ou pasta-
Methods inherited from interface com.fluig.sdk.service.BaseAPIService
expand, generateOrderParam
-
-
-
-
Field Detail
-
JNDI_NAME
static final String JNDI_NAME
- See Also:
- Constant Field Values
-
JNDI_REMOTE_NAME
static final String JNDI_REMOTE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
get
DocumentVO get(int documentId) throws com.fluig.sdk.api.common.SDKException
Recupera um documento através do id- Parameters:
documentId-- Returns:
- DocumentVO
- Throws:
com.fluig.sdk.api.common.SDKException
-
create
FolderVO create(FolderVO vo) throws com.fluig.sdk.api.common.SDKException
Criação de uma nova pasta- Parameters:
vo-- Returns:
- FolderVO
- Throws:
com.fluig.sdk.api.common.SDKException
-
list
List<DocumentVO> list(int folderId) throws com.fluig.sdk.api.common.SDKException
Recupera lista de documentos através do id da pasta- Parameters:
folderId-- Returns:
- Throws:
com.fluig.sdk.api.common.SDKException
-
updateDocumentDescription
DocumentVO updateDocumentDescription(long companyId, int documentId, String description) throws com.fluig.sdk.api.common.SDKException
Atualiza documento ou pasta- Parameters:
companyId-documentId-description-- Returns:
- Throws:
com.fluig.sdk.api.common.SDKException
-
list
List<DocumentVO> list(int folderId, int permission) throws com.fluig.sdk.api.common.SDKException
Recupera lista de documentos através do id da pasta- Parameters:
folderId-permission-- Returns:
- Throws:
com.fluig.sdk.api.common.SDKException
-
listDocumentsByFolder
List<DocumentVO> listDocumentsByFolder(FolderVO folderVO, int limit, int offset) throws com.fluig.sdk.api.common.SDKException
Retorna os documentos de uma pasta- Parameters:
FolderVO-limit-offset-- Returns:
- List
- Throws:
com.fluig.sdk.api.common.SDKException
-
-