|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakartadmin.bl.AdminBaseMgr
com.konakartadmin.bl.AdminBatchBaseMgr
public class AdminBatchBaseMgr
The BatchBaseMgr
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.konakartadmin.bl.AdminBaseMgr |
---|
AdminBaseMgr.StaticData |
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
the log |
Fields inherited from class com.konakartadmin.bl.AdminBaseMgr |
---|
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir |
Constructor Summary | |
---|---|
AdminBatchBaseMgr()
|
Method Summary | |
---|---|
protected java.util.List<com.workingdogs.village.Record> |
executeQuery(java.lang.String query)
Execute query that works for all engine modes |
protected boolean |
getBoolean(java.lang.String in,
boolean defValue,
boolean useDefault)
Convert a String to a boolean, passing in a default value. |
protected int |
getInt(java.lang.String in,
int defValue,
boolean useDefault)
Convert a String to an int, passing in a default value. |
protected int[] |
getIntArray(java.lang.String in)
Convert a String to an int[] |
protected java.lang.String |
getLogName(java.lang.String logNameIn,
boolean appendLog)
Creates the name of the log depending on whether it has to be unique or not and appends it to the log file directory. |
protected void |
validateTemplate(java.lang.String templateName)
Check that the Velocity template is valid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.commons.logging.Log log
Constructor Detail |
---|
public AdminBatchBaseMgr()
Method Detail |
---|
protected java.lang.String getLogName(java.lang.String logNameIn, boolean appendLog) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException, java.lang.Exception
logNameIn
- appendLog
-
java.lang.Exception
KKAdminException
com.workingdogs.village.DataSetException
org.apache.torque.TorqueException
protected void validateTemplate(java.lang.String templateName) throws java.lang.Exception
templateName
- Velocity template name to validate
java.lang.Exception
protected int getInt(java.lang.String in, int defValue, boolean useDefault) throws KKAdminException
in
- defValue
- useDefault
-
KKAdminException
protected boolean getBoolean(java.lang.String in, boolean defValue, boolean useDefault) throws KKAdminException
in
- defValue
- useDefault
-
KKAdminException
protected int[] getIntArray(java.lang.String in) throws KKAdminException
in
-
KKAdminException
protected java.util.List<com.workingdogs.village.Record> executeQuery(java.lang.String query) throws org.apache.torque.TorqueException, KKAdminException
query
-
org.apache.torque.TorqueException
KKAdminException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |