@ProviderType public class BlogsStatsUserLocalServiceWrapper extends Object implements BlogsStatsUserLocalService, ServiceWrapper<BlogsStatsUserLocalService>
BlogsStatsUserLocalService
.BlogsStatsUserLocalService
Constructor and Description |
---|
BlogsStatsUserLocalServiceWrapper(BlogsStatsUserLocalService blogsStatsUserLocalService) |
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.
|
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.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
void |
deleteStatsUser(BlogsStatsUser statsUsers) |
void |
deleteStatsUser(long statsUserId) |
void |
deleteStatsUserByGroupId(long groupId) |
void |
deleteStatsUserByUserId(long userId) |
DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(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(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> 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 matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
BlogsStatsUser |
fetchBlogsStatsUser(long statsUserId) |
BlogsStatsUser |
fetchStatsUser(long groupId,
long userId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
BlogsStatsUser |
getBlogsStatsUser(long statsUserId)
Returns the blogs stats user with the primary key.
|
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.
|
List<BlogsStatsUser> |
getCompanyStatsUsers(long companyId,
int start,
int end) |
List<BlogsStatsUser> |
getCompanyStatsUsers(long companyId,
int start,
int end,
OrderByComparator<BlogsStatsUser> obc) |
int |
getCompanyStatsUsersCount(long companyId) |
List<BlogsStatsUser> |
getGroupsStatsUsers(long companyId,
long groupId,
int start,
int end) |
List<BlogsStatsUser> |
getGroupStatsUsers(long groupId,
int start,
int end) |
List<BlogsStatsUser> |
getGroupStatsUsers(long groupId,
int start,
int end,
OrderByComparator<BlogsStatsUser> obc) |
int |
getGroupStatsUsersCount(long groupId) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
List<BlogsStatsUser> |
getOrganizationStatsUsers(long organizationId,
int start,
int end) |
List<BlogsStatsUser> |
getOrganizationStatsUsers(long organizationId,
int start,
int end,
OrderByComparator<BlogsStatsUser> obc) |
int |
getOrganizationStatsUsersCount(long organizationId) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
BlogsStatsUser |
getStatsUser(long groupId,
long userId) |
BlogsStatsUserLocalService |
getWrappedService() |
void |
setWrappedService(BlogsStatsUserLocalService blogsStatsUserLocalService) |
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,
Date displayDate) |
BlogsStatsUser |
updateStatsUser(long groupId,
long userId,
int ratingsTotalEntries,
double ratingsTotalScore,
double ratingsAverageScore) |
public BlogsStatsUserLocalServiceWrapper(BlogsStatsUserLocalService blogsStatsUserLocalService)
public BlogsStatsUser addBlogsStatsUser(BlogsStatsUser blogsStatsUser)
addBlogsStatsUser
in interface BlogsStatsUserLocalService
blogsStatsUser
- the blogs stats userpublic BlogsStatsUser createBlogsStatsUser(long statsUserId)
createBlogsStatsUser
in interface BlogsStatsUserLocalService
statsUserId
- the primary key for the new blogs stats userpublic BlogsStatsUser deleteBlogsStatsUser(BlogsStatsUser blogsStatsUser)
deleteBlogsStatsUser
in interface BlogsStatsUserLocalService
blogsStatsUser
- the blogs stats userpublic BlogsStatsUser deleteBlogsStatsUser(long statsUserId) throws PortalException
deleteBlogsStatsUser
in interface BlogsStatsUserLocalService
statsUserId
- the primary key of the blogs stats userPortalException
- if a blogs stats user with the primary key could not be foundpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface BlogsStatsUserLocalService
deletePersistedModel
in interface PersistedModelLocalService
PortalException
public void deleteStatsUser(BlogsStatsUser statsUsers)
deleteStatsUser
in interface BlogsStatsUserLocalService
public void deleteStatsUser(long statsUserId) throws PortalException
deleteStatsUser
in interface BlogsStatsUserLocalService
PortalException
public void deleteStatsUserByGroupId(long groupId)
deleteStatsUserByGroupId
in interface BlogsStatsUserLocalService
public void deleteStatsUserByUserId(long userId)
deleteStatsUserByUserId
in interface BlogsStatsUserLocalService
public DynamicQuery dynamicQuery()
dynamicQuery
in interface BlogsStatsUserLocalService
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
in interface BlogsStatsUserLocalService
dynamicQuery
- the dynamic querypublic <T> List<T> dynamicQuery(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 BlogsStatsUserModelImpl
. 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 BlogsStatsUserLocalService
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(DynamicQuery dynamicQuery, int start, int end, 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 BlogsStatsUserModelImpl
. 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 BlogsStatsUserLocalService
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(DynamicQuery dynamicQuery)
dynamicQueryCount
in interface BlogsStatsUserLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount
in interface BlogsStatsUserLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic BlogsStatsUser fetchBlogsStatsUser(long statsUserId)
fetchBlogsStatsUser
in interface BlogsStatsUserLocalService
public BlogsStatsUser fetchStatsUser(long groupId, long userId)
fetchStatsUser
in interface BlogsStatsUserLocalService
public ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface BlogsStatsUserLocalService
public BlogsStatsUser getBlogsStatsUser(long statsUserId) throws PortalException
getBlogsStatsUser
in interface BlogsStatsUserLocalService
statsUserId
- the primary key of the blogs stats userPortalException
- if a blogs stats user with the primary key could not be foundpublic 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 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 BlogsStatsUserModelImpl
. 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.
getBlogsStatsUsers
in interface BlogsStatsUserLocalService
start
- the lower bound of the range of blogs stats usersend
- the upper bound of the range of blogs stats users (not inclusive)public int getBlogsStatsUsersCount()
getBlogsStatsUsersCount
in interface BlogsStatsUserLocalService
public List<BlogsStatsUser> getCompanyStatsUsers(long companyId, int start, int end)
getCompanyStatsUsers
in interface BlogsStatsUserLocalService
public List<BlogsStatsUser> getCompanyStatsUsers(long companyId, int start, int end, OrderByComparator<BlogsStatsUser> obc)
getCompanyStatsUsers
in interface BlogsStatsUserLocalService
public int getCompanyStatsUsersCount(long companyId)
getCompanyStatsUsersCount
in interface BlogsStatsUserLocalService
public List<BlogsStatsUser> getGroupsStatsUsers(long companyId, long groupId, int start, int end)
getGroupsStatsUsers
in interface BlogsStatsUserLocalService
public List<BlogsStatsUser> getGroupStatsUsers(long groupId, int start, int end)
getGroupStatsUsers
in interface BlogsStatsUserLocalService
public List<BlogsStatsUser> getGroupStatsUsers(long groupId, int start, int end, OrderByComparator<BlogsStatsUser> obc)
getGroupStatsUsers
in interface BlogsStatsUserLocalService
public int getGroupStatsUsersCount(long groupId)
getGroupStatsUsersCount
in interface BlogsStatsUserLocalService
public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface BlogsStatsUserLocalService
public List<BlogsStatsUser> getOrganizationStatsUsers(long organizationId, int start, int end)
getOrganizationStatsUsers
in interface BlogsStatsUserLocalService
public List<BlogsStatsUser> getOrganizationStatsUsers(long organizationId, int start, int end, OrderByComparator<BlogsStatsUser> obc)
getOrganizationStatsUsers
in interface BlogsStatsUserLocalService
public int getOrganizationStatsUsersCount(long organizationId)
getOrganizationStatsUsersCount
in interface BlogsStatsUserLocalService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface BlogsStatsUserLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface BlogsStatsUserLocalService
getPersistedModel
in interface PersistedModelLocalService
PortalException
public BlogsStatsUser getStatsUser(long groupId, long userId) throws PortalException
getStatsUser
in interface BlogsStatsUserLocalService
PortalException
public BlogsStatsUser updateBlogsStatsUser(BlogsStatsUser blogsStatsUser)
updateBlogsStatsUser
in interface BlogsStatsUserLocalService
blogsStatsUser
- the blogs stats userpublic void updateStatsUser(long groupId, long userId) throws PortalException
updateStatsUser
in interface BlogsStatsUserLocalService
PortalException
public void updateStatsUser(long groupId, long userId, Date displayDate) throws PortalException
updateStatsUser
in interface BlogsStatsUserLocalService
PortalException
public BlogsStatsUser updateStatsUser(long groupId, long userId, int ratingsTotalEntries, double ratingsTotalScore, double ratingsAverageScore) throws PortalException
updateStatsUser
in interface BlogsStatsUserLocalService
PortalException
public BlogsStatsUserLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<BlogsStatsUserLocalService>
public void setWrappedService(BlogsStatsUserLocalService blogsStatsUserLocalService)
setWrappedService
in interface ServiceWrapper<BlogsStatsUserLocalService>