|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AlmanachBm
Method Summary | |
---|---|
String |
addEvent(EventDetail event,
Collection<org.silverpeas.upload.UploadedFile> uploadedFiles)
addEvent() add an event entry in the database. |
String |
addEvent(EventDetail event,
Collection<org.silverpeas.upload.UploadedFile> uploadedFiles,
com.silverpeas.pdc.model.PdcClassification withClassification)
Adds the event in the almanach with the specified classification on the PdC. |
void |
addPeriodicityException(PeriodicityException exception)
|
void |
createIndex(EventDetail detail)
|
Collection<EventDetail> |
getAllEvents(EventPK pk)
this method provide a collection of event |
Collection<EventDetail> |
getAllEvents(EventPK pk,
String[] instanceIds)
Get all events of instanceId Almanachs |
Collection<org.silverpeas.attachment.model.SimpleDocument> |
getAttachments(EventPK eventPK)
|
EventDetail |
getEventDetail(EventPK pk)
getEventDetail() returns the EventDetail represented by the pk |
List<EventOccurrence> |
getEventOccurrencesInPeriod(org.silverpeas.date.Period period,
String... almanachIds)
Gets the event occurrences that occur in the specified period and that are defined in the specified almanachs. |
Collection<EventDetail> |
getEvents(Collection<EventPK> pks)
|
String |
getHTMLPath(EventPK eventPK)
|
net.fortuna.ical4j.model.Calendar |
getICal4jCalendar(Collection<EventDetail> events,
String language)
|
Collection<EventDetail> |
getListRecurrentEvent(net.fortuna.ical4j.model.Calendar calendarAlmanach,
Calendar currentDay,
String spaceId,
String instanceId,
boolean yearScope)
|
List<EventOccurrence> |
getNextEventOccurrences(String... almanachIds)
Gets the next event occurrences that will occur andd that are defined in the specified almanachs. |
int |
getSilverObjectId(EventPK pk)
|
void |
removeEvent(EventPK pk)
removeEvent() remove the Event entry specified by the pk |
void |
updateEvent(EventDetail event)
updateEvent() update the event entry, specified by the pk, in the database |
Method Detail |
---|
List<EventOccurrence> getEventOccurrencesInPeriod(org.silverpeas.date.Period period, String... almanachIds)
period
- the period in which the events occur.almanachIds
- the identifier of the almanachs in which the events are defined.
List<EventOccurrence> getNextEventOccurrences(String... almanachIds)
almanachIds
- the identifier of the almanachs in which the events are defined.
Collection<EventDetail> getAllEvents(EventPK pk)
:
- EventPk pk, to obtain the space and componentCollection<EventDetail> getAllEvents(EventPK pk, String[] instanceIds)
pk
- instanceIds
- String[] of instanceIds
Collection<EventDetail> getEvents(Collection<EventPK> pks)
String addEvent(EventDetail event, Collection<org.silverpeas.upload.UploadedFile> uploadedFiles)
event
- detail about the event to add in Silverpeas.uploadedFiles
- attached files.
String addEvent(EventDetail event, Collection<org.silverpeas.upload.UploadedFile> uploadedFiles, com.silverpeas.pdc.model.PdcClassification withClassification)
event
- detail about the event to add in Silverpeas.uploadedFiles
- attached files.withClassification
- the classificationwith which the event will be classified on the PdC.
void updateEvent(EventDetail event)
void removeEvent(EventPK pk)
EventDetail getEventDetail(EventPK pk)
int getSilverObjectId(EventPK pk)
void createIndex(EventDetail detail)
void addPeriodicityException(PeriodicityException exception)
net.fortuna.ical4j.model.Calendar getICal4jCalendar(Collection<EventDetail> events, String language)
Collection<EventDetail> getListRecurrentEvent(net.fortuna.ical4j.model.Calendar calendarAlmanach, Calendar currentDay, String spaceId, String instanceId, boolean yearScope)
Collection<org.silverpeas.attachment.model.SimpleDocument> getAttachments(EventPK eventPK)
String getHTMLPath(EventPK eventPK)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |