com.dotmarketing.portlets.calendar.ajax
Class CalendarAjax

java.lang.Object
  extended by com.dotmarketing.portlets.calendar.ajax.CalendarAjax

public class CalendarAjax
extends java.lang.Object

Author:
David

Constructor Summary
CalendarAjax()
           
 
Method Summary
 void archiveEvent(java.lang.String identifier)
           
 void deleteEvent(java.lang.String identifier)
           
 java.util.List<java.util.Map<java.lang.String,java.lang.Object>> findEvents(java.util.Date fromDate, java.util.Date toDate, java.lang.String[] tags, java.lang.String[] keywords, java.lang.String[] categoriesInodes, boolean live, boolean includeArchived, int offset, int limit)
           
 java.util.List<java.util.Map<java.lang.String,java.lang.Object>> findEventsByHostFolder(java.lang.String hostId, java.util.Date fromDate, java.util.Date toDate, java.lang.String[] tags, java.lang.String[] keywords, java.lang.String[] categoriesInodes, boolean live, boolean includeArchived, int offset, int limit)
           
 java.util.List<java.util.Map<java.lang.String,java.lang.Object>> findLocations(java.lang.String filter)
           
 java.util.List<java.util.Map<java.lang.String,java.lang.Object>> findRelatedEvents(java.lang.String parentEvent, java.util.Date fromDate, java.util.Date toDate, boolean live)
           
 java.util.Map<java.lang.String,java.lang.Object> getEvent(java.lang.String id, boolean live)
           
 void publishEvent(java.lang.String identifier)
           
 java.util.Map<java.lang.String,java.lang.Object> saveEvent(java.util.List<java.lang.String> formData, boolean isAutoSave, boolean isCheckin)
           
 void unarchiveEvent(java.lang.String identifier)
           
 void unpublishEvent(java.lang.String identifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarAjax

public CalendarAjax()
Method Detail

getEvent

public java.util.Map<java.lang.String,java.lang.Object> getEvent(java.lang.String id,
                                                                 boolean live)
                                                          throws DotDataException,
                                                                 DotSecurityException,
                                                                 com.liferay.portal.PortalException,
                                                                 com.liferay.portal.SystemException
Throws:
DotDataException
DotSecurityException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

findEvents

public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> findEvents(java.util.Date fromDate,
                                                                                   java.util.Date toDate,
                                                                                   java.lang.String[] tags,
                                                                                   java.lang.String[] keywords,
                                                                                   java.lang.String[] categoriesInodes,
                                                                                   boolean live,
                                                                                   boolean includeArchived,
                                                                                   int offset,
                                                                                   int limit)
                                                                            throws DotDataException,
                                                                                   DotSecurityException,
                                                                                   com.liferay.portal.PortalException,
                                                                                   com.liferay.portal.SystemException
Throws:
DotDataException
DotSecurityException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

findEventsByHostFolder

public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> findEventsByHostFolder(java.lang.String hostId,
                                                                                               java.util.Date fromDate,
                                                                                               java.util.Date toDate,
                                                                                               java.lang.String[] tags,
                                                                                               java.lang.String[] keywords,
                                                                                               java.lang.String[] categoriesInodes,
                                                                                               boolean live,
                                                                                               boolean includeArchived,
                                                                                               int offset,
                                                                                               int limit)
                                                                                        throws DotDataException,
                                                                                               DotSecurityException,
                                                                                               com.liferay.portal.PortalException,
                                                                                               com.liferay.portal.SystemException
Throws:
DotDataException
DotSecurityException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

findRelatedEvents

public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> findRelatedEvents(java.lang.String parentEvent,
                                                                                          java.util.Date fromDate,
                                                                                          java.util.Date toDate,
                                                                                          boolean live)
                                                                                   throws DotDataException,
                                                                                          DotSecurityException,
                                                                                          com.liferay.portal.PortalException,
                                                                                          com.liferay.portal.SystemException
Throws:
DotDataException
DotSecurityException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

publishEvent

public void publishEvent(java.lang.String identifier)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException,
                         DotDataException,
                         DotSecurityException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
DotDataException
DotSecurityException

unpublishEvent

public void unpublishEvent(java.lang.String identifier)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException,
                           DotDataException,
                           DotSecurityException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
DotDataException
DotSecurityException

archiveEvent

public void archiveEvent(java.lang.String identifier)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException,
                         DotDataException,
                         DotSecurityException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
DotDataException
DotSecurityException

unarchiveEvent

public void unarchiveEvent(java.lang.String identifier)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException,
                           DotDataException,
                           DotSecurityException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
DotDataException
DotSecurityException

deleteEvent

public void deleteEvent(java.lang.String identifier)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException,
                        DotDataException,
                        DotSecurityException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
DotDataException
DotSecurityException

findLocations

public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> findLocations(java.lang.String filter)
                                                                               throws DotDataException,
                                                                                      DotSecurityException,
                                                                                      ParseException,
                                                                                      com.liferay.portal.PortalException,
                                                                                      com.liferay.portal.SystemException
Throws:
DotDataException
DotSecurityException
ParseException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

saveEvent

public java.util.Map<java.lang.String,java.lang.Object> saveEvent(java.util.List<java.lang.String> formData,
                                                                  boolean isAutoSave,
                                                                  boolean isCheckin)
                                                           throws com.liferay.portal.language.LanguageException,
                                                                  com.liferay.portal.PortalException,
                                                                  com.liferay.portal.SystemException,
                                                                  DotDataException,
                                                                  DotSecurityException
Throws:
com.liferay.portal.language.LanguageException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
DotDataException
DotSecurityException


Copyright © 2010 dotCMS Inc. All Rights Reserved.