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 TypeMethodDescriptionboolean
Set
<com.logicaldoc.core.document.Document> getEnd()
int
long
getStart()
int
getTitle()
getType()
int
hashCode()
void
setAttendees
(Set<Attendee> attendees) void
setAutomation
(String automation) void
setDeadline
(Date deadline) void
setDescription
(String description) void
setDocuments
(Set<com.logicaldoc.core.document.Document> documents) void
void
setFrequency
(int frequency) void
setLocation
(String location) void
setOrganizer
(String organizer) void
setOrganizerId
(long organizerId) void
setParentId
(Long parentId) void
setReminders
(List<Reminder> reminders) void
void
setStatus
(int status) void
setSubType
(String subType) void
void
toString()
Methods inherited from class com.logicaldoc.core.PersistentObject
getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, 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
-
getStart
-
setStart
-
getEnd
-
setEnd
-
getOrganizerId
public long getOrganizerId() -
setOrganizerId
public void setOrganizerId(long organizerId) -
getAttendees
-
setAttendees
-
getOrganizer
-
setOrganizer
-
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) -
getDeadline
-
setDeadline
-
getType
-
setType
-
getSubType
-
setSubType
-
getReminders
-
setReminders
-
getAutomation
-
setAutomation
-
getLocation
-
setLocation
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.logicaldoc.core.PersistentObject
-
equals
- Overrides:
equals
in classcom.logicaldoc.core.PersistentObject
-