Class BaseServiceRegistryDataObjectModel
java.lang.Object
com.flowable.dataobject.api.repository.BaseDataObjectModel
com.flowable.dataobject.engine.impl.repository.serviceregistry.BaseServiceRegistryDataObjectModel
- All Implemented Interfaces:
DataObjectModel
,ServiceRegistryDataObjectModel
public class BaseServiceRegistryDataObjectModel
extends BaseDataObjectModel
implements ServiceRegistryDataObjectModel
- Author:
- Filip Hrisafov
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected DataObjectDefinitionIdentityLinks
protected List<ServiceRegistryFieldMapping>
protected Boolean
protected Collection<DataObjectInstanceIdentityLinkModel>
protected String
protected String
Fields inherited from class com.flowable.dataobject.api.repository.BaseDataObjectModel
dataObjectType, description, externalId, key, name, sourceId, sourceSpecificAttributes, sourceType, subType, supportedCachingType, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe type name from the referenced data dictionary model.The identity links for the data object model.Flag indicating that instance level permissions should not be done for this data object model.The identity links that should be added for every newly created data object instanceA data object can have a reference to a data dictionary type to inherit fields.The key of the service definition model.void
setDataDictionaryTypeName
(String dataDictionaryTypeName) void
setDefinitionIdentityLinks
(DataObjectDefinitionIdentityLinks definitionIdentityLinks) void
setFieldMappings
(List<ServiceRegistryFieldMapping> fieldMappings) void
setIgnoreInstancePermissions
(Boolean ignoreInstancePermissions) void
setInstanceIdentityLinks
(Collection<DataObjectInstanceIdentityLinkModel> instanceIdentityLinks) void
setReferencedDataDictionaryModelKey
(String referencedDataDictionaryModelKey) void
setReferencedServiceDefinitionModelKey
(String referencedServiceDefinitionModelKey) Methods inherited from class com.flowable.dataobject.api.repository.BaseDataObjectModel
getDataObjectType, getDescription, getExternalId, getKey, getName, getSourceId, getSourceSpecificAttributes, getSourceType, getSubType, getSupportedCachingType, getType, setDataObjectType, setDescription, setExternalId, setKey, setName, setSourceId, setSourceSpecificAttributes, setSourceType, setSubType, setSupportedCachingType, setType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowable.dataobject.api.repository.DataObjectModel
getDataObjectType, getDescription, getExternalId, getKey, getName, getSourceId, getSourceSpecificAttributes, getSourceType, getSubType, getSupportedCachingType, getType
-
Field Details
-
referencedServiceDefinitionModelKey
-
referencedDataDictionaryModelKey
-
dataDictionaryTypeName
-
fieldMappings
-
definitionIdentityLinks
-
instanceIdentityLinks
-
ignoreInstancePermissions
-
-
Constructor Details
-
BaseServiceRegistryDataObjectModel
public BaseServiceRegistryDataObjectModel()
-
-
Method Details
-
getReferencedServiceDefinitionModelKey
Description copied from interface:ServiceRegistryDataObjectModel
The key of the service definition model.- Specified by:
getReferencedServiceDefinitionModelKey
in interfaceServiceRegistryDataObjectModel
-
setReferencedServiceDefinitionModelKey
-
getReferencedDataDictionaryModelKey
Description copied from interface:ServiceRegistryDataObjectModel
A data object can have a reference to a data dictionary type to inherit fields.- Specified by:
getReferencedDataDictionaryModelKey
in interfaceServiceRegistryDataObjectModel
- Returns:
- the model key of the referenced data dictionary model
-
setReferencedDataDictionaryModelKey
-
getDataDictionaryTypeName
Description copied from interface:ServiceRegistryDataObjectModel
The type name from the referenced data dictionary model. Inherits (all) fields of the referenced type.- Specified by:
getDataDictionaryTypeName
in interfaceServiceRegistryDataObjectModel
- Returns:
- the type name to inherit fields from
-
setDataDictionaryTypeName
-
getFieldMappings
- Specified by:
getFieldMappings
in interfaceServiceRegistryDataObjectModel
-
setFieldMappings
-
getDefinitionIdentityLinks
Description copied from interface:ServiceRegistryDataObjectModel
The identity links for the data object model.- Specified by:
getDefinitionIdentityLinks
in interfaceServiceRegistryDataObjectModel
-
setDefinitionIdentityLinks
-
getInstanceIdentityLinks
Description copied from interface:ServiceRegistryDataObjectModel
The identity links that should be added for every newly created data object instance- Specified by:
getInstanceIdentityLinks
in interfaceServiceRegistryDataObjectModel
-
setInstanceIdentityLinks
public void setInstanceIdentityLinks(Collection<DataObjectInstanceIdentityLinkModel> instanceIdentityLinks) -
getIgnoreInstancePermissions
Description copied from interface:ServiceRegistryDataObjectModel
Flag indicating that instance level permissions should not be done for this data object model.- Specified by:
getIgnoreInstancePermissions
in interfaceServiceRegistryDataObjectModel
- Returns:
- whether instance level permissions need to be applied
-
setIgnoreInstancePermissions
-