|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.BaseLocalServiceImpl 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
.
AnnouncementsFlagLocalServiceImpl
,
AnnouncementsFlagLocalServiceUtil
Constructor Summary | |
---|---|
AnnouncementsFlagLocalServiceBaseImpl()
|
Method Summary | |
---|---|
AnnouncementsFlag |
addAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
Adds the announcements flag to the database. |
void |
afterPropertiesSet()
|
AnnouncementsFlag |
createAnnouncementsFlag(long flagId)
Creates a new announcements flag with the primary key. |
AnnouncementsFlag |
deleteAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
Deletes the announcements flag from the database. |
AnnouncementsFlag |
deleteAnnouncementsFlag(long flagId)
Deletes the announcements flag 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. |
AnnouncementsFlag |
fetchAnnouncementsFlag(long flagId)
|
AnnouncementsDeliveryLocalService |
getAnnouncementsDeliveryLocalService()
Returns the announcements delivery local service. |
AnnouncementsDeliveryPersistence |
getAnnouncementsDeliveryPersistence()
Returns the announcements delivery persistence. |
AnnouncementsDeliveryService |
getAnnouncementsDeliveryService()
Returns the announcements delivery remote service. |
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. |
AnnouncementsFlag |
getAnnouncementsFlag(long flagId)
Returns the announcements flag with the primary key. |
AnnouncementsFlagLocalService |
getAnnouncementsFlagLocalService()
Returns the announcements flag local service. |
AnnouncementsFlagPersistence |
getAnnouncementsFlagPersistence()
Returns the announcements flag persistence. |
List<AnnouncementsFlag> |
getAnnouncementsFlags(int start,
int end)
Returns a range of all the announcements flags. |
int |
getAnnouncementsFlagsCount()
Returns the number of announcements flags. |
AnnouncementsFlagService |
getAnnouncementsFlagService()
Returns the announcements flag remote service. |
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
protected Class<?> |
getModelClass()
|
protected String |
getModelClassName()
|
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. |
UserFinder |
getUserFinder()
Returns the user finder. |
UserLocalService |
getUserLocalService()
Returns the user local service. |
UserPersistence |
getUserPersistence()
Returns the user persistence. |
UserService |
getUserService()
Returns the user remote service. |
protected void |
runSQL(String sql)
Performs an SQL query. |
void |
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 |
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 or adds it if it does not yet exist. |
AnnouncementsFlag |
updateAnnouncementsFlag(AnnouncementsFlag announcementsFlag,
boolean merge)
Updates the announcements flag 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.AnnouncementsFlagLocalService |
---|
addFlag, deleteFlag, 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
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail |
---|
public AnnouncementsFlagLocalServiceBaseImpl()
Method Detail |
---|
@Indexable(type=REINDEX) public AnnouncementsFlag addAnnouncementsFlag(AnnouncementsFlag announcementsFlag) throws SystemException
addAnnouncementsFlag
in interface AnnouncementsFlagLocalService
announcementsFlag
- the announcements flag
SystemException
- if a system exception occurredpublic AnnouncementsFlag createAnnouncementsFlag(long flagId)
createAnnouncementsFlag
in interface AnnouncementsFlagLocalService
flagId
- the primary key for the new announcements flag
@Indexable(type=DELETE) public AnnouncementsFlag deleteAnnouncementsFlag(long flagId) throws PortalException, SystemException
deleteAnnouncementsFlag
in interface AnnouncementsFlagLocalService
flagId
- the primary key of the announcements flag
PortalException
- if a announcements flag with the primary key could not be found
SystemException
- if a system exception occurred@Indexable(type=DELETE) public AnnouncementsFlag deleteAnnouncementsFlag(AnnouncementsFlag announcementsFlag) throws SystemException
deleteAnnouncementsFlag
in interface AnnouncementsFlagLocalService
announcementsFlag
- the announcements flag
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface AnnouncementsFlagLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface AnnouncementsFlagLocalService
dynamicQuery
- the dynamic query
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 querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (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 querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface AnnouncementsFlagLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic AnnouncementsFlag fetchAnnouncementsFlag(long flagId) throws SystemException
fetchAnnouncementsFlag
in interface AnnouncementsFlagLocalService
SystemException
public AnnouncementsFlag getAnnouncementsFlag(long flagId) throws PortalException, SystemException
getAnnouncementsFlag
in interface AnnouncementsFlagLocalService
flagId
- the primary key of the announcements flag
PortalException
- if a announcements flag with the primary key could not be found
SystemException
- if a system exception occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface AnnouncementsFlagLocalService
PortalException
SystemException
public 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 flagsend
- the upper bound of the range of announcements flags (not inclusive)
SystemException
- if a system exception occurredpublic int getAnnouncementsFlagsCount() throws SystemException
getAnnouncementsFlagsCount
in interface AnnouncementsFlagLocalService
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public AnnouncementsFlag updateAnnouncementsFlag(AnnouncementsFlag announcementsFlag) throws SystemException
updateAnnouncementsFlag
in interface AnnouncementsFlagLocalService
announcementsFlag
- the announcements flag
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public AnnouncementsFlag updateAnnouncementsFlag(AnnouncementsFlag announcementsFlag, boolean merge) throws SystemException
updateAnnouncementsFlag
in interface AnnouncementsFlagLocalService
announcementsFlag
- the announcements flagmerge
- 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 finderpublic void afterPropertiesSet()
public void destroy()
public String getBeanIdentifier()
getBeanIdentifier
in interface IdentifiableBean
getBeanIdentifier
in interface AnnouncementsFlagLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface IdentifiableBean
setBeanIdentifier
in interface AnnouncementsFlagLocalService
beanIdentifier
- the Spring bean ID for this beanprotected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql) throws SystemException
sql
- the sql query
SystemException
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |