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
,ContentService
public class ContentServiceImpl extends CommonEngineServiceImpl<ContentEngineConfiguration> implements CoreContentService
- Author:
- Tijs Rademakers
-
-
Field Summary
-
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutor
-
Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration
-
-
Constructor Summary
Constructors Constructor Description ContentServiceImpl()
-
Method Summary
-
Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
-
Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
-
-
-
Method Detail
-
newContentItem
public ContentItem newContentItem()
- Specified by:
newContentItem
in interfaceContentService
-
newCoreContentItem
public CoreContentItem newCoreContentItem()
- Specified by:
newCoreContentItem
in interfaceCoreContentService
-
saveContentItem
public void saveContentItem(ContentItem contentItem)
- Specified by:
saveContentItem
in interfaceContentService
-
saveContentItem
public void saveContentItem(ContentItem contentItem, InputStream inputStream)
- Specified by:
saveContentItem
in interfaceContentService
-
getContentItemData
public InputStream getContentItemData(String contentItemId)
- Specified by:
getContentItemData
in interfaceContentService
-
findContentItemsByTaskId
public List<CoreContentItem> findContentItemsByTaskId(String taskId)
- Specified by:
findContentItemsByTaskId
in interfaceCoreContentService
-
findContentItemsByProcessInstanceId
public List<CoreContentItem> findContentItemsByProcessInstanceId(String processInstanceId)
- Specified by:
findContentItemsByProcessInstanceId
in interfaceCoreContentService
-
findContentItemsByScopeIdAndType
public List<CoreContentItem> findContentItemsByScopeIdAndType(String scopeId, String scopeType)
- Specified by:
findContentItemsByScopeIdAndType
in interfaceCoreContentService
-
deleteContentItem
public void deleteContentItem(String contentItemId)
- Specified by:
deleteContentItem
in interfaceContentService
-
deleteContentItemsByProcessInstanceId
public void deleteContentItemsByProcessInstanceId(String processInstanceId)
- Specified by:
deleteContentItemsByProcessInstanceId
in interfaceContentService
-
deleteContentItemsByTaskId
public void deleteContentItemsByTaskId(String taskId)
- Specified by:
deleteContentItemsByTaskId
in interfaceContentService
-
deleteContentItemsByScopeIdAndScopeType
public void deleteContentItemsByScopeIdAndScopeType(String scopeId, String scopeType)
- Specified by:
deleteContentItemsByScopeIdAndScopeType
in interfaceContentService
-
deleteContentItemsByVersionParentId
public void deleteContentItemsByVersionParentId(String versionParentId)
- Specified by:
deleteContentItemsByVersionParentId
in interfaceCoreContentService
-
copyContentItem
public CoreContentItem copyContentItem(String contentItemId, String parentFolderId)
- Specified by:
copyContentItem
in interfaceCoreContentService
-
createContentItemQuery
public ContentItemQuery createContentItemQuery()
- Specified by:
createContentItemQuery
in interfaceContentService
-
createCoreContentItemQuery
public CoreContentItemQuery createCoreContentItemQuery()
- Specified by:
createCoreContentItemQuery
in interfaceCoreContentService
-
-