Class OutgoingMessageVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.messaging.messages.MessageVO
-
- org.cyclos.model.messaging.messages.DetailedMessageVO
-
- org.cyclos.model.messaging.messages.OutgoingMessageVO
-
- All Implemented Interfaces:
Serializable,IEntity
public class OutgoingMessageVO extends DetailedMessageVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<MessageDestination,OutgoingMessageVO>DESTINATIONstatic BasicProperty<UserVO,OutgoingMessageVO>SENT_BYstatic ListProperty<GroupVO,OutgoingMessageVO>TO_GROUPSstatic ListProperty<UserVO,OutgoingMessageVO>TO_USERS-
Fields inherited from class org.cyclos.model.messaging.messages.DetailedMessageVO
BODY, REPLY_POSITION
-
Fields inherited from class org.cyclos.model.messaging.messages.MessageVO
CATEGORY, DATE, MESSAGE_BOX, MESSAGE_OWNER, NATURE, OWNER, READ, REMOVED_AT, REPLIED, SUBJECT
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description OutgoingMessageVO()OutgoingMessageVO(Long id)OutgoingMessageVO(Property<T,? super OutgoingMessageVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()MessageDestinationgetDestination()UserVOgetSentBy()List<GroupVO>getToGroups()List<UserVO>getToUsers()voidsetDestination(MessageDestination destination)voidsetSentBy(UserVO sentBy)voidsetToGroups(List<GroupVO> toGroups)voidsetToUsers(List<UserVO> toUsers)-
Methods inherited from class org.cyclos.model.messaging.messages.DetailedMessageVO
getBody, getReplyPosition, setBody, setReplyPosition
-
Methods inherited from class org.cyclos.model.messaging.messages.MessageVO
getCategory, getDate, getMessageBox, getMessageOwner, getNature, getOwner, getRemovedAt, getSubject, isRead, isReplied, setCategory, setDate, setMessageBox, setMessageOwner, setNature, setOwner, setRead, setRemovedAt, setReplied, setSubject
-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId, toString
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
DESTINATION
public static final BasicProperty<MessageDestination,OutgoingMessageVO> DESTINATION
-
SENT_BY
public static final BasicProperty<UserVO,OutgoingMessageVO> SENT_BY
-
TO_GROUPS
public static final ListProperty<GroupVO,OutgoingMessageVO> TO_GROUPS
-
TO_USERS
public static final ListProperty<UserVO,OutgoingMessageVO> TO_USERS
-
-
Constructor Detail
-
OutgoingMessageVO
public OutgoingMessageVO()
-
OutgoingMessageVO
public OutgoingMessageVO(Long id)
-
OutgoingMessageVO
public OutgoingMessageVO(Property<T,? super OutgoingMessageVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classDetailedMessageVO
-
getDestination
public MessageDestination getDestination()
-
setDestination
public void setDestination(MessageDestination destination)
-
getSentBy
public UserVO getSentBy()
-
setSentBy
public void setSentBy(UserVO sentBy)
-
className
public String className()
- Overrides:
classNamein classDetailedMessageVO
-
-