Liferay 6.1.2-ce-ga3

com.liferay.portlet.calendar.service.base
Class CalEventLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.calendar.service.base.CalEventLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, CalEventLocalService
Direct Known Subclasses:
CalEventLocalServiceImpl

public abstract class CalEventLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements CalEventLocalService, IdentifiableBean

The base implementation of the cal event local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in CalEventLocalServiceImpl.

See Also:
CalEventLocalServiceImpl, CalEventLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  AssetEntryFinder assetEntryFinder
           
protected  AssetEntryLocalService assetEntryLocalService
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetEntryService assetEntryService
           
protected  AssetLinkLocalService assetLinkLocalService
           
protected  AssetLinkPersistence assetLinkPersistence
           
protected  AssetTagFinder assetTagFinder
           
protected  AssetTagLocalService assetTagLocalService
           
protected  AssetTagPersistence assetTagPersistence
           
protected  AssetTagService assetTagService
           
protected  CalEventFinder calEventFinder
           
protected  CalEventLocalService calEventLocalService
           
protected  CalEventPersistence calEventPersistence
           
protected  CalEventService calEventService
           
protected  CompanyLocalService companyLocalService
           
protected  CompanyPersistence companyPersistence
           
protected  CompanyService companyService
           
protected  CounterLocalService counterLocalService
           
protected  ExpandoValueLocalService expandoValueLocalService
           
protected  ExpandoValuePersistence expandoValuePersistence
           
protected  ExpandoValueService expandoValueService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  GroupService groupService
           
protected  MailService mailService
           
protected  MBMessageFinder mbMessageFinder
           
protected  MBMessageLocalService mbMessageLocalService
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  MBMessageService mbMessageService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  PortletPreferencesFinder portletPreferencesFinder
           
protected  PortletPreferencesLocalService portletPreferencesLocalService
           
protected  PortletPreferencesPersistence portletPreferencesPersistence
           
protected  PortletPreferencesService portletPreferencesService
           
protected  ResourceFinder resourceFinder
           
protected  ResourceLocalService resourceLocalService
           
protected  ResourcePersistence resourcePersistence
           
protected  ResourceService resourceService
           
protected  SocialActivityFinder socialActivityFinder
           
protected  SocialActivityLocalService socialActivityLocalService
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  SubscriptionLocalService subscriptionLocalService
           
