public class ContentServiceImpl extends CommonEngineServiceImpl<ContentEngineConfiguration> implements CoreContentService
commandExecutor
configuration
Constructor and Description |
---|
ContentServiceImpl() |
getCommandExecutor, setCommandExecutor
getConfiguration
public ContentItem newContentItem()
newContentItem
in interface ContentService
public CoreContentItem newCoreContentItem()
newCoreContentItem
in interface CoreContentService
public void saveContentItem(ContentItem contentItem)
saveContentItem
in interface ContentService
public void saveContentItem(ContentItem contentItem, InputStream inputStream)
saveContentItem
in interface ContentService
public InputStream getContentItemData(String contentItemId)
getContentItemData
in interface ContentService
public List<CoreContentItem> findContentItemsByTaskId(String taskId)
findContentItemsByTaskId
in interface CoreContentService
public List<CoreContentItem> findContentItemsByProcessInstanceId(String processInstanceId)
findContentItemsByProcessInstanceId
in interface CoreContentService
public List<CoreContentItem> findContentItemsByScopeIdAndType(String scopeId, String scopeType)
findContentItemsByScopeIdAndType
in interface CoreContentService
public void deleteContentItem(String contentItemId)
deleteContentItem
in interface ContentService
public void deleteContentItemsByProcessInstanceId(String processInstanceId)
deleteContentItemsByProcessInstanceId
in interface ContentService
public void deleteContentItemsByTaskId(String taskId)
deleteContentItemsByTaskId
in interface ContentService
public void deleteContentItemsByScopeIdAndScopeType(String scopeId, String scopeType)
deleteContentItemsByScopeIdAndScopeType
in interface ContentService
public void deleteContentItemsByVersionParentId(String versionParentId)
deleteContentItemsByVersionParentId
in interface CoreContentService
public CoreContentItem copyContentItem(String contentItemId, String parentFolderId)
copyContentItem
in interface CoreContentService
public ContentItemQuery createContentItemQuery()
createContentItemQuery
in interface ContentService
public CoreContentItemQuery createCoreContentItemQuery()
createCoreContentItemQuery
in interface CoreContentService