wt.fv.uploadtocache
Interface UploadToCacheService

All Known Implementing Classes:
StandardUploadToCacheService, UploadToCacheServiceFwd

public interface UploadToCacheService



Supported API: false

Extendable: false


Method Summary
 void clientUpdateContent(String docNumber, String fileName, CachedContentDescriptor cachedContDescr)
          This method is intended for test purposes only.
 Vector findBackupFileList(String holderId)
          Find a list of files related to Content Cache Server needed to backup for the specified ContentHolder with the ID "holderId".
 Vector findBackupFileListForSite(String siteName)
          Find a list of files related to Content Cache Server needed to backup for the specified site.
 CacheDescriptor getCacheDescriptor(int number_of_files)
          

Supported API: false
 CacheDescriptor getCacheDescriptor(int number_of_files, boolean useMasterCache)
          Get CacheDescriptor for the specified number of files for upload to preferred site.
 

Method Detail

getCacheDescriptor

public CacheDescriptor getCacheDescriptor(int number_of_files)
                                   throws WTException


Supported API: false

Parameters:
number_of_files -
Returns:
CacheDescriptor
Throws:
WTException

clientUpdateContent

public void clientUpdateContent(String docNumber,
                                String fileName,
                                CachedContentDescriptor cachedContDescr)
                         throws WTException,
                                PropertyVetoException
This method is intended for test purposes only. It intends to add new cached content to WTDocument located by docNumber.

Supported API: false

Parameters:
docNumber -
fileName -
cachedContDescr -
Throws:
WTException
PropertyVetoException

findBackupFileListForSite

public Vector findBackupFileListForSite(String siteName)
                                 throws WTException
Find a list of files related to Content Cache Server needed to backup for the specified site.

Supported API: false

Parameters:
siteName -
Returns:
Vector
Throws:
WTException

findBackupFileList

public Vector findBackupFileList(String holderId)
                          throws WTException
Find a list of files related to Content Cache Server needed to backup for the specified ContentHolder with the ID "holderId".

Supported API: false

Parameters:
holderId -
Returns:
Vector
Throws:
WTException

getCacheDescriptor

public CacheDescriptor getCacheDescriptor(int number_of_files,
                                          boolean useMasterCache)
                                   throws WTException
Get CacheDescriptor for the specified number of files for upload to preferred site. If preferred site is not set for user or preferred site does not have a Content Cache designated Vault then CacheDescriptor for upload to local master content cache is returned if useMasterCache is true else null is returned.

Supported API: false

Parameters:
number_of_files -
useMasterCache -
Returns:
CacheDescriptor
Throws:
WTException