protected  SubscriptionPersistence subscriptionPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Constructor Summary
CalEventLocalServiceBaseImpl()
           
 
Method Summary
 CalEvent addCalEvent(CalEvent calEvent)
          Adds the cal event to the database.
 void afterPropertiesSet()
           
 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.
 void destroy()
           
 DynamicQuery dynamicQuery()
           
 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.
 CalEvent fetchCalEvent(long eventId)
           
 AssetEntryFinder getAssetEntryFinder()
          Returns the asset entry finder.
 AssetEntryLocalService getAssetEntryLocalService()
          Returns the asset entry local service.
 AssetEntryPersistence getAssetEntryPersistence()
          Returns the asset entry persistence.
 AssetEntryService getAssetEntryService()
          Returns the asset entry remote service.
 AssetLinkLocalService getAssetLinkLocalService()
          Returns the asset link local service.
 AssetLinkPersistence getAssetLinkPersistence()
          Returns the asset link persistence.
 AssetTagFinder getAssetTagFinder()
          Returns the asset tag finder.
 AssetTagLocalService getAssetTagLocalService()
          Returns the asset tag local service.
 AssetTagPersistence getAssetTagPersistence()
          Returns the asset tag persistence.
 AssetTagService getAssetTagService()
          Returns the asset tag remote service.
 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.
 CalEventFinder getCalEventFinder()
          Returns the cal event finder.
 CalEventLocalService getCalEventLocalService()
          Returns the cal event local service.
 CalEventPersistence getCalEventPersistence()
          Returns the cal event persistence.
 List<CalEvent> getCalEvents(int start, int end)
          Returns a range of all the cal events.
 int getCalEventsCount()
          Returns the number of cal events.
 CalEventService getCalEventService()
          Returns the cal event remote service.
 CompanyLocalService getCompanyLocalService()
          Returns the company local service.
 CompanyPersistence getCompanyPersistence()
          Returns the company persistence.
 CompanyService getCompanyService()
          Returns the company remote service.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 ExpandoValueLocalService getExpandoValueLocalService()
          Returns the expando value local service.
 ExpandoValuePersistence getExpandoValuePersistence()
          Returns the expando value persistence.
 ExpandoValueService getExpandoValueService()
          Returns the expando value remote service.
 GroupFinder getGroupFinder()
          Returns the group finder.
 GroupLocalService getGroupLocalService()
          Returns the group local service.
 GroupPersistence getGroupPersistence()
          Returns the group persistence.
 GroupService getGroupService()
          Returns the group remote service.
 MailService getMailService()
          Returns the mail remote service.
 MBMessageFinder getMBMessageFinder()
          Returns the message-boards message finder.
 MBMessageLocalService getMBMessageLocalService()
          Returns the message-boards message local service.
 MBMessagePersistence getMBMessagePersistence()
          Returns the message-boards message persistence.
 MBMessageService getMBMessageService()
          Returns the message-boards message remote service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 PortletPreferencesFinder getPortletPreferencesFinder()
          Returns the portlet preferences finder.
 PortletPreferencesLocalService getPortletPreferencesLocalService()
          Returns the portlet preferences local service.
 PortletPreferencesPersistence getPortletPreferencesPersistence()
          Returns the portlet preferences persistence.
 PortletPreferencesService getPortletPreferencesService()
          Returns the portlet preferences remote service.
 ResourceFinder getResourceFinder()
          Returns the resource finder.
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 ResourceService getResourceService()
          Returns the resource remote service.
 SocialActivityFinder getSocialActivityFinder()
          Returns the social activity finder.
 SocialActivityLocalService getSocialActivityLocalService()
          Returns the social activity local service.
 SocialActivityPersistence getSocialActivityPersistence()
          Returns the social activity persistence.
 SubscriptionLocalService getSubscriptionLocalService()
          Returns the subscription local service.
 SubscriptionPersistence getSubscriptionPersistence()
          Returns the subscription persistence.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
 UserService getUserService()
          Returns the user remote service.
