|
Liferay 6.1.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.calendar.service.CalEventLocalServiceWrapper
public class CalEventLocalServiceWrapper
This class is a wrapper for CalEventLocalService.
CalEventLocalService| Constructor Summary | |
|---|---|
CalEventLocalServiceWrapper(CalEventLocalService calEventLocalService)
|
|
| Method Summary | |
|---|---|
CalEvent |
addCalEvent(CalEvent calEvent)
Adds the cal event to the database. |
CalEvent |
addEvent(long userId,
String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
|
void |
addEventResources(CalEvent event,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addEventResources(CalEvent event,
String[] groupPermissions,
String[] guestPermissions)
|
void |
addEventResources(long eventId,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addEventResources(long eventId,
String[] groupPermissions,
String[] guestPermissions)
|
void |
checkEvents()
|
CalEvent |
createCalEvent(long eventId)
Creates a new cal event with the primary key. |
void |
deleteCalEvent(CalEvent calEvent)
Deletes the cal event from the database. |
void |
deleteCalEvent(long eventId)
Deletes the cal event with the primary key from the database. |
void |
deleteEvent(CalEvent event)
|
void |
deleteEvent(long eventId)
|
void |
deleteEvents(long groupId)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
File |
exportEvent(long userId,
long eventId)
|
File |
exportGroupEvents(long userId,
long groupId,
String fileName)
|
CalEvent |
fetchCalEvent(long eventId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
CalEvent |
getCalEvent(long eventId)
Returns the cal event with the primary key. |
CalEvent |
getCalEventByUuidAndGroupId(String uuid,
long groupId)
Returns the cal event with the UUID in the group. |
List<CalEvent> |
getCalEvents(int start,
int end)
Returns a range of all the cal events. |
int |
getCalEventsCount()
Returns the number of cal events. |
List<CalEvent> |
getCompanyEvents(long companyId,
int start,
int end)
|
int |
getCompanyEventsCount(long companyId)
|
CalEvent |
getEvent(long eventId)
|
List<CalEvent> |
getEvents(long groupId,
Calendar cal)
|
List<CalEvent> |
getEvents(long groupId,
Calendar cal,
String type)
|
List<CalEvent> |
getEvents(long groupId,
Calendar cal,
String[] types)
|
List<CalEvent> |
getEvents(long groupId,
String[] types,
int start,
int end)
|
List<CalEvent> |
getEvents(long groupId,
String type,
int start,
int end)
|
int |
getEventsCount(long groupId,
String type)
|
int |
getEventsCount(long groupId,
String[] types)
|
List<CalEvent> |
getNoAssetEvents()
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
List<CalEvent> |
getRepeatingEvents(long groupId)
|
List<CalEvent> |
getRepeatingEvents(long groupId,
Calendar cal,
String[] types)
|
CalEventLocalService |
getWrappedCalEventLocalService()
Deprecated. Renamed to getWrappedService() |
CalEventLocalService |
getWrappedService()
|
boolean |
hasEvents(long groupId,
Calendar cal)
|
boolean |
hasEvents(long groupId,
Calendar cal,
String type)
|
boolean |
hasEvents(long groupId,
Calendar cal,
String[] types)
|
void |
importICal4j(long userId,
long groupId,
InputStream inputStream)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedCalEventLocalService(CalEventLocalService calEventLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.calendar.service.CalEventLocalService) |
void |
setWrappedService(CalEventLocalService calEventLocalService)
|
void |
updateAsset(long userId,
CalEvent event,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
|
CalEvent |
updateCalEvent(CalEvent calEvent)
Updates the cal event in the database or adds it if it does not yet exist. |
CalEvent |
updateCalEvent(CalEvent calEvent,
boolean merge)
Updates the cal event in the database or adds it if it does not yet exist. |
CalEvent |
updateEvent(long userId,
long eventId,
String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalEventLocalServiceWrapper(CalEventLocalService calEventLocalService)
| Method Detail |
|---|
public CalEvent addCalEvent(CalEvent calEvent)
throws SystemException
addCalEvent in interface CalEventLocalServicecalEvent - the cal event
SystemException - if a system exception occurredpublic CalEvent createCalEvent(long eventId)
createCalEvent in interface CalEventLocalServiceeventId - the primary key for the new cal event
public void deleteCalEvent(long eventId)
throws PortalException,
SystemException
deleteCalEvent in interface CalEventLocalServiceeventId - the primary key of the cal event
PortalException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
public void deleteCalEvent(CalEvent calEvent)
throws SystemException
deleteCalEvent in interface CalEventLocalServicecalEvent - the cal event
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface CalEventLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
dynamicQuery in interface CalEventLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
dynamicQuery in interface CalEventLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface CalEventLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public CalEvent fetchCalEvent(long eventId)
throws SystemException
fetchCalEvent in interface CalEventLocalServiceSystemException
public CalEvent getCalEvent(long eventId)
throws PortalException,
SystemException
getCalEvent in interface CalEventLocalServiceeventId - the primary key of the cal event
PortalException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface CalEventLocalServicePortalException
SystemException
public CalEvent getCalEventByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
getCalEventByUuidAndGroupId in interface CalEventLocalServiceuuid - the UUID of cal eventgroupId - the group id of the cal event
PortalException - if a cal event with the UUID in the group could not be found
SystemException - if a system exception occurred
public List<CalEvent> getCalEvents(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
getCalEvents in interface CalEventLocalServicestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public int getCalEventsCount()
throws SystemException
getCalEventsCount in interface CalEventLocalServiceSystemException - if a system exception occurred
public CalEvent updateCalEvent(CalEvent calEvent)
throws SystemException
updateCalEvent in interface CalEventLocalServicecalEvent - the cal event
SystemException - if a system exception occurred
public CalEvent updateCalEvent(CalEvent calEvent,
boolean merge)
throws SystemException
updateCalEvent in interface CalEventLocalServicecalEvent - the cal eventmerge - whether to merge the cal event with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
SystemException - if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier in interface CalEventLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface CalEventLocalServicebeanIdentifier - the Spring bean ID for this bean
public CalEvent addEvent(long userId,
String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
throws PortalException,
SystemException
addEvent in interface CalEventLocalServicePortalException
SystemException
public void addEventResources(CalEvent event,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addEventResources in interface CalEventLocalServicePortalException
SystemException
public void addEventResources(CalEvent event,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
addEventResources in interface CalEventLocalServicePortalException
SystemException
public void addEventResources(long eventId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addEventResources in interface CalEventLocalServicePortalException
SystemException
public void addEventResources(long eventId,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
addEventResources in interface CalEventLocalServicePortalException
SystemException
public void checkEvents()
throws PortalException,
SystemException
checkEvents in interface CalEventLocalServicePortalException
SystemException
public void deleteEvent(CalEvent event)
throws PortalException,
SystemException
deleteEvent in interface CalEventLocalServicePortalException
SystemException
public void deleteEvent(long eventId)
throws PortalException,
SystemException
deleteEvent in interface CalEventLocalServicePortalException
SystemException
public void deleteEvents(long groupId)
throws PortalException,
SystemException
deleteEvents in interface CalEventLocalServicePortalException
SystemException
public File exportEvent(long userId,
long eventId)
throws PortalException,
SystemException
exportEvent in interface CalEventLocalServicePortalException
SystemException
public File exportGroupEvents(long userId,
long groupId,
String fileName)
throws PortalException,
SystemException
exportGroupEvents in interface CalEventLocalServicePortalException
SystemException
public List<CalEvent> getCompanyEvents(long companyId,
int start,
int end)
throws SystemException
getCompanyEvents in interface CalEventLocalServiceSystemException
public int getCompanyEventsCount(long companyId)
throws SystemException
getCompanyEventsCount in interface CalEventLocalServiceSystemException
public CalEvent getEvent(long eventId)
throws PortalException,
SystemException
getEvent in interface CalEventLocalServicePortalException
SystemException
public List<CalEvent> getEvents(long groupId,
Calendar cal)
throws SystemException
getEvents in interface CalEventLocalServiceSystemException
public List<CalEvent> getEvents(long groupId,
Calendar cal,
String type)
throws SystemException
getEvents in interface CalEventLocalServiceSystemException
public List<CalEvent> getEvents(long groupId,
Calendar cal,
String[] types)
throws SystemException
getEvents in interface CalEventLocalServiceSystemException
public List<CalEvent> getEvents(long groupId,
String type,
int start,
int end)
throws SystemException
getEvents in interface CalEventLocalServiceSystemException
public List<CalEvent> getEvents(long groupId,
String[] types,
int start,
int end)
throws SystemException
getEvents in interface CalEventLocalServiceSystemException
public int getEventsCount(long groupId,
String type)
throws SystemException
getEventsCount in interface CalEventLocalServiceSystemException
public int getEventsCount(long groupId,
String[] types)
throws SystemException
getEventsCount in interface CalEventLocalServiceSystemException
public List<CalEvent> getNoAssetEvents()
throws SystemException
getNoAssetEvents in interface CalEventLocalServiceSystemException
public List<CalEvent> getRepeatingEvents(long groupId)
throws SystemException
getRepeatingEvents in interface CalEventLocalServiceSystemException
public List<CalEvent> getRepeatingEvents(long groupId,
Calendar cal,
String[] types)
throws SystemException
getRepeatingEvents in interface CalEventLocalServiceSystemException
public boolean hasEvents(long groupId,
Calendar cal)
throws SystemException
hasEvents in interface CalEventLocalServiceSystemException
public boolean hasEvents(long groupId,
Calendar cal,
String type)
throws SystemException
hasEvents in interface CalEventLocalServiceSystemException
public boolean hasEvents(long groupId,
Calendar cal,
String[] types)
throws SystemException
hasEvents in interface CalEventLocalServiceSystemException
public void importICal4j(long userId,
long groupId,
InputStream inputStream)
throws PortalException,
SystemException
importICal4j in interface CalEventLocalServicePortalException
SystemException
public void updateAsset(long userId,
CalEvent event,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
updateAsset in interface CalEventLocalServicePortalException
SystemException
public CalEvent updateEvent(long userId,
long eventId,
String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateEvent in interface CalEventLocalServicePortalException
SystemExceptionpublic CalEventLocalService getWrappedCalEventLocalService()
getWrappedService()
public void setWrappedCalEventLocalService(CalEventLocalService calEventLocalService)
setWrappedService(com.liferay.portlet.calendar.service.CalEventLocalService)
public CalEventLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<CalEventLocalService>public void setWrappedService(CalEventLocalService calEventLocalService)
setWrappedService in interface ServiceWrapper<CalEventLocalService>
|
Liferay 6.1.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||