|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.projects.store.email.RecentlySentList
public class RecentlySentList
This service holds the list of recently sent emails. Every entry contains type of email template, list of recipients, timestamp, and template meta parameters.
| Nested Class Summary | |
|---|---|
class |
RecentlySentList.SentItem
SentItem object, which contains email type, map of email parameters and time of email creation |
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static java.lang.String |
LOCALE
|
static java.lang.String |
SENT_DATE_FORMAT
|
| Fields inherited from class atg.nucleus.GenericService |
|---|
SERVICE_INFO_KEY |
| Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
|---|
DEFAULT_LOG_TRACE_STATUS |
| Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
|---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
| Constructor Summary | |
|---|---|
RecentlySentList()
|
|
| Method Summary | |
|---|---|
boolean |
addItem(RecentlySentList.SentItem pItem)
Adds new item to the list. |
void |
addItem(java.lang.String pType,
java.util.Map pEmailParams,
java.lang.String pTimestamp)
Create and add new item based on given input parameters |
RecentlySentList.SentItem |
getItem(int pIndex)
Return SentItem at the given index |
int |
getListSize()
Returns list size |
java.util.List<RecentlySentList.SentItem> |
getSentList()
Returns list of sent items |
java.lang.String |
getTemplateName(java.lang.String pTemplateUrl)
Resolve template name for the given URL |
java.util.Map<java.lang.String,java.lang.String> |
getTemplateToTypeMap()
|
java.util.Map<java.lang.String,java.lang.String> |
getTypeToMenuItemMap()
|
boolean |
removeItem(RecentlySentList.SentItem pItem)
Removes item from the list |
void |
setListSize(int pListSize)
Sets new list size |
void |
setSentList(java.util.LinkedList<RecentlySentList.SentItem> pSentList)
Sets new list for recently sent items |
void |
setTemplateToTypeMap(java.util.Map<java.lang.String,java.lang.String> pTemplateToTypeMap)
|
void |
setTypeToMenuItemMap(java.util.Map<java.lang.String,java.lang.String> pTypeToMenuItemMap)
|
| Methods inherited from class atg.nucleus.GenericService |
|---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
|---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_VERSION
public static final java.lang.String SENT_DATE_FORMAT
public static final java.lang.String LOCALE
| Constructor Detail |
|---|
public RecentlySentList()
| Method Detail |
|---|
public int getListSize()
public void setListSize(int pListSize)
pListSize - new list sizepublic java.util.Map<java.lang.String,java.lang.String> getTemplateToTypeMap()
public void setTemplateToTypeMap(java.util.Map<java.lang.String,java.lang.String> pTemplateToTypeMap)
pTemplateToTypeMap - the templateToTypeMap to setpublic java.util.Map<java.lang.String,java.lang.String> getTypeToMenuItemMap()
public void setTypeToMenuItemMap(java.util.Map<java.lang.String,java.lang.String> pTypeToMenuItemMap)
pTypeToMenuItemMap - the typeToMenuItemMap to setpublic java.util.List<RecentlySentList.SentItem> getSentList()
public void setSentList(java.util.LinkedList<RecentlySentList.SentItem> pSentList)
pSentList - new listpublic boolean addItem(RecentlySentList.SentItem pItem)
pItem - new SentItem element
public RecentlySentList.SentItem getItem(int pIndex)
pIndex - the index
public void addItem(java.lang.String pType,
java.util.Map pEmailParams,
java.lang.String pTimestamp)
pType - email typepEmailParams - email parameterspTimestamp - timestamppublic boolean removeItem(RecentlySentList.SentItem pItem)
pItem - item to remove
public java.lang.String getTemplateName(java.lang.String pTemplateUrl)
pTemplateUrl - template url
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||