protected  void runSQL(String sql)
          Performs an SQL query.
 void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
          Sets the asset entry finder.
 void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
          Sets the asset entry local service.
 void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
          Sets the asset entry persistence.
 void setAssetEntryService(AssetEntryService assetEntryService)
          Sets the asset entry remote service.
 void setAssetLinkLocalService(AssetLinkLocalService assetLinkLocalService)
          Sets the asset link local service.
 void setAssetLinkPersistence(AssetLinkPersistence assetLinkPersistence)
          Sets the asset link persistence.
 void setAssetTagFinder(AssetTagFinder assetTagFinder)
          Sets the asset tag finder.
 void setAssetTagLocalService(AssetTagLocalService assetTagLocalService)
          Sets the asset tag local service.
 void setAssetTagPersistence(AssetTagPersistence assetTagPersistence)
          Sets the asset tag persistence.
 void setAssetTagService(AssetTagService assetTagService)
          Sets the asset tag remote service.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCalEventFinder(CalEventFinder calEventFinder)
          Sets the cal event finder.
 void setCalEventLocalService(CalEventLocalService calEventLocalService)
          Sets the cal event local service.
 void setCalEventPersistence(CalEventPersistence calEventPersistence)
          Sets the cal event persistence.
 void setCalEventService(CalEventService calEventService)
          Sets the cal event remote service.
 void setCompanyLocalService(CompanyLocalService companyLocalService)
          Sets the company local service.
 void setCompanyPersistence(CompanyPersistence companyPersistence)
          Sets the company persistence.
 void setCompanyService(CompanyService companyService)
          Sets the company remote service.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setExpandoValueLocalService(ExpandoValueLocalService expandoValueLocalService)
          Sets the expando value local service.
 void setExpandoValuePersistence(ExpandoValuePersistence expandoValuePersistence)
          Sets the expando value persistence.
 void setExpandoValueService(ExpandoValueService expandoValueService)
          Sets the expando value remote service.
 void setGroupFinder(GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(GroupPersistence groupPersistence)
          Sets the group persistence.
 void setGroupService(GroupService groupService)
          Sets the group remote service.
 void setMailService(MailService mailService)
          Sets the mail remote service.
 void setMBMessageFinder(MBMessageFinder mbMessageFinder)
          Sets the message-boards message finder.
 void setMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
          Sets the message-boards message local service.
 void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
          Sets the message-boards message persistence.
 void setMBMessageService(MBMessageService mbMessageService)
          Sets the message-boards message remote service.
 void setPortletPreferencesFinder(PortletPreferencesFinder portletPreferencesFinder)
          Sets the portlet preferences finder.
 void setPortletPreferencesLocalService(PortletPreferencesLocalService portletPreferencesLocalService)
          Sets the portlet preferences local service.
 void setPortletPreferencesPersistence(PortletPreferencesPersistence portletPreferencesPersistence)
          Sets the portlet preferences persistence.
 void setPortletPreferencesService(PortletPreferencesService portletPreferencesService)
          Sets the portlet preferences remote service.
 void setResourceFinder(ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(ResourceService resourceService)
          Sets the resource remote service.
 void setSocialActivityFinder(SocialActivityFinder socialActivityFinder)
          Sets the social activity finder.
 void setSocialActivityLocalService(SocialActivityLocalService socialActivityLocalService)
          Sets the social activity local service.
 void setSocialActivityPersistence(SocialActivityPersistence socialActivityPersistence)
          Sets the social activity persistence.
 void setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
          Sets the subscription local service.
 void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
          Sets the subscription persistence.
 void setUserFinder(UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(UserService userService)
          Sets the user remote service.
 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.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.calendar.service.CalEventLocalService
addEvent, addEvent, addEventResources, addEventResources, addEventResources, addEventResources, checkEvents, deleteEvent, deleteEvent, deleteEvents, exportEvent, exportGroupEvents, getCompanyEvents, getCompanyEventsCount, getEvent, getEvents, getEvents, getEvents, getEvents, getEvents, getEventsCount, getEventsCount, getNoAssetEvents, getRepeatingEvents, getRepeatingEvents, hasEvents, hasEvents, hasEvents, importICal4j, updateAsset, updateEvent, updateEvent
 

Field Detail

calEventLocalService

@BeanReference(type=CalEventLocalService.class)
protected CalEventLocalService calEventLocalService

calEventService

@BeanReference(type=CalEventService.class)
protected CalEventService calEventService

calEventPersistence

@BeanReference(type=CalEventPersistence.class)
protected CalEventPersistence calEventPersistence

calEventFinder

@BeanReference(type=CalEventFinder.class)
protected CalEventFinder calEventFinder

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

mailService

@BeanReference(type=MailService.class)
protected MailService mailService

companyLocalService

@BeanReference(type=CompanyLocalService.class)
protected CompanyLocalService companyLocalService

companyService

@BeanReference(type=CompanyService.class)
protected CompanyService companyService

companyPersistence

@BeanReference(type=CompanyPersistence.class)
protected CompanyPersistence companyPersistence

groupLocalService

@BeanReference(type=GroupLocalService.class)
protected GroupLocalService groupLocalService

groupService

@BeanReference(type=GroupService.class)
protected GroupService groupService

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

groupFinder

@BeanReference(type=GroupFinder.class)
protected GroupFinder groupFinder

portletPreferencesLocalService

@BeanReference(type=PortletPreferencesLocalService.class)
protected PortletPreferencesLocalService portletPreferencesLocalService

portletPreferencesService

@BeanReference(type=PortletPreferencesService.class)
protected PortletPreferencesService portletPreferencesService

portletPreferencesPersistence

@BeanReference(type=PortletPreferencesPersistence.class)
protected PortletPreferencesPersistence portletPreferencesPersistence

portletPreferencesFinder

@BeanReference(type=PortletPreferencesFinder.class)
protected PortletPreferencesFinder portletPreferencesFinder

resourceLocalService

@BeanReference(type=ResourceLocalService.class)
protected ResourceLocalService resourceLocalService

resourceService

@BeanReference(type=ResourceService.class)
protected ResourceService resourceService

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=ResourceFinder.class)
protected ResourceFinder resourceFinder

subscriptionLocalService

@BeanReference(type=SubscriptionLocalService.class)
protected SubscriptionLocalService subscriptionLocalService

subscriptionPersistence

@BeanReference(type=SubscriptionPersistence.class)
protected SubscriptionPersistence subscriptionPersistence

userLocalService

@BeanReference(type=UserLocalService.class)
protected UserLocalService userLocalService

userService

@BeanReference(type=UserService.class)
protected UserService userService

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

userFinder

@BeanReference(type=UserFinder.class)
protected UserFinder userFinder

assetEntryLocalService

@BeanReference(type=AssetEntryLocalService.class)
protected AssetEntryLocalService assetEntryLocalService

assetEntryService

@BeanReference(type=AssetEntryService.class)
protected AssetEntryService assetEntryService

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetEntryFinder

@BeanReference(type=AssetEntryFinder.class)
protected AssetEntryFinder assetEntryFinder

assetLinkLocalService

@BeanReference(type=AssetLinkLocalService.class)
protected AssetLinkLocalService assetLinkLocalService

assetLinkPersistence

@BeanReference(type=AssetLinkPersistence.class)
protected AssetLinkPersistence assetLinkPersistence

assetTagLocalService

@BeanReference(type=AssetTagLocalService.class)
protected AssetTagLocalService assetTagLocalService

assetTagService

@BeanReference(type=AssetTagService.class)
protected AssetTagService assetTagService

assetTagPersistence

@BeanReference(type=AssetTagPersistence.class)
protected AssetTagPersistence assetTagPersistence

assetTagFinder

@BeanReference(type=AssetTagFinder.class)
protected AssetTagFinder assetTagFinder

expandoValueLocalService

@BeanReference(type=ExpandoValueLocalService.class)
protected ExpandoValueLocalService expandoValueLocalService

expandoValueService

@BeanReference(type=ExpandoValueService.class)
protected ExpandoValueService expandoValueService

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence

mbMessageLocalService

@BeanReference(type=MBMessageLocalService.class)
protected MBMessageLocalService mbMessageLocalService

mbMessageService

@BeanReference(type=MBMessageService.class)
protected MBMessageService mbMessageService

mbMessagePersistence

@BeanReference(type=MBMessagePersistence.class)
protected MBMessagePersistence mbMessagePersistence

mbMessageFinder

@BeanReference(type=MBMessageFinder.class)
protected MBMessageFinder mbMessageFinder

socialActivityLocalService

@BeanReference(type=SocialActivityLocalService.class)
protected SocialActivityLocalService socialActivityLocalService

socialActivityPersistence

@BeanReference(type=SocialActivityPersistence.class)
protected SocialActivityPersistence socialActivityPersistence

socialActivityFinder

@BeanReference(type=SocialActivityFinder.class)
protected SocialActivityFinder socialActivityFinder

persistedModelLocalServiceRegistry

@BeanReference(type=PersistedModelLocalServiceRegistry.class)
protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

CalEventLocalServiceBaseImpl

public CalEventLocalServiceBaseImpl()
Method Detail

addCalEvent

@Indexable(type=REINDEX)
public CalEvent addCalEvent(CalEvent calEvent)
                     throws SystemException
Adds the cal event to the database. Also notifies the appropriate model listeners.

Specified by:
addCalEvent in interface CalEventLocalService
Parameters:
calEvent - the cal event
Returns:
the cal event that was added
Throws:
SystemException - if a system exception occurred

createCalEvent

public CalEvent createCalEvent(long eventId)
Creates a new cal event with the primary key. Does not add the cal event to the database.

Specified by:
createCalEvent in interface CalEventLocalService
Parameters:
eventId - the primary key for the new cal event
Returns:
the new cal event

deleteCalEvent

@Indexable(type=DELETE)
public CalEvent deleteCalEvent(long eventId)
                        throws PortalException,
                               SystemException
Deletes the cal event with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteCalEvent in interface CalEventLocalService
Parameters:
eventId - the primary key of the cal event
Returns:
the cal event that was removed
Throws:
PortalException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

deleteCalEvent

@Indexable(type=DELETE)
public CalEvent deleteCalEvent(CalEvent calEvent)
                        throws SystemException
Deletes the cal event from the database. Also notifies the appropriate model listeners.

Specified by:
deleteCalEvent in interface CalEventLocalService
Parameters:
calEvent - the cal event
Returns:
the cal event that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface CalEventLocalService

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface CalEventLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

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.

Specified by:
dynamicQuery in interface CalEventLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

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.

Specified by:
dynamicQuery in interface CalEventLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface CalEventLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchCalEvent

public CalEvent fetchCalEvent(long eventId)
                       throws SystemException
Specified by:
fetchCalEvent in interface CalEventLocalService
Throws:
SystemException

getCalEvent

public CalEvent getCalEvent(long eventId)
                     throws PortalException,
                            SystemException
Returns the cal event with the primary key.

Specified by:
getCalEvent in interface CalEventLocalService
Parameters:
eventId - the primary key of the cal event
Returns:
the cal event
Throws:
PortalException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException,
                                        SystemException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface CalEventLocalService
Throws:
PortalException
SystemException

getCalEventByUuidAndGroupId

public CalEvent getCalEventByUuidAndGroupId(String uuid,
                                            long groupId)
                                     throws PortalException,
                                            SystemException
Returns the cal event with the UUID in the group.

Specified by:
getCalEventByUuidAndGroupId in interface CalEventLocalService
Parameters:
uuid - the UUID of cal event
groupId - the group id of the cal event
Returns:
the cal event
Throws:
PortalException - if a cal event with the UUID in the group could not be found
SystemException - if a system exception occurred

getCalEvents

public List<CalEvent> getCalEvents(int start,
                                   int end)
                            throws SystemException
Returns a range of all the cal events.

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.

Specified by:
getCalEvents in interface CalEventLocalService
Parameters:
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of cal events
Throws:
SystemException - if a system exception occurred

getCalEventsCount

public int getCalEventsCount()
                      throws SystemException
Returns the number of cal events.

Specified by:
getCalEventsCount in interface CalEventLocalService
Returns:
the number of cal events
Throws:
SystemException - if a system exception occurred

updateCalEvent

@Indexable(type=REINDEX)
public CalEvent updateCalEvent(CalEvent calEvent)
                        throws SystemException
Updates the cal event in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateCalEvent in interface CalEventLocalService
Parameters:
calEvent - the cal event
Returns:
the cal event that was updated
Throws:
SystemException - if a system exception occurred

updateCalEvent

@Indexable(type=REINDEX)
public CalEvent updateCalEvent(CalEvent calEvent,
                                                    boolean merge)
                        throws SystemException
Updates the cal event in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateCalEvent in interface CalEventLocalService
Parameters:
calEvent - the cal event
merge - 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.
Returns:
the cal event that was updated
Throws:
SystemException - if a system exception occurred

getCalEventLocalService

public CalEventLocalService getCalEventLocalService()
Returns the cal event local service.

Returns:
the cal event local service

setCalEventLocalService

public void setCalEventLocalService(CalEventLocalService calEventLocalService)
Sets the cal event local service.

Parameters:
calEventLocalService - the cal event local service

getCalEventService

public CalEventService getCalEventService()
Returns the cal event remote service.

Returns:
the cal event remote service

setCalEventService

public void setCalEventService(CalEventService calEventService)
Sets the cal event remote service.

Parameters:
calEventService - the cal event remote service

getCalEventPersistence

public CalEventPersistence getCalEventPersistence()
Returns the cal event persistence.

Returns:
the cal event persistence

setCalEventPersistence

public void setCalEventPersistence(CalEventPersistence calEventPersistence)
Sets the cal event persistence.

Parameters:
calEventPersistence - the cal event persistence

getCalEventFinder

public CalEventFinder getCalEventFinder()
Returns the cal event finder.

Returns:
the cal event finder

setCalEventFinder

public void setCalEventFinder(CalEventFinder calEventFinder)
Sets the cal event finder.

Parameters:
calEventFinder - the cal event finder

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getMailService

public MailService getMailService()
Returns the mail remote service.

Returns:
the mail remote service

setMailService

public void setMailService(MailService mailService)
Sets the mail remote service.

Parameters:
mailService - the mail remote service

getCompanyLocalService

public CompanyLocalService getCompanyLocalService()
Returns the company local service.

Returns:
the company local service

setCompanyLocalService

public void setCompanyLocalService(CompanyLocalService companyLocalService)
Sets the company local service.

Parameters:
companyLocalService - the company local service

getCompanyService

public CompanyService getCompanyService()
Returns the company remote service.

Returns:
the company remote service

setCompanyService

public void setCompanyService(CompanyService companyService)
Sets the company remote service.

Parameters:
companyService - the company remote service

getCompanyPersistence

public CompanyPersistence getCompanyPersistence()
Returns the company persistence.

Returns:
the company persistence

setCompanyPersistence

public void setCompanyPersistence(CompanyPersistence companyPersistence)
Sets the company persistence.

Parameters:
companyPersistence - the company persistence

getGroupLocalService

public GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

public void setGroupLocalService(GroupLocalService groupLocalService)
Sets the group local service.

Parameters:
groupLocalService - the group local service

getGroupService

public GroupService getGroupService()
Returns the group remote service.

Returns:
the group remote service

setGroupService

public void setGroupService(GroupService groupService)
Sets the group remote service.

Parameters:
groupService - the group remote service

getGroupPersistence

public GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

public void setGroupPersistence(GroupPersistence groupPersistence)
Sets the group persistence.

Parameters:
groupPersistence - the group persistence

getGroupFinder

public GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

public void setGroupFinder(GroupFinder groupFinder)
Sets the group finder.

Parameters:
groupFinder - the group finder

getPortletPreferencesLocalService

public PortletPreferencesLocalService getPortletPreferencesLocalService()
Returns the portlet preferences local service.

Returns:
the portlet preferences local service

setPortletPreferencesLocalService

public void setPortletPreferencesLocalService(PortletPreferencesLocalService portletPreferencesLocalService)
Sets the portlet preferences local service.

Parameters:
portletPreferencesLocalService - the portlet preferences local service

getPortletPreferencesService

public PortletPreferencesService getPortletPreferencesService()
Returns the portlet preferences remote service.

Returns:
the portlet preferences remote service

setPortletPreferencesService

public void setPortletPreferencesService(PortletPreferencesService portletPreferencesService)
Sets the portlet preferences remote service.

Parameters:
portletPreferencesService - the portlet preferences remote service

getPortletPreferencesPersistence

public PortletPreferencesPersistence getPortletPreferencesPersistence()
Returns the portlet preferences persistence.

Returns:
the portlet preferences persistence

setPortletPreferencesPersistence

public void setPortletPreferencesPersistence(PortletPreferencesPersistence portletPreferencesPersistence)
Sets the portlet preferences persistence.

Parameters:
portletPreferencesPersistence - the portlet preferences persistence

getPortletPreferencesFinder

public PortletPreferencesFinder getPortletPreferencesFinder()
Returns the portlet preferences finder.

Returns:
the portlet preferences finder

setPortletPreferencesFinder

public void setPortletPreferencesFinder(PortletPreferencesFinder portletPreferencesFinder)
Sets the portlet preferences finder.

Parameters:
portletPreferencesFinder - the portlet preferences finder

getResourceLocalService

public ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getResourceService

public ResourceService getResourceService()
Returns the resource remote service.

Returns:
the resource remote service

setResourceService

public void setResourceService(ResourceService resourceService)
Sets the resource remote service.

Parameters:
resourceService - the resource remote service

getResourcePersistence

public ResourcePersistence getResourcePersistence()
Returns the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public ResourceFinder getResourceFinder()
Returns the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

getSubscriptionLocalService

public SubscriptionLocalService getSubscriptionLocalService()
Returns the subscription local service.

Returns:
the subscription local service

setSubscriptionLocalService

public void setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
Sets the subscription local service.

Parameters:
subscriptionLocalService - the subscription local service

getSubscriptionPersistence

public SubscriptionPersistence getSubscriptionPersistence()
Returns the subscription persistence.

Returns:
the subscription persistence

setSubscriptionPersistence

public void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
Sets the subscription persistence.

Parameters:
subscriptionPersistence - the subscription persistence

getUserLocalService

public UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserService

public UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

public void setUserService(UserService userService)
Sets the user remote service.

Parameters:
userService - the user remote service

getUserPersistence

public UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

getAssetEntryLocalService

public AssetEntryLocalService getAssetEntryLocalService()
Returns the asset entry local service.

Returns:
the asset entry local service

setAssetEntryLocalService

public void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
Sets the asset entry local service.

Parameters:
assetEntryLocalService - the asset entry local service

getAssetEntryService

public AssetEntryService getAssetEntryService()
Returns the asset entry remote service.

Returns:
the asset entry remote service

setAssetEntryService

public void setAssetEntryService(AssetEntryService assetEntryService)
Sets the asset entry remote service.

Parameters:
assetEntryService - the asset entry remote service

getAssetEntryPersistence

public AssetEntryPersistence getAssetEntryPersistence()
Returns the asset entry persistence.

Returns:
the asset entry persistence

setAssetEntryPersistence

public void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
Sets the asset entry persistence.

Parameters:
assetEntryPersistence - the asset entry persistence

getAssetEntryFinder

public AssetEntryFinder getAssetEntryFinder()
Returns the asset entry finder.

Returns:
the asset entry finder

setAssetEntryFinder

public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
Sets the asset entry finder.

Parameters:
assetEntryFinder - the asset entry finder

getAssetLinkLocalService

public AssetLinkLocalService getAssetLinkLocalService()
Returns the asset link local service.

Returns:
the asset link local service

setAssetLinkLocalService

public void setAssetLinkLocalService(AssetLinkLocalService assetLinkLocalService)
Sets the asset link local service.

Parameters:
assetLinkLocalService - the asset link local service

getAssetLinkPersistence

public AssetLinkPersistence getAssetLinkPersistence()
Returns the asset link persistence.

Returns:
the asset link persistence

setAssetLinkPersistence

public void setAssetLinkPersistence(AssetLinkPersistence assetLinkPersistence)
Sets the asset link persistence.

Parameters:
assetLinkPersistence - the asset link persistence

getAssetTagLocalService

public AssetTagLocalService getAssetTagLocalService()
Returns the asset tag local service.

Returns:
the asset tag local service

setAssetTagLocalService

public void setAssetTagLocalService(AssetTagLocalService assetTagLocalService)
Sets the asset tag local service.

Parameters:
assetTagLocalService - the asset tag local service

getAssetTagService

public AssetTagService getAssetTagService()
Returns the asset tag remote service.

Returns:
the asset tag remote service

setAssetTagService

public void setAssetTagService(AssetTagService assetTagService)
Sets the asset tag remote service.

Parameters:
assetTagService - the asset tag remote service

getAssetTagPersistence

public AssetTagPersistence getAssetTagPersistence()
Returns the asset tag persistence.

Returns:
the asset tag persistence

setAssetTagPersistence

public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence)
Sets the asset tag persistence.

Parameters:
assetTagPersistence - the asset tag persistence

getAssetTagFinder

public AssetTagFinder getAssetTagFinder()
Returns the asset tag finder.

Returns:
the asset tag finder

setAssetTagFinder

public void setAssetTagFinder(AssetTagFinder assetTagFinder)
Sets the asset tag finder.

Parameters:
assetTagFinder - the asset tag finder

getExpandoValueLocalService

public ExpandoValueLocalService getExpandoValueLocalService()
Returns the expando value local service.

Returns:
the expando value local service

setExpandoValueLocalService

public void setExpandoValueLocalService(ExpandoValueLocalService expandoValueLocalService)
Sets the expando value local service.

Parameters:
expandoValueLocalService - the expando value local service

getExpandoValueService

public ExpandoValueService getExpandoValueService()
Returns the expando value remote service.

Returns:
the expando value remote service

setExpandoValueService

public void setExpandoValueService(ExpandoValueService expandoValueService)
Sets the expando value remote service.

Parameters:
expandoValueService - the expando value remote service

getExpandoValuePersistence

public ExpandoValuePersistence getExpandoValuePersistence()
Returns the expando value persistence.

Returns:
the expando value persistence

setExpandoValuePersistence

public void setExpandoValuePersistence(ExpandoValuePersistence expandoValuePersistence)
Sets the expando value persistence.

Parameters:
expandoValuePersistence - the expando value persistence

getMBMessageLocalService

public MBMessageLocalService getMBMessageLocalService()
Returns the message-boards message local service.

Returns:
the message-boards message local service

setMBMessageLocalService

public void setMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
Sets the message-boards message local service.

Parameters:
mbMessageLocalService - the message-boards message local service

getMBMessageService

public MBMessageService getMBMessageService()
Returns the message-boards message remote service.

Returns:
the message-boards message remote service

setMBMessageService

public void setMBMessageService(MBMessageService mbMessageService)
Sets the message-boards message remote service.

Parameters:
mbMessageService - the message-boards message remote service

getMBMessagePersistence

public MBMessagePersistence getMBMessagePersistence()
Returns the message-boards message persistence.

Returns:
the message-boards message persistence

setMBMessagePersistence

public void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
Sets the message-boards message persistence.

Parameters:
mbMessagePersistence - the message-boards message persistence

getMBMessageFinder

public MBMessageFinder getMBMessageFinder()
Returns the message-boards message finder.

Returns:
the message-boards message finder

setMBMessageFinder

public void setMBMessageFinder(MBMessageFinder mbMessageFinder)
Sets the message-boards message finder.

Parameters:
mbMessageFinder - the message-boards message finder

getSocialActivityLocalService

public SocialActivityLocalService getSocialActivityLocalService()
Returns the social activity local service.

Returns:
the social activity local service

setSocialActivityLocalService

public void setSocialActivityLocalService(SocialActivityLocalService socialActivityLocalService)
Sets the social activity local service.

Parameters:
socialActivityLocalService - the social activity local service

getSocialActivityPersistence

public SocialActivityPersistence getSocialActivityPersistence()
Returns the social activity persistence.

Returns:
the social activity persistence

setSocialActivityPersistence

public void setSocialActivityPersistence(SocialActivityPersistence socialActivityPersistence)
Sets the social activity persistence.

Parameters:
socialActivityPersistence - the social activity persistence

getSocialActivityFinder

public SocialActivityFinder getSocialActivityFinder()
Returns the social activity finder.

Returns:
the social activity finder

setSocialActivityFinder

public void setSocialActivityFinder(SocialActivityFinder socialActivityFinder)
Sets the social activity finder.

Parameters:
socialActivityFinder - the social activity finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface IdentifiableBean
Specified by:
getBeanIdentifier in interface CalEventLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface IdentifiableBean
Specified by:
setBeanIdentifier in interface CalEventLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
               throws SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
SystemException

Liferay 6.1.2-ce-ga3