public class MarketingSpotManagementResourceManagerImpl extends ContentManagementResourceManagerImpl
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String | QUERY_EMSPOT_USAGETYPE_IN_WRITE_SCHEMA
SQL to fetch the usage type for associated to a catentry and store within the write schema
|
Constructor and Description |
---|
MarketingSpotManagementResourceManagerImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | executeAction(com.ibm.commerce.contentmanagement.config.ContentManagementRelatedTable relatedTable, java.lang.Long[] keyValues)
Execute the operation on each table.
|
static java.util.List<java.lang.Integer> | getActiveActivitiesForEMSpot(com.ibm.commerce.base.objects.ServerJDBCHelperAccessBean jdbcHelper, java.lang.Long eSpotId, java.lang.Long storeId, java.lang.String writeSchemaName)
Helper undo method to find all active activities for the given eMarketing Spot.
|
static java.util.List<java.lang.Integer> | getActivitiesForEMSpot(com.ibm.commerce.base.objects.ServerJDBCHelperAccessBean jdbcHelper, java.lang.Long eSpotId, java.lang.Long storeId, java.lang.String writeSchemaName)
Helper undo method to find all activities for the given eMarketing Spot.
|
protected java.lang.String | getComponentId()
Returns the component identifier associated for the marketing component com.ibm.commerce.marketing
|
static java.util.List<java.lang.Integer> | getNonUIDisplayableActivitiesForEMSpot(com.ibm.commerce.base.objects.ServerJDBCHelperAccessBean jdbcHelper, java.lang.Long eSpotId, java.lang.Long storeId, java.lang.String writeSchemaName)
Helper undo method to find all non-UI displayable activities for the given eMarketing Spot.
|
protected java.lang.Object | getObjectNoun()
Creates a skeleton noun with only the unique ID is populated.
|
protected java.lang.String | getObjectNounPath()
Returns the object path for marketing nouns
|
protected java.lang.String | getStatementToFindUniqueIDFromObjectCode()
This method will return the statement which returns the unique id according to the unique identifier (code) of an marketing spot and the current store id.
|
protected boolean | handleUndoForMarketingSpotDefaultContent(com.ibm.commerce.contentmanagement.config.ContentManagementRelatedTable relatedTable, java.lang.Long[] keyValues)
Process the Marketing Spot default content records for the current undo operation.
|
protected boolean | handleUndoForMarketingSpotDefaultContentCollateral(com.ibm.commerce.contentmanagement.config.ContentManagementRelatedTable relatedTable, java.lang.Long[] keyValues)
Process the Marketing Spot Collateral default content records for the current undo operation.
|
protected void | handleUnlockForMarketingSpotDefaultContent(java.lang.Long emSDCId, java.lang.Long emSpotId)
Unlock the Marketing Spot default content record provided.
|
protected void | handleUnlockForMarketingSpotDefaultContentCollateral(java.lang.Long emSDCCId, java.lang.Long emSpotId)
Unlock the Marketing Spot default content collateral record provided.
|
protected void | performActionNew(java.util.List<com.ibm.commerce.contentmanagement.config.ContentManagementRelatedTable> cmRelatedTables, com.ibm.commerce.contentmanagement.config.ContentManagementRelatedTable cmParentRelatedTable)
Execute action on new for marketing eSpots.
|
protected void | performActionUpdate(java.util.List<com.ibm.commerce.contentmanagement.config.ContentManagementRelatedTable> cmRelatedTables, com.ibm.commerce.contentmanagement.config.ContentManagementRelatedTable cmParentRelatedTable)
Execute action on update for marketing eSpots.
|
protected void | validateUniqueObjectCode(java.lang.String objectId, java.lang.String objectCode)
Validates if the specified object code is unique in the read schema.
|
protected static final java.lang.String QUERY_EMSPOT_USAGETYPE_IN_WRITE_SCHEMA
public MarketingSpotManagementResourceManagerImpl()
protected java.lang.Object getObjectNoun()
protected java.lang.String getComponentId()
protected java.lang.String getObjectNounPath()
protected void validateUniqueObjectCode(java.lang.String objectId, java.lang.String objectCode) throws java.lang.Exception
protected java.lang.String getStatementToFindUniqueIDFromObjectCode()
protected void performActionNew(java.util.List<com.ibm.commerce.contentmanagement.config.ContentManagementRelatedTable> cmRelatedTables, com.ibm.commerce.contentmanagement.config.ContentManagementRelatedTable cmParentRelatedTable) throws java.lang.Exception
protected void performActionUpdate(java.util.List<com.ibm.commerce.contentmanagement.config.ContentManagementRelatedTable> cmRelatedTables, com.ibm.commerce.contentmanagement.config.ContentManagementRelatedTable cmParentRelatedTable) throws java.lang.Exception
public static java.util.List<java.lang.Integer> getNonUIDisplayableActivitiesForEMSpot(com.ibm.commerce.base.objects.ServerJDBCHelperAccessBean jdbcHelper, java.lang.Long eSpotId, java.lang.Long storeId, java.lang.String writeSchemaName) throws java.lang.Exception
public static java.util.List<java.lang.Integer> getActivitiesForEMSpot(com.ibm.commerce.base.objects.ServerJDBCHelperAccessBean jdbcHelper, java.lang.Long eSpotId, java.lang.Long storeId, java.lang.String writeSchemaName) throws java.lang.Exception
public static java.util.List<java.lang.Integer> getActiveActivitiesForEMSpot(com.ibm.commerce.base.objects.ServerJDBCHelperAccessBean jdbcHelper, java.lang.Long eSpotId, java.lang.Long storeId, java.lang.String writeSchemaName) throws java.lang.Exception
protected void executeAction(com.ibm.commerce.contentmanagement.config.ContentManagementRelatedTable relatedTable, java.lang.Long[] keyValues) throws java.lang.Exception
protected boolean handleUndoForMarketingSpotDefaultContentCollateral(com.ibm.commerce.contentmanagement.config.ContentManagementRelatedTable relatedTable, java.lang.Long[] keyValues) throws java.lang.Exception
protected void handleUnlockForMarketingSpotDefaultContentCollateral(java.lang.Long emSDCCId, java.lang.Long emSpotId) throws java.lang.Exception
protected boolean handleUndoForMarketingSpotDefaultContent(com.ibm.commerce.contentmanagement.config.ContentManagementRelatedTable relatedTable, java.lang.Long[] keyValues) throws java.lang.Exception
protected void handleUnlockForMarketingSpotDefaultContent(java.lang.Long emSDCId, java.lang.Long emSpotId) throws java.lang.Exception