public class TemplateUserRejectedRequestVRE
extends org.gcube.common.portal.mailing.templates.AbstractTemplate
implements org.gcube.common.portal.mailing.templates.Template
| Constructor and Description |
|---|
TemplateUserRejectedRequestVRE(org.gcube.vomanagement.usermanagement.model.GCubeUser theRequestingUser,
org.gcube.vomanagement.usermanagement.model.GCubeUser theManagerUser,
org.gcube.vomanagement.usermanagement.model.GCubeGroup theRequestedVRE,
Date originalRequestDate,
String gatewayName,
String gatewayURL) |
| Modifier and Type | Method and Description |
|---|---|
String |
compile(String templateContent) |
String |
getTextHTML() |
String |
getTextPLAIN() |
public TemplateUserRejectedRequestVRE(org.gcube.vomanagement.usermanagement.model.GCubeUser theRequestingUser,
org.gcube.vomanagement.usermanagement.model.GCubeUser theManagerUser,
org.gcube.vomanagement.usermanagement.model.GCubeGroup theRequestedVRE,
Date originalRequestDate,
String gatewayName,
String gatewayURL)
theRequestingUser - an instance of @see GCubeUser representing the user who requested accesstheManagerUseran - instance of @see GCubeUser representing the manager who approved the requesttheRequestedVRE - instance of @see GCubeGroup of the current VREoriginalRequestDate - the request date as in the associated GCubeMembershipRequestgatewayName - gateway name can be obtained with PortalContext.getGatewayName(javax.servlet.http.HttpServletRequest)gatewayURL - gateway URL name can be obtained with PortalContext.getGatewayURL(javax.servlet.http.HttpServletRequest)public String compile(String templateContent)
compile in interface org.gcube.common.portal.mailing.templates.Templatepublic String getTextHTML()
getTextHTML in interface org.gcube.common.portal.mailing.templates.Templatepublic String getTextPLAIN()
getTextPLAIN in interface org.gcube.common.portal.mailing.templates.TemplateCopyright © 2017. All Rights Reserved.