|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.netuix.application.communities.invitations.email.formatting.JspEmailTextFormatterUtil
public class JspEmailTextFormatterUtil
Utility class that assists in conveying invitation information
to a JSP used by the JspEmailTextFormatter. This is accomplished
by caching an InvitationDetailCacheEntry
, keyed by an
Integer
key that is supplied to the JSP as a request
parameter, which can then be used by the JSP to retrieve
InvitationDetails
, the Community URL, the
Invitee
or the InvitationDetailCacheEntry
itself.
Nested Class Summary | |
---|---|
static class |
JspEmailTextFormatterUtil.InvitationDetailCacheEntry
Represents a set of information regarding the current invitation operation, including the InvitationDetails , the Invitee and
the Community Url String. |
Constructor Summary | |
---|---|
JspEmailTextFormatterUtil()
|
Method Summary | |
---|---|
static Integer |
cacheInvitationDetails(JspEmailTextFormatterUtil.InvitationDetailCacheEntry details)
Caches an InvitationDetailsCacheEntry and returns its
associated Integer key. |
static JspEmailTextFormatterUtil.InvitationDetailCacheEntry |
getCacheInvitationDetails(javax.servlet.http.HttpServletRequest request)
Gets the InvitationDetailCacheEntry based on the parameter key which is
in the request. |
static JspEmailTextFormatterUtil.InvitationDetailCacheEntry |
getCacheInvitationDetails(Integer key)
Gets the InvitationDetailCacheEntry based on the Integer parameter key |
static String |
getCommunityURL(javax.servlet.http.HttpServletRequest request)
Gets the Community URL based on the parameter key which is in the request. |
static InvitationDetails |
getInvitationDetails(javax.servlet.http.HttpServletRequest request)
Gets the InvitationDetails based on the parameter key which is
in the request. |
static Invitee |
getInvitee(javax.servlet.http.HttpServletRequest request)
Gets the Invitee based on the parameter key which is
in the request. |
static void |
removeCacheInvitationDetails(Integer key)
Removes the InvitationDetailCacheEntry associated with the supplied key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JspEmailTextFormatterUtil()
Method Detail |
---|
public static Integer cacheInvitationDetails(JspEmailTextFormatterUtil.InvitationDetailCacheEntry details)
InvitationDetailsCacheEntry
and returns its
associated Integer
key. This method is called from the
JspEmailTextFormatter
or other class which invokes a
JSP where it is useful to provide Invitation details without having
an API available to pass Java objects.
details
-
Integer
key for the cached entrypublic static InvitationDetails getInvitationDetails(javax.servlet.http.HttpServletRequest request)
InvitationDetails
based on the parameter key which is
in the request.
request
- the current HttpServletRequest
InvitationDetail
object associated with the current invitation operationpublic static String getCommunityURL(javax.servlet.http.HttpServletRequest request)
request
- the current HttpServletRequest
String
associated with the current invitation operationpublic static Invitee getInvitee(javax.servlet.http.HttpServletRequest request)
Invitee
based on the parameter key which is
in the request.
request
- the current HttpServletRequest
Invitee
object associated with the current invitation operationpublic static JspEmailTextFormatterUtil.InvitationDetailCacheEntry getCacheInvitationDetails(javax.servlet.http.HttpServletRequest request)
InvitationDetailCacheEntry
based on the parameter key which is
in the request.
request
- the current HttpServletRequest
InvitationDetailCacheEntry
object associated with the current invitation operationpublic static JspEmailTextFormatterUtil.InvitationDetailCacheEntry getCacheInvitationDetails(Integer key)
InvitationDetailCacheEntry
based on the Integer
parameter key
key
- the key for the InvitationDetailCacheEntry
InvitationDetailCacheEntry
object associated with keypublic static void removeCacheInvitationDetails(Integer key)
InvitationDetailCacheEntry
associated with the supplied key
key
- the key for the InvitationDetailCacheEntry
to remove
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |