|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanetj.dataengine.AbstractTableManager
planetj.dataengine.application.ApplicationManager
Manages instances of Applications. Provides data access methods and data generation methods. Creation date: (3/26/2002 10:56:45 AM)
Field Summary | |
static java.lang.String |
DEFAULT_APPLICATION_TABLE_NAME
|
Constructor Summary | |
protected |
ApplicationManager()
|
Method Summary | |
Application |
createApplication(java.lang.String pMetaDataAlias,
java.util.Map pValues)
Creates an Application using the given values. |
Application |
getApplication(int appId,
java.lang.String userLib,
java.lang.String metaDataAlias)
Get an application by id and user library. |
Application |
getApplication(java.lang.String metaDataAlias,
int appId,
java.util.List columnNames,
IUser user)
Gets an application by ID Creation date: (3/25/2002 1:48:24 PM) |
protected Application |
getApplication(java.lang.String pSystemAlias,
java.lang.String pLibrary,
java.lang.String pTable,
int pId,
java.util.List pColumnNames,
boolean pCheckCache,
IUser pUser)
Gets an application by ID Creation date: (3/25/2002 1:48:24 PM) |
RowCollection |
getApplications(java.lang.String pSystemAlias,
java.util.List pColumnNames,
IUser pUser)
Returns A RowCollection of all Application objects |
RowCollection |
getApplications(java.lang.String pSystemAlias,
java.util.List pColumnNames,
IUser pUser,
java.util.List orderByColumns)
Returns A RowCollection of all Application objects |
protected RowCollection |
getApplications(java.lang.String pSystemAlias,
java.lang.String pLibraryName,
java.lang.String pTableName,
java.util.List pColumnNames,
IUser pUser)
Returns A RowCollection of all Application objects Creation date: (3/25/2002 1:48:24 PM) |
protected RowCollection |
getApplications(java.lang.String pSystemAlias,
java.lang.String pLibraryName,
java.lang.String pTableName,
java.util.List pColumnNames,
IUser pUser,
java.util.List orderByNames)
Returns A RowCollection of all Application objects Creation date: (3/25/2002 1:48:24 PM) |
java.lang.String |
getDefaultTableName()
Gets the name of the table containing application information (the default name is APPLICATION). |
Application |
getNonCachedApplication(java.lang.String pMetaDataAlias,
int pId,
java.util.List pColumnNames,
IUser pUser)
Deprecated. - Now that the cache is wiped out on update we don't need this method any more - use the normal getApplication() method |
java.lang.String |
getTableSQLString(java.lang.String libraryName,
java.lang.String tableName)
Get an SQL String that can be used to create the table. |
static void |
setSingleton(ApplicationManager newSingleton)
Allows a subclass of the ApplicationManager to be set as the singleton instance. |
static ApplicationManager |
singleton()
Gets the singleton instance of the ApplicationManager |
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 |
Field Detail |
public static final java.lang.String DEFAULT_APPLICATION_TABLE_NAME
Constructor Detail |
protected ApplicationManager()
Method Detail |
public Application createApplication(java.lang.String pMetaDataAlias, java.util.Map pValues) throws CMException
pValues
- Map of values for the newly created Application
CMException
public Application getApplication(java.lang.String metaDataAlias, int appId, java.util.List columnNames, IUser user) throws CMException
CMException
public Application getApplication(int appId, java.lang.String userLib, java.lang.String metaDataAlias) throws CMException
CMException
protected Application getApplication(java.lang.String pSystemAlias, java.lang.String pLibrary, java.lang.String pTable, int pId, java.util.List pColumnNames, boolean pCheckCache, IUser pUser) throws CMException
pSystemAlias
- The alias of the system containing the table of applicationspId
- The id of the application to retrievepColumnNames
- The names of the columns to retrieve. If this is null, all columns will be retrievedpCheckCache
- If the cache should be checkedpUser
- IUser object holding info about the user
CMException
protected RowCollection getApplications(java.lang.String pSystemAlias, java.lang.String pLibraryName, java.lang.String pTableName, java.util.List pColumnNames, IUser pUser) throws CMException
pSystemAlias
- The alias of the system containing the table of applicationspLibraryName
- The name of the library containing the table of applicationspTableName
- The name of the table containing the application informationpColumnNames
- The names of the columns to retrieve. (If this is null all columns will be retrieved.)pUser
- IUser object holding info about the user
CMException
protected RowCollection getApplications(java.lang.String pSystemAlias, java.lang.String pLibraryName, java.lang.String pTableName, java.util.List pColumnNames, IUser pUser, java.util.List orderByNames) throws CMException
pSystemAlias
- The alias of the system containing the table of applicationspLibraryName
- The name of the library containing the table of applicationspTableName
- The name of the table containing the application informationpColumnNames
- The names of the columns to retrieve. (If this is null all columns will be retrieved.)pUser
- IUser object holding info about the userorderByNames
- The names of the columns to order the results by.
CMException
public RowCollection getApplications(java.lang.String pSystemAlias, java.util.List pColumnNames, IUser pUser) throws CMException
pSystemAlias
- The alias of the system containing the table of applicationspColumnNames
- The names of the columns to retrieve. (If this is null all columns will be retrieved.)pUser
- IUser object holding info about the user
CMException
public RowCollection getApplications(java.lang.String pSystemAlias, java.util.List pColumnNames, IUser pUser, java.util.List orderByColumns) throws CMException
pSystemAlias
- The alias of the system containing the table of applicationspColumnNames
- The names of the columns to retrieve. (If this is null all columns will be retrieved.)pUser
- IUser object holding info about the userorderByColumns
- The names of the columns to order the results by.
CMException
public java.lang.String getDefaultTableName()
getDefaultTableName
in class AbstractTableManager
public Application getNonCachedApplication(java.lang.String pMetaDataAlias, int pId, java.util.List pColumnNames, IUser pUser) throws CMException
pId
- The id of the application to retrievepColumnNames
- The names of the columns to retrieve. If this is null, all columns will be retrievedpUser
- IUser object holding info about the user
CMException
public java.lang.String getTableSQLString(java.lang.String libraryName, java.lang.String tableName)
getTableSQLString
in class AbstractTableManager
public static void setSingleton(ApplicationManager newSingleton)
public static ApplicationManager singleton()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |