Package com.logicaldoc.calendar
Class Event
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.calendar.Event
-
- All Implemented Interfaces:
Serializable
public class Event extends com.logicaldoc.core.PersistentObject implements 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
STATUS_CANCELED
static int
STATUS_COMPLETED
static int
STATUS_NONE
static int
STATUS_WORKING
static String
TIME_UNIT_DAY
static String
TIME_UNIT_HOUR
static String
TIME_UNIT_MINUTE
-
Constructor Summary
Constructors Constructor Description Event()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAutomation()
Date
getCompletionDate()
String
getCreator()
long
getCreatorId()
Date
getDeadline()
String
getDescription()
String
getDisplayLabel()
Set<com.logicaldoc.core.document.Document>
getDocuments()
Date
getExpirationDate()
int
getFrequency()
Long
getParentId()
Set<com.logicaldoc.core.security.User>
getParticipants()
List<Reminder>
getReminders()
Date
getStartDate()
int
getStatus()
String
getSubType()
String
getTitle()
String
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> participants)
void
setReminders(List<Reminder> reminders)
void
setStartDate(Date startDate)
void
setStatus(int status)
void
setSubType(String subType)
void
setTitle(String title)
void
setType(String type)
String
toString()
-
-
-
Field Detail
-
TIME_UNIT_MINUTE
public static final String TIME_UNIT_MINUTE
- See Also:
- Constant Field Values
-
TIME_UNIT_HOUR
public static final String TIME_UNIT_HOUR
- See Also:
- Constant Field Values
-
TIME_UNIT_DAY
public static final String TIME_UNIT_DAY
- See Also:
- Constant Field Values
-
STATUS_NONE
public static final int STATUS_NONE
- See Also:
- Constant Field Values
-
STATUS_WORKING
public static final int STATUS_WORKING
- See Also:
- Constant Field Values
-
STATUS_COMPLETED
public static final int STATUS_COMPLETED
- See Also:
- Constant Field Values
-
STATUS_CANCELED
public static final int STATUS_CANCELED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDocuments
public Set<com.logicaldoc.core.document.Document> getDocuments()
-
setDocuments
public void setDocuments(Set<com.logicaldoc.core.document.Document> documents)
-
getParentId
public Long getParentId()
-
setParentId
public void setParentId(Long parentId)
-
getStartDate
public Date getStartDate()
-
setStartDate
public void setStartDate(Date startDate)
-
getExpirationDate
public Date getExpirationDate()
-
setExpirationDate
public void setExpirationDate(Date expirationDate)
-
getCreatorId
public long getCreatorId()
-
setCreatorId
public void setCreatorId(long creatorId)
-
getParticipants
public Set<com.logicaldoc.core.security.User> getParticipants()
-
setParticipants
public void setParticipants(Set<com.logicaldoc.core.security.User> participants)
-
getCreator
public String getCreator()
-
setCreator
public void setCreator(String creator)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
toString
public String toString()
- Overrides:
toString
in classcom.logicaldoc.core.PersistentObject
-
getDisplayLabel
public String getDisplayLabel()
-
getFrequency
public int getFrequency()
-
setFrequency
public void setFrequency(int frequency)
-
getStatus
public int getStatus()
-
setStatus
public void setStatus(int status)
-
getCompletionDate
public Date getCompletionDate()
-
setCompletionDate
public void setCompletionDate(Date completionDate)
-
getDeadline
public Date getDeadline()
-
setDeadline
public void setDeadline(Date deadline)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getSubType
public String getSubType()
-
setSubType
public void setSubType(String subType)
-
getAutomation
public String getAutomation()
-
setAutomation
public void setAutomation(String automation)
-
-