public class CatalogContainer extends AbstractResourceContainerImpl implements ResourceContainer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTRIBUTE
Constant for a content managed table managed by this container.
|
static java.lang.String |
ATTRVALUE
Constant for a content managed table managed by this container.
|
static java.lang.String |
CATALOG
Constant for a content managed table managed by this container.
|
static java.lang.String |
CATALOGDSC
Constant for a content managed table managed by this container.
|
static java.lang.String |
CATCONFINF
Constant for a content managed table managed by this container.
|
static java.lang.String |
CATENTDESC
Constant for a content managed table managed by this container.
|
static java.lang.String |
CATENTREL
Constant for a content managed table managed by this container.
|
static java.lang.String |
CATENTRY
Constant for a content managed table managed by this container.
|
static java.lang.String |
CATGPENREL
Constant for a content managed table managed by this container.
|
static java.lang.String |
CATGROUP
Constant for a content managed table managed by this container.
|
static java.lang.String |
CATGRPATTR
Constant for a content managed table managed by this container.
|
static java.lang.String |
CATGRPDESC
Constant for a content managed table managed by this container.
|
static java.lang.String |
CATGRPPS
Constant for a content managed table managed by this container.
|
static java.lang.String |
CATGRPREL
Constant for a content managed table managed by this container.
|
static java.lang.String |
CATTOGRP
Constant for a content managed table managed by this container.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
DISPCGPREL
Constant for a content managed table managed by this container.
|
static java.lang.String |
DISPENTREL
Constant for a content managed table managed by this container.
|
static java.lang.String |
LISTPRICE
Constant for a content managed table managed by this container.
|
static java.lang.String |
MASSOCCECE
Constant for a content managed table managed by this container.
|
static java.lang.String |
MASSOCGPGP
Constant for a content managed table managed by this container.
|
static java.lang.String |
PRODSETDSC
Constant for a content managed table managed by this container.
|
static java.lang.String |
PRODUCTSET
Constant for a content managed table managed by this container.
|
static java.lang.String |
PRSETCEREL
Constant for a content managed table managed by this container.
|
static java.lang.String |
STORECAT
Constant for a content managed table managed by this container.
|
static java.lang.String |
STORECENT
Constant for a content managed table managed by this container.
|
static java.lang.String |
STORECGRP
Constant for a content managed table managed by this container.
|
RESOURCE_MANAGER_CONFIG_FILE
Constructor and Description |
---|
CatalogContainer()
Creates the catalog managed resource container.
|
Modifier and Type | Method and Description |
---|---|
void |
commit(ContentData contentData)
Promotes the content managed resource found in the workspace to the base edition.
|
ResourceManager |
getResourceManager(java.lang.String resourceName)
Returns the resource manager for the specified name.
|
static ResourceContainer |
singleton()
Retrieves the singleton of the resource container.
|
void |
synchronize(ContentData contentData)
Synchronize the specified workspace.
|
getMetaData, getResourceManagers, initialize, postPublish, processPostPublishData, publish, rollback, setMetaData, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMetaData, getResourceManagers, initialize, postPublish, publish, rollback, setMetaData
public static final java.lang.String COPYRIGHT
public static final java.lang.String CATALOG
public static final java.lang.String CATALOGDSC
public static final java.lang.String CATGROUP
public static final java.lang.String CATGRPDESC
public static final java.lang.String CATGRPREL
public static final java.lang.String CATGRPATTR
public static final java.lang.String CATGPENREL
public static final java.lang.String CATTOGRP
public static final java.lang.String CATENTRY
public static final java.lang.String CATENTREL
public static final java.lang.String CATENTDESC
public static final java.lang.String STORECAT
public static final java.lang.String STORECENT
public static final java.lang.String STORECGRP
public static final java.lang.String ATTRIBUTE
public static final java.lang.String ATTRVALUE
public static final java.lang.String MASSOCCECE
public static final java.lang.String MASSOCGPGP
public static final java.lang.String LISTPRICE
public static final java.lang.String PRODUCTSET
public static final java.lang.String PRODSETDSC
public static final java.lang.String PRSETCEREL
public static final java.lang.String CATGRPPS
public static final java.lang.String DISPCGPREL
public static final java.lang.String DISPENTREL
public static final java.lang.String CATCONFINF
public CatalogContainer()
public static ResourceContainer singleton()
public ResourceManager getResourceManager(java.lang.String resourceName)
getResourceManager
in interface ResourceContainer
getResourceManager
in class AbstractResourceContainerImpl
resourceName
- The resource name.ResourceContainer.getResourceManager(java.lang.String)
public void commit(ContentData contentData) throws ResourceException
If there are catalog group relationship changes in current workspaces during task group approval
this method will call ContentEventFactory.getInstance().resynchronizeAllWorkspaces()
to signal that all the workspaces are out of sync.
Then it will call the commit
method from the parent class.
commit
in interface ResourceContainer
commit
in class AbstractResourceContainerImpl
contentData
- The content data to commit.ResourceException
- A problem with the promote. The problem is more likely database
related and the exception will be wrapped in a ResourceException.ResourceManager.commit(com.ibm.commerce.context.content.events.ContentData)
public void synchronize(ContentData contentData) throws ResourceException
synchronize
in interface ResourceContainer
synchronize
in class AbstractResourceContainerImpl
contentData
- The content data to synchronize. This data will not include
task and task group because the entire workspace needs to be
synchronized.ResourceUpdateException
- A problem performing the commit operation. Mostly this
occurs when the commit causes data integrity problems.ResourceException
- This is thrown when there is a problem performing the commit operation.
This usually occurs when the commit causes data integrity problems.ResourceContainer.synchronize(com.ibm.commerce.context.content.events.ContentData)