All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.netscape.certsrv.jobs.AJobBase

com.netscape.certsrv.jobs.AJobBase

public abstract class AJobBase
implements IJob
This abstract class is a base job for real job extentions for the Jobs Scheduler.


Variable Index

 o mConfig
 o mConfigParams
 o mContentParams
 o mCron
 o mId
 o mImplName
 o mItemForm
 o mItemParams
 o mJobCron
 o mLogger
 o mMailForm
 o mMailHTML
 o mSummaryMailSubject
 o mSummaryReceiverEmail
 o mSummarySenderEmail
 o PROP_EMAIL_SUBJECT
 o PROP_EMAIL_TEMPLATE
 o PROP_ENABLED
 o PROP_ITEM_TEMPLATE
 o PROP_RECEIVER_EMAIL
 o PROP_SENDER_EMAIL
 o PROP_SUMMARY
 o STATUS_FAILURE
 o STATUS_SUCCESS

Constructor Index

 o AJobBase()

Method Index

 o buildContentParams(String, String)
 o buildItemParams(IRequest)
 o buildItemParams(String, String)
 o buildItemParams(X509CertImpl)
 o getConfigParams()
 o getConfigStore()
Gets the configuration substore used by this job
 o getId()
public methods
 o getImplName()
gets the plugin name of this job.
 o getJobCron()
 o getTemplateContent(String)
 o init(String, String, IConfigStore)
abstract methods
 o log(int, String)
logs an entry in the log file.
 o mailSummary(String)
 o run()
 o setId(String)

Variables

 o PROP_SUMMARY
 protected static final String PROP_SUMMARY
 o PROP_ENABLED
 protected static final String PROP_ENABLED
 o PROP_EMAIL_SUBJECT
 protected static final String PROP_EMAIL_SUBJECT
 o PROP_EMAIL_TEMPLATE
 protected static final String PROP_EMAIL_TEMPLATE
 o PROP_ITEM_TEMPLATE
 protected static final String PROP_ITEM_TEMPLATE
 o PROP_SENDER_EMAIL
 protected static final String PROP_SENDER_EMAIL
 o PROP_RECEIVER_EMAIL
 protected static final String PROP_RECEIVER_EMAIL
 o STATUS_FAILURE
 protected static final String STATUS_FAILURE
 o STATUS_SUCCESS
 protected static final String STATUS_SUCCESS
 o mImplName
 protected String mImplName
 o mConfig
 protected IConfigStore mConfig
 o mId
 protected String mId
 o mCron
 protected String mCron
 o mJobCron
 protected JobCron mJobCron
 o mLogger
 protected Logger mLogger
 o mConfigParams
 protected static String mConfigParams[]
 o mSummaryMailSubject
 protected String mSummaryMailSubject
 o mMailHTML
 protected boolean mMailHTML
 o mMailForm
 protected String mMailForm
 o mItemForm
 protected String mItemForm
 o mSummarySenderEmail
 protected String mSummarySenderEmail
 o mSummaryReceiverEmail
 protected String mSummaryReceiverEmail
 o mContentParams
 protected Hashtable mContentParams
 o mItemParams
 protected Hashtable mItemParams

Constructors

 o AJobBase
 public AJobBase()

Methods

 o init
 public abstract void init(String id,
                           String implName,
                           IConfigStore config) throws EBaseException
abstract methods

 o run
 public abstract void run()
 o getId
 public String getId()
public methods

 o setId
 public void setId(String id)
 o getJobCron
 public JobCron getJobCron()
 o getImplName
 public String getImplName()
gets the plugin name of this job.

 o getConfigStore
 public IConfigStore getConfigStore()
Gets the configuration substore used by this job

Returns:
configuration store
 o getTemplateContent
 protected String getTemplateContent(String templatePath)
 o mailSummary
 protected void mailSummary(String content)
 o buildItemParams
 protected void buildItemParams(X509CertImpl cert)
 o buildItemParams
 protected void buildItemParams(IRequest r)
 o buildItemParams
 protected void buildItemParams(String name,
                                String val)
 o buildContentParams
 protected void buildContentParams(String name,
                                   String val)
 o log
 public void log(int level,
                 String msg)
logs an entry in the log file.


All Packages  Class Hierarchy  This Package  Previous  Next  Index