|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.dataengine.AbstractTableManager | +--planetj.dataengine.operation.OperationManager
Manages instances of Operations. Provides data access methods and data generation methods.
Field Summary |
Method Summary | |
RowCollection |
getAssociationOperations(String metaDataAlias,
int ownerId,
List columnNames)
Get association operations for the given owner and meta data system. |
RowCollection |
getAssociationSQLOperations(String systemAlias,
int ownerId,
List columnNames)
Deprecated. replaced by getAssociationOperations(String, int, List) |
RowCollection |
getAuthorizationOperations(String systemAlias,
int ownerId,
List columnNames)
Get association SQLOperations for the given owner. |
RowCollection |
getChildren(int parentId,
String metaDataAlias)
Gets all children Operation's from the given system alias and for the given Operation id. |
String |
getDefaultTableName()
Gets the default table name. |
RowCollection |
getDependants(int dependsOnId,
String metaDataAlias)
Gets all dependant Operation's from the given system alias and for the given Operation id. |
Operation |
getOperation(int id,
String systemAlias)
Get an Operation for the given id |
Operation |
getOperation(int id,
String systemAlias,
List columnNames)
Returns A SQLOperation, based on its ID Creation date: (3/25/2002 1:48:24 PM) |
RowCollection |
getOperations(Application application,
List columnNames,
ExecutingContext executingContext)
Gets all Operations for the given Application. |
RowCollection |
getPossibleValueSQLOperations(String systemAlias,
int ownerId,
List columnNames)
Get possible value SQLOperations for the given owner. |
SQLOperation |
getSQLOperation(int pId,
String pSystemAlias)
Deprecated. replaced with getOperation(int, String) |
SQLOperation |
getSQLOperation(int pId,
String pSystemAlias,
List pColumnNames)
Deprecated. replaced with getOperation(int, String, List) |
RowCollection |
getSQLOperations(Application pApplication,
List pColumnNames)
Deprecated. Temporarily deprecated to find references. WK. |
RowCollection |
getSQLOperations(Application application,
List columnNames,
ExecutingContext executingContext)
Deprecated. replaced with getOperations(Application, List, ExecutingContext) |
RowCollection |
getSQLOperations(String systemAlias,
int ownerId,
int type,
List columnNames)
Get SQLOperations with the specified type and the given owner. |
String |
getTableSQLString(String libraryName,
String tableName)
Get an SQL String that can be used to create the table. |
String |
getTitle(int type)
Gets a title for a set of SQLOperations depending upon the type they are. |
RowCollection |
getUserAuthenticationListOperations(String systemAlias,
int ownerId,
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, getLibraryName, getTable, getTableName, setTableName |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public RowCollection getAssociationSQLOperations(String systemAlias, int ownerId, 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, String metaDataAlias) throws CMException
CMException
public String getDefaultTableName()
getDefaultTableName
in class AbstractTableManager
public RowCollection getDependants(int dependsOnId, String metaDataAlias) throws CMException
CMException
public Operation getOperation(int id, String systemAlias) throws CMException
CMException
public Operation getOperation(int id, String systemAlias, List columnNames) throws CMException
CMException
public RowCollection getOperations(Application application, List columnNames, ExecutingContext executingContext) throws CMException
application
- application to get operations forcolumnNames
- list of names of columns to retrieveexecutingContext
-
CMException
public RowCollection getPossibleValueSQLOperations(String systemAlias, int ownerId, 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, String pSystemAlias) throws CMException
pSystemAlias
- The alias of the system containing the table of SQLOperations
CMException
public SQLOperation getSQLOperation(int pId, String pSystemAlias, 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(String systemAlias, int ownerId, int type, 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
public RowCollection getSQLOperations(Application pApplication, 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, List columnNames, ExecutingContext executingContext) throws CMException
application
- application to get operations forcolumnNames
- list of names of columns to retrieveexecutingContext
-
CMException
public String getTableSQLString(String libraryName, String tableName)
getTableSQLString
in class AbstractTableManager
public 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(String metaDataAlias, int ownerId, 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(String systemAlias, int ownerId, 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(String systemAlias, int ownerId, 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 |