|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.announcements.service.base.AnnouncementsFlagLocalServiceBaseImpl
public abstract class AnnouncementsFlagLocalServiceBaseImpl
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.
AnnouncementsFlagLocalServiceImpl
,
AnnouncementsFlagLocalServiceUtil
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 |
---|
@BeanReference(type=AnnouncementsDeliveryLocalService.class) protected AnnouncementsDeliveryLocalService announcementsDeliveryLocalService
@BeanReference(type=AnnouncementsDeliveryService.class) protected AnnouncementsDeliveryService announcementsDeliveryService
@BeanReference(type=AnnouncementsDeliveryPersistence.class) protected AnnouncementsDeliveryPersistence announcementsDeliveryPersistence
@BeanReference(type=AnnouncementsEntryLocalService.class) protected AnnouncementsEntryLocalService announcementsEntryLocalService
@BeanReference(type=AnnouncementsEntryService.class) protected AnnouncementsEntryService announcementsEntryService
@BeanReference(type=AnnouncementsEntryPersistence.class) protected AnnouncementsEntryPersistence announcementsEntryPersistence
@BeanReference(type=AnnouncementsEntryFinder.class) protected AnnouncementsEntryFinder announcementsEntryFinder
@BeanReference(type=AnnouncementsFlagLocalService.class) protected AnnouncementsFlagLocalService announcementsFlagLocalService
@BeanReference(type=AnnouncementsFlagService.class) protected AnnouncementsFlagService announcementsFlagService
@BeanReference(type=AnnouncementsFlagPersistence.class) protected AnnouncementsFlagPersistence announcementsFlagPersistence
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=ResourceLocalService.class) protected ResourceLocalService resourceLocalService
@BeanReference(type=ResourceService.class) protected ResourceService resourceService
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=ResourceFinder.class) protected ResourceFinder resourceFinder
@BeanReference(type=UserLocalService.class) protected UserLocalService userLocalService
@BeanReference(type=UserService.class) protected UserService userService
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=UserFinder.class) protected UserFinder userFinder
Constructor Detail |
---|
public AnnouncementsFlagLocalServiceBaseImpl()
Method Detail |
---|
public AnnouncementsFlag addAnnouncementsFlag(AnnouncementsFlag announcementsFlag) throws SystemException
addAnnouncementsFlag
in interface AnnouncementsFlagLocalService
announcementsFlag
- the announcements flag to add
SystemException
- if a system exception occurredpublic AnnouncementsFlag createAnnouncementsFlag(long flagId)
createAnnouncementsFlag
in interface AnnouncementsFlagLocalService
flagId
- the primary key for the new announcements flag
public void deleteAnnouncementsFlag(long flagId) throws PortalException, SystemException
deleteAnnouncementsFlag
in interface AnnouncementsFlagLocalService
flagId
- the primary key of the announcements flag to delete
PortalException
- if a announcements flag with the primary key could not be found
SystemException
- if a system exception occurredpublic void deleteAnnouncementsFlag(AnnouncementsFlag announcementsFlag) throws SystemException
deleteAnnouncementsFlag
in interface AnnouncementsFlagLocalService
announcementsFlag
- the announcements flag to delete
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface AnnouncementsFlagLocalService
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
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.
dynamicQuery
in interface AnnouncementsFlagLocalService
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
dynamicQuery
in interface AnnouncementsFlagLocalService
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface AnnouncementsFlagLocalService
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic AnnouncementsFlag getAnnouncementsFlag(long flagId) throws PortalException, SystemException
getAnnouncementsFlag
in interface AnnouncementsFlagLocalService
flagId
- the primary key of the announcements flag to get
PortalException
- if a announcements flag with the primary key could not be found
SystemException
- if a system exception occurredpublic List<AnnouncementsFlag> getAnnouncementsFlags(int start, int end) throws SystemException
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.
getAnnouncementsFlags
in interface AnnouncementsFlagLocalService
start
- the lower bound of the range of announcements flags to returnend
- the upper bound of the range of announcements flags to return (not inclusive)
SystemException
- if a system exception occurredpublic int getAnnouncementsFlagsCount() throws SystemException
getAnnouncementsFlagsCount
in interface AnnouncementsFlagLocalService
SystemException
- if a system exception occurredpublic AnnouncementsFlag updateAnnouncementsFlag(AnnouncementsFlag announcementsFlag) throws SystemException
updateAnnouncementsFlag
in interface AnnouncementsFlagLocalService
announcementsFlag
- the announcements flag to update
SystemException
- if a system exception occurredpublic AnnouncementsFlag updateAnnouncementsFlag(AnnouncementsFlag announcementsFlag, boolean merge) throws SystemException
updateAnnouncementsFlag
in interface AnnouncementsFlagLocalService
announcementsFlag
- the announcements flag to updatemerge
- 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.
SystemException
- if a system exception occurredpublic AnnouncementsDeliveryLocalService getAnnouncementsDeliveryLocalService()
public void setAnnouncementsDeliveryLocalService(AnnouncementsDeliveryLocalService announcementsDeliveryLocalService)
announcementsDeliveryLocalService
- the announcements delivery local servicepublic AnnouncementsDeliveryService getAnnouncementsDeliveryService()
public void setAnnouncementsDeliveryService(AnnouncementsDeliveryService announcementsDeliveryService)
announcementsDeliveryService
- the announcements delivery remote servicepublic AnnouncementsDeliveryPersistence getAnnouncementsDeliveryPersistence()
public void setAnnouncementsDeliveryPersistence(AnnouncementsDeliveryPersistence announcementsDeliveryPersistence)
announcementsDeliveryPersistence
- the announcements delivery persistencepublic AnnouncementsEntryLocalService getAnnouncementsEntryLocalService()
public void setAnnouncementsEntryLocalService(AnnouncementsEntryLocalService announcementsEntryLocalService)
announcementsEntryLocalService
- the announcements entry local servicepublic AnnouncementsEntryService getAnnouncementsEntryService()
public void setAnnouncementsEntryService(AnnouncementsEntryService announcementsEntryService)
announcementsEntryService
- the announcements entry remote servicepublic AnnouncementsEntryPersistence getAnnouncementsEntryPersistence()
public void setAnnouncementsEntryPersistence(AnnouncementsEntryPersistence announcementsEntryPersistence)
announcementsEntryPersistence
- the announcements entry persistencepublic AnnouncementsEntryFinder getAnnouncementsEntryFinder()
public void setAnnouncementsEntryFinder(AnnouncementsEntryFinder announcementsEntryFinder)
announcementsEntryFinder
- the announcements entry finderpublic AnnouncementsFlagLocalService getAnnouncementsFlagLocalService()
public void setAnnouncementsFlagLocalService(AnnouncementsFlagLocalService announcementsFlagLocalService)
announcementsFlagLocalService
- the announcements flag local servicepublic AnnouncementsFlagService getAnnouncementsFlagService()
public void setAnnouncementsFlagService(AnnouncementsFlagService announcementsFlagService)
announcementsFlagService
- the announcements flag remote servicepublic AnnouncementsFlagPersistence getAnnouncementsFlagPersistence()
public void setAnnouncementsFlagPersistence(AnnouncementsFlagPersistence announcementsFlagPersistence)
announcementsFlagPersistence
- the announcements flag persistencepublic CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService
- the counter local servicepublic ResourceLocalService getResourceLocalService()
public void setResourceLocalService(ResourceLocalService resourceLocalService)
resourceLocalService
- the resource local servicepublic ResourceService getResourceService()
public void setResourceService(ResourceService resourceService)
resourceService
- the resource remote servicepublic ResourcePersistence getResourcePersistence()
public void setResourcePersistence(ResourcePersistence resourcePersistence)
resourcePersistence
- the resource persistencepublic ResourceFinder getResourceFinder()
public void setResourceFinder(ResourceFinder resourceFinder)
resourceFinder
- the resource finderpublic UserLocalService getUserLocalService()
public void setUserLocalService(UserLocalService userLocalService)
userLocalService
- the user local servicepublic UserService getUserService()
public void setUserService(UserService userService)
userService
- the user remote servicepublic UserPersistence getUserPersistence()
public void setUserPersistence(UserPersistence userPersistence)
userPersistence
- the user persistencepublic UserFinder getUserFinder()
public void setUserFinder(UserFinder userFinder)
userFinder
- the user finderprotected void runSQL(String sql) throws SystemException
sql
- the sql query to perform
SystemException
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |