public class CmisServiceImpl extends Object implements CmisService
| Modifier and Type | Field and Description |
|---|---|
protected ConfigurationService |
configurationService |
protected ContentService |
contentService |
protected StudioConfiguration |
studioConfiguration |
| Constructor and Description |
|---|
CmisServiceImpl(StudioConfiguration studioConfiguration,
ContentService contentService,
ConfigurationService configurationService) |
| Modifier and Type | Method and Description |
|---|---|
void |
cloneContent(String siteId,
String cmisRepoId,
String cmisPath,
String studioPath) |
List<CmisContentItem> |
list(String siteId,
String cmisRepo,
String path) |
List<CmisContentItem> |
search(String siteId,
String cmisRepo,
String searchTerm,
String path) |
CmisUploadItem |
uploadContent(String siteId,
String cmisRepoId,
String cmisPath,
String filename,
InputStream content) |
protected StudioConfiguration studioConfiguration
protected ContentService contentService
protected ConfigurationService configurationService
public CmisServiceImpl(StudioConfiguration studioConfiguration, ContentService contentService, ConfigurationService configurationService)
public List<CmisContentItem> list(String siteId, String cmisRepo, String path) throws CmisRepositoryNotFoundException, CmisUnavailableException, CmisTimeoutException, ConfigurationException
list in interface CmisServiceCmisRepositoryNotFoundExceptionCmisUnavailableExceptionCmisTimeoutExceptionConfigurationExceptionpublic List<CmisContentItem> search(String siteId, String cmisRepo, String searchTerm, String path) throws CmisRepositoryNotFoundException, CmisUnavailableException, CmisTimeoutException, ConfigurationException
search in interface CmisServiceCmisRepositoryNotFoundExceptionCmisUnavailableExceptionCmisTimeoutExceptionConfigurationExceptionpublic void cloneContent(String siteId, String cmisRepoId, String cmisPath, String studioPath) throws StudioPathNotFoundException, CmisRepositoryNotFoundException, CmisUnavailableException, CmisTimeoutException, CmisPathNotFoundException, ServiceLayerException
public CmisUploadItem uploadContent(String siteId, String cmisRepoId, String cmisPath, String filename, InputStream content) throws CmisUnavailableException, CmisTimeoutException, CmisRepositoryNotFoundException, CmisPathNotFoundException, ConfigurationException
uploadContent in interface CmisServiceCmisUnavailableExceptionCmisTimeoutExceptionCmisRepositoryNotFoundExceptionCmisPathNotFoundExceptionConfigurationExceptionCopyright © 2022 CrafterCMS. All rights reserved.