Interface FCSService
public interface FCSService
- Since:
- 2022-06-13
-
Method Summary
Modifier and TypeMethodDescriptiongetCheckinTicket
(com.technia.dsx.common.TenantSession session, String store, String policy, Integer fileCount, Integer ticketCount) Get a checkin ticket to upload files to FCS to a document that does not yet exist.getCheckinTicket
(com.technia.dsx.common.TenantSession session, String documentId, String store, String policy) Get an checkin ticket to upload files to FCS in order to add or modify a file for a given document.getTicket
(com.technia.dsx.common.TenantSession session, boolean zipFiles, String zipFileName, boolean checkout) TODO: DOCUMENT MEgetTicket
(com.technia.dsx.common.TenantSession session, String documentId, boolean zipFiles, String zipName, boolean checkout) Get the download ticket to download all the files associated to a documentgetTicket
(com.technia.dsx.common.TenantSession session, String documentId, String fileId, boolean checkout) Get the download ticket to download a specific file associated to a document.getTicket
(com.technia.dsx.common.TenantSession session, String documentId, String fileId, String versionId)
-
Method Details
-
getTicket
@Remote(READ) DownloadTicketResult getTicket(com.technia.dsx.common.TenantSession session, String documentId, boolean zipFiles, String zipName, boolean checkout) Get the download ticket to download all the files associated to a documentIf the
checkout
parameter is true, lock and get the checkout ticket for a document; a zip is returned when multiple files exist.- Parameters:
session
- The current sessiondocumentId
- The ID of the documentzipFiles
- TRUE to zip the files on checkoutzipName
- The name of the ZIP filecheckout
- TRUE for a checkout, FALSE for a simple download.- Returns:
-
getTicket
@Remote(READ) DownloadTicketResult getTicket(com.technia.dsx.common.TenantSession session, String documentId, String fileId, String versionId) - Parameters:
session
-documentId
-fileId
-versionId
-- Returns:
-
getTicket
@Remote(READ) DownloadTicketResult getTicket(com.technia.dsx.common.TenantSession session, String documentId, String fileId, boolean checkout) Get the download ticket to download a specific file associated to a document.If the checkout argument is
true
then lock and get the checkout ticket.- Parameters:
session
- The tenant sessiondocumentId
- The document ID (REQUIRED)fileId
- The file id (REQUIRED(checkout
- True for checkout, false for download- Returns:
-
getTicket
DownloadTicketResult getTicket(com.technia.dsx.common.TenantSession session, boolean zipFiles, String zipFileName, boolean checkout) TODO: DOCUMENT ME- Parameters:
session
-zipFiles
-zipFileName
-checkout
-- Returns:
-
getCheckinTicket
@Remote(READ) CheckinTicketResult getCheckinTicket(com.technia.dsx.common.TenantSession session, String documentId, String store, String policy) Get an checkin ticket to upload files to FCS in order to add or modify a file for a given document.- Parameters:
session
- The tenant sessiondocumentId
- The document ID (REQUIRED)store
- Optional store overridepolicy
- Optional policy override- Returns:
- The checkin ticket result
-
getCheckinTicket
CheckinTicketResult getCheckinTicket(com.technia.dsx.common.TenantSession session, String store, String policy, Integer fileCount, Integer ticketCount) Get a checkin ticket to upload files to FCS to a document that does not yet exist.- Parameters:
session
- The tenant sessionstore
- Optional store overridepolicy
- Optional policy overridefileCount
- Optional argument specifying the nr of files to be checked inticketCount
- Optional argument specifying how many tickets to generate- Returns:
- The checkin ticket result
-