Liferay 7.0-ce-b4

com.liferay.portlet.announcements.service.base
Class AnnouncementsEntryLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.announcements.service.base.AnnouncementsEntryLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, AnnouncementsEntryLocalService
Direct Known Subclasses:
AnnouncementsEntryLocalServiceImpl

@ProviderType
public abstract class AnnouncementsEntryLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements AnnouncementsEntryLocalService, IdentifiableOSGiService

Provides the base implementation for the announcements entry 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 AnnouncementsEntryLocalServiceImpl.

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

Field Summary
protected  AnnouncementsDeliveryLocalService announcementsDeliveryLocalService
           
protected  AnnouncementsDeliveryPersistence announcementsDeliveryPersistence
           
protected  AnnouncementsEntryFinder announcementsEntryFinder
           
protected  AnnouncementsEntryLocalService announcementsEntryLocalService
           
protected  AnnouncementsEntryPersistence announcementsEntryPersistence
           
protected  AnnouncementsFlagLocalService announcementsFlagLocalService
           
protected  AnnouncementsFlagPersistence announcementsFlagPersistence
           
protected  CompanyLocalService companyLocalService
           
protected  CompanyPersistence companyPersistence
           
protected  CounterLocalService counterLocalService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  OrganizationFinder organizationFinder
           
protected  OrganizationLocalService organizationLocalService
           
protected  OrganizationPersistence organizationPersistence
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  ResourceLocalService resourceLocalService
           
protected  RoleFinder roleFinder
           
protected  RoleLocalService roleLocalService
           
protected  RolePersistence rolePersistence
           
protected  TeamFinder teamFinder
           
protected  TeamLocalService teamLocalService
           
protected  TeamPersistence teamPersistence
           
protected  UserFinder userFinder
           
protected  UserGroupFinder userGroupFinder
           
protected  UserGroupLocalService userGroupLocalService
           
protected  UserGroupPersistence userGroupPersistence
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
 
Constructor Summary
AnnouncementsEntryLocalServiceBaseImpl()
           
 
Method Summary
 AnnouncementsEntry addAnnouncementsEntry(AnnouncementsEntry announcementsEntry)
          Adds the announcements entry to the database.
 void afterPropertiesSet()
           
 AnnouncementsEntry createAnnouncementsEntry(long entryId)
          Creates a new announcements entry with the primary key.
 AnnouncementsEntry deleteAnnouncementsEntry(AnnouncementsEntry announcementsEntry)
          Deletes the announcements entry from the database.
 AnnouncementsEntry deleteAnnouncementsEntry(long entryId)
          Deletes the announcements entry with the primary key from the database.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 void destroy()
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> 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 matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 AnnouncementsEntry fetchAnnouncementsEntry(long entryId)
           
 AnnouncementsEntry fetchAnnouncementsEntryByUuidAndCompanyId(String uuid, long companyId)
          Returns the announcements entry with the matching UUID and company.
 ActionableDynamicQuery getActionableDynamicQuery()
           
 AnnouncementsDeliveryLocalService getAnnouncementsDeliveryLocalService()
          Returns the announcements delivery local service.
 AnnouncementsDeliveryPersistence getAnnouncementsDeliveryPersistence()
          Returns the announcements delivery persistence.
 List<AnnouncementsEntry> getAnnouncementsEntries(int start, int end)
          Returns a range of all the announcements entries.
 int getAnnouncementsEntriesCount()
          Returns the number of announcements entries.
 AnnouncementsEntry getAnnouncementsEntry(long entryId)
          Returns the announcements entry with the primary key.
 AnnouncementsEntry getAnnouncementsEntryByUuidAndCompanyId(String uuid, long companyId)
          Returns the announcements entry with the matching UUID and company.
 AnnouncementsEntryFinder getAnnouncementsEntryFinder()
          Returns the announcements entry finder.
 AnnouncementsEntryLocalService getAnnouncementsEntryLocalService()
          Returns the announcements entry local service.
 AnnouncementsEntryPersistence getAnnouncementsEntryPersistence()
          Returns the announcements entry persistence.
 AnnouncementsFlagLocalService getAnnouncementsFlagLocalService()
          Returns the announcements flag local service.
 AnnouncementsFlagPersistence getAnnouncementsFlagPersistence()
          Returns the announcements flag persistence.
 CompanyLocalService getCompanyLocalService()
          Returns the company local service.
 CompanyPersistence getCompanyPersistence()
          Returns the company persistence.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
 GroupFinder getGroupFinder()
          Returns the group finder.
 GroupLocalService getGroupLocalService()
          Returns the group local service.
 GroupPersistence getGroupPersistence()
          Returns the group persistence.
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 OrganizationFinder getOrganizationFinder()
          Returns the organization finder.
 OrganizationLocalService getOrganizationLocalService()
          Returns the organization local service.
 OrganizationPersistence getOrganizationPersistence()
          Returns the organization persistence.
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 RoleFinder getRoleFinder()
          Returns the role finder.
 RoleLocalService getRoleLocalService()
          Returns the role local service.
 RolePersistence getRolePersistence()
          Returns the role persistence.
 TeamFinder getTeamFinder()
          Returns the team finder.
 TeamLocalService getTeamLocalService()
          Returns the team local service.
 TeamPersistence getTeamPersistence()
          Returns the team persistence.
 UserFinder getUserFinder()
          Returns the user finder.
 UserGroupFinder getUserGroupFinder()
          Returns the user group finder.
 UserGroupLocalService getUserGroupLocalService()
          Returns the user group local service.
 UserGroupPersistence getUserGroupPersistence()
          Returns the user group persistence.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setAnnouncementsDeliveryLocalService(AnnouncementsDeliveryLocalService announcementsDeliveryLocalService)
          Sets the announcements delivery local service.
 void setAnnouncementsDeliveryPersistence(AnnouncementsDeliveryPersistence announcementsDeliveryPersistence)
          Sets the announcements delivery persistence.
 void setAnnouncementsEntryFinder(AnnouncementsEntryFinder announcementsEntryFinder)
          Sets the announcements entry finder.
 void setAnnouncementsEntryLocalService(AnnouncementsEntryLocalService announcementsEntryLocalService)
          Sets the announcements entry local service.
 void setAnnouncementsEntryPersistence(AnnouncementsEntryPersistence announcementsEntryPersistence)
          Sets the announcements entry persistence.
 void setAnnouncementsFlagLocalService(AnnouncementsFlagLocalService announcementsFlagLocalService)
          Sets the announcements flag local service.
 void setAnnouncementsFlagPersistence(AnnouncementsFlagPersistence announcementsFlagPersistence)
          Sets the announcements flag persistence.
 void setCompanyLocalService(CompanyLocalService companyLocalService)
          Sets the company local service.
 void setCompanyPersistence(CompanyPersistence companyPersistence)
          Sets the company persistence.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local 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 setOrganizationFinder(OrganizationFinder organizationFinder)
          Sets the organization finder.
 void setOrganizationLocalService(OrganizationLocalService organizationLocalService)
          Sets the organization local service.
 void setOrganizationPersistence(OrganizationPersistence organizationPersistence)
          Sets the organization persistence.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setRoleFinder(RoleFinder roleFinder)
          Sets the role finder.
 void setRoleLocalService(RoleLocalService roleLocalService)
          Sets the role local service.
 void setRolePersistence(RolePersistence rolePersistence)
          Sets the role persistence.
 void setTeamFinder(TeamFinder teamFinder)
          Sets the team finder.
 void setTeamLocalService(TeamLocalService teamLocalService)
          Sets the team local service.
 void setTeamPersistence(TeamPersistence teamPersistence)
          Sets the team persistence.
 void setUserFinder(UserFinder userFinder)
          Sets the user finder.
 void setUserGroupFinder(UserGroupFinder userGroupFinder)
          Sets the user group finder.
 void setUserGroupLocalService(UserGroupLocalService userGroupLocalService)
          Sets the user group local service.
 void setUserGroupPersistence(UserGroupPersistence userGroupPersistence)
          Sets the user group persistence.
 void setUserLocalService(UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(UserPersistence userPersistence)
          Sets the user persistence.
 AnnouncementsEntry updateAnnouncementsEntry(AnnouncementsEntry announcementsEntry)
          Updates the announcements entry in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
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.announcements.service.AnnouncementsEntryLocalService
addEntry, addEntry, checkEntries, deleteEntry, deleteEntry, getEntries, getEntries, getEntries, getEntries, getEntriesCount, getEntriesCount, getEntriesCount, getEntriesCount, getEntriesCount, getEntry, getUserEntries, getUserEntriesCount, updateEntry
 

Field Detail

announcementsEntryLocalService

@BeanReference(type=AnnouncementsEntryLocalService.class)
protected AnnouncementsEntryLocalService announcementsEntryLocalService

announcementsEntryPersistence

@BeanReference(type=AnnouncementsEntryPersistence.class)
protected AnnouncementsEntryPersistence announcementsEntryPersistence

announcementsEntryFinder

@BeanReference(type=AnnouncementsEntryFinder.class)
protected AnnouncementsEntryFinder announcementsEntryFinder

counterLocalService

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

companyLocalService

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

companyPersistence

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

groupLocalService

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

groupPersistence

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

groupFinder

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

organizationLocalService

@BeanReference(type=OrganizationLocalService.class)
protected OrganizationLocalService organizationLocalService

organizationPersistence

@BeanReference(type=OrganizationPersistence.class)
protected OrganizationPersistence organizationPersistence

organizationFinder

@BeanReference(type=OrganizationFinder.class)
protected OrganizationFinder organizationFinder

resourceLocalService

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

roleLocalService

@BeanReference(type=RoleLocalService.class)
protected RoleLocalService roleLocalService

rolePersistence

@BeanReference(type=RolePersistence.class)
protected RolePersistence rolePersistence

roleFinder

@BeanReference(type=RoleFinder.class)
protected RoleFinder roleFinder

teamLocalService

@BeanReference(type=TeamLocalService.class)
protected TeamLocalService teamLocalService

teamPersistence

@BeanReference(type=TeamPersistence.class)
protected TeamPersistence teamPersistence

teamFinder

@BeanReference(type=TeamFinder.class)
protected TeamFinder teamFinder

userLocalService

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

userPersistence

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

userFinder

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

userGroupLocalService

@BeanReference(type=UserGroupLocalService.class)
protected UserGroupLocalService userGroupLocalService

userGroupPersistence

@BeanReference(type=UserGroupPersistence.class)
protected UserGroupPersistence userGroupPersistence

userGroupFinder

@BeanReference(type=UserGroupFinder.class)
protected UserGroupFinder userGroupFinder

announcementsDeliveryLocalService

@BeanReference(type=AnnouncementsDeliveryLocalService.class)
protected AnnouncementsDeliveryLocalService announcementsDeliveryLocalService

announcementsDeliveryPersistence

@BeanReference(type=AnnouncementsDeliveryPersistence.class)
protected AnnouncementsDeliveryPersistence announcementsDeliveryPersistence

announcementsFlagLocalService

@BeanReference(type=AnnouncementsFlagLocalService.class)
protected AnnouncementsFlagLocalService announcementsFlagLocalService

announcementsFlagPersistence

@BeanReference(type=AnnouncementsFlagPersistence.class)
protected AnnouncementsFlagPersistence announcementsFlagPersistence

persistedModelLocalServiceRegistry

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

AnnouncementsEntryLocalServiceBaseImpl

public AnnouncementsEntryLocalServiceBaseImpl()
Method Detail

addAnnouncementsEntry

@Indexable(type=REINDEX)
public AnnouncementsEntry addAnnouncementsEntry(AnnouncementsEntry announcementsEntry)
Adds the announcements entry to the database. Also notifies the appropriate model listeners.

Specified by:
addAnnouncementsEntry in interface AnnouncementsEntryLocalService
Parameters:
announcementsEntry - the announcements entry
Returns:
the announcements entry that was added

createAnnouncementsEntry

public AnnouncementsEntry createAnnouncementsEntry(long entryId)
Creates a new announcements entry with the primary key. Does not add the announcements entry to the database.

Specified by:
createAnnouncementsEntry in interface AnnouncementsEntryLocalService
Parameters:
entryId - the primary key for the new announcements entry
Returns:
the new announcements entry

deleteAnnouncementsEntry

@Indexable(type=DELETE)
public AnnouncementsEntry deleteAnnouncementsEntry(long entryId)
                                            throws PortalException
Deletes the announcements entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteAnnouncementsEntry in interface AnnouncementsEntryLocalService
Parameters:
entryId - the primary key of the announcements entry
Returns:
the announcements entry that was removed
Throws:
PortalException - if a announcements entry with the primary key could not be found

deleteAnnouncementsEntry

@Indexable(type=DELETE)
public AnnouncementsEntry deleteAnnouncementsEntry(AnnouncementsEntry announcementsEntry)
Deletes the announcements entry from the database. Also notifies the appropriate model listeners.

Specified by:
deleteAnnouncementsEntry in interface AnnouncementsEntryLocalService
Parameters:
announcementsEntry - the announcements entry
Returns:
the announcements entry that was removed

dynamicQuery

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

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface AnnouncementsEntryLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
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. 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 AnnouncementsEntryModelImpl. 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.

Specified by:
dynamicQuery in interface AnnouncementsEntryLocalService
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

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator<T> orderByComparator)
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. 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 AnnouncementsEntryModelImpl. 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.

