User Tools

Site Tools


giraffplus:storage:entities

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
giraffplus:storage:entities [2013-06-05 10:36] alesgiraffplus:storage:entities [2013-06-05 10:46] (current) ales
Line 127: Line 127:
 } }
 </code> </code>
 +
 +
 +<code java>
 +public class GPMessageEntity extends Entity
 +{
 + private String subject;
 +        private String message;
 + private ObjectId sender;
 + private List<ObjectId> recipients;
 + private List<ObjectId> cc;
 + private List<ObjectId> bcc;
 + private List<ObjectId> attachments;
 +
 + public GPMessageEntity();
 +
 + public void setSender( ObjectId _sender );
 +
 + public ObjectId getSender();
 +
 +        public List<ObjectId> getRecipients();
 +
 +        public List<ObjectId> getCc();
 +    
 +        public List<ObjectId> getBcc();
 +
 +        public List<ObjectId> getAttachments();
 +
 + public void setSubject(String _subject);
 +
 + public String getSubject();
 +
 + public void setMessage(String _message);
 +
 + public String getMessage();
 +
 + private void setRecipients(List<ObjectId> ids);
 +
 + public void pushRecipient(UserEntity _user);
 +
 + public void pullRecipient(UserEntity _user);
 +
 + private void setCCs(List<ObjectId> ids);
 +
 + public void pushCC(UserEntity _user);
 +
 + public void pullCC(UserEntity _user);
 +
 + private void setBCCs(List<ObjectId> ids);
 +
 + public void pushBCC(UserEntity _user);
 +
 + public void pullBCC(UserEntity _user);
 +
 + private void setAttachments(List<ObjectId> _attachments);
 +
 + public void pushAttachment(ObjectId attachment);
 +
 + public void pullAttachment(ObjectId attachment);
 +
 +}
 +</code>
 +
giraffplus/storage/entities.1370428593.txt.gz · Last modified: 2013-06-05 10:36 by ales

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki