|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.BasicTemplateProcessor
wt.inf.team.InvitationTemplateProcessor
Supported API: false
Extendable: false
Fields inherited from interface wt.templateutil.processor.ContextTranslator |
CONTEXT_LIST_IN, CONTEXT_LIST_OUT |
Fields inherited from interface wt.templateutil.processor.ContextHolder |
CONTEXT_ACTION, CONTEXT_CLASS_NAME, CONTEXT_OBJ, CONTEXT_PROPERTIES, FORM_DATA, QUERY_DATA, RESPONSE_EXCEPTIONS, RESPONSE_FOOTERS, RESPONSE_HEADERS, RESPONSE_MESSAGES, RESPONSE_STRING, STATUS |
Constructor Summary | |
InvitationTemplateProcessor()
|
Method Summary | |
private void |
containerDescriptionValidate(String a_ContainerDescription)
|
private void |
containerInvitersEmailValidate(String a_ContainerInvitersEmail)
|
private void |
containerInviterValidate(String a_ContainerInviter)
|
private void |
containerNameValidate(String a_ContainerName)
|
private void |
containerOrgValidate(String a_ContainerOrg)
|
private void |
containerOwnersEmailValidate(String a_ContainerOwnersEmail)
|
private void |
containerOwnerValidate(String a_ContainerOwner)
|
private void |
containerRefValidate(WTContainerRef a_ContainerRef)
|
private void |
containerURLValidate(String a_ContainerURL)
|
private Enumeration |
findRoles(ContainerTeamManaged container,
WTUser user)
|
private String |
formatAsHTML(String value)
|
private ContainerTeamManaged |
getContainer()
|
protected String |
getContainerDescription()
Gets the value of the attribute: containerDescription. |
void |
getContainerDescription(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
void |
getContainerDescriptionLabel(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
void |
getContainerEndDate(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
void |
getContainerHostLabel(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
void |
getContainerInvite_replaceUser(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
void |
getContainerInvite(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
protected String |
getContainerInviter()
Gets the value of the attribute: containerInviter. |
void |
getContainerInviter(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
protected String |
getContainerInvitersEmail()
Gets the value of the attribute: containerInvitersEmail. |
void |
getContainerInvitersEmail(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
private String |
getContainerInviterWithMailto(Locale locale)
|
void |
getContainerInviterWithMailto(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
protected String |
getContainerName()
Gets the value of the attribute: containerName. |
void |
getContainerName(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
void |
getContainerNameLabel(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
protected String |
getContainerOrg()
Gets the value of the attribute: containerOrg. |
void |
getContainerOrg(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
protected String |
getContainerOwner()
Gets the value of the attribute: containerOwner. |
void |
getContainerOwner(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
void |
getContainerOwnerLabel(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
protected String |
getContainerOwnersEmail()
Gets the value of the attribute: containerOwnersEmail. |
void |
getContainerOwnersEmail(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
private String |
getContainerOwnerWithMailto(Locale locale)
|
void |
getContainerOwnerWithMailto(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
void |
getContainerPercentComplete(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
protected WTContainerRef |
getContainerRef()
Gets the value of the attribute: containerRef. |
void |
getContainerStartDate(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
private String |
getContainerType(Locale locale)
|
protected String |
getContainerURL()
Gets the value of the attribute: containerURL. |
void |
getContainerURL(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
protected String |
getInvitationMessage()
Gets the value of the attribute: invitationMessage. |
void |
getInvitationMessage(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
protected String |
getInvitedEmail()
Gets the value of the attribute: invitedEmail. |
protected WTPrincipalReference |
getInviteeRef()
Gets the value of the attribute: inviteeRef. |
void |
getInviteJoinMessage(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
protected String |
getInvitersOrg()
Gets the value of the attribute: invitersOrg. |
void |
getInvitersOrg(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
private String |
getQualifiedContainerURL()
|
void |
getRegisteredInfo(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
protected String |
getRegistrationLinkLabel()
Gets the value of the attribute: registrationLinkLabel. |
void |
getRegistrationLinkLabel(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
protected String |
getRegistrationURL()
Gets the value of the attribute: registrationURL. |
void |
getRegistrationURL(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
protected WTPrincipalReference |
getReplacedUserRef()
Gets the value of the attribute: replacedUserRef. |
void |
getRoleString(Properties properties,
Locale locale,
OutputStream os)
Supported API: false |
private int |
getScriptIndex(int index,
String lowerValue)
|
private String |
getValidContainerURL()
|
protected String |
getValidRegistrationURL()
|
void |
handleRequest(HTTPRequest req,
HTTPResponse resp)
Supported API: false |
private void |
invitationMessageValidate(String a_InvitationMessage)
|
private void |
invitedEmailValidate(String a_InvitedEmail)
|
private void |
inviteeRefValidate(WTPrincipalReference a_InviteeRef)
|
private void |
invitersOrgValidate(String a_InvitersOrg)
|
private boolean |
isRegisteredUser(String email)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(InvitationTemplateProcessor thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
private void |
registrationLinkLabelValidate(String a_RegistrationLinkLabel)
|
private void |
registrationURLValidate(String a_RegistrationURL)
|
private String |
removeScripts(String value)
|
private void |
replacedUserRefValidate(WTPrincipalReference a_ReplacedUserRef)
|
protected void |
setContainerDescription(String a_ContainerDescription)
Sets the value of the attribute: containerDescription. |
protected void |
setContainerInviter(String a_ContainerInviter)
Sets the value of the attribute: containerInviter. |
protected void |
setContainerInvitersEmail(String a_ContainerInvitersEmail)
Sets the value of the attribute: containerInvitersEmail. |
protected void |
setContainerName(String a_ContainerName)
Sets the value of the attribute: containerName. |
protected void |
setContainerOrg(String a_ContainerOrg)
Sets the value of the attribute: containerOrg. |
protected void |
setContainerOwner(String a_ContainerOwner)
Sets the value of the attribute: containerOwner. |
protected void |
setContainerOwnersEmail(String a_ContainerOwnersEmail)
Sets the value of the attribute: containerOwnersEmail. |
protected void |
setContainerRef(WTContainerRef a_ContainerRef)
Sets the value of the attribute: containerRef. |
protected void |
setContainerURL(String a_ContainerURL)
Sets the value of the attribute: containerURL. |
protected void |
setInvitationMessage(String a_InvitationMessage)
Sets the value of the attribute: invitationMessage. |
protected void |
setInvitedEmail(String a_InvitedEmail)
Sets the value of the attribute: invitedEmail. |
protected void |
setInviteeRef(WTPrincipalReference a_InviteeRef)
Sets the value of the attribute: inviteeRef. |
protected void |
setInvitersOrg(String a_InvitersOrg)
Sets the value of the attribute: invitersOrg. |
protected void |
setRegistrationLinkLabel(String a_RegistrationLinkLabel)
Sets the value of the attribute: registrationLinkLabel. |
protected void |
setRegistrationURL(String a_RegistrationURL)
Sets the value of the attribute: registrationURL. |
protected void |
setReplacedUserRef(WTPrincipalReference a_ReplacedUserRef)
Sets the value of the attribute: replacedUserRef. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String containerOwner
private String containerOrg
private String containerOwnersEmail
private String containerDescription
private String containerInviter
private String containerInvitersEmail
private String containerURL
private String containerName
private WTContainerRef containerRef
private String invitedEmail
private String invitationMessage
private String invitersOrg
private WTPrincipalReference inviteeRef
private String registrationURL
private String registrationLinkLabel
private WTPrincipalReference replacedUserRef
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
protected static boolean VERBOSE
protected static final String REGISTRATION_URL
protected static final String HTML_FONT
protected ContainerTeamManaged container
private static final String BR
private static final String NBSP
private static final String CR
final char GT
final char LT
final String ESC_GT
final String ESC_LT
static boolean FILTER_OUTPUT
static String PJL_USER_ADAPTER
static String USER_OBJECTCLASS
static String EMAIL
static String registeredUserQuery
static String DEFAULT_JNDI_ADAPTER
static String BaseUrl
Constructor Detail |
public InvitationTemplateProcessor()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class BasicTemplateProcessor
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class BasicTemplateProcessor
input
-
IOException
ClassNotFoundException
protected boolean readVersion(InvitationTemplateProcessor thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
protected String getContainerOwner()
protected void setContainerOwner(String a_ContainerOwner) throws WTPropertyVetoException
a_ContainerOwner
-
WTPropertyVetoException
private void containerOwnerValidate(String a_ContainerOwner) throws WTPropertyVetoException
a_ContainerOwner
-
WTPropertyVetoException
protected String getContainerOrg()
protected void setContainerOrg(String a_ContainerOrg) throws WTPropertyVetoException
a_ContainerOrg
-
WTPropertyVetoException
private void containerOrgValidate(String a_ContainerOrg) throws WTPropertyVetoException
a_ContainerOrg
-
WTPropertyVetoException
protected String getContainerOwnersEmail()
protected void setContainerOwnersEmail(String a_ContainerOwnersEmail) throws WTPropertyVetoException
a_ContainerOwnersEmail
-
WTPropertyVetoException
private void containerOwnersEmailValidate(String a_ContainerOwnersEmail) throws WTPropertyVetoException
a_ContainerOwnersEmail
-
WTPropertyVetoException
protected String getContainerDescription()
protected void setContainerDescription(String a_ContainerDescription) throws WTPropertyVetoException
a_ContainerDescription
-
WTPropertyVetoException
private void containerDescriptionValidate(String a_ContainerDescription) throws WTPropertyVetoException
a_ContainerDescription
-
WTPropertyVetoException
protected String getContainerInviter()
protected void setContainerInviter(String a_ContainerInviter) throws WTPropertyVetoException
a_ContainerInviter
-
WTPropertyVetoException
private void containerInviterValidate(String a_ContainerInviter) throws WTPropertyVetoException
a_ContainerInviter
-
WTPropertyVetoException
protected String getContainerInvitersEmail()
protected void setContainerInvitersEmail(String a_ContainerInvitersEmail) throws WTPropertyVetoException
a_ContainerInvitersEmail
-
WTPropertyVetoException
private void containerInvitersEmailValidate(String a_ContainerInvitersEmail) throws WTPropertyVetoException
a_ContainerInvitersEmail
-
WTPropertyVetoException
protected String getContainerURL()
protected void setContainerURL(String a_ContainerURL) throws WTPropertyVetoException
a_ContainerURL
-
WTPropertyVetoException
private void containerURLValidate(String a_ContainerURL) throws WTPropertyVetoException
a_ContainerURL
-
WTPropertyVetoException
protected String getContainerName()
protected void setContainerName(String a_ContainerName) throws WTPropertyVetoException
a_ContainerName
-
WTPropertyVetoException
private void containerNameValidate(String a_ContainerName) throws WTPropertyVetoException
a_ContainerName
-
WTPropertyVetoException
protected WTContainerRef getContainerRef()
protected void setContainerRef(WTContainerRef a_ContainerRef) throws WTPropertyVetoException
a_ContainerRef
-
WTPropertyVetoException
private void containerRefValidate(WTContainerRef a_ContainerRef) throws WTPropertyVetoException
a_ContainerRef
-
WTPropertyVetoException
protected String getInvitedEmail()
protected void setInvitedEmail(String a_InvitedEmail) throws WTPropertyVetoException
a_InvitedEmail
-
WTPropertyVetoException
private void invitedEmailValidate(String a_InvitedEmail) throws WTPropertyVetoException
a_InvitedEmail
-
WTPropertyVetoException
protected String getInvitationMessage()
protected void setInvitationMessage(String a_InvitationMessage) throws WTPropertyVetoException
a_InvitationMessage
-
WTPropertyVetoException
private void invitationMessageValidate(String a_InvitationMessage) throws WTPropertyVetoException
a_InvitationMessage
-
WTPropertyVetoException
protected String getInvitersOrg()
protected void setInvitersOrg(String a_InvitersOrg) throws WTPropertyVetoException
a_InvitersOrg
-
WTPropertyVetoException
private void invitersOrgValidate(String a_InvitersOrg) throws WTPropertyVetoException
a_InvitersOrg
-
WTPropertyVetoException
protected WTPrincipalReference getInviteeRef()
protected void setInviteeRef(WTPrincipalReference a_InviteeRef) throws WTPropertyVetoException
a_InviteeRef
-
WTPropertyVetoException
private void inviteeRefValidate(WTPrincipalReference a_InviteeRef) throws WTPropertyVetoException
a_InviteeRef
-
WTPropertyVetoException
protected String getRegistrationURL()
protected void setRegistrationURL(String a_RegistrationURL) throws WTPropertyVetoException
a_RegistrationURL
-
WTPropertyVetoException
private void registrationURLValidate(String a_RegistrationURL) throws WTPropertyVetoException
a_RegistrationURL
-
WTPropertyVetoException
protected String getRegistrationLinkLabel()
protected void setRegistrationLinkLabel(String a_RegistrationLinkLabel) throws WTPropertyVetoException
a_RegistrationLinkLabel
-
WTPropertyVetoException
private void registrationLinkLabelValidate(String a_RegistrationLinkLabel) throws WTPropertyVetoException
a_RegistrationLinkLabel
-
WTPropertyVetoException
protected WTPrincipalReference getReplacedUserRef()
protected void setReplacedUserRef(WTPrincipalReference a_ReplacedUserRef) throws WTPropertyVetoException
a_ReplacedUserRef
-
WTPropertyVetoException
private void replacedUserRefValidate(WTPrincipalReference a_ReplacedUserRef) throws WTPropertyVetoException
a_ReplacedUserRef
-
WTPropertyVetoException
public void getContainerOwner(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerOwnerLabel(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerOwnersEmail(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerOrg(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerOwnerWithMailto(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerDescriptionLabel(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerDescription(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerEndDate(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerHostLabel(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerInvite(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerInvite_replaceUser(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerInviter(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerInvitersEmail(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerInviterWithMailto(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerName(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerNameLabel(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerPercentComplete(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerStartDate(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getContainerURL(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getInvitationMessage(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getInviteJoinMessage(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getInvitersOrg(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getRegisteredInfo(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getRegistrationLinkLabel(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getRegistrationURL(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void getRoleString(Properties properties, Locale locale, OutputStream os) throws WTException
properties
- locale
- os
-
WTException
public void handleRequest(HTTPRequest req, HTTPResponse resp) throws WTException
handleRequest
in interface TemplateProcessor
req
- resp
-
WTException
private String formatAsHTML(String value)
private String removeScripts(String value)
private int getScriptIndex(int index, String lowerValue)
private boolean isRegisteredUser(String email) throws WTException
WTException
private Enumeration findRoles(ContainerTeamManaged container, WTUser user) throws WTException
WTException
private ContainerTeamManaged getContainer()
private String getContainerType(Locale locale)
private String getQualifiedContainerURL() throws WTException, IOException
WTException
IOException
private String getContainerOwnerWithMailto(Locale locale) throws WTException
WTException
private String getContainerInviterWithMailto(Locale locale) throws WTException
WTException
private String getValidContainerURL() throws WTException, IOException
WTException
IOException
protected String getValidRegistrationURL() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |