public abstract class AbstractChangeCatalogGroupPartCmdImpl extends AbstractChangeCatalogGroupCatalogEntryPartCmdImpl
To validate if the catalog in the context is Master Catalog
To validate if the catalog in the context is Sales Catalog
To validate request data to check if required Identifier information is present in request
To validate if Catalog Group is valid
Constructor and Description |
---|
AbstractChangeCatalogGroupPartCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object | getMessageWithIdentifier(CatalogGroupType catalogGroupType)
Retrives Identifier or UniqueID from CatalogGroupType depending on what is present in the object.
|
protected boolean | isRequestDataValid(CatalogGroupIdentifierType identifier, java.util.List validationErrors)
Utility method used to check if required data is present in request.
|
protected boolean | isRequestOwnerValid(CatalogGroupType catalogGroupType, java.util.List validationErrors)
Checks if Owner in request is a valid owner by comparing it with the owner present in current catalog context.
|
protected boolean | validateIfMasterCatalog(java.util.List aValidationErrors)
Validates whether the catalog in catalog context is a master catalog.
|
protected boolean | validateIfSalesCatalog(java.util.List validationErrors)
Validates whether the catalog in catalog context is a sales catalog.
|
public AbstractChangeCatalogGroupPartCmdImpl()
protected boolean validateIfMasterCatalog(java.util.List aValidationErrors)
protected boolean validateIfSalesCatalog(java.util.List validationErrors)
protected boolean isRequestDataValid(CatalogGroupIdentifierType identifier, java.util.List validationErrors) throws CatalogApplicationException
protected boolean isRequestOwnerValid(CatalogGroupType catalogGroupType, java.util.List validationErrors) throws CatalogApplicationException
protected java.lang.Object getMessageWithIdentifier(CatalogGroupType catalogGroupType)