|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.subsystems.qsys.cache.AbstractCacheHandler com.ibm.etools.iseries.subsystems.qsys.cache.QSYSJobCacheHandler
public class QSYSJobCacheHandler
Cache handler for job subsystem.
Field Summary | |
---|---|
static String |
copyright
|
static String |
EDITDESC_FILENAME
|
static String |
EDITMASKS_FILENAME
|
static String |
ENCODINGS_FILENAME
|
static String |
ENVVARS_FILENAME
|
static String |
SERVERJOB_FILENAME
|
static String |
SST_FILENAME
|
static String |
SYSTEM_PROPERTIES_FILENAME
|
Method Summary | |
---|---|
static QSYSJobCacheHandler |
getInstance(QSYSJobSubSystem subsystem)
Singleton access method. |
IISeriesEditDescriptionsInfo |
loadEditDescriptions()
Load the edit descriptions from the cache. |
IISeriesEditMask |
loadEditMask(char editcode,
char fillchar,
int precision,
int decimals)
Load the edit mask from the cache. |
Integer |
loadEncodingScheme(int ccsid)
Load the encoding for the specified ccsid |
String |
loadEnvironmentVariable(String variableName)
Load the environment variable from the cache |
IQSYSJob |
loadServerJob(IQSYSJobFactory factory)
Load the server job from the cache. |
ISeriesSortSequenceTable |
loadSortSequenceTable(ISubSystem subsystem,
String table,
String library,
String langID,
int ccsid)
Save a sort sequence table. |
String |
loadSystemProperty(String propertyName)
Laod the system property from the cache. |
void |
saveEditDescriptions(IISeriesEditDescriptionsInfo editDescInfo)
Cache the edit description information for the remote system. |
void |
saveEditMask(char editcode,
char fillchar,
int precision,
int decimals,
IISeriesEditMask mask)
Save the edit mask information. |
void |
saveEncodingScheme(int ccsid,
int encoding)
Save the encoding scheme. |
void |
saveEnvironmentVariable(String variableName,
String value)
Save the environment variable and value to the cache. |
void |
saveServerJob(IQSYSJob job)
Save the server job and all it's properties. |
void |
saveSortSequenceTable(IISeriesSortSequenceTable table,
String langID,
int ccsid)
Save a sort sequence table. |
void |
saveSystemProperty(String propertyName,
String value)
|
static void |
updateCacheLocation(String newLocation)
Updates the cache location of every handler |
Methods inherited from class com.ibm.etools.iseries.subsystems.qsys.cache.AbstractCacheHandler |
---|
addToOutputXNumberOfLines, backupAndDeleteCacheFile, checkCacheSize, getCacheRootDirectory, getListingDetailsFileName, getReader, getWriter, isCachingDisabled, setCacheLocation, skipNumberOfLines, writeFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String copyright
public static final String SST_FILENAME
public static final String EDITMASKS_FILENAME
public static final String EDITDESC_FILENAME
public static final String ENCODINGS_FILENAME
public static final String ENVVARS_FILENAME
public static final String SYSTEM_PROPERTIES_FILENAME
public static final String SERVERJOB_FILENAME
Method Detail |
---|
public static QSYSJobCacheHandler getInstance(QSYSJobSubSystem subsystem)
public static void updateCacheLocation(String newLocation)
newLocation
- The new location the cache should cache files to nowpublic void saveSortSequenceTable(IISeriesSortSequenceTable table, String langID, int ccsid)
public ISeriesSortSequenceTable loadSortSequenceTable(ISubSystem subsystem, String table, String library, String langID, int ccsid) throws SystemMessageException
InterruptedException
SystemMessageException
public void saveEditMask(char editcode, char fillchar, int precision, int decimals, IISeriesEditMask mask)
public IISeriesEditMask loadEditMask(char editcode, char fillchar, int precision, int decimals)
saveEditMask(char, char, int, int, IISeriesEditMask)
public void saveEncodingScheme(int ccsid, int encoding)
public Integer loadEncodingScheme(int ccsid)
public void saveEnvironmentVariable(String variableName, String value)
public String loadEnvironmentVariable(String variableName)
public String loadSystemProperty(String propertyName)
public void saveSystemProperty(String propertyName, String value)
propertyName
- value
- public void saveEditDescriptions(IISeriesEditDescriptionsInfo editDescInfo)
public IISeriesEditDescriptionsInfo loadEditDescriptions()
public void saveServerJob(IQSYSJob job)
public IQSYSJob loadServerJob(IQSYSJobFactory factory)
saveServerJob(IQSYSJob)
for file format details.
factory
-
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |