public abstract class AbstractCalendarEvent extends Content implements CalendarEventInterface
Modifier and Type | Class and Description |
---|---|
static class |
AbstractCalendarEvent.CalendarEventAttendeeSelector
This DataSelector selects all the CalendarEvent of which the given member
is an attendee (either because he is the author or he is in the list of attendees).
|
static class |
AbstractCalendarEvent.CalendarEventDateSelector
This DataSelector selects all the CalendarEvent taking place in between the
given date
|
static class |
AbstractCalendarEvent.StartDateComparator<T extends CalendarEventInterface>
This comparator allow sorting of calendar event in chronological order
using only their start date
|
Publication.AdateComparator<T extends Publication>, Publication.AdateSelector, Publication.AudienceRightComparator<T extends Publication>, Publication.AudienceRightSelector, Publication.AuthorComparator<T extends Publication>, Publication.AuthorizedSelector, Publication.CanWorkOnSelector, Publication.DdateComparator<T extends Publication>, Publication.EdateComparator<T extends Publication>, Publication.EdateSelector, Publication.PdateComparator<T extends Publication>, Publication.PdateSelector, Publication.PopularityComparator<T extends Publication>, Publication.PstatusComparator<T extends Publication>, Publication.PstatusSelector, Publication.ReaderComparator<T extends Publication>, Publication.ReadRightSelector, Publication.RightComparator<T extends Publication>, Publication.SdateComparator<T extends Publication>, Publication.SdateSelector, Publication.TitleComparator<T extends Publication>, Publication.TrackedSelector, Publication.TypeComparator<T extends Publication>, Publication.UdateComparator<T extends Publication>, Publication.UdateSelector, Publication.UserContentSelector, Publication.VisibleStateSelector, Publication.VoteScoreComparator<T extends Publication>, Publication.WorkspaceAuthorSelector, Publication.WorkspaceComparator<T extends Publication>, Publication.WorkspaceSelector
Data.AuthorSelector, Data.CdateSelector, Data.DataNameComparator<T extends Data>, Data.DeletableSelector, Data.ImportSelector, Data.MdateSelector, Data.OpAuthorComparator<T extends Data>, Data.RowIdComparator<T extends Data>, Data.StrongLockSelector
BasicStorable.CdateComparator<T extends Storable>, BasicStorable.IdComparator<T extends Storable>, BasicStorable.MdateComparator<T extends Storable>
CalendarEventInterface.IconSize
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REMINDER_ALERT |
static java.lang.String |
REVISION |
adate, allCatIdSet, authGrpIdSet, authGrpIdSetDirty, authGrpIdSetInit, authMbrIdSet, authMbrIdSetDirty, authMbrIdSetInit, authorizedGroupSet, authorizedMemberSet, categories, categorySet, catIdSet, catIdSetDirty, catIdSetInit, CTRL_TOPIC_ADVANCED, CTRL_TOPIC_CATEGORIES, CTRL_TOPIC_WORKFLOW, edate, friendlyURLSet, hasNoReadRightsDBData, indexMgr, isTracked, mainInstance, mainLanguage, majorVersion, mergeDate, mergeId, minorVersion, pdate, pstatus, PUBLICATION_WFNOTE, readerCount, roleMap, sdate, templates, title, titleML, udate, updateGroupSet, updateMemberSet, voteCount, voteScore, wfExpressAlarmEntry, wfReminderAlarmEntry, workflowId, workspace
author, authorDBID, channel, DISPLAY_URL_EXTRA_INFO, extension, extraDataMap, extraDBDataMapToSaveOnOp, importMap, opAuthor, opDelegate
IMPORT_ALARM_MGR, IMPORT_AUTHOR_PROP, IMPORT_CATEGORY_DEFAULT, IMPORT_DC_ATTR, IMPORT_DC_STEP, IMPORT_DIR, IMPORT_ENABLED, IMPORT_JDOM_ELEMENT, IMPORT_LOG_FILE, IMPORT_LOG_MAX, IMPORT_OPTIONS, IMPORT_OPTIONS_DC_CONTEXT, IMPORT_ROOT_PROP, IMPORT_SOURCE_FILE, IMPORT_SOURCE_PREFIX_PROP, IMPORT_SOURCES_DIR, IMPORT_STEP_CLEAN, IMPORT_STEP_IMPORT, IMPORT_STEP_UPDATE_REF, IMPORT_WS_PROP
DATA_TAG, DATASET_TAG, FIELD_CLASS, FIELD_ENTRY, FIELD_ITEM, FIELD_KEY, FIELD_NAME, FIELD_TAG, FIELD_VALUE, FILE_FIELD, FILE_ID, FILE_MTIME, FILE_SIZE, FILE_TAG, FILE_TICKET, FILESET_TAG, RELATED_TAG
ADATE_SEARCH, ADMIN_NOTES_PROP, ADVANCED_TAB, ARCHIVES_DIR, ASCII_WIDTH, CATEGORY_TAB, CDATE_SEARCH, COMMON_ALARM, CONTENT_TAB, COOKIE_MAX_AGE, CTRL_TOPIC_INTERNAL, CTRL_TOPIC_REF, CTRL_TOPIC_VALUE, CTRL_TOPIC_WRITE, CUSTOM_PROP, DOCCHOOSER_HEIGHT, DOCCHOOSER_WIDTH, DOCS_DIR, EDATE_SEARCH, EMAIL_REGEXP, ERROR_MSG, FORBIDDEN_FILE_ACCESS, FORBIDDEN_REDIRECT, FORCE_REDIRECT, ICON_ARCHIVE, ICON_LOCK, ICON_LOCK_STRONG, ICON_WARN, ICON_WH_BOOK_CLOSED, ICON_WH_BOOK_OPEN, INFORMATION_MSG, JALIOS_JUNIT_PROP, JCMS_CADDY, JCMS_MSG_LIST, JSYNC_DOWNLOAD_DIR, JSYNC_SYNC_ALARM, LOG_FILE, LOG_TOPIC_SECURITY, LOGGER_PROP, LOGGER_XMLPROP, MBR_PHOTO_DIR, MDATE_SEARCH, MONITOR_XML, OP_CREATE, OP_CREATE_STR, OP_DEEP_COPY, OP_DEEP_COPY_STR, OP_DEEP_DELETE, OP_DEEP_DELETE_STR, OP_DELETE, OP_DELETE_STR, OP_MERGE, OP_MERGE_STR, OP_UPDATE, OP_UPDATE_STR, PDATE_SEARCH, PHOTO_DIR, PHOTO_ICON, PHOTO_ICON_HEIGHT, PHOTO_ICON_WIDTH, PHOTO_LARGE, PHOTO_LARGE_HEIGHT, PHOTO_LARGE_WIDTH, PHOTO_NORMAL, PHOTO_NORMAL_HEIGHT, PHOTO_NORMAL_WIDTH, PHOTO_SMALL, PHOTO_SMALL_HEIGHT, PHOTO_SMALL_WIDTH, PHOTO_TINY, PHOTO_TINY_HEIGHT, PHOTO_TINY_WIDTH, PREVIOUS_TAB, PRINT_VIEW, PRIVATE_FILE_ACCESS, PUBLIC_FILE_ACCESS, READ_RIGHT_TAB, SDATE_SEARCH, SEARCHENGINE_ALARM, SESSION_AUTHORIZED_FILENAMES_SET, STATS_REPORT_DIR, STATUS_PROP, STORE_XML, TEMPLATE_TAB, THUMBNAIL_LARGE_HEIGHT, THUMBNAIL_LARGE_WIDTH, THUMBNAIL_SMALL_HEIGHT, THUMBNAIL_SMALL_WIDTH, TYPES_ICON_ALT_PROP, TYPES_ICON_SUFFIX_PROP, TYPES_ICON_TITLE_PROP, TYPES_PREFIX_PROP, TYPES_THUMB_SUFFIX_PROP, UDATE_SEARCH, UPDATE_RIGHT_TAB, UPLOAD_DIR, URL_REGEXP, WARNING_MSG, WEBAPP_PROP, WFEXPRESS_ALARM, WFREMINDER_ALARM, WORKFLOW_TAB, WORKFLOW_XML
CRLF, MILLIS_IN_ONE_DAY, MILLIS_IN_ONE_HOUR, MILLIS_IN_ONE_MINUTE, MILLIS_IN_ONE_MONTH, MILLIS_IN_ONE_SECOND, MILLIS_IN_ONE_WEEK, MILLIS_IN_ONE_YEAR
Constructor and Description |
---|
AbstractCalendarEvent() |
AbstractCalendarEvent(Content other) |
Modifier and Type | Method and Description |
---|---|
ControllerStatus |
checkIntegrity()
Checks whether or not data integrity constraints are respected.
|
java.util.TreeSet<Member> |
getAllAttendingMembersSet()
Return a set containing all the members attending this event.
|
java.util.TreeSet<Member> |
getAllAttendingMembersSet(boolean checkReadRight)
Return a set containing all the members attending this event checking for readright or not.
|
abstract Group[] |
getAttendingGroups() |
abstract Member[] |
getAttendingMembers() |
java.util.TreeSet<Member> |
getAttendingMemberSet()
Retrieve the attending members as a Set, with the author included.
|
abstract boolean |
getAuthorAttendee() |
static AbstractCalendarEvent.CalendarEventAttendeeSelector |
getCalendarEventAttendeeSelector(Member mbr) |
static AbstractCalendarEvent.CalendarEventAttendeeSelector |
getCalendarEventAttendeeSelector(Member mbr,
boolean checkReadRight) |
static AbstractCalendarEvent.CalendarEventDateSelector |
getCalendarEventDateSelector(java.util.Date startDate,
java.util.Date endDate) |
static AbstractCalendarEvent.CalendarEventDateSelector |
getCalendarEventDateSelector(java.util.Date startDate,
java.util.Date endDate,
boolean dayEventFlag)
Create a
DataSelector for AbstractCalendarEvent |
java.lang.String |
getDataIcon()
Returns source information for the icon associated to this Data, either a relative path or sprite classes name.
|
protected java.lang.String |
getDataIcon(CalendarEventInterface.IconSize size) |
java.lang.String |
getDataIconHtml(java.lang.String lang,
CalendarEventInterface.IconSize size)
Compute html icon for this event by specifying a size in parameter.
|
abstract boolean |
getDayEventFlag() |
abstract java.lang.String |
getDescription(java.lang.String lang) |
abstract FileDocument[] |
getDocuments() |
abstract java.util.Date |
getEndDate() |
long |
getEventDuration()
Returns the event duration
|
abstract boolean |
getFreeSignUp() |
abstract java.lang.String |
getImportanceLevel() |
abstract java.lang.String |
getLocation() |
abstract java.lang.String |
getLocation(java.lang.String lang) |
abstract java.util.Set<Member> |
getNotDeclinedAttendeeSet()
Retrieves the Set of attendees which has not declined (accepted ou pending attendees)
|
abstract java.lang.String |
getPeriodicity() |
abstract boolean |
getPrivateFlag() |
java.util.Date |
getReminderDate() |
abstract long |
getReminderDuration() |
abstract AbstractEventResource[] |
getResources() |
abstract boolean |
getSendEventUpdateMail() |
abstract java.util.Date |
getStartDate() |
static AbstractCalendarEvent.StartDateComparator<CalendarEventInterface> |
getStartDateComparator() |
boolean |
getUseFrontOfficeCalendarEditionModal()
Whether we use the Calendar edition modal in Front Office.
|
boolean |
isAttendee(Member mbr)
Check if a given member attends this calendar event (Warning: read right are not checked),
either because he is in a group attending the event or else if he is in the list of attendees
|
boolean |
isAttendee(Member mbr,
boolean checkReadRight)
Check if a given member attends this calendar event,
either because he is in a group attending the event or else if he is in the list of attendees
|
boolean |
isReminderEnabled() |
boolean |
overlapWith(CalendarEventInterface ev)
Check if calendar event overlap with another one
|
boolean |
overlapWith(java.util.Date startDate,
java.util.Date endDate)
Check if calendar event overlap with given interval
|
void |
performCreate(Member mbr,
java.util.Map context)
Performs additionnal task during creation of CalendarEvent. - Synchronize
the SDate with the StartDate.
|
void |
performUpdate(Member mbr,
java.util.Map context)
Performs additionnal task during update of CalendarEvent. - Synchronize the
SDate with the StartDate.
|
void |
remind()
remind author and attendees of event
|
boolean |
removeAttendee(Member mbr)
Remove given member from the attending members, updates the all member set.
|
abstract void |
setAttendingGroups(Group[] v) |
abstract void |
setAttendingMembers(Member[] v) |
abstract void |
setAuthorAttendee(boolean b) |
abstract void |
setDocuments(FileDocument[] v) |
abstract void |
setEndDate(java.util.Date date) |
abstract void |
setFreeSignUp(boolean v) |
abstract void |
setLocation(java.lang.String v) |
abstract void |
setPeriodicity(java.lang.String v) |
abstract void |
setPrivateFlag(boolean v) |
abstract void |
setReminderDuration(long v) |
abstract void |
setResources(AbstractEventResource[] v) |
abstract void |
setSendEventUpdateMail(boolean v) |
abstract void |
setStartDate(java.util.Date date) |
void |
updateAllAttendingMembersSet()
Clear and update the transient cache of all attending member set.
|
addAuthorizedGroup, addAuthorizedMember, addCategory, addFollower, addWeakReferrer, addWFExpressAlarm, addWFReminderAlarm, assignCommonPublicationFields, assignRole, assignRole, canBeArchived, canBeArchived, canBeEditedFieldByField, canBeFollowedBy, canBeReadBy, canBeReadBy, canBeReadBy, canBeReadBy, canBeReadBy, canBeVotedBy, canCreateCopy, canCreateCopy, canCreateWorkCopy, canMergeWorkCopy, canRequestUnlock, checkCreate, checkDelete, checkLang, checkMember, checkMerge, checkStateChange, checkStateChange, checkTemplateEntry, checkUpdate, checkWrite, clearTransientIndex, cloneDBDataCollections, computeSignature, computeSignature, containsCategory, createCopy, createWFNote, createWFNote, createWorkCopy, discardCopy, exportXmlField, getAbstract, getAbstract, getAbstract, getAbstractML, getAccessCount, getAdate, getAdateComparator, getAdateSelector, getAllCatIdSet, getAllFilePath, getAllWikiText, getAllWysiwygText, getAudiencedRightsString, getAudienceRightComparator, getAudienceRightSelector, getAuthGrpIdSet, getAuthMbrIdSet, getAuthorizedGroupSet, getAuthorizedMemberSet, getAuthorizedSelector, getCanWorkOnSelector, getCategories, getCategories, getCategorySet, getCatIdSet, getComparator, getComparator, getComparator, getCSVHeader, getDataIconTitle, getDataName, getDate, getDate, getDateSelector, getDBDataRevision, getDdateComparator, getDefaultTemplateUsage, getDescendantCategorySet, getDescendantCategorySet, getDescendantCategorySet, getDisplayTemplateFile, getDocumentLinkSet, getEdate, getEdateComparator, getEdateSelector, getEstimatedReminderCount, getExternalLinkSet, getFieldInMainLanguage, getFieldValue, getFirstDescendantCategory, getFirstDescendantCategory, getFirstDescendantCategory, getFollowerList, getFriendlyURLSet, getHasNoReadRights, getImportConflictCopy, getImportVersion, getIndexingDate, getInternalWorkflow, getLinkDataSet, getMainInstance, getMainLanguage, getMajorVersion, getMemberSetAssignedToRole, getMergeDate, getMergeId, getMinorVersion, getNextWFStateSet, getPdate, getPdateComparator, getPdateSelector, getPopularity, getPopularityComparator, getPstatus, getPstatusAlarmEntry, getPstatusComparator, getPstatusSelector, getPstatusSelector, getQueryTemplateFile, getReaderComparator, getReaderCount, getReaderTrackerList, getReadRightSelector, getReadRightsString, getRightComparator, getRoleMap, getRoleMapStr, getSdate, getSdateComparator, getSdateSelector, getSearchStrings, getTemplate, getTemplateEntry, getTemplateEntry, getTemplateEntrySet, getTemplatePath, getTemplatePath, getTemplates, getTitle, getTitle, getTitle, getTitleComparator, getTitleComparator, getTitleML, getTrackedSelector, getTreeChildren, getTreeParent, getTreeRoot, getTypeComparator, getTypeLabel, getUdate, getUdateComparator, getUdateSelector, getUpdateGroupSet, getUpdateMemberSet, getVersionString, getVisibleStateSelector, getVoteCount, getVoteScore, getVoteScoreComparator, getVoteValue, getWeakReferrerSet, getWFNoteList, getWFState, getWFStateLabel, getWFStateLabelHtml, getWorkCopySet, getWorkflow, getWorkflowId, getWorkspace, getWorkspaceAuthorSelector, getWorkspaceComparator, getWorkspaceId, getWorkspaceSelector, getWSTypeEntry, getWSTypeEntry, hasAlreadyVoted, hasAnyReadRights, hasBeenReadBy, hasCategory, hasImportConflict, hasNoReadRights, hasWeakReferrers, importConvertToLocal, importMarkAsMerged, importOverrideAndUpdate, importXml, init, initCopy, initializeDBDataCollections, internalCanBeReadBy, isAudienced, isDefaultTemplate, isFollowedBy, isImportConflictCopy, isInRole, isInVisibleState, isPublic, isRoleAssigned, isTracked, isTreeLeaf, isTreeNode, isUserContent, isUserContentType, isVersioned, isVotable, isWorkCopy, majorUpdate, notifyFollowers, performAfterWrite, performBeforeWrite, performDelete, performMerge, performMerge, prepareMergeCopy, putPstatusAlarmEntry, recomputeScore, removeAllDescendants, removeAllFollowers, removeAllReaderTracker, removeAuthorizedGroup, removeAuthorizedMember, removeCategory, removeDataSet, removeFollower, removeImportMetadata, removePstatusAlarmEntry, removeWeakReferrer, removeWFExpressAlarm, removeWFReminderAlarm, resolveTypeTemplateEntry, setAbstract, setAbstract, setAdate, setAllCatIdSet, setAuthGrpIdSet, setAuthMbrIdSet, setAuthorizedGroupSet, setAuthorizedMemberSet, setCategories, setCategorySet, setCatIdSet, setCdate, setEdate, setFieldValue, setFriendlyURLSet, setHasNoReadRights, setImportConflictCopy, setImportVersion, setMainInstance, setMainLanguage, setMajorVersion, setMergeDate, setMergeId, setMinorVersion, setPdate, setPstatus, setReaderCount, setRoleMap, setRoleMapStr, setRoleMemberSetMap, setSdate, setTemplate, setTemplates, setTitle, setTitle, setTitleML, setTracked, setUdate, setUpdateGroupSet, setUpdateMemberSet, setVoteCount, setVoteScore, setWorkflow, setWorkflowId, setWorkspace, setWorkspaceId, toCSV, toFullString, toString, trackReader, trackReader, unassignMember, unassignRole, updatePstatus, updateTemplate
checkCreate, checkDelete, checkIntegrity, checkLockMember, checkStrongLockMember, checkUpdate, clone, computeDBIDArray, exportXml, exportXml, exportXml, exportXml, exportXmlRelated, exportXmlRelated, fillExportXmlFieldAttributes, getAllReferrerSet, getAllReferrerSet, getAllTypeFieldEntry, getAuthor, getAuthor, getAuthorComparator, getAuthorDBID, getAuthorId, getAuthorSelector, getBooleanFieldValue, getBooleanFieldValue, getCaddyComparator, getCategoryFieldValue, getCategoryFieldValue, getCdateSelector, getDataIconAlt, getDataIconHtml, getDataIconHtml, getDataImage, getDataImage, getDataImage, getDataNameComparator, getDeletableSelector, getDisplayLink, getDisplayLink, getDisplayLink, getDisplayUrl, getDoubleFieldValue, getDoubleFieldValue, getExportXmlDataValue, getExtension, getExtraData, getExtraDataMap, getExtraDBData, getExtraDBDataMap, getExtraInfo, getExtraInfoMap, getFieldStatusMap, getFieldValue, getFieldValue, getFieldValue, getGenericThumbnail, getImportAuthor, getImportBatch, getImportDate, getImportDisplayUrl, getImportId, getImportMap, getImportMdate, getImportSelector, getImportSignature, getImportSource, getImportSourceUrl, getImportUrl, getIntFieldValue, getIntFieldValue, getLangPropertyValue, getLinkCount, getLinkIndexedDataSet, getLinkIndexedDataSet, getLockDate, getLockInfo, getLockMember, getLongFieldValue, getLongFieldValue, getMdateSelector, getNewDefaultExtraDataMap, getNewDefaultExtraDataMap, getNewDefaultExtraDataMap, getNewDefaultExtraDataMap, getNewDefaultExtraDBDataMap, getNewDefaultExtraDBDataMap, getNewDefaultExtraDBDataMap, getNewDefaultExtraDBDataMap, getOpAuthor, getOpAuthorComparator, getOpDelegate, getRowId, getRowIdComparator, getStrongLock, getStrongLockDate, getStrongLockInfo, getStrongLockMember, getStrongLockSelector, getTypeEntry, getTypeFieldsEntries, getUpdateInstance, getVirtualIDSet, hashCode, importXmlFieldsWithReferences, importXmlFiles, importXmlReferences, isDBData, isImported, isImportUpdated, isInDatabase, isLocked, isPersisted, isStrongLocked, lock, markNewImport, mergeHybridLink, performCreate, performDelete, performUpdate, prepareUpdateContext, printDataName, printDisplayLinkEnd, printDisplayLinkStart, printDisplayUrl, printDisplayUrl, putStrongLock, releaseStrongLock, releaseStrongLock, removeExtraData, removeExtraDBData, removeExtraInfo, setAuthor, setAuthorDBID, setAuthorId, setBooleanFieldValue, setCategoryFieldValue, setDoubleFieldValue, setExtension, setExtraData, setExtraDataMap, setExtraDBData, setExtraDBDataMap, setExtraDBDataMap, setExtraInfo, setFieldValue, setImportAuthor, setImportBatch, setImportDate, setImportDisplayUrl, setImportId, setImportMap, setImportMdate, setImportSignature, setImportSource, setImportSourceUrl, setImportUpdated, setIntFieldValue, setLongFieldValue, setMdate, setOpAuthor, setOpDelegate, setRowId, unlock, unlock, unmarkNewImport, updateExtraDataMap, updateExtraDBDataMap, updateIndexTreeSet
clearId, compareTo, equals, getAttribute, getAttributes, getCdate, getCdateComparator, getDdate, getId, getIdComparator, getMdate, getMdateComparator, getStore, getUrid, hasBeenUpdated, isStored, resolveAtt, resolveVal, setAttributes, setAttributes, setDdate, setId, setStore, toXml
finalize, getClass, notify, notifyAll, wait, wait, wait
getDataIconHtml, getPeriodicityEndDate, setPeriodicityEndDate
public static final java.lang.String REVISION
public static final java.lang.String REMINDER_ALERT
public AbstractCalendarEvent()
public AbstractCalendarEvent(Content other)
public abstract java.util.Date getStartDate()
getStartDate
in interface CalendarEventInterface
public abstract java.util.Date getEndDate()
getEndDate
in interface CalendarEventInterface
public abstract java.lang.String getImportanceLevel()
getImportanceLevel
in interface CalendarEventInterface
public abstract boolean getAuthorAttendee()
getAuthorAttendee
in interface CalendarEventInterface
public abstract void setAuthorAttendee(boolean b)
setAuthorAttendee
in interface CalendarEventInterface
public abstract boolean getDayEventFlag()
getDayEventFlag
in interface CalendarEventInterface
public abstract void setStartDate(java.util.Date date)
setStartDate
in interface CalendarEventInterface
public abstract void setEndDate(java.util.Date date)
setEndDate
in interface CalendarEventInterface
public long getEventDuration()
CalendarEventInterface
getEventDuration
in interface CalendarEventInterface
public boolean overlapWith(CalendarEventInterface ev)
CalendarEventInterface
overlapWith
in interface CalendarEventInterface
ev
- the other calendar eventpublic boolean overlapWith(java.util.Date startDate, java.util.Date endDate)
CalendarEventInterface
overlapWith
in interface CalendarEventInterface
startDate
- the start date of the interval to checkendDate
- the end date of the interval to checkpublic static AbstractCalendarEvent.CalendarEventDateSelector getCalendarEventDateSelector(java.util.Date startDate, java.util.Date endDate)
public static AbstractCalendarEvent.CalendarEventDateSelector getCalendarEventDateSelector(java.util.Date startDate, java.util.Date endDate, boolean dayEventFlag)
DataSelector
for AbstractCalendarEvent
startDate
- the start date of selectionendDate
- the end date of selectiondayEventFlag
- true if only day event should be selected, false if only standard
event is selectedAbstractCalendarEvent.CalendarEventDateSelector
public static AbstractCalendarEvent.StartDateComparator<CalendarEventInterface> getStartDateComparator()
public boolean isAttendee(Member mbr)
CalendarEventInterface
isAttendee
in interface CalendarEventInterface
mbr
- the member to checkpublic boolean isAttendee(Member mbr, boolean checkReadRight)
CalendarEventInterface
isAttendee
in interface CalendarEventInterface
mbr
- the member to checkcheckReadRight
- set to true if read right should be checked (in which case a member is considered attendee only when is can read the event),
set to false if read right should not be checked (in which case a member is considered attendee event if he cannot read the event)public static AbstractCalendarEvent.CalendarEventAttendeeSelector getCalendarEventAttendeeSelector(Member mbr)
mbr
- the member to select the calendar eventpublic static AbstractCalendarEvent.CalendarEventAttendeeSelector getCalendarEventAttendeeSelector(Member mbr, boolean checkReadRight)
mbr
- the member to select the calendar eventcheckReadRight
- set to true if read right should be checked, false if all CalendarEvent should be included even if Member is not able to read the eventpublic abstract long getReminderDuration()
getReminderDuration
in interface CalendarEventInterface
public abstract void setReminderDuration(long v)
setReminderDuration
in interface CalendarEventInterface
public abstract Member[] getAttendingMembers()
getAttendingMembers
in interface CalendarEventInterface
public abstract void setAttendingMembers(Member[] v)
setAttendingMembers
in interface CalendarEventInterface
public abstract Group[] getAttendingGroups()
getAttendingGroups
in interface CalendarEventInterface
public abstract void setAttendingGroups(Group[] v)
setAttendingGroups
in interface CalendarEventInterface
public boolean isReminderEnabled()
isReminderEnabled
in interface CalendarEventInterface
public java.util.Date getReminderDate()
getReminderDate
in interface CalendarEventInterface
public java.util.TreeSet<Member> getAllAttendingMembersSet()
CalendarEventInterface
getAllAttendingMembersSet
in interface CalendarEventInterface
public java.util.TreeSet<Member> getAllAttendingMembersSet(boolean checkReadRight)
CalendarEventInterface
getAllAttendingMembersSet
in interface CalendarEventInterface
checkReadRight
- set to true if read right should be checked, false if all attendee should be included even Member not able to read the eventpublic java.util.TreeSet<Member> getAttendingMemberSet()
CalendarEventInterface
getAttendingMemberSet
in interface CalendarEventInterface
public boolean removeAttendee(Member mbr)
CalendarEventInterface
removeAttendee
in interface CalendarEventInterface
mbr
- the Member to removepublic void updateAllAttendingMembersSet()
CalendarEventInterface
updateAllAttendingMembersSet
in interface CalendarEventInterface
public void remind()
CalendarEventInterface
remind
in interface CalendarEventInterface
public ControllerStatus checkIntegrity()
checkIntegrity
in class Publication
public void performCreate(Member mbr, java.util.Map context)
performCreate
in class Publication
mbr
- the member which requests the write operationcontext
- a map which contains context parameters (may be null)public void performUpdate(Member mbr, java.util.Map context)
performUpdate
in class Publication
mbr
- the member which requests the write operationcontext
- a map which contains context parameters (may be null)public abstract void setFreeSignUp(boolean v)
setFreeSignUp
in interface CalendarEventInterface
public abstract boolean getFreeSignUp()
getFreeSignUp
in interface CalendarEventInterface
public abstract void setSendEventUpdateMail(boolean v)
setSendEventUpdateMail
in interface CalendarEventInterface
public abstract boolean getSendEventUpdateMail()
getSendEventUpdateMail
in interface CalendarEventInterface
public abstract void setDocuments(FileDocument[] v)
setDocuments
in interface CalendarEventInterface
public abstract FileDocument[] getDocuments()
getDocuments
in interface CalendarEventInterface
public abstract void setResources(AbstractEventResource[] v)
setResources
in interface CalendarEventInterface
public abstract AbstractEventResource[] getResources()
getResources
in interface CalendarEventInterface
public abstract void setPrivateFlag(boolean v)
setPrivateFlag
in interface CalendarEventInterface
public abstract boolean getPrivateFlag()
getPrivateFlag
in interface CalendarEventInterface
public abstract void setPeriodicity(java.lang.String v)
setPeriodicity
in interface CalendarEventInterface
public abstract java.lang.String getPeriodicity()
getPeriodicity
in interface CalendarEventInterface
public abstract void setLocation(java.lang.String v)
setLocation
in interface CalendarEventInterface
public abstract java.lang.String getLocation()
getLocation
in interface CalendarEventInterface
public abstract java.lang.String getLocation(java.lang.String lang)
getLocation
in interface CalendarEventInterface
public abstract java.lang.String getDescription(java.lang.String lang)
getDescription
in interface CalendarEventInterface
public boolean getUseFrontOfficeCalendarEditionModal()
CalendarEventInterface
getUseFrontOfficeCalendarEditionModal
in interface CalendarEventInterface
true
if we use the Calendar edition modal.public java.lang.String getDataIcon()
Data
If this method behavior has not been overriden by subclass, the default icon can be declared
using property types.{Type}.icon
, where {Type}
is the short class name of
the type concerned.
types.Article.icon: images/jalios/icon/abstract.gif
types.Article.icon: ss_sprite ss_date
getDataIcon
in class Publication
images/jalios/icon/abstract.gif
) or sprite classes name (eg ss_sprite ss_date
).Data.getDataIconHtml(String)
protected java.lang.String getDataIcon(CalendarEventInterface.IconSize size)
public java.lang.String getDataIconHtml(java.lang.String lang, CalendarEventInterface.IconSize size)
CalendarEventInterface
getDataIconHtml
in interface CalendarEventInterface
lang
- the user language.size
- icon sizepublic abstract java.util.Set<Member> getNotDeclinedAttendeeSet()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.