public class CreateServiceRegistryDataObjectInstanceCmd extends AbstractNeedsDataObjectDefinitionCmd implements Command<DataObjectInstanceVariableContainer>
Modifier and Type | Field and Description |
---|---|
protected DataObjectInstanceVariableContainerBuilderImpl |
dataObjectInstanceBuilder |
protected static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
CreateServiceRegistryDataObjectInstanceCmd(DataObjectInstanceVariableContainerBuilderImpl dataObjectInstanceBuilder) |
Modifier and Type | Method and Description |
---|---|
protected void |
createIdentityLinks(CommandContext commandContext,
ServiceRegistryDataObjectModel objectModel,
String lookupId,
DataObjectInstanceIdentityLinkModel identityLinkModel) |
DataObjectInstanceVariableContainer |
execute(CommandContext commandContext) |
protected ServiceRegistryDataObjectModel |
getObjectModelByDefinitionId(String definitionId,
CommandContext commandContext) |
protected DataObjectDefinition |
resolveDataObjectDefinition(CommandContext commandContext) |
resolveDataObjectDefinition, validateAccessToOperation
protected static final org.slf4j.Logger LOGGER
protected final DataObjectInstanceVariableContainerBuilderImpl dataObjectInstanceBuilder
public CreateServiceRegistryDataObjectInstanceCmd(DataObjectInstanceVariableContainerBuilderImpl dataObjectInstanceBuilder)
public DataObjectInstanceVariableContainer execute(CommandContext commandContext)
execute
in interface Command<DataObjectInstanceVariableContainer>
protected void createIdentityLinks(CommandContext commandContext, ServiceRegistryDataObjectModel objectModel, String lookupId, DataObjectInstanceIdentityLinkModel identityLinkModel)
protected DataObjectDefinition resolveDataObjectDefinition(CommandContext commandContext)
protected ServiceRegistryDataObjectModel getObjectModelByDefinitionId(String definitionId, CommandContext commandContext)
getObjectModelByDefinitionId
in class AbstractNeedsDataObjectDefinitionCmd