public class TemplateUserHasBeenUnregisteredVRE
extends org.gcube.common.portal.mailing.templates.AbstractTemplate
implements org.gcube.common.portal.mailing.templates.Template
Constructor and Description |
---|
TemplateUserHasBeenUnregisteredVRE(org.gcube.vomanagement.usermanagement.model.GCubeUser theUnregisteredUser,
org.gcube.vomanagement.usermanagement.model.GCubeUser theManagerUser,
org.gcube.vomanagement.usermanagement.model.GCubeGroup theVRE,
String gatewayName,
String gatewayURL) |
Modifier and Type | Method and Description |
---|---|
String |
compile(String templateContent) |
String |
getTextHTML() |
String |
getTextPLAIN() |
public TemplateUserHasBeenUnregisteredVRE(org.gcube.vomanagement.usermanagement.model.GCubeUser theUnregisteredUser, org.gcube.vomanagement.usermanagement.model.GCubeUser theManagerUser, org.gcube.vomanagement.usermanagement.model.GCubeGroup theVRE, String gatewayName, String gatewayURL)
theUnregisteredUser
- an instance of @see GCubeUser
representing the user who has been unregisteredtheManagerUseran
- instance of @see GCubeUser
representing the manager who unregistered the usertheVRE
- instance of @see GCubeGroup
of the current VREgatewayName
- 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.