Specified by:
dynamicQuery in interface AnnouncementsEntryLocalService
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

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface AnnouncementsEntryLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface AnnouncementsEntryLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchAnnouncementsEntry

public AnnouncementsEntry fetchAnnouncementsEntry(long entryId)
Specified by:
fetchAnnouncementsEntry in interface AnnouncementsEntryLocalService

fetchAnnouncementsEntryByUuidAndCompanyId

public AnnouncementsEntry fetchAnnouncementsEntryByUuidAndCompanyId(String uuid,
                                                                    long companyId)
Returns the announcements entry with the matching UUID and company.

Specified by:
fetchAnnouncementsEntryByUuidAndCompanyId in interface AnnouncementsEntryLocalService
Parameters:
uuid - the announcements entry's UUID
companyId - the primary key of the company
Returns:
the matching announcements entry, or null if a matching announcements entry could not be found

getAnnouncementsEntry

public AnnouncementsEntry getAnnouncementsEntry(long entryId)
                                         throws PortalException
Returns the announcements entry with the primary key.

Specified by:
getAnnouncementsEntry in interface AnnouncementsEntryLocalService
Parameters:
entryId - the primary key of the announcements entry
Returns:
the announcements entry
Throws:
PortalException - if a announcements entry with the primary key could not be found

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface AnnouncementsEntryLocalService

