Interface FolderDocumentService

  • All Superinterfaces:
    BaseAPIService

    public interface FolderDocumentService
    extends BaseAPIService
    Fornece acesso aos serviços de pastas (GED).
    Since:
    1.5
    Author:
    vanei
    • 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