Interface CollaborationSDKService

    • Method Detail

      • startCollaboration

        String startCollaboration​(String appKey,
                                  CollaborationVO collaborateVO)
                           throws com.totvs.technology.foundation.common.exception.FDNException
        Throws:
        com.totvs.technology.foundation.common.exception.FDNException
      • uploadFlow

        Map<String,​Serializable> uploadFlow​(String appKey,
                                                  CollaborationVO collaborationVO)
                                           throws com.totvs.technology.foundation.common.exception.FDNException
        Throws:
        com.totvs.technology.foundation.common.exception.FDNException
      • startGuestCollaboration

        String startGuestCollaboration​(String appKey,
                                       CollaborationVO collaborateVO)
                                throws com.totvs.technology.foundation.common.exception.FDNException
        Throws:
        com.totvs.technology.foundation.common.exception.FDNException
      • startEditingByGuest

        Map<String,​Serializable> startEditingByGuest​(String appKey,
                                                           String guestCode,
                                                           CollaborationVO collaborateVO)
                                                    throws com.totvs.technology.foundation.common.exception.FDNException
        Throws:
        com.totvs.technology.foundation.common.exception.FDNException
      • updateApp

        CollaborationAppVO updateApp​(CollaborationAppVO vo)
                              throws com.totvs.technology.foundation.common.exception.FDNException
        Throws:
        com.totvs.technology.foundation.common.exception.FDNException
      • addGuests

        void addGuests​(Long collaborationId,
                       List<String> guests)
                throws com.totvs.technology.foundation.common.exception.FDNException
        Throws:
        com.totvs.technology.foundation.common.exception.FDNException
      • getCollaborationStatus

        Map<String,​Serializable> getCollaborationStatus​(Integer documentId,
                                                              Integer documentVersion)
                                                       throws com.totvs.technology.foundation.common.exception.FDNException
        Throws:
        com.totvs.technology.foundation.common.exception.FDNException
      • checkConnect

        String checkConnect​(String appKey)
                     throws com.totvs.technology.foundation.common.exception.FDNException
        Throws:
        com.totvs.technology.foundation.common.exception.FDNException
      • listCollaborators

        List<UserVO> listCollaborators​(Long collaborationId,
                                       String pattern,
                                       int limit,
                                       int offset)
                                throws com.fluig.sdk.api.common.SDKException
        Throws:
        com.fluig.sdk.api.common.SDKException
      • findCollaborationById

        CollaborationVO findCollaborationById​(Long collaborationId)
                                       throws com.fluig.sdk.api.common.SDKException
        Throws:
        com.fluig.sdk.api.common.SDKException
      • validateUserPermissionToEdit

        void validateUserPermissionToEdit​(int documentId,
                                          int documentVersion,
                                          String userCode)
                                   throws Exception
        Throws:
        Exception