Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portlet.announcements.service.base.AnnouncementsFlagLocalServiceBaseImpl
All Implemented Interfaces:
AnnouncementsFlagLocalService
Direct Known Subclasses:
AnnouncementsFlagLocalServiceImpl

public abstract class AnnouncementsFlagLocalServiceBaseImpl
extends Object
implements AnnouncementsFlagLocalService

The base implementation of the announcements flag 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 AnnouncementsFlagLocalServiceImpl.

Never modify or reference this class directly. Always use AnnouncementsFlagLocalServiceUtil to access the announcements flag local service.

See Also:
AnnouncementsFlagLocalServiceImpl, AnnouncementsFlagLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time 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  CounterLocalService counterLocalService
           
protected  ResourceFinder resourceFinder
           
protected  ResourceLocalService resourceLocalService
           
protected  ResourcePersistence resourcePersistence
           
protected  ResourceService resourceService
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Constructor Summary
AnnouncementsFlagLocalServiceBaseImpl()
           
 
Method Summary
 AnnouncementsFlag addAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
          Adds the announcements flag to the database.
 AnnouncementsFlag createAnnouncementsFlag(long flagId)
          Creates a new announcements flag with the primary key.
 void deleteAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
          Deletes the announcements flag from the database.
 void deleteAnnouncementsFlag(long flagId)
          Deletes the announcements flag with the primary key from the database.
 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)
          Counts the number of rows that match the dynamic query.
 AnnouncementsDeliveryLocalService getAnnouncementsDeliveryLocalService()
          Gets the announcements delivery local service.
 AnnouncementsDeliveryPersistence getAnnouncementsDeliveryPersistence()
          Gets the announcements delivery persistence.
 AnnouncementsDeliveryService getAnnouncementsDeliveryService()
          Gets the announcements delivery remote service.
 AnnouncementsEntryFinder getAnnouncementsEntryFinder()
          Gets the announcements entry finder.
 AnnouncementsEntryLocalService getAnnouncementsEntryLocalService()
          Gets the announcements entry local service.
 AnnouncementsEntryPersistence getAnnouncementsEntryPersistence()
          Gets the announcements entry persistence.
 AnnouncementsEntryService getAnnouncementsEntryService()
          Gets the announcements entry remote service.
 AnnouncementsFlag getAnnouncementsFlag(long flagId)
          Gets the announcements flag with the primary key.
 AnnouncementsFlagLocalService getAnnouncementsFlagLocalService()
          Gets the announcements flag local service.
 AnnouncementsFlagPersistence getAnnouncementsFlagPersistence()
          Gets the announcements flag persistence.
 List<AnnouncementsFlag> getAnnouncementsFlags(int start, int end)
          Gets a range of all the announcements flags.
 int getAnnouncementsFlagsCount()
          Gets the number of announcements flags.
 AnnouncementsFlagService getAnnouncementsFlagService()
          Gets the announcements flag remote service.
 CounterLocalService getCounterLocalService()
          Gets the counter local service.
 ResourceFinder getResourceFinder()
          Gets the resource finder.
 ResourceLocalService getResourceLocalService()
          Gets the resource local service.
 ResourcePersistence getResourcePersistence()
          Gets the resource persistence.
 ResourceService getResourceService()
          Gets the resource remote service.
 UserFinder getUserFinder()
          Gets the user finder.
 UserLocalService getUserLocalService()
          Gets the user local service.
 UserPersistence getUserPersistence()
          Gets the user persistence.
 UserService getUserService()
          Gets 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 setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local 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 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.
 AnnouncementsFlag updateAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
          Updates the announcements flag in the database.
 AnnouncementsFlag updateAnnouncementsFlag(AnnouncementsFlag announcementsFlag, boolean merge)
          Updates the announcements flag in the database.
 
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.AnnouncementsFlagLocalService
addFlag, deleteFlag, deleteFlags, getFlag
 

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

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

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
Constructor Detail

AnnouncementsFlagLocalServiceBaseImpl

public AnnouncementsFlagLocalServiceBaseImpl()
Method Detail

addAnnouncementsFlag

public AnnouncementsFlag addAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
                                       throws SystemException
Adds the announcements flag to the database. Also notifies the appropriate model listeners.

Specified by:
addAnnouncementsFlag in interface AnnouncementsFlagLocalService
Parameters:
announcementsFlag - the announcements flag to add
Returns:
the announcements flag that was added
Throws:
SystemException - if a system exception occurred

