Package com.logicaldoc.calendar
Class Event
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.calendar.Event
- All Implemented Interfaces:
Serializable
This class represents an event in a calendar. An event is always associated
to a selection of documents and users.
- Since:
- 6.7
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final String
static final String
static final String
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Set<com.logicaldoc.core.document.Document>
int
Set<com.logicaldoc.core.security.user.User>
int
getTitle()
getType()
void
setAutomation
(String automation) void
setCompletionDate
(Date completionDate) void
setCreator
(String creator) void
setCreatorId
(long creatorId) void
setDeadline
(Date deadline) void
setDescription
(String description) void
setDocuments
(Set<com.logicaldoc.core.document.Document> documents) void
setExpirationDate
(Date expirationDate) void
setFrequency
(int frequency) void
setParentId
(Long parentId) void
setParticipants
(Set<com.logicaldoc.core.security.user.User> participants) void
setReminders
(List<Reminder> reminders) void
setStartDate
(Date startDate) void
setStatus
(int status) void
setSubType
(String subType) void
void
toString()
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId
-
Field Details
-
TIME_UNIT_MINUTE
- See Also:
-
TIME_UNIT_HOUR
- See Also:
-
TIME_UNIT_DAY
- See Also:
-
STATUS_NONE
public static final int STATUS_NONE- See Also:
-
STATUS_WORKING
public static final int STATUS_WORKING- See Also:
-
STATUS_COMPLETED
public static final int STATUS_COMPLETED- See Also:
-
STATUS_CANCELED
public static final int STATUS_CANCELED- See Also:
-
-
Constructor Details
-
Event
public Event()
-
-
Method Details
-
getDocuments
-
setDocuments
-
getParentId
-
setParentId
-
getStartDate
-
setStartDate
-
getExpirationDate
-
setExpirationDate
-
getCreatorId
public long getCreatorId() -
setCreatorId
public void setCreatorId(long creatorId) -
getParticipants
-
setParticipants
-
getCreator
-
setCreator
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
toString
- Overrides:
toString
in classcom.logicaldoc.core.PersistentObject
-
getDisplayLabel
-
getFrequency
public int getFrequency() -
setFrequency
public void setFrequency(int frequency) -
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
getCompletionDate
-
setCompletionDate
-
getDeadline
-
setDeadline
-
getType
-
setType
-
getSubType
-
setSubType
-
getReminders
-
setReminders
-
getAutomation
-
setAutomation
-