Package com.flowable.content.engine.impl
Class ContentServiceImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.service.CommonServiceImpl<C>
-
- org.flowable.common.engine.impl.service.CommonEngineServiceImpl<ContentEngineConfiguration>
-
- com.flowable.content.engine.impl.ContentServiceImpl
-
- All Implemented Interfaces:
CoreContentService,org.flowable.content.api.ContentService
public class ContentServiceImpl extends org.flowable.common.engine.impl.service.CommonEngineServiceImpl<ContentEngineConfiguration> implements CoreContentService
- Author:
- Tijs Rademakers
-
-
Constructor Summary
Constructors Constructor Description ContentServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoreContentItemcopyContentItem(java.lang.String contentItemId, java.lang.String parentFolderId)org.flowable.content.api.ContentItemQuerycreateContentItemQuery()CoreContentItemQuerycreateCoreContentItemQuery()voiddeleteContentItem(java.lang.String contentItemId)voiddeleteContentItemsByProcessInstanceId(java.lang.String processInstanceId)voiddeleteContentItemsByScopeIdAndScopeType(java.lang.String scopeId, java.lang.String scopeType)voiddeleteContentItemsByTaskId(java.lang.String taskId)voiddeleteContentItemsByVersionParentId(java.lang.String versionParentId)java.util.List<CoreContentItem>findContentItemsByProcessInstanceId(java.lang.String processInstanceId)java.util.List<CoreContentItem>findContentItemsByScopeIdAndType(java.lang.String scopeId, java.lang.String scopeType)java.util.List<CoreContentItem>findContentItemsByTaskId(java.lang.String taskId)java.io.InputStreamgetContentItemData(java.lang.String contentItemId)org.flowable.content.api.ContentItemnewContentItem()CoreContentItemnewCoreContentItem()voidsaveContentItem(org.flowable.content.api.ContentItem contentItem)voidsaveContentItem(org.flowable.content.api.ContentItem contentItem, java.io.InputStream inputStream)-
Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
-
-
-
-
Method Detail
-
newContentItem
public org.flowable.content.api.ContentItem newContentItem()
- Specified by:
newContentItemin interfaceorg.flowable.content.api.ContentService
-
newCoreContentItem
public CoreContentItem newCoreContentItem()
- Specified by:
newCoreContentItemin interfaceCoreContentService
-
saveContentItem
public void saveContentItem(org.flowable.content.api.ContentItem contentItem)
- Specified by:
saveContentItemin interfaceorg.flowable.content.api.ContentService
-
saveContentItem
public void saveContentItem(org.flowable.content.api.ContentItem contentItem, java.io.InputStream inputStream)- Specified by:
saveContentItemin interfaceorg.flowable.content.api.ContentService
-
getContentItemData
public java.io.InputStream getContentItemData(java.lang.String contentItemId)
- Specified by:
getContentItemDatain interfaceorg.flowable.content.api.ContentService
-
findContentItemsByTaskId
public java.util.List<CoreContentItem> findContentItemsByTaskId(java.lang.String taskId)
- Specified by:
findContentItemsByTaskIdin interfaceCoreContentService
-
findContentItemsByProcessInstanceId
public java.util.List<CoreContentItem> findContentItemsByProcessInstanceId(java.lang.String processInstanceId)
- Specified by:
findContentItemsByProcessInstanceIdin interfaceCoreContentService
-
findContentItemsByScopeIdAndType
public java.util.List<CoreContentItem> findContentItemsByScopeIdAndType(java.lang.String scopeId, java.lang.String scopeType)
- Specified by:
findContentItemsByScopeIdAndTypein interfaceCoreContentService
-
deleteContentItem
public void deleteContentItem(java.lang.String contentItemId)
- Specified by:
deleteContentItemin interfaceorg.flowable.content.api.ContentService
-
deleteContentItemsByProcessInstanceId
public void deleteContentItemsByProcessInstanceId(java.lang.String processInstanceId)
- Specified by:
deleteContentItemsByProcessInstanceIdin interfaceorg.flowable.content.api.ContentService
-
deleteContentItemsByTaskId
public void deleteContentItemsByTaskId(java.lang.String taskId)
- Specified by:
deleteContentItemsByTaskIdin interfaceorg.flowable.content.api.ContentService
-
deleteContentItemsByScopeIdAndScopeType
public void deleteContentItemsByScopeIdAndScopeType(java.lang.String scopeId, java.lang.String scopeType)- Specified by:
deleteContentItemsByScopeIdAndScopeTypein interfaceorg.flowable.content.api.ContentService
-
deleteContentItemsByVersionParentId
public void deleteContentItemsByVersionParentId(java.lang.String versionParentId)
- Specified by:
deleteContentItemsByVersionParentIdin interfaceCoreContentService
-
copyContentItem
public CoreContentItem copyContentItem(java.lang.String contentItemId, java.lang.String parentFolderId)
- Specified by:
copyContentItemin interfaceCoreContentService
-
createContentItemQuery
public org.flowable.content.api.ContentItemQuery createContentItemQuery()
- Specified by:
createContentItemQueryin interfaceorg.flowable.content.api.ContentService
-
createCoreContentItemQuery
public CoreContentItemQuery createCoreContentItemQuery()
- Specified by:
createCoreContentItemQueryin interfaceCoreContentService
-
-