public class TemplateUserApprovedRequestVRE
extends org.gcube.common.portal.mailing.templates.AbstractTemplate
implements org.gcube.common.portal.mailing.templates.Template
Constructor and Description |
---|
TemplateUserApprovedRequestVRE(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 TemplateUserApprovedRequestVRE(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 GCubeMembershipRequest
gatewayName
- 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.Template
public String getTextHTML()
getTextHTML
in interface org.gcube.common.portal.mailing.templates.Template
public String getTextPLAIN()
getTextPLAIN
in interface org.gcube.common.portal.mailing.templates.Template
Copyright © 2018. All Rights Reserved.