Package com.flowable.content.engine.impl
Class ContentServiceImpl
java.lang.Object
com.flowable.content.engine.impl.ServiceImpl
com.flowable.content.engine.impl.ContentServiceImpl
- All Implemented Interfaces:
CoreContentService
,org.flowable.content.api.ContentService
public class ContentServiceImpl extends ServiceImpl implements CoreContentService
- Author:
- Tijs Rademakers
-
Field Summary
Fields inherited from class com.flowable.content.engine.impl.ServiceImpl
commandExecutor, engineConfig
-
Constructor Summary
Constructors Constructor Description ContentServiceImpl()
-
Method Summary
Modifier and Type Method Description CoreContentItem
copyContentItem(java.lang.String contentItemId, java.lang.String parentFolderId)
org.flowable.content.api.ContentItemQuery
createContentItemQuery()
CoreContentItemQuery
createCoreContentItemQuery()
void
deleteContentItem(java.lang.String contentItemId)
void
deleteContentItemsByProcessInstanceId(java.lang.String processInstanceId)
void
deleteContentItemsByScopeIdAndScopeType(java.lang.String scopeId, java.lang.String scopeType)
void
deleteContentItemsByTaskId(java.lang.String taskId)
void
deleteContentItemsByVersionParentId(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.InputStream
getContentItemData(java.lang.String contentItemId)
org.flowable.content.api.ContentItem
newContentItem()
CoreContentItem
newCoreContentItem()
void
saveContentItem(org.flowable.content.api.ContentItem contentItem)
void
saveContentItem(org.flowable.content.api.ContentItem contentItem, java.io.InputStream inputStream)
Methods inherited from class com.flowable.content.engine.impl.ServiceImpl
getCommandExecutor, setCommandExecutor
-
Constructor Details
-
ContentServiceImpl
public ContentServiceImpl()
-
-
Method Details
-
newContentItem
public org.flowable.content.api.ContentItem newContentItem()- Specified by:
newContentItem
in interfaceorg.flowable.content.api.ContentService
-
newCoreContentItem
- Specified by:
newCoreContentItem
in interfaceCoreContentService
-
saveContentItem
public void saveContentItem(org.flowable.content.api.ContentItem contentItem)- Specified by:
saveContentItem
in interfaceorg.flowable.content.api.ContentService
-
saveContentItem
public void saveContentItem(org.flowable.content.api.ContentItem contentItem, java.io.InputStream inputStream)- Specified by:
saveContentItem
in interfaceorg.flowable.content.api.ContentService
-
getContentItemData
public java.io.InputStream getContentItemData(java.lang.String contentItemId)- Specified by:
getContentItemData
in interfaceorg.flowable.content.api.ContentService
-
findContentItemsByTaskId
- Specified by:
findContentItemsByTaskId
in interfaceCoreContentService
-
findContentItemsByProcessInstanceId
public java.util.List<CoreContentItem> findContentItemsByProcessInstanceId(java.lang.String processInstanceId)- Specified by:
findContentItemsByProcessInstanceId
in interfaceCoreContentService
-
findContentItemsByScopeIdAndType
public java.util.List<CoreContentItem> findContentItemsByScopeIdAndType(java.lang.String scopeId, java.lang.String scopeType)- Specified by:
findContentItemsByScopeIdAndType
in interfaceCoreContentService
-
deleteContentItem
public void deleteContentItem(java.lang.String contentItemId)- Specified by:
deleteContentItem
in interfaceorg.flowable.content.api.ContentService
-
deleteContentItemsByProcessInstanceId
public void deleteContentItemsByProcessInstanceId(java.lang.String processInstanceId)- Specified by:
deleteContentItemsByProcessInstanceId
in interfaceorg.flowable.content.api.ContentService
-
deleteContentItemsByTaskId
public void deleteContentItemsByTaskId(java.lang.String taskId)- Specified by:
deleteContentItemsByTaskId
in interfaceorg.flowable.content.api.ContentService
-
deleteContentItemsByScopeIdAndScopeType
public void deleteContentItemsByScopeIdAndScopeType(java.lang.String scopeId, java.lang.String scopeType)- Specified by:
deleteContentItemsByScopeIdAndScopeType
in interfaceorg.flowable.content.api.ContentService
-
deleteContentItemsByVersionParentId
public void deleteContentItemsByVersionParentId(java.lang.String versionParentId)- Specified by:
deleteContentItemsByVersionParentId
in interfaceCoreContentService
-
copyContentItem
public CoreContentItem copyContentItem(java.lang.String contentItemId, java.lang.String parentFolderId)- Specified by:
copyContentItem
in interfaceCoreContentService
-
createContentItemQuery
public org.flowable.content.api.ContentItemQuery createContentItemQuery()- Specified by:
createContentItemQuery
in interfaceorg.flowable.content.api.ContentService
-
createCoreContentItemQuery
- Specified by:
createCoreContentItemQuery
in interfaceCoreContentService
-