@ProviderType public class CalEventLocalServiceWrapper extends java.lang.Object implements CalEventLocalService, ServiceWrapper<CalEventLocalService>
CalEventLocalService.CalEventLocalService| Constructor and Description |
|---|
CalEventLocalServiceWrapper(CalEventLocalService calEventLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CalEvent |
addCalEvent(CalEvent calEvent)
Adds the cal event to the database.
|
CalEvent |
addEvent(long userId,
java.lang.String title,
java.lang.String description,
java.lang.String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
java.lang.String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext) |
CalEvent |
addEvent(long userId,
java.lang.String title,
java.lang.String description,
java.lang.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,
java.lang.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,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
addEventResources(long eventId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addEventResources(long eventId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
checkEvents() |
CalEvent |
createCalEvent(long eventId)
Creates a new cal event with the primary key.
|
CalEvent |
deleteCalEvent(CalEvent calEvent)
Deletes the cal event from the database.
|
CalEvent |
deleteCalEvent(long eventId)
Deletes the cal event with the primary key from the database.
|
CalEvent |
deleteEvent(CalEvent event) |
CalEvent |
deleteEvent(long eventId) |
void |
deleteEvents(long groupId) |
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.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.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
java.io.File |
exportEvent(long userId,
long eventId) |
java.io.File |
exportEvents(long userId,
java.util.List<CalEvent> events,
java.lang.String fileName) |
java.io.File |
exportGroupEvents(long userId,
long groupId,
java.lang.String fileName) |
CalEvent |
fetchCalEvent(long eventId) |
CalEvent |
fetchCalEventByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the cal event with the matching UUID and company.
|
CalEvent |
fetchCalEventByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the cal event matching the UUID and group.
|
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
CalEvent |
getCalEvent(long eventId)
Returns the cal event with the primary key.
|
CalEvent |
getCalEventByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the cal event with the matching UUID and company.
|
CalEvent |
getCalEventByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the cal event matching the UUID and group.
|
java.util.List<CalEvent> |
getCalEvents(int start,
int end)
Returns a range of all the cal events.
|
int |
getCalEventsCount()
Returns the number of cal events.
|
java.util.List<CalEvent> |
getCompanyEvents(long companyId,
int start,
int end) |
int |
getCompanyEventsCount(long companyId) |
CalEvent |
getEvent(long eventId) |
java.util.List<CalEvent> |
getEvents(long groupId,
java.util.Calendar cal) |
java.util.List<CalEvent> |
getEvents(long groupId,
java.util.Calendar cal,
java.lang.String type) |
java.util.List<CalEvent> |
getEvents(long groupId,
java.util.Calendar cal,
java.lang.String[] types) |
java.util.List<CalEvent> |
getEvents(long groupId,
java.lang.String[] types,
int start,
int end) |
java.util.List<CalEvent> |
getEvents(long groupId,
java.lang.String type,
int start,
int end) |
int |
getEventsCount(long groupId,
java.lang.String type) |
int |
getEventsCount(long groupId,
java.lang.String[] types) |
java.util.List<CalEvent> |
getNoAssetEvents() |
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<CalEvent> |
getRepeatingEvents(long groupId) |
java.util.List<CalEvent> |
getRepeatingEvents(long groupId,
java.util.Calendar cal,
java.lang.String[] types) |
CalEventLocalService |
getWrappedCalEventLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
CalEventLocalService |
getWrappedService() |
boolean |
hasEvents(long groupId,
java.util.Calendar cal) |
boolean |
hasEvents(long groupId,
java.util.Calendar cal,
java.lang.String type) |
boolean |
hasEvents(long groupId,
java.util.Calendar cal,
java.lang.String[] types) |
void |
importICal4j(long userId,
long groupId,
java.io.InputStream inputStream) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedCalEventLocalService(CalEventLocalService calEventLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.calendar.service.CalEventLocalService) |
void |
setWrappedService(CalEventLocalService calEventLocalService) |
void |
updateAsset(long userId,
CalEvent event,
long[] assetCategoryIds,
java.lang.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 |
updateEvent(long userId,
long eventId,
java.lang.String title,
java.lang.String description,
java.lang.String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
java.lang.String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext) |
CalEvent |
updateEvent(long userId,
long eventId,
java.lang.String title,
java.lang.String description,
java.lang.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,
java.lang.String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
|
public CalEventLocalServiceWrapper(CalEventLocalService calEventLocalService)
public CalEvent addCalEvent(CalEvent calEvent) throws SystemException
addCalEvent in interface CalEventLocalServicecalEvent - the cal eventSystemException - if a system exception occurredpublic CalEvent createCalEvent(long eventId)
createCalEvent in interface CalEventLocalServiceeventId - the primary key for the new cal eventpublic CalEvent deleteCalEvent(long eventId) throws PortalException, SystemException
deleteCalEvent in interface CalEventLocalServiceeventId - the primary key of the cal eventPortalException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic CalEvent deleteCalEvent(CalEvent calEvent) throws SystemException
deleteCalEvent in interface CalEventLocalServicecalEvent - the cal eventSystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface CalEventLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface CalEventLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface CalEventLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface CalEventLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic CalEvent fetchCalEvent(long eventId) throws SystemException
fetchCalEvent in interface CalEventLocalServiceSystemExceptionpublic CalEvent fetchCalEventByUuidAndCompanyId(java.lang.String uuid, long companyId) throws SystemException
fetchCalEventByUuidAndCompanyId in interface CalEventLocalServiceuuid - the cal event's UUIDcompanyId - the primary key of the companynull if a matching cal event could not be foundSystemException - if a system exception occurredpublic CalEvent fetchCalEventByUuidAndGroupId(java.lang.String uuid, long groupId) throws SystemException
fetchCalEventByUuidAndGroupId in interface CalEventLocalServiceuuid - the cal event's UUIDgroupId - the primary key of the groupnull if a matching cal event could not be foundSystemException - if a system exception occurredpublic CalEvent getCalEvent(long eventId) throws PortalException, SystemException
getCalEvent in interface CalEventLocalServiceeventId - the primary key of the cal eventPortalException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface CalEventLocalServicePortalExceptionSystemExceptionpublic CalEvent getCalEventByUuidAndCompanyId(java.lang.String uuid, long companyId) throws PortalException, SystemException
getCalEventByUuidAndCompanyId in interface CalEventLocalServiceuuid - the cal event's UUIDcompanyId - the primary key of the companyPortalException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic CalEvent getCalEventByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException, SystemException
getCalEventByUuidAndGroupId in interface CalEventLocalServiceuuid - the cal event's UUIDgroupId - the primary key of the groupPortalException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic java.util.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic int getCalEventsCount()
throws SystemException
getCalEventsCount in interface CalEventLocalServiceSystemException - if a system exception occurredpublic CalEvent updateCalEvent(CalEvent calEvent) throws SystemException
updateCalEvent in interface CalEventLocalServicecalEvent - the cal eventSystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface CalEventLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface CalEventLocalServicebeanIdentifier - the Spring bean ID for this beanpublic CalEvent addEvent(long userId, java.lang.String title, java.lang.String description, java.lang.String location, int startDateMonth, int startDateDay, int startDateYear, int startDateHour, int startDateMinute, int durationHour, int durationMinute, boolean allDay, boolean timeZoneSensitive, java.lang.String type, boolean repeating, TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, ServiceContext serviceContext) throws PortalException, SystemException
addEvent in interface CalEventLocalServicePortalExceptionSystemExceptionpublic CalEvent addEvent(long userId, java.lang.String title, java.lang.String description, java.lang.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, java.lang.String type, boolean repeating, TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, ServiceContext serviceContext) throws PortalException, SystemException
addEvent(long, String,
String, String, int, int, int, int, int, int, int, boolean,
boolean, String, boolean, TZSRecurrence, int, int, int,
ServiceContext)addEvent in interface CalEventLocalServicePortalExceptionSystemExceptionpublic void addEventResources(CalEvent event, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addEventResources in interface CalEventLocalServicePortalExceptionSystemExceptionpublic void addEventResources(CalEvent event, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws PortalException, SystemException
addEventResources in interface CalEventLocalServicePortalExceptionSystemExceptionpublic void addEventResources(long eventId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addEventResources in interface CalEventLocalServicePortalExceptionSystemExceptionpublic void addEventResources(long eventId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
addEventResources in interface CalEventLocalServicePortalExceptionSystemExceptionpublic void checkEvents()
throws SystemException
checkEvents in interface CalEventLocalServiceSystemExceptionpublic CalEvent deleteEvent(CalEvent event) throws PortalException, SystemException
deleteEvent in interface CalEventLocalServicePortalExceptionSystemExceptionpublic CalEvent deleteEvent(long eventId) throws PortalException, SystemException
deleteEvent in interface CalEventLocalServicePortalExceptionSystemExceptionpublic void deleteEvents(long groupId)
throws PortalException,
SystemException
deleteEvents in interface CalEventLocalServicePortalExceptionSystemExceptionpublic java.io.File exportEvent(long userId,
long eventId)
throws PortalException,
SystemException
exportEvent in interface CalEventLocalServicePortalExceptionSystemExceptionpublic java.io.File exportEvents(long userId,
java.util.List<CalEvent> events,
java.lang.String fileName)
throws PortalException,
SystemException
exportEvents in interface CalEventLocalServicePortalExceptionSystemExceptionpublic java.io.File exportGroupEvents(long userId,
long groupId,
java.lang.String fileName)
throws PortalException,
SystemException
exportGroupEvents in interface CalEventLocalServicePortalExceptionSystemExceptionpublic java.util.List<CalEvent> getCompanyEvents(long companyId, int start, int end) throws SystemException
getCompanyEvents in interface CalEventLocalServiceSystemExceptionpublic int getCompanyEventsCount(long companyId)
throws SystemException
getCompanyEventsCount in interface CalEventLocalServiceSystemExceptionpublic CalEvent getEvent(long eventId) throws PortalException, SystemException
getEvent in interface CalEventLocalServicePortalExceptionSystemExceptionpublic java.util.List<CalEvent> getEvents(long groupId, java.util.Calendar cal) throws SystemException
getEvents in interface CalEventLocalServiceSystemExceptionpublic java.util.List<CalEvent> getEvents(long groupId, java.util.Calendar cal, java.lang.String type) throws SystemException
getEvents in interface CalEventLocalServiceSystemExceptionpublic java.util.List<CalEvent> getEvents(long groupId, java.util.Calendar cal, java.lang.String[] types) throws SystemException
getEvents in interface CalEventLocalServiceSystemExceptionpublic java.util.List<CalEvent> getEvents(long groupId, java.lang.String type, int start, int end) throws SystemException
getEvents in interface CalEventLocalServiceSystemExceptionpublic java.util.List<CalEvent> getEvents(long groupId, java.lang.String[] types, int start, int end) throws SystemException
getEvents in interface CalEventLocalServiceSystemExceptionpublic int getEventsCount(long groupId,
java.lang.String type)
throws SystemException
getEventsCount in interface CalEventLocalServiceSystemExceptionpublic int getEventsCount(long groupId,
java.lang.String[] types)
throws SystemException
getEventsCount in interface CalEventLocalServiceSystemExceptionpublic java.util.List<CalEvent> getNoAssetEvents() throws SystemException
getNoAssetEvents in interface CalEventLocalServiceSystemExceptionpublic java.util.List<CalEvent> getRepeatingEvents(long groupId) throws SystemException
getRepeatingEvents in interface CalEventLocalServiceSystemExceptionpublic java.util.List<CalEvent> getRepeatingEvents(long groupId, java.util.Calendar cal, java.lang.String[] types) throws SystemException
getRepeatingEvents in interface CalEventLocalServiceSystemExceptionpublic boolean hasEvents(long groupId,
java.util.Calendar cal)
throws SystemException
hasEvents in interface CalEventLocalServiceSystemExceptionpublic boolean hasEvents(long groupId,
java.util.Calendar cal,
java.lang.String type)
throws SystemException
hasEvents in interface CalEventLocalServiceSystemExceptionpublic boolean hasEvents(long groupId,
java.util.Calendar cal,
java.lang.String[] types)
throws SystemException
hasEvents in interface CalEventLocalServiceSystemExceptionpublic void importICal4j(long userId,
long groupId,
java.io.InputStream inputStream)
throws PortalException,
SystemException
importICal4j in interface CalEventLocalServicePortalExceptionSystemExceptionpublic void updateAsset(long userId,
CalEvent event,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
updateAsset in interface CalEventLocalServicePortalExceptionSystemExceptionpublic CalEvent updateEvent(long userId, long eventId, java.lang.String title, java.lang.String description, java.lang.String location, int startDateMonth, int startDateDay, int startDateYear, int startDateHour, int startDateMinute, int durationHour, int durationMinute, boolean allDay, boolean timeZoneSensitive, java.lang.String type, boolean repeating, TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, ServiceContext serviceContext) throws PortalException, SystemException
updateEvent in interface CalEventLocalServicePortalExceptionSystemExceptionpublic CalEvent updateEvent(long userId, long eventId, java.lang.String title, java.lang.String description, java.lang.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, java.lang.String type, boolean repeating, TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, ServiceContext serviceContext) throws PortalException, SystemException
updateEvent(long, long,
String, String, String, int, int, int, int, int, int, int,
boolean, boolean, String, boolean, TZSRecurrence, int, int,
int, ServiceContext)updateEvent in interface CalEventLocalServicePortalExceptionSystemExceptionpublic 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>