public class CatalogContextImpl extends AbstractContextImpl implements CatalogContext
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
CatalogContextImpl()
This is the default constructor for this class and it invokes the super.
|
Modifier and Type | Method and Description |
---|---|
void | clearContext()
Clears the attributes defined for the context.
|
void | copyContext(Context ctx)
Copies the the attributes of the catalog context from another catalog context.
|
java.lang.String | getCatalogID()
This method gets the unique ID of the catalog in context.
|
java.lang.Object[] | getContextAttributes()
Return the attributes defined by the context.
|
java.lang.String | getContextName()
Gets the name of the context.
|
java.lang.String | getOwnerID()
This method will return the catalog owner ID of the catalog in context.
|
void | initializeContext(ActivityData initData)
This method initializes the context value.
|
boolean | isEntitlementCheckAlwaysEnforced()
Check if the entitlement check is always enforced.
|
boolean | isMasterCatalog()
Check if this is the master catalog.
|
void | preInvokeContext(ActivityData sessionData)
This method updates this context based on the given session data.
|
void | setCatalogID(java.lang.String id)
This method sets the unique ID of the catalog in context.
|
void | setContextAttributes(java.lang.String[] ctxAttrs)
Set the attributes for this context.
|
void | setMasterCatalog(boolean isMaster)
Sets the master catalog flag.
|
void | setOwnerID(java.lang.String id)
This method will set the catalog owner ID of the catalog in context.
|
boolean | validate()
Performs validation of context attributes.
|
public static final java.lang.String COPYRIGHT
public CatalogContextImpl()
public java.lang.String getCatalogID()
public void setCatalogID(java.lang.String id)
public void initializeContext(ActivityData initData) throws BusinessContextException
public void preInvokeContext(ActivityData sessionData) throws BusinessContextException
public java.lang.Object[] getContextAttributes() throws BusinessContextException
public void setContextAttributes(java.lang.String[] ctxAttrs) throws BusinessContextException
public void clearContext()
public java.lang.String getContextName()
public boolean validate() throws BusinessContextException
public void copyContext(Context ctx)
public java.lang.String getOwnerID()
public void setOwnerID(java.lang.String id)
public boolean isMasterCatalog()
public void setMasterCatalog(boolean isMaster)
public boolean isEntitlementCheckAlwaysEnforced()