getIndexableActionableDynamicQuery

public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
Specified by:
getIndexableActionableDynamicQuery in interface AnnouncementsEntryLocalService

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

getExportActionableDynamicQuery

public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
Specified by:
getExportActionableDynamicQuery in interface AnnouncementsEntryLocalService

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface AnnouncementsEntryLocalService
Throws:
PortalException

getPersistedModel

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

getAnnouncementsEntryByUuidAndCompanyId

public AnnouncementsEntry getAnnouncementsEntryByUuidAndCompanyId(String uuid,
                                                                  long companyId)
                                                           throws PortalException
Returns the announcements entry with the matching UUID and company.

Specified by:
getAnnouncementsEntryByUuidAndCompanyId in interface AnnouncementsEntryLocalService
Parameters:
uuid - the announcements entry's UUID
companyId - the primary key of the company
Returns:
the matching announcements entry
Throws:
PortalException - if a matching announcements entry could not be found

getAnnouncementsEntries

public List<AnnouncementsEntry> getAnnouncementsEntries(int start,
                                                        int end)
Returns a range of all the announcements entries.

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 AnnouncementsEntryModelImpl. 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.

Specified by:
getAnnouncementsEntries in interface AnnouncementsEntryLocalService
Parameters:
start - the lower bound of the range of announcements entries
end - the upper bound of the range of announcements entries (not inclusive)
Returns:
the range of announcements entries

