|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.calendar.service.CalEventLocalServiceWrapper
@Deprecated @ProviderType public class CalEventLocalServiceWrapper
Provides a wrapper for CalEventLocalService.
CalEventLocalService| Constructor Summary | |
|---|---|
CalEventLocalServiceWrapper(CalEventLocalService calEventLocalService)
Deprecated. |
|
| Method Summary | ||
|---|---|---|
CalEvent |
addCalEvent(CalEvent calEvent)
Deprecated. 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 durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
Deprecated. |
|
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)
Deprecated. As of 6.2.0, replaced by addEvent(long, String,
String, String, int, int, int, int, int, int, int, boolean,
boolean, String, boolean, TZSRecurrence, int, int, int,
ServiceContext) |
|
void |
addEventResources(CalEvent event,
boolean addGroupPermissions,
boolean addGuestPermissions)
Deprecated. |
|
void |
addEventResources(CalEvent event,
ModelPermissions modelPermissions)
Deprecated. |
|
void |
addEventResources(long eventId,
boolean addGroupPermissions,
boolean addGuestPermissions)
Deprecated. |
|
void |
addEventResources(long eventId,
ModelPermissions modelPermissions)
Deprecated. |
|
void |
checkEvents()
Deprecated. |
|
CalEvent |
createCalEvent(long eventId)
Deprecated. Creates a new cal event with the primary key. |
|
CalEvent |
deleteCalEvent(CalEvent calEvent)
Deprecated. Deletes the cal event from the database. |
|
CalEvent |
deleteCalEvent(long eventId)
Deprecated. Deletes the cal event with the primary key from the database. |
|
CalEvent |
deleteEvent(CalEvent event)
Deprecated. |
|
CalEvent |
deleteEvent(long eventId)
Deprecated. |
|
void |
deleteEvents(long groupId)
Deprecated. |
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
Deprecated. |
|
DynamicQuery |
dynamicQuery()
Deprecated. |
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Deprecated. Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Deprecated. Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Deprecated. Performs a dynamic query on the database and returns an ordered range of the matching rows. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Deprecated. Returns the number of rows matching the dynamic query. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Deprecated. Returns the number of rows matching the dynamic query. |
|
File |
exportEvent(long userId,
long eventId)
Deprecated. |
|
File |
exportEvents(long userId,
List<CalEvent> events,
String fileName)
Deprecated. |
|
File |
exportGroupEvents(long userId,
long groupId,
String fileName)
Deprecated. |
|
CalEvent |
fetchCalEvent(long eventId)
Deprecated. |
|
CalEvent |
fetchCalEventByUuidAndGroupId(String uuid,
long groupId)
Deprecated. Returns the cal event matching the UUID and group. |
|
ActionableDynamicQuery |
getActionableDynamicQuery()
Deprecated. |
|
CalEvent |
getCalEvent(long eventId)
Deprecated. Returns the cal event with the primary key. |
|
CalEvent |
getCalEventByUuidAndGroupId(String uuid,
long groupId)
Deprecated. Returns the cal event matching the UUID and group. |
|
List<CalEvent> |
getCalEvents(int start,
int end)
Deprecated. Returns a range of all the cal events. |
|
List<CalEvent> |
getCalEventsByUuidAndCompanyId(String uuid,
long companyId)
Deprecated. Returns all the cal events matching the UUID and company. |
|
List<CalEvent> |
getCalEventsByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns a range of cal events matching the UUID and company. |
|
int |
getCalEventsCount()
Deprecated. Returns the number of cal events. |
|
List<CalEvent> |
getCompanyEvents(long companyId,
int start,
int end)
Deprecated. |
|
int |
getCompanyEventsCount(long companyId)
Deprecated. |
|
CalEvent |
getEvent(long eventId)
Deprecated. |
|
List<CalEvent> |
getEvents(long groupId,
Calendar cal)
Deprecated. |
|
List<CalEvent> |
getEvents(long groupId,
Calendar cal,
String type)
Deprecated. |
|
List<CalEvent> |
getEvents(long groupId,
Calendar cal,
String[] types)
Deprecated. |
|
List<CalEvent> |
getEvents(long groupId,
String[] types,
int start,
int end)
Deprecated. |
|
List<CalEvent> |
getEvents(long groupId,
String type,
int start,
int end)
Deprecated. |
|
int |
getEventsCount(long groupId,
String type)
Deprecated. |
|
int |
getEventsCount(long groupId,
String[] types)
Deprecated. |
|
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext)
Deprecated. |
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
Deprecated. |
|
List<CalEvent> |
getNoAssetEvents()
Deprecated. |
|
String |
getOSGiServiceIdentifier()
Deprecated. Returns the OSGi service identifier. |
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
Deprecated. |
|
List<CalEvent> |
getRepeatingEvents(long groupId)
Deprecated. |
|
List<CalEvent> |
getRepeatingEvents(long groupId,
Calendar cal,
String[] types)
Deprecated. |
|
CalEventLocalService |
getWrappedService()
Deprecated. |
|
boolean |
hasEvents(long groupId,
Calendar cal)
Deprecated. |
|
boolean |
hasEvents(long groupId,
Calendar cal,
String type)
Deprecated. |
|
boolean |
hasEvents(long groupId,
Calendar cal,
String[] types)
Deprecated. |
|
void |
importICal4j(long userId,
long groupId,
InputStream inputStream)
Deprecated. |
|
void |
setWrappedService(CalEventLocalService calEventLocalService)
Deprecated. |
|
void |
updateAsset(long userId,
CalEvent event,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
Deprecated. |
|
CalEvent |
updateCalEvent(CalEvent calEvent)
Deprecated. 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 durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
Deprecated. |
|
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)
Deprecated. As of 6.2.0, replaced by updateEvent(long, long,
String, String, String, int, int, int, int, int, int, int,
boolean, boolean, String, boolean, TZSRecurrence, int, int,
int, 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)
addCalEvent in interface CalEventLocalServicecalEvent - the cal event
public CalEvent addEvent(long userId,
String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
throws PortalException
addEvent in interface CalEventLocalServicePortalException
@Deprecated
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
addEvent(long, String,
String, String, int, int, int, int, int, int, int, boolean,
boolean, String, boolean, TZSRecurrence, int, int, int,
ServiceContext)
addEvent in interface CalEventLocalServicePortalException
public void addEventResources(CalEvent event,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
addEventResources in interface CalEventLocalServicePortalException
public void addEventResources(CalEvent event,
ModelPermissions modelPermissions)
throws PortalException
addEventResources in interface CalEventLocalServicePortalException
public void addEventResources(long eventId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
addEventResources in interface CalEventLocalServicePortalException
public void addEventResources(long eventId,
ModelPermissions modelPermissions)
throws PortalException
addEventResources in interface CalEventLocalServicePortalExceptionpublic void checkEvents()
checkEvents in interface CalEventLocalServicepublic CalEvent createCalEvent(long eventId)
createCalEvent in interface CalEventLocalServiceeventId - the primary key for the new cal event
public CalEvent deleteCalEvent(CalEvent calEvent)
deleteCalEvent in interface CalEventLocalServicecalEvent - the cal event
public CalEvent deleteCalEvent(long eventId)
throws PortalException
deleteCalEvent in interface CalEventLocalServiceeventId - the primary key of the cal event
PortalException - if a cal event with the primary key could not be found
public CalEvent deleteEvent(CalEvent event)
throws PortalException
deleteEvent in interface CalEventLocalServicePortalException
public CalEvent deleteEvent(long eventId)
throws PortalException
deleteEvent in interface CalEventLocalServicePortalException
public void deleteEvents(long groupId)
throws PortalException
deleteEvents in interface CalEventLocalServicePortalException
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface CalEventLocalServicePortalExceptionpublic DynamicQuery dynamicQuery()
dynamicQuery in interface CalEventLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface CalEventLocalServicedynamicQuery - the dynamic query
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
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 com.liferay.portlet.calendar.model.impl.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)
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
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 com.liferay.portlet.calendar.model.impl.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)
public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface CalEventLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface CalEventLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public File exportEvent(long userId,
long eventId)
throws PortalException
exportEvent in interface CalEventLocalServicePortalException
public File exportEvents(long userId,
List<CalEvent> events,
String fileName)
throws PortalException
exportEvents in interface CalEventLocalServicePortalException
public File exportGroupEvents(long userId,
long groupId,
String fileName)
throws PortalException
exportGroupEvents in interface CalEventLocalServicePortalExceptionpublic CalEvent fetchCalEvent(long eventId)
fetchCalEvent in interface CalEventLocalService
public CalEvent fetchCalEventByUuidAndGroupId(String uuid,
long groupId)
fetchCalEventByUuidAndGroupId in interface CalEventLocalServiceuuid - the cal event's UUIDgroupId - the primary key of the group
null if a matching cal event could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CalEventLocalService
public CalEvent getCalEvent(long eventId)
throws PortalException
getCalEvent in interface CalEventLocalServiceeventId - the primary key of the cal event
PortalException - if a cal event with the primary key could not be found
public CalEvent getCalEventByUuidAndGroupId(String uuid,
long groupId)
throws PortalException
getCalEventByUuidAndGroupId in interface CalEventLocalServiceuuid - the cal event's UUIDgroupId - the primary key of the group
PortalException - if a matching cal event could not be found
public List<CalEvent> getCalEvents(int start,
int end)
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 com.liferay.portlet.calendar.model.impl.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)
public List<CalEvent> getCalEventsByUuidAndCompanyId(String uuid,
long companyId)
getCalEventsByUuidAndCompanyId in interface CalEventLocalServiceuuid - the UUID of the cal eventscompanyId - the primary key of the company
public List<CalEvent> getCalEventsByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator)
getCalEventsByUuidAndCompanyId in interface CalEventLocalServiceuuid - the UUID of the cal eventscompanyId - the primary key of the companystart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public int getCalEventsCount()
getCalEventsCount in interface CalEventLocalService
public List<CalEvent> getCompanyEvents(long companyId,
int start,
int end)
getCompanyEvents in interface CalEventLocalServicepublic int getCompanyEventsCount(long companyId)
getCompanyEventsCount in interface CalEventLocalService
public CalEvent getEvent(long eventId)
throws PortalException
getEvent in interface CalEventLocalServicePortalException
public List<CalEvent> getEvents(long groupId,
Calendar cal)
getEvents in interface CalEventLocalService
public List<CalEvent> getEvents(long groupId,
Calendar cal,
String type)
getEvents in interface CalEventLocalService
public List<CalEvent> getEvents(long groupId,
Calendar cal,
String[] types)
getEvents in interface CalEventLocalService
public List<CalEvent> getEvents(long groupId,
String type,
int start,
int end)
getEvents in interface CalEventLocalService
public List<CalEvent> getEvents(long groupId,
String[] types,
int start,
int end)
getEvents in interface CalEventLocalService
public int getEventsCount(long groupId,
String type)
getEventsCount in interface CalEventLocalService
public int getEventsCount(long groupId,
String[] types)
getEventsCount in interface CalEventLocalServicepublic ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface CalEventLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CalEventLocalServicepublic List<CalEvent> getNoAssetEvents()
getNoAssetEvents in interface CalEventLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CalEventLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface CalEventLocalServicePortalExceptionpublic List<CalEvent> getRepeatingEvents(long groupId)
getRepeatingEvents in interface CalEventLocalService
public List<CalEvent> getRepeatingEvents(long groupId,
Calendar cal,
String[] types)
getRepeatingEvents in interface CalEventLocalService
public boolean hasEvents(long groupId,
Calendar cal)
hasEvents in interface CalEventLocalService
public boolean hasEvents(long groupId,
Calendar cal,
String type)
hasEvents in interface CalEventLocalService
public boolean hasEvents(long groupId,
Calendar cal,
String[] types)
hasEvents in interface CalEventLocalService
public void importICal4j(long userId,
long groupId,
InputStream inputStream)
throws PortalException
importICal4j in interface CalEventLocalServicePortalException
public void updateAsset(long userId,
CalEvent event,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException
updateAsset in interface CalEventLocalServicePortalExceptionpublic CalEvent updateCalEvent(CalEvent calEvent)
updateCalEvent in interface CalEventLocalServicecalEvent - the cal event
public CalEvent updateEvent(long userId,
long eventId,
String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
throws PortalException
updateEvent in interface CalEventLocalServicePortalException
@Deprecated
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
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 CalEventLocalServicePortalExceptionpublic CalEventLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<CalEventLocalService>public void setWrappedService(CalEventLocalService calEventLocalService)
setWrappedService in interface ServiceWrapper<CalEventLocalService>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||