Package com.flowable.content.engine.impl
Class MetadataServiceImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.service.CommonServiceImpl<C>
-
- org.flowable.common.engine.impl.service.CommonEngineServiceImpl<ContentEngineConfiguration>
-
- com.flowable.content.engine.impl.MetadataServiceImpl
-
- All Implemented Interfaces:
MetadataService
public class MetadataServiceImpl extends CommonEngineServiceImpl<ContentEngineConfiguration> implements MetadataService
- 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 MetadataServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataInstance
getMetadataInstance(String contentItemId, String metadataName)
Map<String,MetadataInstance>
getMetadataInstances(String contentItemId)
Map<String,MetadataInstance>
getMetadataInstances(String contentItemId, Collection<String> metadataNames)
Object
getMetadataValue(String contentItemId, String metadataName)
Map<String,Object>
getMetadataValues(String contentItemId)
void
removeMetadataValue(String contentItemId, String metadataName)
void
removeMetadataValues(String contentItemId, Collection<String> metadataNames)
void
setMetadataValue(String contentItemId, String metadataName, Object metadataValue)
void
setMetadataValues(String contentItemId, Map<String,Object> metadataValues)
-
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
-
getMetadataValue
public Object getMetadataValue(String contentItemId, String metadataName)
- Specified by:
getMetadataValue
in interfaceMetadataService
-
getMetadataValues
public Map<String,Object> getMetadataValues(String contentItemId)
- Specified by:
getMetadataValues
in interfaceMetadataService
-
getMetadataInstance
public MetadataInstance getMetadataInstance(String contentItemId, String metadataName)
- Specified by:
getMetadataInstance
in interfaceMetadataService
-
getMetadataInstances
public Map<String,MetadataInstance> getMetadataInstances(String contentItemId)
- Specified by:
getMetadataInstances
in interfaceMetadataService
-
getMetadataInstances
public Map<String,MetadataInstance> getMetadataInstances(String contentItemId, Collection<String> metadataNames)
- Specified by:
getMetadataInstances
in interfaceMetadataService
-
setMetadataValue
public void setMetadataValue(String contentItemId, String metadataName, Object metadataValue)
- Specified by:
setMetadataValue
in interfaceMetadataService
-
setMetadataValues
public void setMetadataValues(String contentItemId, Map<String,Object> metadataValues)
- Specified by:
setMetadataValues
in interfaceMetadataService
-
removeMetadataValue
public void removeMetadataValue(String contentItemId, String metadataName)
- Specified by:
removeMetadataValue
in interfaceMetadataService
-
removeMetadataValues
public void removeMetadataValues(String contentItemId, Collection<String> metadataNames)
- Specified by:
removeMetadataValues
in interfaceMetadataService
-
-