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
int
long
getStart()
int
getTitle()
getType()
int
hashCode()
boolean
boolean
void
setAlertCancelation
(boolean alertCancelation) void
setAttendees
(Set<Attendee> attendees) void
setAutomation
(String automation) void
setChanged
(boolean changed) void
setDeadline
(Date deadline) void
setDescription
(String description) void
setDocuments
(Set<com.logicaldoc.core.document.Document> documents) void
void
setFrequency
(int frequency) void
setiCalendar
(int iCalendar) 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() -
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
-
isChanged
public boolean isChanged() -
setChanged
public void setChanged(boolean changed) -
getiCalendar
public int getiCalendar() -
setiCalendar
public void setiCalendar(int iCalendar) -
isAlertCancelation
public boolean isAlertCancelation() -
setAlertCancelation
public void setAlertCancelation(boolean alertCancelation) -
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.logicaldoc.core.PersistentObject
-
equals
- Overrides:
equals
in classcom.logicaldoc.core.PersistentObject
-