createAnnouncementsFlag

public AnnouncementsFlag createAnnouncementsFlag(long flagId)
Creates a new announcements flag with the primary key. Does not add the announcements flag to the database.

Specified by:
createAnnouncementsFlag in interface AnnouncementsFlagLocalService
Parameters:
flagId - the primary key for the new announcements flag
Returns:
the new announcements flag

deleteAnnouncementsFlag

public void deleteAnnouncementsFlag(long flagId)
                             throws PortalException,
                                    SystemException
Deletes the announcements flag with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteAnnouncementsFlag in interface AnnouncementsFlagLocalService
Parameters:
flagId - the primary key of the announcements flag to delete
Throws:
PortalException - if a announcements flag with the primary key could not be found
SystemException - if a system exception occurred

deleteAnnouncementsFlag

public void deleteAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
                             throws SystemException
Deletes the announcements flag from the database. Also notifies the appropriate model listeners.

Specified by:
deleteAnnouncementsFlag in interface AnnouncementsFlagLocalService
Parameters:
announcementsFlag - the announcements flag to delete
Throws:
SystemException - if a system exception occurred

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 AnnouncementsFlagLocalService
Parameters:
dynamicQuery - the dynamic query to search with
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 AnnouncementsFlagLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (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 AnnouncementsFlagLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

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

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

getAnnouncementsFlag

public AnnouncementsFlag getAnnouncementsFlag(long flagId)
                                       throws PortalException,
                                              SystemException
Gets the announcements flag with the primary key.

Specified by:
getAnnouncementsFlag in interface AnnouncementsFlagLocalService
Parameters:
flagId - the primary key of the announcements flag to get
Returns:
the announcements flag
Throws:
PortalException - if a announcements flag with the primary key could not be found
SystemException - if a system exception occurred

getAnnouncementsFlags

public List<AnnouncementsFlag> getAnnouncementsFlags(int start,
                                                     int end)
                                              throws SystemException
Gets a range of all the announcements flags.

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:
getAnnouncementsFlags in interface AnnouncementsFlagLocalService
Parameters:
start - the lower bound of the range of announcements flags to return
end - the upper bound of the range of announcements flags to return (not inclusive)
Returns:
the range of announcements flags
Throws:
SystemException - if a system exception occurred

getAnnouncementsFlagsCount

public int getAnnouncementsFlagsCount()
                               throws SystemException
Gets the number of announcements flags.

Specified by:
getAnnouncementsFlagsCount in interface AnnouncementsFlagLocalService
Returns:
the number of announcements flags
Throws:
SystemException - if a system exception occurred

updateAnnouncementsFlag

public AnnouncementsFlag updateAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
                                          throws SystemException
Updates the announcements flag in the database. Also notifies the appropriate model listeners.

Specified by:
updateAnnouncementsFlag in interface AnnouncementsFlagLocalService
Parameters:
announcementsFlag - the announcements flag to update
Returns:
the announcements flag that was updated
Throws:
SystemException - if a system exception occurred

updateAnnouncementsFlag

public AnnouncementsFlag updateAnnouncementsFlag(AnnouncementsFlag announcementsFlag,
                                                 boolean merge)
                                          throws SystemException
Updates the announcements flag in the database. Also notifies the appropriate model listeners.

Specified by:
updateAnnouncementsFlag in interface AnnouncementsFlagLocalService
Parameters:
announcementsFlag - the announcements flag to update
merge - whether to merge the announcements flag 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 flag that was updated
Throws:
SystemException - if a system exception occurred

getAnnouncementsDeliveryLocalService

public AnnouncementsDeliveryLocalService getAnnouncementsDeliveryLocalService()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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

getResourceLocalService

public ResourceLocalService getResourceLocalService()
Gets 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()
Gets 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()
Gets 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()
Gets the resource finder.

Returns:
the resource finder

setResourceFinder

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

Parameters:
resourceFinder - the resource finder

getUserLocalService

public UserLocalService getUserLocalService()
Gets 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()
Gets 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()
Gets 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()
Gets the user finder.

Returns:
the user finder

setUserFinder

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

Parameters:
userFinder - the user finder

runSQL

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

Parameters:
sql - the sql query to perform
Throws:
SystemException

Liferay 6.0.5