@ProviderType
public abstract class AnnouncementsEntryLocalServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseLocalServiceImpl
implements com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in AnnouncementsEntryLocalServiceImpl
.
AnnouncementsEntryLocalServiceImpl
,
AnnouncementsEntryLocalServiceUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.announcements.kernel.service.AnnouncementsDeliveryLocalService |
announcementsDeliveryLocalService |
protected com.liferay.announcements.kernel.service.persistence.AnnouncementsDeliveryPersistence |
announcementsDeliveryPersistence |
protected com.liferay.announcements.kernel.service.persistence.AnnouncementsEntryFinder |
announcementsEntryFinder |
protected com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService |
announcementsEntryLocalService |
protected com.liferay.announcements.kernel.service.persistence.AnnouncementsEntryPersistence |
announcementsEntryPersistence |
protected com.liferay.announcements.kernel.service.AnnouncementsFlagLocalService |
announcementsFlagLocalService |
protected com.liferay.announcements.kernel.service.persistence.AnnouncementsFlagPersistence |
announcementsFlagPersistence |
protected com.liferay.portal.kernel.service.CompanyLocalService |
companyLocalService |
protected com.liferay.portal.kernel.service.persistence.CompanyPersistence |
companyPersistence |
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
protected com.liferay.portal.kernel.service.persistence.GroupFinder |
groupFinder |
protected com.liferay.portal.kernel.service.GroupLocalService |
groupLocalService |
protected com.liferay.portal.kernel.service.persistence.GroupPersistence |
groupPersistence |
protected com.liferay.portal.kernel.service.persistence.OrganizationFinder |
organizationFinder |
protected com.liferay.portal.kernel.service.OrganizationLocalService |
organizationLocalService |
protected com.liferay.portal.kernel.service.persistence.OrganizationPersistence |
organizationPersistence |
protected com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry |
protected com.liferay.portal.kernel.service.ResourceLocalService |
resourceLocalService |
protected com.liferay.portal.kernel.service.persistence.RoleFinder |
roleFinder |
protected com.liferay.portal.kernel.service.RoleLocalService |
roleLocalService |
protected com.liferay.portal.kernel.service.persistence.RolePersistence |
rolePersistence |
protected com.liferay.portal.kernel.service.persistence.TeamFinder |
teamFinder |
protected com.liferay.portal.kernel.service.TeamLocalService |
teamLocalService |
protected com.liferay.portal.kernel.service.persistence.TeamPersistence |
teamPersistence |
protected com.liferay.portal.kernel.service.persistence.UserFinder |
userFinder |
protected com.liferay.portal.kernel.service.persistence.UserGroupFinder |
userGroupFinder |
protected com.liferay.portal.kernel.service.UserGroupLocalService |
userGroupLocalService |
protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence |
userGroupPersistence |
protected com.liferay.portal.kernel.service.UserLocalService |
userLocalService |
protected com.liferay.portal.kernel.service.persistence.UserPersistence |
userPersistence |
Constructor and Description |
---|
AnnouncementsEntryLocalServiceBaseImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.announcements.kernel.model.AnnouncementsEntry |
addAnnouncementsEntry(com.liferay.announcements.kernel.model.AnnouncementsEntry announcementsEntry)
Adds the announcements entry to the database.
|
void |
afterPropertiesSet() |
com.liferay.announcements.kernel.model.AnnouncementsEntry |
createAnnouncementsEntry(long entryId)
Creates a new announcements entry with the primary key.
|
com.liferay.announcements.kernel.model.AnnouncementsEntry |
deleteAnnouncementsEntry(com.liferay.announcements.kernel.model.AnnouncementsEntry announcementsEntry)
Deletes the announcements entry from the database.
|
com.liferay.announcements.kernel.model.AnnouncementsEntry |
deleteAnnouncementsEntry(long entryId)
Deletes the announcements entry with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
destroy() |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
com.liferay.announcements.kernel.model.AnnouncementsEntry |
fetchAnnouncementsEntry(long entryId) |
com.liferay.announcements.kernel.model.AnnouncementsEntry |
fetchAnnouncementsEntryByUuidAndCompanyId(String uuid,
long companyId)
Returns the announcements entry with the matching UUID and company.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.announcements.kernel.service.AnnouncementsDeliveryLocalService |
getAnnouncementsDeliveryLocalService()
Returns the announcements delivery local service.
|
com.liferay.announcements.kernel.service.persistence.AnnouncementsDeliveryPersistence |
getAnnouncementsDeliveryPersistence()
Returns the announcements delivery persistence.
|
List<com.liferay.announcements.kernel.model.AnnouncementsEntry> |
getAnnouncementsEntries(int start,
int end)
Returns a range of all the announcements entries.
|
int |
getAnnouncementsEntriesCount()
Returns the number of announcements entries.
|
com.liferay.announcements.kernel.model.AnnouncementsEntry |
getAnnouncementsEntry(long entryId)
Returns the announcements entry with the primary key.
|
com.liferay.announcements.kernel.model.AnnouncementsEntry |
getAnnouncementsEntryByUuidAndCompanyId(String uuid,
long companyId)
Returns the announcements entry with the matching UUID and company.
|
com.liferay.announcements.kernel.service.persistence.AnnouncementsEntryFinder |
getAnnouncementsEntryFinder()
Returns the announcements entry finder.
|
com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService |
getAnnouncementsEntryLocalService()
Returns the announcements entry local service.
|
com.liferay.announcements.kernel.service.persistence.AnnouncementsEntryPersistence |
getAnnouncementsEntryPersistence()
Returns the announcements entry persistence.
|
com.liferay.announcements.kernel.service.AnnouncementsFlagLocalService |
getAnnouncementsFlagLocalService()
Returns the announcements flag local service.
|
com.liferay.announcements.kernel.service.persistence.AnnouncementsFlagPersistence |
getAnnouncementsFlagPersistence()
Returns the announcements flag persistence.
|
com.liferay.portal.kernel.service.CompanyLocalService |
getCompanyLocalService()
Returns the company local service.
|
com.liferay.portal.kernel.service.persistence.CompanyPersistence |
getCompanyPersistence()
Returns the company persistence.
|
com.liferay.counter.kernel.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.service.persistence.GroupFinder |
getGroupFinder()
Returns the group finder.
|
com.liferay.portal.kernel.service.GroupLocalService |
getGroupLocalService()
Returns the group local service.
|
com.liferay.portal.kernel.service.persistence.GroupPersistence |
getGroupPersistence()
Returns the group persistence.
|
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
protected Class<?> |
getModelClass() |
protected String |
getModelClassName() |
com.liferay.portal.kernel.service.persistence.OrganizationFinder |
getOrganizationFinder()
Returns the organization finder.
|
com.liferay.portal.kernel.service.OrganizationLocalService |
getOrganizationLocalService()
Returns the organization local service.
|
com.liferay.portal.kernel.service.persistence.OrganizationPersistence |
getOrganizationPersistence()
Returns the organization persistence.
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
com.liferay.portal.kernel.service.ResourceLocalService |
getResourceLocalService()
Returns the resource local service.
|
com.liferay.portal.kernel.service.persistence.RoleFinder |
getRoleFinder()
Returns the role finder.
|
com.liferay.portal.kernel.service.RoleLocalService |
getRoleLocalService()
Returns the role local service.
|
com.liferay.portal.kernel.service.persistence.RolePersistence |
getRolePersistence()
Returns the role persistence.
|
com.liferay.portal.kernel.service.persistence.TeamFinder |
getTeamFinder()
Returns the team finder.
|
com.liferay.portal.kernel.service.TeamLocalService |
getTeamLocalService()
Returns the team local service.
|
com.liferay.portal.kernel.service.persistence.TeamPersistence |
getTeamPersistence()
Returns the team persistence.
|
com.liferay.portal.kernel.service.persistence.UserFinder |
getUserFinder()
Returns the user finder.
|
com.liferay.portal.kernel.service.persistence.UserGroupFinder |
getUserGroupFinder()
Returns the user group finder.
|
com.liferay.portal.kernel.service.UserGroupLocalService |
getUserGroupLocalService()
Returns the user group local service.
|
com.liferay.portal.kernel.service.persistence.UserGroupPersistence |
getUserGroupPersistence()
Returns the user group persistence.
|
com.liferay.portal.kernel.service.UserLocalService |
getUserLocalService()
Returns the user local service.
|
com.liferay.portal.kernel.service.persistence.UserPersistence |
getUserPersistence()
Returns the user persistence.
|
protected void |
initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) |
protected void |
runSQL(String sql)
Performs a SQL query.
|
void |
setAnnouncementsDeliveryLocalService(com.liferay.announcements.kernel.service.AnnouncementsDeliveryLocalService announcementsDeliveryLocalService)
Sets the announcements delivery local service.
|
void |
setAnnouncementsDeliveryPersistence(com.liferay.announcements.kernel.service.persistence.AnnouncementsDeliveryPersistence announcementsDeliveryPersistence)
Sets the announcements delivery persistence.
|
void |
setAnnouncementsEntryFinder(com.liferay.announcements.kernel.service.persistence.AnnouncementsEntryFinder announcementsEntryFinder)
Sets the announcements entry finder.
|
void |
setAnnouncementsEntryLocalService(com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService announcementsEntryLocalService)
Sets the announcements entry local service.
|
void |
setAnnouncementsEntryPersistence(com.liferay.announcements.kernel.service.persistence.AnnouncementsEntryPersistence announcementsEntryPersistence)
Sets the announcements entry persistence.
|
void |
setAnnouncementsFlagLocalService(com.liferay.announcements.kernel.service.AnnouncementsFlagLocalService announcementsFlagLocalService)
Sets the announcements flag local service.
|
void |
setAnnouncementsFlagPersistence(com.liferay.announcements.kernel.service.persistence.AnnouncementsFlagPersistence announcementsFlagPersistence)
Sets the announcements flag persistence.
|
void |
setCompanyLocalService(com.liferay.portal.kernel.service.CompanyLocalService companyLocalService)
Sets the company local service.
|
void |
setCompanyPersistence(com.liferay.portal.kernel.service.persistence.CompanyPersistence companyPersistence)
Sets the company persistence.
|
void |
setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
Sets the counter local service.
|
void |
setGroupFinder(com.liferay.portal.kernel.service.persistence.GroupFinder groupFinder)
Sets the group finder.
|
void |
setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService)
Sets the group local service.
|
void |
setGroupPersistence(com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence)
Sets the group persistence.
|
void |
setOrganizationFinder(com.liferay.portal.kernel.service.persistence.OrganizationFinder organizationFinder)
Sets the organization finder.
|
void |
setOrganizationLocalService(com.liferay.portal.kernel.service.OrganizationLocalService organizationLocalService)
Sets the organization local service.
|
void |
setOrganizationPersistence(com.liferay.portal.kernel.service.persistence.OrganizationPersistence organizationPersistence)
Sets the organization persistence.
|
void |
setResourceLocalService(com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService)
Sets the resource local service.
|
void |
setRoleFinder(com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder)
Sets the role finder.
|
void |
setRoleLocalService(com.liferay.portal.kernel.service.RoleLocalService roleLocalService)
Sets the role local service.
|
void |
setRolePersistence(com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence)
Sets the role persistence.
|
void |
setTeamFinder(com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder)
Sets the team finder.
|
void |
setTeamLocalService(com.liferay.portal.kernel.service.TeamLocalService teamLocalService)
Sets the team local service.
|
void |
setTeamPersistence(com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence)
Sets the team persistence.
|
void |
setUserFinder(com.liferay.portal.kernel.service.persistence.UserFinder userFinder)
Sets the user finder.
|
void |
setUserGroupFinder(com.liferay.portal.kernel.service.persistence.UserGroupFinder userGroupFinder)
Sets the user group finder.
|
void |
setUserGroupLocalService(com.liferay.portal.kernel.service.UserGroupLocalService userGroupLocalService)
Sets the user group local service.
|
void |
setUserGroupPersistence(com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence)
Sets the user group persistence.
|
void |
setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)
Sets the user local service.
|
void |
setUserPersistence(com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence)
Sets the user persistence.
|
com.liferay.announcements.kernel.model.AnnouncementsEntry |
updateAnnouncementsEntry(com.liferay.announcements.kernel.model.AnnouncementsEntry announcementsEntry)
Updates the announcements entry in the database or adds it if it does not yet exist.
|
getClassLoader, getLocalizationMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEntry, addEntry, checkEntries, deleteEntries, deleteEntries, deleteEntry, deleteEntry, getEntries, getEntries, getEntries, getEntries, getEntries, getEntriesCount, getEntriesCount, getEntriesCount, getEntriesCount, getEntriesCount, getEntriesCount, getEntry, getUserEntries, getUserEntriesCount, updateEntry, updateEntry
@BeanReference(type=com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService.class) protected com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService announcementsEntryLocalService
@BeanReference(type=com.liferay.announcements.kernel.service.persistence.AnnouncementsEntryPersistence.class) protected com.liferay.announcements.kernel.service.persistence.AnnouncementsEntryPersistence announcementsEntryPersistence
@BeanReference(type=com.liferay.announcements.kernel.service.persistence.AnnouncementsEntryFinder.class) protected com.liferay.announcements.kernel.service.persistence.AnnouncementsEntryFinder announcementsEntryFinder
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
@BeanReference(type=com.liferay.portal.kernel.service.CompanyLocalService.class) protected com.liferay.portal.kernel.service.CompanyLocalService companyLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyPersistence.class) protected com.liferay.portal.kernel.service.persistence.CompanyPersistence companyPersistence
@BeanReference(type=com.liferay.portal.kernel.service.GroupLocalService.class) protected com.liferay.portal.kernel.service.GroupLocalService groupLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.GroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.GroupFinder.class) protected com.liferay.portal.kernel.service.persistence.GroupFinder groupFinder
@BeanReference(type=com.liferay.portal.kernel.service.OrganizationLocalService.class) protected com.liferay.portal.kernel.service.OrganizationLocalService organizationLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.OrganizationPersistence.class) protected com.liferay.portal.kernel.service.persistence.OrganizationPersistence organizationPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.OrganizationFinder.class) protected com.liferay.portal.kernel.service.persistence.OrganizationFinder organizationFinder
@BeanReference(type=com.liferay.portal.kernel.service.ResourceLocalService.class) protected com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService
@BeanReference(type=com.liferay.portal.kernel.service.RoleLocalService.class) protected com.liferay.portal.kernel.service.RoleLocalService roleLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.RolePersistence.class) protected com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.RoleFinder.class) protected com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder
@BeanReference(type=com.liferay.portal.kernel.service.TeamLocalService.class) protected com.liferay.portal.kernel.service.TeamLocalService teamLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.TeamPersistence.class) protected com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.TeamFinder.class) protected com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder
@BeanReference(type=com.liferay.portal.kernel.service.UserLocalService.class) protected com.liferay.portal.kernel.service.UserLocalService userLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserFinder.class) protected com.liferay.portal.kernel.service.persistence.UserFinder userFinder
@BeanReference(type=com.liferay.portal.kernel.service.UserGroupLocalService.class) protected com.liferay.portal.kernel.service.UserGroupLocalService userGroupLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupFinder.class) protected com.liferay.portal.kernel.service.persistence.UserGroupFinder userGroupFinder
@BeanReference(type=com.liferay.announcements.kernel.service.AnnouncementsDeliveryLocalService.class) protected com.liferay.announcements.kernel.service.AnnouncementsDeliveryLocalService announcementsDeliveryLocalService
@BeanReference(type=com.liferay.announcements.kernel.service.persistence.AnnouncementsDeliveryPersistence.class) protected com.liferay.announcements.kernel.service.persistence.AnnouncementsDeliveryPersistence announcementsDeliveryPersistence
@BeanReference(type=com.liferay.announcements.kernel.service.AnnouncementsFlagLocalService.class) protected com.liferay.announcements.kernel.service.AnnouncementsFlagLocalService announcementsFlagLocalService
@BeanReference(type=com.liferay.announcements.kernel.service.persistence.AnnouncementsFlagPersistence.class) protected com.liferay.announcements.kernel.service.persistence.AnnouncementsFlagPersistence announcementsFlagPersistence
@BeanReference(type=com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry.class) protected com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
public AnnouncementsEntryLocalServiceBaseImpl()
@Indexable(type=REINDEX) public com.liferay.announcements.kernel.model.AnnouncementsEntry addAnnouncementsEntry(com.liferay.announcements.kernel.model.AnnouncementsEntry announcementsEntry)
addAnnouncementsEntry
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
announcementsEntry
- the announcements entry@Transactional(enabled=false) public com.liferay.announcements.kernel.model.AnnouncementsEntry createAnnouncementsEntry(long entryId)
createAnnouncementsEntry
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
entryId
- the primary key for the new announcements entry@Indexable(type=DELETE) public com.liferay.announcements.kernel.model.AnnouncementsEntry deleteAnnouncementsEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
deleteAnnouncementsEntry
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
entryId
- the primary key of the announcements entrycom.liferay.portal.kernel.exception.PortalException
- if a announcements entry with the primary key could not be found@Indexable(type=DELETE) public com.liferay.announcements.kernel.model.AnnouncementsEntry deleteAnnouncementsEntry(com.liferay.announcements.kernel.model.AnnouncementsEntry announcementsEntry)
deleteAnnouncementsEntry
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
announcementsEntry
- the announcements entrypublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
dynamicQuery
- the dynamic querypublic <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
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 AnnouncementsEntryModelImpl
. 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 com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
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 AnnouncementsEntryModelImpl
. 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 com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
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
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic com.liferay.announcements.kernel.model.AnnouncementsEntry fetchAnnouncementsEntry(long entryId)
fetchAnnouncementsEntry
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
public com.liferay.announcements.kernel.model.AnnouncementsEntry fetchAnnouncementsEntryByUuidAndCompanyId(String uuid, long companyId)
fetchAnnouncementsEntryByUuidAndCompanyId
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
uuid
- the announcements entry's UUIDcompanyId
- the primary key of the companynull
if a matching announcements entry could not be foundpublic com.liferay.announcements.kernel.model.AnnouncementsEntry getAnnouncementsEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
getAnnouncementsEntry
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
entryId
- the primary key of the announcements entrycom.liferay.portal.kernel.exception.PortalException
- if a announcements entry with the primary key could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
protected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery)
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.announcements.kernel.model.AnnouncementsEntry getAnnouncementsEntryByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getAnnouncementsEntryByUuidAndCompanyId
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
uuid
- the announcements entry's UUIDcompanyId
- the primary key of the companycom.liferay.portal.kernel.exception.PortalException
- if a matching announcements entry could not be foundpublic List<com.liferay.announcements.kernel.model.AnnouncementsEntry> getAnnouncementsEntries(int start, int end)
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 AnnouncementsEntryModelImpl
. 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.
getAnnouncementsEntries
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
start
- the lower bound of the range of announcements entriesend
- the upper bound of the range of announcements entries (not inclusive)public int getAnnouncementsEntriesCount()
getAnnouncementsEntriesCount
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
@Indexable(type=REINDEX) public com.liferay.announcements.kernel.model.AnnouncementsEntry updateAnnouncementsEntry(com.liferay.announcements.kernel.model.AnnouncementsEntry announcementsEntry)
updateAnnouncementsEntry
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
announcementsEntry
- the announcements entrypublic com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService getAnnouncementsEntryLocalService()
public void setAnnouncementsEntryLocalService(com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService announcementsEntryLocalService)
announcementsEntryLocalService
- the announcements entry local servicepublic com.liferay.announcements.kernel.service.persistence.AnnouncementsEntryPersistence getAnnouncementsEntryPersistence()
public void setAnnouncementsEntryPersistence(com.liferay.announcements.kernel.service.persistence.AnnouncementsEntryPersistence announcementsEntryPersistence)
announcementsEntryPersistence
- the announcements entry persistencepublic com.liferay.announcements.kernel.service.persistence.AnnouncementsEntryFinder getAnnouncementsEntryFinder()
public void setAnnouncementsEntryFinder(com.liferay.announcements.kernel.service.persistence.AnnouncementsEntryFinder announcementsEntryFinder)
announcementsEntryFinder
- the announcements entry finderpublic com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
counterLocalService
- the counter local servicepublic com.liferay.portal.kernel.service.CompanyLocalService getCompanyLocalService()
public void setCompanyLocalService(com.liferay.portal.kernel.service.CompanyLocalService companyLocalService)
companyLocalService
- the company local servicepublic com.liferay.portal.kernel.service.persistence.CompanyPersistence getCompanyPersistence()
public void setCompanyPersistence(com.liferay.portal.kernel.service.persistence.CompanyPersistence companyPersistence)
companyPersistence
- the company persistencepublic com.liferay.portal.kernel.service.GroupLocalService getGroupLocalService()
public void setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService)
groupLocalService
- the group local servicepublic com.liferay.portal.kernel.service.persistence.GroupPersistence getGroupPersistence()
public void setGroupPersistence(com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence)
groupPersistence
- the group persistencepublic com.liferay.portal.kernel.service.persistence.GroupFinder getGroupFinder()
public void setGroupFinder(com.liferay.portal.kernel.service.persistence.GroupFinder groupFinder)
groupFinder
- the group finderpublic com.liferay.portal.kernel.service.OrganizationLocalService getOrganizationLocalService()
public void setOrganizationLocalService(com.liferay.portal.kernel.service.OrganizationLocalService organizationLocalService)
organizationLocalService
- the organization local servicepublic com.liferay.portal.kernel.service.persistence.OrganizationPersistence getOrganizationPersistence()
public void setOrganizationPersistence(com.liferay.portal.kernel.service.persistence.OrganizationPersistence organizationPersistence)
organizationPersistence
- the organization persistencepublic com.liferay.portal.kernel.service.persistence.OrganizationFinder getOrganizationFinder()
public void setOrganizationFinder(com.liferay.portal.kernel.service.persistence.OrganizationFinder organizationFinder)
organizationFinder
- the organization finderpublic com.liferay.portal.kernel.service.ResourceLocalService getResourceLocalService()
public void setResourceLocalService(com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService)
resourceLocalService
- the resource local servicepublic com.liferay.portal.kernel.service.RoleLocalService getRoleLocalService()
public void setRoleLocalService(com.liferay.portal.kernel.service.RoleLocalService roleLocalService)
roleLocalService
- the role local servicepublic com.liferay.portal.kernel.service.persistence.RolePersistence getRolePersistence()
public void setRolePersistence(com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence)
rolePersistence
- the role persistencepublic com.liferay.portal.kernel.service.persistence.RoleFinder getRoleFinder()
public void setRoleFinder(com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder)
roleFinder
- the role finderpublic com.liferay.portal.kernel.service.TeamLocalService getTeamLocalService()
public void setTeamLocalService(com.liferay.portal.kernel.service.TeamLocalService teamLocalService)
teamLocalService
- the team local servicepublic com.liferay.portal.kernel.service.persistence.TeamPersistence getTeamPersistence()
public void setTeamPersistence(com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence)
teamPersistence
- the team persistencepublic com.liferay.portal.kernel.service.persistence.TeamFinder getTeamFinder()
public void setTeamFinder(com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder)
teamFinder
- the team finderpublic com.liferay.portal.kernel.service.UserLocalService getUserLocalService()
public void setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)
userLocalService
- the user local servicepublic com.liferay.portal.kernel.service.persistence.UserPersistence getUserPersistence()
public void setUserPersistence(com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence)
userPersistence
- the user persistencepublic com.liferay.portal.kernel.service.persistence.UserFinder getUserFinder()
public void setUserFinder(com.liferay.portal.kernel.service.persistence.UserFinder userFinder)
userFinder
- the user finderpublic com.liferay.portal.kernel.service.UserGroupLocalService getUserGroupLocalService()
public void setUserGroupLocalService(com.liferay.portal.kernel.service.UserGroupLocalService userGroupLocalService)
userGroupLocalService
- the user group local servicepublic com.liferay.portal.kernel.service.persistence.UserGroupPersistence getUserGroupPersistence()
public void setUserGroupPersistence(com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence)
userGroupPersistence
- the user group persistencepublic com.liferay.portal.kernel.service.persistence.UserGroupFinder getUserGroupFinder()
public void setUserGroupFinder(com.liferay.portal.kernel.service.persistence.UserGroupFinder userGroupFinder)
userGroupFinder
- the user group finderpublic com.liferay.announcements.kernel.service.AnnouncementsDeliveryLocalService getAnnouncementsDeliveryLocalService()
public void setAnnouncementsDeliveryLocalService(com.liferay.announcements.kernel.service.AnnouncementsDeliveryLocalService announcementsDeliveryLocalService)
announcementsDeliveryLocalService
- the announcements delivery local servicepublic com.liferay.announcements.kernel.service.persistence.AnnouncementsDeliveryPersistence getAnnouncementsDeliveryPersistence()
public void setAnnouncementsDeliveryPersistence(com.liferay.announcements.kernel.service.persistence.AnnouncementsDeliveryPersistence announcementsDeliveryPersistence)
announcementsDeliveryPersistence
- the announcements delivery persistencepublic com.liferay.announcements.kernel.service.AnnouncementsFlagLocalService getAnnouncementsFlagLocalService()
public void setAnnouncementsFlagLocalService(com.liferay.announcements.kernel.service.AnnouncementsFlagLocalService announcementsFlagLocalService)
announcementsFlagLocalService
- the announcements flag local servicepublic com.liferay.announcements.kernel.service.persistence.AnnouncementsFlagPersistence getAnnouncementsFlagPersistence()
public void setAnnouncementsFlagPersistence(com.liferay.announcements.kernel.service.persistence.AnnouncementsFlagPersistence announcementsFlagPersistence)
announcementsFlagPersistence
- the announcements flag persistencepublic void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface com.liferay.announcements.kernel.service.AnnouncementsEntryLocalService
getOSGiServiceIdentifier
in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
protected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql
- the sql query