|
Liferay 6.2-ce-ga5 | |||||||||
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.AnnouncementsDeliveryLocalServiceBaseImpl
public abstract class AnnouncementsDeliveryLocalServiceBaseImpl
Provides the base implementation for the announcements delivery 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 AnnouncementsDeliveryLocalServiceImpl
.
AnnouncementsDeliveryLocalServiceImpl
,
AnnouncementsDeliveryLocalServiceUtil
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
layoutPersistence |
Constructor Summary | |
---|---|
AnnouncementsDeliveryLocalServiceBaseImpl()
|
Method Summary | |
---|---|
AnnouncementsDelivery |
addAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
Adds the announcements delivery to the database. |
void |
afterPropertiesSet()
|
AnnouncementsDelivery |
createAnnouncementsDelivery(long deliveryId)
Creates a new announcements delivery with the primary key. |
AnnouncementsDelivery |
deleteAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
Deletes the announcements delivery from the database. |
AnnouncementsDelivery |
deleteAnnouncementsDelivery(long deliveryId)
Deletes the announcements delivery 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. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
AnnouncementsDelivery |
fetchAnnouncementsDelivery(long deliveryId)
|
List<AnnouncementsDelivery> |
getAnnouncementsDeliveries(int start,
int end)
Returns a range of all the announcements deliveries. |
int |
getAnnouncementsDeliveriesCount()
Returns the number of announcements deliveries. |
AnnouncementsDelivery |
getAnnouncementsDelivery(long deliveryId)
Returns the announcements delivery with the primary key. |
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. |
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. |
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
protected Class<?> |
getModelClass()
|
protected String |
getModelClassName()
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
ResourceLocalService |
getResourceLocalService()
Returns the resource local 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 |
setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local 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. |
AnnouncementsDelivery |
updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
Updates the announcements delivery in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
getClassLoader, getLayoutURL, getLayoutURL |
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.AnnouncementsDeliveryLocalService |
---|
addUserDelivery, deleteDeliveries, deleteDelivery, deleteDelivery, deleteDelivery, getDelivery, getUserDeliveries, getUserDelivery, updateDelivery |
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=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 AnnouncementsDeliveryLocalServiceBaseImpl()
Method Detail |
---|
@Indexable(type=REINDEX) public AnnouncementsDelivery addAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery) throws SystemException
addAnnouncementsDelivery
in interface AnnouncementsDeliveryLocalService
announcementsDelivery
- the announcements delivery
SystemException
- if a system exception occurredpublic AnnouncementsDelivery createAnnouncementsDelivery(long deliveryId)
createAnnouncementsDelivery
in interface AnnouncementsDeliveryLocalService
deliveryId
- the primary key for the new announcements delivery
@Indexable(type=DELETE) public AnnouncementsDelivery deleteAnnouncementsDelivery(long deliveryId) throws PortalException, SystemException
deleteAnnouncementsDelivery
in interface AnnouncementsDeliveryLocalService
deliveryId
- the primary key of the announcements delivery
PortalException
- if a announcements delivery with the primary key could not be found
SystemException
- if a system exception occurred@Indexable(type=DELETE) public AnnouncementsDelivery deleteAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery) throws SystemException
deleteAnnouncementsDelivery
in interface AnnouncementsDeliveryLocalService
announcementsDelivery
- the announcements delivery
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface AnnouncementsDeliveryLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface AnnouncementsDeliveryLocalService
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AnnouncementsDeliveryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface AnnouncementsDeliveryLocalService
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AnnouncementsDeliveryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface AnnouncementsDeliveryLocalService
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 AnnouncementsDeliveryLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount
in interface AnnouncementsDeliveryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query
SystemException
- if a system exception occurredpublic AnnouncementsDelivery fetchAnnouncementsDelivery(long deliveryId) throws SystemException
fetchAnnouncementsDelivery
in interface AnnouncementsDeliveryLocalService
SystemException
public AnnouncementsDelivery getAnnouncementsDelivery(long deliveryId) throws PortalException, SystemException
getAnnouncementsDelivery
in interface AnnouncementsDeliveryLocalService
deliveryId
- the primary key of the announcements delivery
PortalException
- if a announcements delivery 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 AnnouncementsDeliveryLocalService
PortalException
SystemException
public List<AnnouncementsDelivery> getAnnouncementsDeliveries(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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AnnouncementsDeliveryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getAnnouncementsDeliveries
in interface AnnouncementsDeliveryLocalService
start
- the lower bound of the range of announcements deliveriesend
- the upper bound of the range of announcements deliveries (not inclusive)
SystemException
- if a system exception occurredpublic int getAnnouncementsDeliveriesCount() throws SystemException
getAnnouncementsDeliveriesCount
in interface AnnouncementsDeliveryLocalService
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public AnnouncementsDelivery updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery) throws SystemException
updateAnnouncementsDelivery
in interface AnnouncementsDeliveryLocalService
announcementsDelivery
- the announcements delivery
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 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 AnnouncementsDeliveryLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface IdentifiableBean
setBeanIdentifier
in interface AnnouncementsDeliveryLocalService
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.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |