public interface SettingsManagerInterface extends com.deltek.enterprise.system.serverapi.remoteapi.MessageTypes, AppContext
ERROR, FATAL, FATAL_TREE, INFORMATION, WARNING
ENGLISH_LANG
Modifier and Type | Method and Description |
---|---|
LoggerInterface |
getAppLogger() |
java.lang.String |
getCompanyId()
Returns the Company Id for this session.
|
java.io.Serializable |
getConstant(java.lang.String constId)
Returns a Constant Value through GlobalData
|
java.io.Serializable |
getObject(java.lang.String sObjCode)
Return the object stored by the system (previously stored with storeObject).
|
ReportingManagerInterface |
getReportingManager()
Returns Reporting Manager instance.
|
SqlManager |
getSqlManager(java.lang.String dsAlias,
java.lang.Object o)
Return an instance of SqlManager.
|
java.lang.String |
getSystemName()
Returns the system name selected by the current user when login.
|
void |
storeObject(java.lang.String sObjCode,
java.lang.Object obj)
Deprecated.
Use storeObject(String sObjCode,Serializable obj) method instead.
|
void |
storeObject(java.lang.String sObjCode,
java.io.Serializable obj)
Allows to store objects for a specific session for information
sharing between method calls.
|
void |
validateDBPatch(java.lang.String patch)
Validates DB patch and throws exception if patch is not applied.
|
getAppId, getLangId, getUserId
SqlManager getSqlManager(java.lang.String dsAlias, java.lang.Object o) throws DEException
o
- the object that hosts this SqlManager. SqlManager uses public variables of
this object for into and bind variables. Usually, just pass 'this' for
the current object.DEException
LoggerInterface getAppLogger()
java.lang.String getCompanyId()
getCompanyId
in interface AppContext
java.io.Serializable getConstant(java.lang.String constId) throws DEException
DEException
java.lang.String getSystemName()
AppContext
public short validateRSRow(ResultSetInterface rsi) throws DEException { AppInterface appI = rsI.getApplication(); // Get System Name String sSysName = appI.getSystemName() ; // get top level len Integer nTopLvlLenNo = (Integer) ProjCntl.getProjCntlProperty(sSysName, ProjCntl.TOP_LVL_LEN_NO); }
getSystemName
in interface AppContext
ReportingManagerInterface getReportingManager() throws DEException
DEException
- thrown due to system error.void storeObject(java.lang.String sObjCode, java.io.Serializable obj)
sObjCode
- ID of object you want to name so that you can retrieve later.obj
- Object that you want to store.getObject(java.lang.String)
@Deprecated void storeObject(java.lang.String sObjCode, java.lang.Object obj)
sObjCode
- ID of object you want to name so that you can retrieve later.obj
- Object that you want to store.getObject(java.lang.String)
java.io.Serializable getObject(java.lang.String sObjCode)
sObjCode
- String containing the ID of the object stored previously.storeObject(java.lang.String, java.io.Serializable)
void validateDBPatch(java.lang.String patch) throws DEException
patch
- patch No. (PATCHXXX).DEException
- throws if patch is not appplied.