public class MailHandler
extends java.lang.Object
Constructor and Description |
---|
MailHandler(PdkWsCommon handler) |
Modifier and Type | Method and Description |
---|---|
SubscriberList |
addSubscriber(int nodeId,
java.lang.Integer code,
java.lang.String email,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String organization,
boolean required)
Tilf�j email-abonnent med person oplysninger
|
SubscriberList |
changeSubscriber(int nodeId,
java.lang.Integer code,
java.lang.String targetEmail,
java.lang.String email,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String organization,
boolean required)
�ndring email-abonnent med person oplysninger
|
void |
clearSubscriberList(int featureId) |
EmailInfo |
getEmailInfo(PdkFeatureHandler fh,
java.lang.String fid)
Hent info vedr.
|
SubscriberList |
getSubscriberList(AreaNode areaNode,
java.lang.Integer code,
boolean doCreate,
int featureId)
Returner SubscriberList for givet areal og given feature-type.
|
void |
notifySubscribers(FeatureTransaction r) |
SubscriberList |
removeSubscribers(java.lang.Integer nodeId,
java.lang.Integer code,
java.lang.String[] adresses)
Fjern email-abonnenter med givne adresser for given feature-type under given node.
|
void |
sendEmailByPlanId(PdkFeatureHandler fh,
java.lang.String fid,
java.lang.String tilStatus,
java.lang.String subject,
java.lang.String body,
java.lang.String[] includeAdresses,
java.lang.String[] excludeAdresses) |
void |
sendMail(java.lang.String to,
java.lang.String bcc,
java.lang.String subject,
java.lang.String content) |
SubscriberList |
updateSubscriberList(AreaNode areaNode,
java.lang.Integer code,
int featureId,
int[] personids) |
void |
validateEmailAddress(java.lang.String email)
Syntax validering af en email-adresse
|
public MailHandler(PdkWsCommon handler)
public void validateEmailAddress(java.lang.String email)
public SubscriberList addSubscriber(int nodeId, java.lang.Integer code, java.lang.String email, java.lang.String firstName, java.lang.String lastName, java.lang.String organization, boolean required) throws java.lang.Exception
java.lang.Exception
public SubscriberList changeSubscriber(int nodeId, java.lang.Integer code, java.lang.String targetEmail, java.lang.String email, java.lang.String firstName, java.lang.String lastName, java.lang.String organization, boolean required) throws java.lang.Exception
java.lang.Exception
public SubscriberList removeSubscribers(java.lang.Integer nodeId, java.lang.Integer code, java.lang.String[] adresses) throws java.lang.Exception
java.lang.Exception
public void notifySubscribers(FeatureTransaction r)
public void sendEmailByPlanId(PdkFeatureHandler fh, java.lang.String fid, java.lang.String tilStatus, java.lang.String subject, java.lang.String body, java.lang.String[] includeAdresses, java.lang.String[] excludeAdresses) throws java.lang.Exception
java.lang.Exception
public SubscriberList getSubscriberList(AreaNode areaNode, java.lang.Integer code, boolean doCreate, int featureId) throws java.lang.Exception
java.lang.Exception
public void clearSubscriberList(int featureId) throws java.lang.Exception
java.lang.Exception
public SubscriberList updateSubscriberList(AreaNode areaNode, java.lang.Integer code, int featureId, int[] personids) throws java.lang.Exception
java.lang.Exception
public EmailInfo getEmailInfo(PdkFeatureHandler fh, java.lang.String fid) throws java.lang.Exception
java.lang.Exception
public void sendMail(java.lang.String to, java.lang.String bcc, java.lang.String subject, java.lang.String content) throws java.lang.Exception
java.lang.Exception