getAnnouncementsEntriesCount

public int getAnnouncementsEntriesCount()
Returns the number of announcements entries.

Specified by:
getAnnouncementsEntriesCount in interface AnnouncementsEntryLocalService
Returns:
the number of announcements entries

updateAnnouncementsEntry

@Indexable(type=REINDEX)
public AnnouncementsEntry updateAnnouncementsEntry(AnnouncementsEntry announcementsEntry)
Updates the announcements entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateAnnouncementsEntry in interface AnnouncementsEntryLocalService
Parameters:
announcementsEntry - the announcements entry
Returns:
the announcements entry that was updated

getAnnouncementsEntryLocalService

public AnnouncementsEntryLocalService getAnnouncementsEntryLocalService()
Returns the announcements entry local service.

Returns:
the announcements entry local service

setAnnouncementsEntryLocalService

public void setAnnouncementsEntryLocalService(AnnouncementsEntryLocalService announcementsEntryLocalService)
Sets the announcements entry local service.

Parameters:
announcementsEntryLocalService - the announcements entry local service

getAnnouncementsEntryPersistence

public AnnouncementsEntryPersistence getAnnouncementsEntryPersistence()
Returns the announcements entry persistence.

Returns:
the announcements entry persistence

setAnnouncementsEntryPersistence

public void setAnnouncementsEntryPersistence(AnnouncementsEntryPersistence announcementsEntryPersistence)
Sets the announcements entry persistence.

Parameters:
announcementsEntryPersistence - the announcements entry persistence

getAnnouncementsEntryFinder

public AnnouncementsEntryFinder getAnnouncementsEntryFinder()
Returns the announcements entry finder.

Returns:
the announcements entry finder

setAnnouncementsEntryFinder

public void setAnnouncementsEntryFinder(AnnouncementsEntryFinder announcementsEntryFinder)
Sets the announcements entry finder.

Parameters:
announcementsEntryFinder - the announcements entry 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

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

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

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

getOrganizationLocalService

public OrganizationLocalService getOrganizationLocalService()
Returns the organization local service.

Returns:
the organization local service

setOrganizationLocalService

public void setOrganizationLocalService(OrganizationLocalService organizationLocalService)
Sets the organization local service.

Parameters:
organizationLocalService - the organization local service

getOrganizationPersistence

public OrganizationPersistence getOrganizationPersistence()
Returns the organization persistence.

Returns:
the organization persistence

setOrganizationPersistence

public void setOrganizationPersistence(OrganizationPersistence organizationPersistence)
Sets the organization persistence.

Parameters:
organizationPersistence - the organization persistence

getOrganizationFinder

public OrganizationFinder getOrganizationFinder()
Returns the organization finder.

Returns:
the organization finder

setOrganizationFinder

public void setOrganizationFinder(OrganizationFinder organizationFinder)
Sets the organization finder.

Parameters:
organizationFinder - the organization 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

getRoleLocalService

public RoleLocalService getRoleLocalService()
Returns the role local service.

Returns:
the role local service

setRoleLocalService

public void setRoleLocalService(RoleLocalService roleLocalService)
Sets the role local service.

Parameters:
roleLocalService - the role local service

getRolePersistence

public RolePersistence getRolePersistence()
Returns the role persistence.

Returns:
the role persistence

setRolePersistence

public void setRolePersistence(RolePersistence rolePersistence)
Sets the role persistence.

Parameters:
rolePersistence - the role persistence

getRoleFinder

public RoleFinder getRoleFinder()
Returns the role finder.

Returns:
the role finder

setRoleFinder

public void setRoleFinder(RoleFinder roleFinder)
Sets the role finder.

Parameters:
roleFinder - the role finder

getTeamLocalService

public TeamLocalService getTeamLocalService()
Returns the team local service.

Returns:
the team local service

setTeamLocalService

public void setTeamLocalService(TeamLocalService teamLocalService)
Sets the team local service.

Parameters:
teamLocalService - the team local service

getTeamPersistence

public TeamPersistence getTeamPersistence()
Returns the team persistence.

Returns:
the team persistence

setTeamPersistence

public void setTeamPersistence(TeamPersistence teamPersistence)
Sets the team persistence.

Parameters:
teamPersistence - the team persistence

getTeamFinder

public TeamFinder getTeamFinder()
Returns the team finder.

Returns:
the team finder

setTeamFinder

public void setTeamFinder(TeamFinder teamFinder)
Sets the team finder.

Parameters:
teamFinder - the team finder

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

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

getUserGroupLocalService

public UserGroupLocalService getUserGroupLocalService()
Returns the user group local service.

Returns:
the user group local service

setUserGroupLocalService

public void setUserGroupLocalService(UserGroupLocalService userGroupLocalService)
Sets the user group local service.

Parameters:
userGroupLocalService - the user group local service

getUserGroupPersistence

public UserGroupPersistence getUserGroupPersistence()
Returns the user group persistence.

Returns:
the user group persistence

setUserGroupPersistence

public void setUserGroupPersistence(UserGroupPersistence userGroupPersistence)
Sets the user group persistence.

Parameters:
userGroupPersistence - the user group persistence

getUserGroupFinder

public UserGroupFinder getUserGroupFinder()
Returns the user group finder.

Returns:
the user group finder

setUserGroupFinder

public void setUserGroupFinder(UserGroupFinder userGroupFinder)
Sets the user group finder.

Parameters:
userGroupFinder - the user group finder

getAnnouncementsDeliveryLocalService

public AnnouncementsDeliveryLocalService getAnnouncementsDeliveryLocalService()
Returns the announcements delivery local service.

Returns:
the announcements delivery local service

setAnnouncementsDeliveryLocalService

public void setAnnouncementsDeliveryLocalService(AnnouncementsDeliveryLocalService announcementsDeliveryLocalService)
Sets the announcements delivery local service.

Parameters:
announcementsDeliveryLocalService - the announcements delivery local service

getAnnouncementsDeliveryPersistence

public AnnouncementsDeliveryPersistence getAnnouncementsDeliveryPersistence()
Returns the announcements delivery persistence.

Returns:
the announcements delivery persistence

setAnnouncementsDeliveryPersistence

public void setAnnouncementsDeliveryPersistence(AnnouncementsDeliveryPersistence announcementsDeliveryPersistence)
Sets the announcements delivery persistence.

Parameters:
announcementsDeliveryPersistence - the announcements delivery persistence

getAnnouncementsFlagLocalService

public AnnouncementsFlagLocalService getAnnouncementsFlagLocalService()
Returns the announcements flag local service.

Returns:
the announcements flag local service

setAnnouncementsFlagLocalService

public void setAnnouncementsFlagLocalService(AnnouncementsFlagLocalService announcementsFlagLocalService)
Sets the announcements flag local service.

Parameters:
announcementsFlagLocalService - the announcements flag local service

getAnnouncementsFlagPersistence

public AnnouncementsFlagPersistence getAnnouncementsFlagPersistence()
Returns the announcements flag persistence.

Returns:
the announcements flag persistence

setAnnouncementsFlagPersistence

public void setAnnouncementsFlagPersistence(AnnouncementsFlagPersistence announcementsFlagPersistence)
Sets the announcements flag persistence.

Parameters:
announcementsFlagPersistence - the announcements flag persistence

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface IdentifiableOSGiService
Specified by:
getOSGiServiceIdentifier in interface AnnouncementsEntryLocalService
Returns:
the OSGi service identifier

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
Performs a SQL query.

Parameters:
sql - the sql query

Liferay 7.0-ce-b4