|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface providing methods for Context
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
void |
cleanUp()
This method is necesary to call at the same scope that the Context is created in order to free up memory used the Context. |
void |
commit()
Commit transaction. |
CatalogManager |
getCatalogManager()
Gets the CatalogManager for this context |
ContextAttributes |
getContextAttributes()
Gets the context attributes for this context |
HierarchyManager |
getHierarchyManager()
Gets the HierarchyManager for this context |
LookupTableManager |
getLookupTableManager()
Gets the LookupTableManager for this context |
SearchManager |
getSearchManager()
Gets the SearchManager for this context |
SpecManager |
getSpecManager()
Gets the SpecManager for this context |
TimezoneResolver |
getTimezoneResolver()
Gets a utility for processing timezone related information. |
UserDefinedLogManager |
getUserDefinedLogManager()
Gets the UserDefinedLogManager for this context |
boolean |
inTransaction()
Return true if in a transaction, or false otherwise |
void |
rollback()
Rollback transaction. |
void |
startTransaction()
Start a transaction. |
Field Detail |
public static final java.lang.String copyright
Method Detail |
public CatalogManager getCatalogManager() throws PIMInternalException, PIMAuthorizationException
PIMInternalException
- if an internal error occurs
PIMAuthorizationException
- if the user is not authorized to perform this operationCatalogManager
public HierarchyManager getHierarchyManager() throws PIMInternalException, PIMAuthorizationException
PIMInternalException
- if an internal error occurs
PIMAuthorizationException
- if the user is not authorized to perform this operationHierarchyManager
public LookupTableManager getLookupTableManager() throws PIMInternalException, PIMAuthorizationException
PIMInternalException
- if an internal error occurs
PIMAuthorizationException
- if the user is not authorized to perform this operationLookupTableManager
public SearchManager getSearchManager() throws PIMInternalException, PIMAuthorizationException
PIMInternalException
- if an internal error occurs
PIMAuthorizationException
- if the user is not authorized to perform this operationSearchManager
public SpecManager getSpecManager() throws PIMInternalException, PIMAuthorizationException
PIMInternalException
- if an internal error occurs
PIMAuthorizationException
- if the user is not authorized to perform this operationSpecManager
public UserDefinedLogManager getUserDefinedLogManager() throws PIMInternalException, PIMAuthorizationException
PIMInternalException
- if an internal error occurs
PIMAuthorizationException
- if the user is not authorized to perform this operationUserDefinedLogManager
public ContextAttributes getContextAttributes() throws PIMInternalException, PIMAuthorizationException
PIMInternalException
- if an internal error occurs
PIMAuthorizationException
- if the user is not authorized to perform this operationContextAttributes
public void startTransaction() throws PIMInternalException, PIMAuthorizationException, PIMAlreadyInTransactionException
PIMInternalException
- if an internal error occurs
PIMAuthorizationException
- if the user is not authorized to perform this operation
PIMAlreadyInTransactionException
- if a transaction is already started. This situation must be handled; the user can commit, rollback or cancel their operation but should not continue normal processing if this is thrown, as subsequent code will think it is in a new transaction.public void commit() throws PIMInternalException, PIMAuthorizationException
PIMInternalException
- if an internal error occurs
PIMAuthorizationException
- if the user is not authorized to perform this operationpublic void rollback() throws PIMInternalException, PIMAuthorizationException
PIMInternalException
- if an internal error occurs
PIMAuthorizationException
- if the user is not authorized to perform this operationpublic boolean inTransaction() throws PIMInternalException, PIMAuthorizationException
PIMInternalException
- if an internal error occurs
PIMAuthorizationException
- if the user is not authorized to perform this operationpublic TimezoneResolver getTimezoneResolver() throws PIMInternalException
PIMInternalException
- if an internal error occurspublic void cleanUp()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |