public abstract class AbstractProcessCatalogGroupLinkActionCmdImpl extends AbstractProcessCatalogGroupActionCmdImpl implements ProcessCatalogGroupActionCmd
Constructor and Description |
---|
AbstractProcessCatalogGroupLinkActionCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected ApplicationError | checkLock()
Checks if the CatalogGroup/ParentCatalogGroupIdentifier noun part is locked by another user.
|
protected java.lang.Long | getCatalogId()
Gets the catalog Id.
|
protected java.lang.Long | getCatGroupId()
Gets the unique id of the catalog group.
|
protected ChangeControlBusinessObjectMediator | getChangeControlMediator()
Returns the ChangeControlMediator after initializing it with the noun being linked.
|
protected java.lang.Long | getParentCatGroupId()
Gets the parent catalog group id.
|
protected java.lang.Long | getSourceCatalogId()
Gets the source catalog id.
|
protected java.lang.String | getStrCatalogId()
Gets the string value of the catalog in the context.
|
protected boolean | isMasterCatalog()
Check if catalog in the context is a master catalog.
|
protected void | lockObject(short lockAction)
Locks the CatalogGroup/ParentCatalogGroupIdentifier noun part.
|
java.util.Set | preProcess()
Preprocess command before execute.
|
void | read()
Read data objects for this command.
|
void | save()
Saves any objects changed.
|
protected void | setCatGroupId(java.lang.Long catGroupId)
Sets the unique id of the catalog group.
|
protected void | setParentCatGroupId(java.lang.Long parentCatGroupId)
Sets the parent catalog group id.
|
protected void | setSourceCatalogId(java.lang.Long sourceCatalogId)
Sets the source catalog id.
|
protected java.util.List | validateRequestData()
Validate request data.
|
protected boolean | validateSourceCatalogId(CatalogGroupType catalogGroup, java.util.List validationErrors)
Validate that the source catalog id is present and is a valid catalog id.
|
public AbstractProcessCatalogGroupLinkActionCmdImpl()
protected java.lang.String getStrCatalogId() throws java.lang.Exception
protected boolean isMasterCatalog() throws java.lang.Exception
protected java.lang.Long getCatalogId() throws java.lang.Exception
protected java.lang.Long getCatGroupId()
protected void setCatGroupId(java.lang.Long catGroupId)
protected java.lang.Long getSourceCatalogId()
protected void setSourceCatalogId(java.lang.Long sourceCatalogId)
protected java.lang.Long getParentCatGroupId()
protected void setParentCatGroupId(java.lang.Long parentCatGroupId)
public java.util.Set preProcess() throws AbstractApplicationException
protected boolean validateSourceCatalogId(CatalogGroupType catalogGroup, java.util.List validationErrors)
protected java.util.List validateRequestData() throws CatalogApplicationException
public void read() throws AbstractApplicationException
public void save() throws AbstractApplicationException
protected void lockObject(short lockAction) throws java.lang.Exception
protected ChangeControlBusinessObjectMediator getChangeControlMediator() throws java.lang.Exception
protected ApplicationError checkLock() throws java.lang.Exception