|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.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 String |
DEFAULT_APPLICATION_TABLE_NAME
|
Method Summary | |
Application |
createApplication(String pMetaDataAlias,
Map pValues)
Creates an Application using the given values. |
Application |
getApplication(String pMetaDataAlias,
int pId,
List pColumnNames,
IUser pUser)
Gets an application by ID Creation date: (3/25/2002 1:48:24 PM) |
RowCollection |
getApplications(String pSystemAlias,
List pColumnNames,
IUser pUser)
Returns A RowCollection of all Application objects |
RowCollection |
getApplications(String pSystemAlias,
List pColumnNames,
IUser pUser,
List orderByColumns)
Returns A RowCollection of all Application objects |
String |
getDefaultTableName()
Gets the name of the table containing application information (the default name is APPLICATION). |
Application |
getNonCachedApplication(String pMetaDataAlias,
int pId,
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 |
String |
getTableSQLString(String libraryName,
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, getLibraryName, getTable, getTableName, setTableName |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String DEFAULT_APPLICATION_TABLE_NAME
Method Detail |
public Application createApplication(String pMetaDataAlias, Map pValues) throws CMException
pValues
- Map of values for the newly created Application
CMException
public Application getApplication(String pMetaDataAlias, int pId, 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 RowCollection getApplications(String pSystemAlias, 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(String pSystemAlias, List pColumnNames, IUser pUser, 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 String getDefaultTableName()
getDefaultTableName
in class AbstractTableManager
public Application getNonCachedApplication(String pMetaDataAlias, int pId, 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 String getTableSQLString(String libraryName, 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 |