|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanetj.dataengine.AbstractTableManager
planetj.dataengine.operation.OperationManager
Manages instances of Operations. Provides data access methods and data generation methods.
Field Summary |
Constructor Summary | |
protected |
OperationManager()
ListViewManager constructor |
Method Summary | |
RowCollection |
getAssociationOperations(java.lang.String metaDataAlias,
int ownerId,
java.util.List columnNames)
Get association operations for the given owner and meta data system. |
RowCollection |
getAssociationSQLOperations(java.lang.String systemAlias,
int ownerId,
java.util.List columnNames)
Deprecated. replaced by getAssociationOperations(String, int, List) |
RowCollection |
getAuthorizationOperations(java.lang.String systemAlias,
int ownerId,
java.util.List columnNames)
Get association SQLOperations for the given owner. |
RowCollection |
getChildren(int parentId,
java.lang.String metaDataAlias)
Gets all children Operation's from the given system alias and for the given Operation id. |
java.lang.String |
getDefaultTableName()
Gets the default table name. |
RowCollection |
getDependants(int dependsOnId,
java.lang.String metaDataAlias)
Gets all dependant Operation's from the given system alias and for the given Operation id. |
Operation |
getNextOperationToRun(ExecutingContext context,
java.lang.Object rowOrRC)
Goto the next operation if specified and execute it. |
Operation |
getOperation(int id,
java.lang.String systemAlias)
Get an Operation for the given id |
Operation |
getOperation(int id,
java.lang.String systemAlias,
java.util.List columnNames)
Returns A SQLOperation, based on its ID Creation date: (3/25/2002 1:48:24 PM) |
int |
getOperationCount(java.lang.String userLibrary,
java.lang.String systemAlias)
Gets the number of Operations in a given user library. |
RowCollection |
getOperations(Application application,
java.util.List columnNames,
ExecutingContext executingContext)
Gets all Operations for the given Application. |
RowCollection |
getOperations(Application application,
java.util.List columnNames,
java.lang.String opSetName,
ExecutingContext executingContext)
Gets all Operations for the given Application that have the given operation set name. |
RowCollection |
getPossibleValueSQLOperations(java.lang.String systemAlias,
int ownerId,
java.util.List columnNames)
Get possible value SQLOperations for the given owner. |
SQLOperation |
getSQLOperation(int pId,
java.lang.String pSystemAlias)
Deprecated. replaced with getOperation(int, String) |
SQLOperation |
getSQLOperation(int pId,
java.lang.String pSystemAlias,
java.util.List pColumnNames)
Deprecated. replaced with getOperation(int, String, List) |
RowCollection |
getSQLOperations(Application pApplication,
java.util.List pColumnNames)
Deprecated. Temporarily deprecated to find references. WK. |
RowCollection |
getSQLOperations(Application application,
java.util.List columnNames,
ExecutingContext executingContext)
Deprecated. replaced with getOperations(Application, List, ExecutingContext) |
protected RowCollection |
getSQLOperations(java.lang.String pTableName,
Application pApplication,
java.util.List pColumnNames)
Deprecated. Temporarily deprecated to find references. WK. |
RowCollection |
getSQLOperations(java.lang.String systemAlias,
int ownerId,
int type,
java.util.List columnNames)
Get SQLOperations with the specified type and the given owner. |
java.lang.String |
getTableSQLString(java.lang.String libraryName,
java.lang.String tableName)
Get an SQL String that can be used to create the table. |
java.lang.String |
getTitle(int type)
Gets a title for a set of SQLOperations depending upon the type they are. |
RowCollection |
getUserAuthenticationListOperations(java.lang.String systemAlias,
int ownerId,
java.util.List columnNames)
Get authentication SQLOperations for the given owner. |
boolean |
isAuthorized(int pAction,
ExecutingContext pEc,
Operation pOperation)
Test to see if the given user is authorized to do the given action on the Operation. |
boolean |
isAuthorized(int action,
IUser user,
Operation operation)
Deprecated. - replaced by isAuthorized(int action, ExecutingContext ec, Operation operation) |
static void |
setSingleton(OperationManager singleton)
Sets the singleton instance of the OperationManager. |
static OperationManager |
singleton()
Gets the singleton instance of OperationManager |
Methods inherited from class planetj.dataengine.AbstractTableManager |
appendFromClause, appendSelectClause, createTable, createTable, getLibraryName, getTable, getTableName, setTableName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected OperationManager()
Method Detail |
public RowCollection getAssociationSQLOperations(java.lang.String systemAlias, int ownerId, java.util.List columnNames) throws CMException
ownerId
- Id of the owner of the SQLOperations.columnNames
- List of the names of columns to return. If null, all are retrieved.
CMException
public RowCollection getChildren(int parentId, java.lang.String metaDataAlias) throws CMException
CMException
public java.lang.String getDefaultTableName()
getDefaultTableName
in class AbstractTableManager
public RowCollection getDependants(int dependsOnId, java.lang.String metaDataAlias) throws CMException
CMException
public Operation getOperation(int id, java.lang.String systemAlias) throws CMException
CMException
public Operation getOperation(int id, java.lang.String systemAlias, java.util.List columnNames) throws CMException
CMException
public int getOperationCount(java.lang.String userLibrary, java.lang.String systemAlias) throws CMException
CMException
public RowCollection getOperations(Application application, java.util.List columnNames, ExecutingContext executingContext) throws CMException
application
- application to get operations forcolumnNames
- list of names of columns to retrieveexecutingContext
-
CMException
public RowCollection getOperations(Application application, java.util.List columnNames, java.lang.String opSetName, ExecutingContext executingContext) throws CMException
application
- application to get operations forcolumnNames
- list of names of columns to retrieveopSetName
- name of operation set to get operations forexecutingContext
-
CMException
public RowCollection getPossibleValueSQLOperations(java.lang.String systemAlias, int ownerId, java.util.List columnNames) throws CMException
ownerId
- Id of the owner of the SQLOperations.columnNames
- List of the names of columns to return. If null, all are retrieved.
CMException
public SQLOperation getSQLOperation(int pId, java.lang.String pSystemAlias) throws CMException
pSystemAlias
- The alias of the system containing the table of SQLOperations
CMException
public Operation getNextOperationToRun(ExecutingContext context, java.lang.Object rowOrRC) throws CMException
CMException
public SQLOperation getSQLOperation(int pId, java.lang.String pSystemAlias, java.util.List pColumnNames) throws CMException
pSystemAlias
- The alias of the system containing the table of SQLOperationspColumnNames
- The names of the columns to retrieve (if this is null all columns will be retrieved)
CMException
public RowCollection getSQLOperations(java.lang.String systemAlias, int ownerId, int type, java.util.List columnNames) throws CMException
ownerId
- Id of the owner of the SQLOperations.type
- Type of SQLOperations to retrieve.columnNames
- List of the names of columns to return. If null, all are retrieved.
CMException
protected RowCollection getSQLOperations(java.lang.String pTableName, Application pApplication, java.util.List pColumnNames) throws CMException
pTableName
- The name of the table containing the SQLOperation infopColumnNames
- A List containing the names of the columns which the SQLOperations should contain.
If this is null then all columns will be displayed
CMException
public RowCollection getSQLOperations(Application pApplication, java.util.List pColumnNames) throws CMException
pColumnNames
- A List containing the names of the columns which the ListViews should contain. If this
is null then all columns will be displayed
CMException
public RowCollection getSQLOperations(Application application, java.util.List columnNames, ExecutingContext executingContext) throws CMException
application
- application to get operations forcolumnNames
- list of names of columns to retrieveexecutingContext
-
CMException
public java.lang.String getTableSQLString(java.lang.String libraryName, java.lang.String tableName)
getTableSQLString
in class AbstractTableManager
public java.lang.String getTitle(int type)
type
- Type of SQLOperations.
public boolean isAuthorized(int action, IUser user, Operation operation)
action
- Action needing authorization to carry out.user
- User who is trying to carry out action.operation
- Operation action is to be done on.public static void setSingleton(OperationManager singleton)
public static OperationManager singleton()
public RowCollection getAssociationOperations(java.lang.String metaDataAlias, int ownerId, java.util.List columnNames) throws CMException
metaDataAlias
- system alias containing the meta data filesownerId
- owner id to get association operations forcolumnNames
- List of the names of columns to return. If null, all are retrieved.
CMException
public RowCollection getAuthorizationOperations(java.lang.String systemAlias, int ownerId, java.util.List columnNames) throws CMException
ownerId
- Id of the owner of the SQLOperations.columnNames
- List of the names of columns to return. If null, all are retrieved.
CMException
public RowCollection getUserAuthenticationListOperations(java.lang.String systemAlias, int ownerId, java.util.List columnNames) throws CMException
ownerId
- Id of the owner of the SQLOperations.columnNames
- List of the names of columns to return. If null, all are retrieved.
CMException
public boolean isAuthorized(int pAction, ExecutingContext pEc, Operation pOperation)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |