Liferay 6.1.2-ce-ga3

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:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, AnnouncementsEntryLocalService
Direct Known Subclasses:
AnnouncementsEntryLocalServiceImpl

public abstract class AnnouncementsEntryLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements AnnouncementsEntryLocalService, IdentifiableBean

The base implementation of 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  AnnouncementsDeliveryService announcementsDeliveryService
           
protected  AnnouncementsEntryFinder announcementsEntryFinder
           
protected  AnnouncementsEntryLocalService announcementsEntryLocalService
           
protected  AnnouncementsEntryPersistence announcementsEntryPersistence
           
protected  AnnouncementsEntryService announcementsEntryService
           
protected  AnnouncementsFlagLocalService announcementsFlagLocalService
           
protected  AnnouncementsFlagPersistence announcementsFlagPersistence
           
protected  AnnouncementsFlagService announcementsFlagService
           
protected  CompanyLocalService companyLocalService
           
protected  CompanyPersistence companyPersistence
           
protected  CompanyService companyService
           
protected  CounterLocalService counterLocalService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  GroupService groupService
           
protected  MailService mailService
           
protected  OrganizationFinder organizationFinder
           
protected  OrganizationLocalService organizationLocalService
           
protected  OrganizationPersistence organizationPersistence
           
protected  OrganizationService organizationService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  ResourceFinder resourceFinder
           
protected  ResourceLocalService resourceLocalService
           
protected  ResourcePersistence resourcePersistence
           
protected  ResourceService resourceService
           
protected  RoleFinder roleFinder
           
protected  RoleLocalService roleLocalService
           
protected  RolePersistence rolePersistence
           
protected  RoleService roleService
           
protected  UserFinder userFinder
           
protected  UserGroupFinder userGroupFinder
           
protected  UserGroupLocalService userGroupLocalService
           
protected  UserGroupPersistence userGroupPersistence
           
protected  UserGroupService userGroupService
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
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.
 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.
 AnnouncementsEntry fetchAnnouncementsEntry(long entryId)
           
 AnnouncementsDeliveryLocalService getAnnouncementsDeliveryLocalService()
          Returns the announcements delivery local service.
 AnnouncementsDeliveryPersistence getAnnouncementsDeliveryPersistence()
          Returns the announcements delivery persistence.
 AnnouncementsDeliveryService getAnnouncementsDeliveryService()
          Returns the announcements delivery remote service.
 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.
 AnnouncementsEntryFinder getAnnouncementsEntryFinder()
          Returns the announcements entry finder.
 AnnouncementsEntryLocalService getAnnouncementsEntryLocalService()
          Returns the announcements entry local service.
 AnnouncementsEntryPersistence getAnnouncementsEntryPersistence()
          Returns the announcements entry persistence.
 AnnouncementsEntryService getAnnouncementsEntryService()
          Returns the announcements entry remote service.
 AnnouncementsFlagLocalService getAnnouncementsFlagLocalService()
          Returns the announcements flag local service.
 AnnouncementsFlagPersistence getAnnouncementsFlagPersistence()
          Returns the announcements flag persistence.
 AnnouncementsFlagService getAnnouncementsFlagService()
          Returns the announcements flag remote service.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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.
 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.
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.
 OrganizationService getOrganizationService()
          Returns the organization remote service.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 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.
 RoleFinder getRoleFinder()
          Returns the role finder.
 RoleLocalService getRoleLocalService()
          Returns the role local service.
 RolePersistence getRolePersistence()
          Returns the role persistence.
 RoleService getRoleService()
          Returns the role remote service.
 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.
 UserGroupService getUserGroupService()
          Returns the user group remote service.
 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 setAnnouncementsDeliveryLocalService(AnnouncementsDeliveryLocalService announcementsDeliveryLocalService)
          Sets the announcements delivery local service.
 void setAnnouncementsDeliveryPersistence(AnnouncementsDeliveryPersistence announcementsDeliveryPersistence)
          Sets the announcements delivery persistence.
 void setAnnouncementsDeliveryService(AnnouncementsDeliveryService announcementsDeliveryService)
          Sets the announcements delivery remote service.
 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 setAnnouncementsEntryService(AnnouncementsEntryService announcementsEntryService)
          Sets the announcements entry remote service.
 void setAnnouncementsFlagLocalService(AnnouncementsFlagLocalService announcementsFlagLocalService)
          Sets the announcements flag local service.
 void setAnnouncementsFlagPersistence(AnnouncementsFlagPersistence announcementsFlagPersistence)
          Sets the announcements flag persistence.
 void setAnnouncementsFlagService(AnnouncementsFlagService announcementsFlagService)
          Sets the announcements flag remote service.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 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 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 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 setOrganizationService(OrganizationService organizationService)
          Sets the organization 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 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 setRoleService(RoleService roleService)
          Sets the role remote service.
 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 setUserGroupService(UserGroupService userGroupService)
          Sets the user group remote service.
 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.
 AnnouncementsEntry updateAnnouncementsEntry(AnnouncementsEntry announcementsEntry)
          Updates the announcements entry in the database or adds it if it does not yet exist.
 AnnouncementsEntry updateAnnouncementsEntry(AnnouncementsEntry announcementsEntry, boolean merge)
          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
 
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

announcementsDeliveryLocalService

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

announcementsDeliveryService

@BeanReference(type=AnnouncementsDeliveryService.class)
protected AnnouncementsDeliveryService announcementsDeliveryService

announcementsDeliveryPersistence

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

announcementsEntryLocalService

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

announcementsEntryService

@BeanReference(type=AnnouncementsEntryService.class)
protected AnnouncementsEntryService announcementsEntryService

announcementsEntryPersistence

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

announcementsEntryFinder

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

announcementsFlagLocalService

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

announcementsFlagService

@BeanReference(type=AnnouncementsFlagService.class)
protected AnnouncementsFlagService announcementsFlagService

announcementsFlagPersistence

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

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

organizationLocalService

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

organizationService

@BeanReference(type=OrganizationService.class)
protected OrganizationService organizationService

organizationPersistence

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

organizationFinder

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

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

roleLocalService

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

roleService

@BeanReference(type=RoleService.class)
protected RoleService roleService

rolePersistence

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

roleFinder

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

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

userGroupLocalService

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

userGroupService

@BeanReference(type=UserGroupService.class)
protected UserGroupService userGroupService

userGroupPersistence

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

userGroupFinder

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

persistedModelLocalServiceRegistry

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

AnnouncementsEntryLocalServiceBaseImpl

public AnnouncementsEntryLocalServiceBaseImpl()
Method Detail

addAnnouncementsEntry

@Indexable(type=REINDEX)
public AnnouncementsEntry addAnnouncementsEntry(AnnouncementsEntry announcementsEntry)
                                         throws SystemException
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
Throws:
SystemException - if a system exception occurred

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,
                                                   SystemException
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
SystemException - if a system exception occurred

deleteAnnouncementsEntry

@Indexable(type=DELETE)
public AnnouncementsEntry deleteAnnouncementsEntry(AnnouncementsEntry announcementsEntry)
                                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

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 AnnouncementsEntryLocalService
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 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
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 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
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 AnnouncementsEntryLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchAnnouncementsEntry

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

getAnnouncementsEntry

public AnnouncementsEntry getAnnouncementsEntry(long entryId)
                                         throws PortalException,
                                                SystemException
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
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 AnnouncementsEntryLocalService
Throws:
PortalException
SystemException

getAnnouncementsEntries

public List<AnnouncementsEntry> getAnnouncementsEntries(int start,
                                                        int end)
                                                 throws SystemException
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.

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
Throws:
SystemException - if a system exception occurred

getAnnouncementsEntriesCount

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

Specified by:
getAnnouncementsEntriesCount in interface AnnouncementsEntryLocalService
Returns:
the number of announcements entries
Throws:
SystemException - if a system exception occurred

updateAnnouncementsEntry

@Indexable(type=REINDEX)
public AnnouncementsEntry updateAnnouncementsEntry(AnnouncementsEntry announcementsEntry)
                                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

updateAnnouncementsEntry

@Indexable(type=REINDEX)
public AnnouncementsEntry updateAnnouncementsEntry(AnnouncementsEntry announcementsEntry,
                                                                        boolean merge)
                                            throws SystemException
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
merge - whether to merge the announcements entry 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 announcements entry that was updated
Throws:
SystemException - if a system exception occurred

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

getAnnouncementsDeliveryService

public AnnouncementsDeliveryService getAnnouncementsDeliveryService()
Returns the announcements delivery remote service.

Returns:
the announcements delivery remote service

setAnnouncementsDeliveryService

public void setAnnouncementsDeliveryService(AnnouncementsDeliveryService announcementsDeliveryService)
Sets the announcements delivery remote service.

Parameters:
announcementsDeliveryService - the announcements delivery remote 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

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

getAnnouncementsEntryService

public AnnouncementsEntryService getAnnouncementsEntryService()
Returns the announcements entry remote service.

Returns:
the announcements entry remote service

setAnnouncementsEntryService

public void setAnnouncementsEntryService(AnnouncementsEntryService announcementsEntryService)
Sets the announcements entry remote service.

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

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

getAnnouncementsFlagService

public AnnouncementsFlagService getAnnouncementsFlagService()
Returns the announcements flag remote service.

Returns:
the announcements flag remote service

setAnnouncementsFlagService

public void setAnnouncementsFlagService(AnnouncementsFlagService announcementsFlagService)
Sets the announcements flag remote service.

Parameters:
announcementsFlagService - the announcements flag remote 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

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

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

getOrganizationService

public OrganizationService getOrganizationService()
Returns the organization remote service.

Returns:
the organization remote service

setOrganizationService

public void setOrganizationService(OrganizationService organizationService)
Sets the organization remote service.

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

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

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

getRoleService

public RoleService getRoleService()
Returns the role remote service.

Returns:
the role remote service

setRoleService

public void setRoleService(RoleService roleService)
Sets the role remote service.

Parameters:
roleService - the role remote 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

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

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

getUserGroupService

public UserGroupService getUserGroupService()
Returns the user group remote service.

Returns:
the user group remote service

setUserGroupService

public void setUserGroupService(UserGroupService userGroupService)
Sets the user group remote service.

Parameters:
userGroupService - the user group remote 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

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 AnnouncementsEntryLocalService
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 AnnouncementsEntryLocalService
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