@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface BlogsStatsUserLocalService
extends com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService
BlogsStatsUserLocalServiceUtil
Modifier and Type | Method and Description |
---|---|
BlogsStatsUser |
addBlogsStatsUser(BlogsStatsUser blogsStatsUser)
Adds the blogs stats user to the database.
|
BlogsStatsUser |
createBlogsStatsUser(long statsUserId)
Creates a new blogs stats user with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
BlogsStatsUser |
deleteBlogsStatsUser(BlogsStatsUser blogsStatsUser)
Deletes the blogs stats user from the database.
|
BlogsStatsUser |
deleteBlogsStatsUser(long statsUserId)
Deletes the blogs stats user with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
deleteStatsUser(BlogsStatsUser statsUsers) |
void |
deleteStatsUser(long statsUserId) |
void |
deleteStatsUserByGroupId(long groupId) |
void |
deleteStatsUserByUserId(long userId) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.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> java.util.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.
|
BlogsStatsUser |
fetchBlogsStatsUser(long statsUserId) |
BlogsStatsUser |
fetchStatsUser(long groupId,
long userId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
BlogsStatsUser |
getBlogsStatsUser(long statsUserId)
Returns the blogs stats user with the primary key.
|
java.util.List<BlogsStatsUser> |
getBlogsStatsUsers(int start,
int end)
Returns a range of all the blogs stats users.
|
int |
getBlogsStatsUsersCount()
Returns the number of blogs stats users.
|
java.util.List<BlogsStatsUser> |
getCompanyStatsUsers(long companyId,
int start,
int end) |
java.util.List<BlogsStatsUser> |
getCompanyStatsUsers(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BlogsStatsUser> orderByComparator) |
int |
getCompanyStatsUsersCount(long companyId) |
java.util.List<BlogsStatsUser> |
getGroupsStatsUsers(long companyId,
long groupId,
int start,
int end) |
java.util.List<BlogsStatsUser> |
getGroupStatsUsers(long groupId,
int start,
int end) |
java.util.List<BlogsStatsUser> |
getGroupStatsUsers(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BlogsStatsUser> orderByComparator) |
int |
getGroupStatsUsersCount(long groupId) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.util.List<BlogsStatsUser> |
getOrganizationStatsUsers(long organizationId,
int start,
int end) |
java.util.List<BlogsStatsUser> |
getOrganizationStatsUsers(long organizationId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BlogsStatsUser> orderByComparator) |
int |
getOrganizationStatsUsersCount(long organizationId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
BlogsStatsUser |
getStatsUser(long groupId,
long userId) |
BlogsStatsUser |
updateBlogsStatsUser(BlogsStatsUser blogsStatsUser)
Updates the blogs stats user in the database or adds it if it does not yet exist.
|
void |
updateStatsUser(long groupId,
long userId) |
void |
updateStatsUser(long groupId,
long userId,
java.util.Date displayDate) |
BlogsStatsUser |
updateStatsUser(long groupId,
long userId,
int ratingsTotalEntries,
double ratingsTotalScore,
double ratingsAverageScore) |
@Indexable(type=REINDEX) BlogsStatsUser addBlogsStatsUser(BlogsStatsUser blogsStatsUser)
Important: Inspect BlogsStatsUserLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
blogsStatsUser
- the blogs stats user@Transactional(enabled=false) BlogsStatsUser createBlogsStatsUser(long statsUserId)
statsUserId
- the primary key for the new blogs stats usercom.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=DELETE) BlogsStatsUser deleteBlogsStatsUser(BlogsStatsUser blogsStatsUser)
Important: Inspect BlogsStatsUserLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
blogsStatsUser
- the blogs stats user@Indexable(type=DELETE) BlogsStatsUser deleteBlogsStatsUser(long statsUserId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect BlogsStatsUserLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
statsUserId
- the primary key of the blogs stats usercom.liferay.portal.kernel.exception.PortalException
- if a blogs stats user with the primary key could not be foundcom.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.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
void deleteStatsUser(BlogsStatsUser statsUsers)
void deleteStatsUser(long statsUserId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteStatsUserByGroupId(long groupId)
void deleteStatsUserByUserId(long userId)
@Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
@Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query@Transactional(propagation=SUPPORTS, readOnly=true) <T> java.util.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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.blogs.model.impl.BlogsStatsUserModelImpl
.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) <T> java.util.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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.blogs.model.impl.BlogsStatsUserModelImpl
.
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
)@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query@Transactional(propagation=SUPPORTS, readOnly=true) BlogsStatsUser fetchBlogsStatsUser(long statsUserId)
@Transactional(propagation=SUPPORTS, readOnly=true) BlogsStatsUser fetchStatsUser(long groupId, long userId)
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) BlogsStatsUser getBlogsStatsUser(long statsUserId) throws com.liferay.portal.kernel.exception.PortalException
statsUserId
- the primary key of the blogs stats usercom.liferay.portal.kernel.exception.PortalException
- if a blogs stats user with the primary key could not be found@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BlogsStatsUser> getBlogsStatsUsers(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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.blogs.model.impl.BlogsStatsUserModelImpl
.
start
- the lower bound of the range of blogs stats usersend
- the upper bound of the range of blogs stats users (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) int getBlogsStatsUsersCount()
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BlogsStatsUser> getCompanyStatsUsers(long companyId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BlogsStatsUser> getCompanyStatsUsers(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BlogsStatsUser> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCompanyStatsUsersCount(long companyId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BlogsStatsUser> getGroupsStatsUsers(long companyId, long groupId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BlogsStatsUser> getGroupStatsUsers(long groupId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BlogsStatsUser> getGroupStatsUsers(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BlogsStatsUser> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupStatsUsersCount(long groupId)
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BlogsStatsUser> getOrganizationStatsUsers(long organizationId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BlogsStatsUser> getOrganizationStatsUsers(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BlogsStatsUser> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) int getOrganizationStatsUsersCount(long organizationId)
java.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) BlogsStatsUser getStatsUser(long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) BlogsStatsUser updateBlogsStatsUser(BlogsStatsUser blogsStatsUser)
Important: Inspect BlogsStatsUserLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
blogsStatsUser
- the blogs stats uservoid updateStatsUser(long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void updateStatsUser(long groupId, long userId, java.util.Date displayDate) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
BlogsStatsUser updateStatsUser(long groupId, long userId, int ratingsTotalEntries, double ratingsTotalScore, double ratingsAverageScore) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException