no.digipost.api.client.representations
Class Message

java.lang.Object
  extended by no.digipost.api.client.representations.Representation
      extended by no.digipost.api.client.representations.MessageBase
          extended by no.digipost.api.client.representations.Message

public class Message
extends MessageBase


Field Summary
protected  AuthenticationLevel authenticationLevel
           
protected  org.joda.time.DateTime deliveredDate
           
protected  List<String> personalIdentificationNumbers
           
protected  List<Recipient> recipients
           
protected  SensitivityLevel sensitivityLevel
           
protected  boolean smsNotification
           
protected  MessageStatus status
           
protected  String subject
           
 
Fields inherited from class no.digipost.api.client.representations.MessageBase
messageId, preEncrypt, senderId
 
Fields inherited from class no.digipost.api.client.representations.Representation
links
 
Constructor Summary
Message(String messageId, String subject, DigipostAddress digipostAdress, boolean smsVarsling, AuthenticationLevel authenticationLevel, SensitivityLevel sensitivityLevel, Link... links)
           
Message(String messageId, String subject, PersonalIdentificationNumber id, boolean smsVarsling, AuthenticationLevel authenticationLevel, SensitivityLevel sensitivityLevel, Link... links)
           
 
Method Summary
 AuthenticationLevel getAuthenticationLevel()
           
protected  List<Link> getLinks()
           
 List<String> getPersonalIdentificationNumbers()
           
 List<Recipient> getRecipients()
           
 SensitivityLevel getSensitivityLevel()
           
 MessageStatus getStatus()
           
 String getSubject()
           
 boolean hasSubject()
           
 boolean isSameMessageAs(Object message)
           
 boolean isSmsNotification()
           
protected  void setLinks(List<Link> links)
           
 void setStatus(MessageStatus status)
           
 
Methods inherited from class no.digipost.api.client.representations.MessageBase
getAddContentAndSendLink, getEncryptionKeyLink, getMessageId, getSelfLink, getSenderId, setMessageId, setPreEncrypt, setSenderId, skalPrekrypteres
 
Methods inherited from class no.digipost.api.client.representations.Representation
addLink, getLinkByRelationName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deliveredDate

protected org.joda.time.DateTime deliveredDate

subject

protected String subject

recipients

protected List<Recipient> recipients

personalIdentificationNumbers

protected List<String> personalIdentificationNumbers

smsNotification

protected boolean smsNotification

status

protected MessageStatus status

authenticationLevel

protected AuthenticationLevel authenticationLevel

sensitivityLevel

protected SensitivityLevel sensitivityLevel
Constructor Detail

Message

public Message(String messageId,
               String subject,
               PersonalIdentificationNumber id,
               boolean smsVarsling,
               AuthenticationLevel authenticationLevel,
               SensitivityLevel sensitivityLevel,
               Link... links)

Message

public Message(String messageId,
               String subject,
               DigipostAddress digipostAdress,
               boolean smsVarsling,
               AuthenticationLevel authenticationLevel,
               SensitivityLevel sensitivityLevel,
               Link... links)
Method Detail

getSubject

public String getSubject()

hasSubject

public boolean hasSubject()

getStatus

public MessageStatus getStatus()

setStatus

public void setStatus(MessageStatus status)

isSmsNotification

public boolean isSmsNotification()

getAuthenticationLevel

public AuthenticationLevel getAuthenticationLevel()

getSensitivityLevel

public SensitivityLevel getSensitivityLevel()

getRecipients

public List<Recipient> getRecipients()

getPersonalIdentificationNumbers

public List<String> getPersonalIdentificationNumbers()

getLinks

protected List<Link> getLinks()

setLinks

protected void setLinks(List<Link> links)

isSameMessageAs

public boolean isSameMessageAs(Object message)
Specified by:
isSameMessageAs in class MessageBase


Copyright © 2012 Digipost Open Source. All Rights Reserved.