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(ContentEngineConfiguration engineConfiguration)
-
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
-
-
-
-
Constructor Detail
-
ContentServiceImpl
public ContentServiceImpl(ContentEngineConfiguration engineConfiguration)
-
-
Method Detail
-
newContentItem
public ContentItem newContentItem()
- Specified by:
newContentItemin interfaceContentService
-
newCoreContentItem
public CoreContentItem newCoreContentItem()
- Specified by:
newCoreContentItemin interfaceCoreContentService
-
saveContentItem
public void saveContentItem(ContentItem contentItem)
- Specified by:
saveContentItemin interfaceContentService
-
saveContentItem
public void saveContentItem(ContentItem contentItem, InputStream inputStream)
- Specified by:
saveContentItemin interfaceContentService
-
getContentItemData
public InputStream getContentItemData(String contentItemId)
- Specified by:
getContentItemDatain interfaceContentService
-
findContentItemsByTaskId
public List<CoreContentItem> findContentItemsByTaskId(String taskId)
- Specified by:
findContentItemsByTaskIdin interfaceCoreContentService
-
findContentItemsByProcessInstanceId
public List<CoreContentItem> findContentItemsByProcessInstanceId(String processInstanceId)
- Specified by:
findContentItemsByProcessInstanceIdin interfaceCoreContentService
-
findContentItemsByScopeIdAndType
public List<CoreContentItem> findContentItemsByScopeIdAndType(String scopeId, String scopeType)
- Specified by:
findContentItemsByScopeIdAndTypein interfaceCoreContentService
-
deleteContentItem
public void deleteContentItem(String contentItemId)
- Specified by:
deleteContentItemin interfaceContentService
-
deleteContentItemsByProcessInstanceId
public void deleteContentItemsByProcessInstanceId(String processInstanceId)
- Specified by:
deleteContentItemsByProcessInstanceIdin interfaceContentService
-
deleteContentItemsByTaskId
public void deleteContentItemsByTaskId(String taskId)
- Specified by:
deleteContentItemsByTaskIdin interfaceContentService
-
deleteContentItemsByScopeIdAndScopeType
public void deleteContentItemsByScopeIdAndScopeType(String scopeId, String scopeType)
- Specified by:
deleteContentItemsByScopeIdAndScopeTypein interfaceContentService
-
deleteContentItemsByVersionParentId
public void deleteContentItemsByVersionParentId(String versionParentId)
- Specified by:
deleteContentItemsByVersionParentIdin interfaceCoreContentService
-
copyContentItem
public CoreContentItem copyContentItem(String contentItemId, String parentFolderId)
- Specified by:
copyContentItemin interfaceCoreContentService
-
createContentItemQuery
public ContentItemQuery createContentItemQuery()
- Specified by:
createContentItemQueryin interfaceContentService
-
createCoreContentItemQuery
public CoreContentItemQuery createCoreContentItemQuery()
- Specified by:
createCoreContentItemQueryin interfaceCoreContentService
-
addUserIdentityLink
public void addUserIdentityLink(String contentItemId, String userId, String identityLinkType)
- Specified by:
addUserIdentityLinkin interfaceCoreContentService
-
addGroupIdentityLink
public void addGroupIdentityLink(String contentItemId, String groupId, String identityLinkType)
- Specified by:
addGroupIdentityLinkin interfaceCoreContentService
-
deleteUserIdentityLink
public void deleteUserIdentityLink(String contentItemId, String userId, String identityLinkType)
- Specified by:
deleteUserIdentityLinkin interfaceCoreContentService
-
deleteGroupIdentityLink
public void deleteGroupIdentityLink(String contentItemId, String groupId, String identityLinkType)
- Specified by:
deleteGroupIdentityLinkin interfaceCoreContentService
-
-