public class MBStatsUserLocalServiceWrapper extends java.lang.Object implements MBStatsUserLocalService, com.liferay.portal.kernel.service.ServiceWrapper<MBStatsUserLocalService>
MBStatsUserLocalService.MBStatsUserLocalService| Constructor and Description |
|---|
MBStatsUserLocalServiceWrapper(MBStatsUserLocalService mbStatsUserLocalService) |
| Modifier and Type | Method and Description |
|---|---|
MBStatsUser |
addMBStatsUser(MBStatsUser mbStatsUser)
Adds the message boards stats user to the database.
|
MBStatsUser |
addStatsUser(long groupId,
long userId) |
MBStatsUser |
createMBStatsUser(long statsUserId)
Creates a new message boards stats user with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
MBStatsUser |
deleteMBStatsUser(long statsUserId)
Deletes the message boards stats user with the primary key from the database.
|
MBStatsUser |
deleteMBStatsUser(MBStatsUser mbStatsUser)
Deletes the message boards stats user from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
deleteStatsUser(long statsUserId) |
void |
deleteStatsUser(MBStatsUser statsUser) |
void |
deleteStatsUsersByGroupId(long groupId) |
void |
deleteStatsUsersByUserId(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.
|
MBStatsUser |
fetchMBStatsUser(long statsUserId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBStatsUser> |
getCTPersistence() |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.util.Date |
getLastPostDateByUserId(long groupId,
long userId) |
MBStatsUser |
getMBStatsUser(long statsUserId)
Returns the message boards stats user with the primary key.
|
java.util.List<MBStatsUser> |
getMBStatsUsers(int start,
int end)
Returns a range of all the message boards stats users.
|
int |
getMBStatsUsersCount()
Returns the number of message boards stats users.
|
long |
getMessageCountByGroupId(long groupId) |
long |
getMessageCountByUserId(long userId) |
java.lang.Class<MBStatsUser> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
MBStatsUser |
getStatsUser(long groupId,
long userId) |
java.util.List<MBStatsUser> |
getStatsUsersByGroupId(long groupId,
int start,
int end) |
int |
getStatsUsersByGroupIdCount(long groupId) |
java.util.List<MBStatsUser> |
getStatsUsersByUserId(long userId) |
java.lang.String[] |
getUserRank(long groupId,
java.lang.String languageId,
long userId) |
MBStatsUserLocalService |
getWrappedService() |
void |
setWrappedService(MBStatsUserLocalService mbStatsUserLocalService) |
MBStatsUser |
updateMBStatsUser(MBStatsUser mbStatsUser)
Updates the message boards stats user in the database or adds it if it does not yet exist.
|
MBStatsUser |
updateStatsUser(long groupId,
long userId) |
MBStatsUser |
updateStatsUser(long groupId,
long userId,
java.util.Date lastPostDate) |
MBStatsUser |
updateStatsUser(long groupId,
long userId,
int messageCount,
java.util.Date lastPostDate) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBStatsUser>,R,E> updateUnsafeFunction) |
public MBStatsUserLocalServiceWrapper(MBStatsUserLocalService mbStatsUserLocalService)
public MBStatsUser addMBStatsUser(MBStatsUser mbStatsUser)
Important: Inspect MBStatsUserLocalServiceImpl 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.
addMBStatsUser in interface MBStatsUserLocalServicembStatsUser - the message boards stats userpublic MBStatsUser addStatsUser(long groupId, long userId)
addStatsUser in interface MBStatsUserLocalServicepublic MBStatsUser createMBStatsUser(long statsUserId)
createMBStatsUser in interface MBStatsUserLocalServicestatsUserId - the primary key for the new message boards stats userpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface MBStatsUserLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic MBStatsUser deleteMBStatsUser(long statsUserId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect MBStatsUserLocalServiceImpl 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.
deleteMBStatsUser in interface MBStatsUserLocalServicestatsUserId - the primary key of the message boards stats userPortalException - if a message boards stats user with the primary key could not be foundpublic MBStatsUser deleteMBStatsUser(MBStatsUser mbStatsUser)
Important: Inspect MBStatsUserLocalServiceImpl 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.
deleteMBStatsUser in interface MBStatsUserLocalServicembStatsUser - the message boards stats userpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface MBStatsUserLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic void deleteStatsUser(long statsUserId)
throws com.liferay.portal.kernel.exception.PortalException
deleteStatsUser in interface MBStatsUserLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteStatsUser(MBStatsUser statsUser)
deleteStatsUser in interface MBStatsUserLocalServicepublic void deleteStatsUsersByGroupId(long groupId)
deleteStatsUsersByGroupId in interface MBStatsUserLocalServicepublic void deleteStatsUsersByUserId(long userId)
deleteStatsUsersByUserId in interface MBStatsUserLocalServicepublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface MBStatsUserLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface MBStatsUserLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface MBStatsUserLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface MBStatsUserLocalServicedynamicQuery - the dynamic querypublic <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.message.boards.model.impl.MBStatsUserModelImpl.
dynamicQuery in interface MBStatsUserLocalServicedynamicQuery - 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> 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.message.boards.model.impl.MBStatsUserModelImpl.
dynamicQuery in interface MBStatsUserLocalServicedynamicQuery - 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 MBStatsUserLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface MBStatsUserLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic MBStatsUser fetchMBStatsUser(long statsUserId)
fetchMBStatsUser in interface MBStatsUserLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface MBStatsUserLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface MBStatsUserLocalServicepublic java.util.Date getLastPostDateByUserId(long groupId,
long userId)
getLastPostDateByUserId in interface MBStatsUserLocalServicepublic MBStatsUser getMBStatsUser(long statsUserId) throws com.liferay.portal.kernel.exception.PortalException
getMBStatsUser in interface MBStatsUserLocalServicestatsUserId - the primary key of the message boards stats userPortalException - if a message boards stats user with the primary key could not be foundpublic java.util.List<MBStatsUser> getMBStatsUsers(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.message.boards.model.impl.MBStatsUserModelImpl.
getMBStatsUsers in interface MBStatsUserLocalServicestart - the lower bound of the range of message boards stats usersend - the upper bound of the range of message boards stats users (not inclusive)public int getMBStatsUsersCount()
getMBStatsUsersCount in interface MBStatsUserLocalServicepublic long getMessageCountByGroupId(long groupId)
getMessageCountByGroupId in interface MBStatsUserLocalServicepublic long getMessageCountByUserId(long userId)
getMessageCountByUserId in interface MBStatsUserLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface MBStatsUserLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface MBStatsUserLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic MBStatsUser getStatsUser(long groupId, long userId)
getStatsUser in interface MBStatsUserLocalServicepublic java.util.List<MBStatsUser> getStatsUsersByGroupId(long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getStatsUsersByGroupId in interface MBStatsUserLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getStatsUsersByGroupIdCount(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
getStatsUsersByGroupIdCount in interface MBStatsUserLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<MBStatsUser> getStatsUsersByUserId(long userId)
getStatsUsersByUserId in interface MBStatsUserLocalServicepublic java.lang.String[] getUserRank(long groupId,
java.lang.String languageId,
long userId)
throws com.liferay.portal.kernel.exception.PortalException
getUserRank in interface MBStatsUserLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MBStatsUser updateMBStatsUser(MBStatsUser mbStatsUser)
Important: Inspect MBStatsUserLocalServiceImpl 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.
updateMBStatsUser in interface MBStatsUserLocalServicembStatsUser - the message boards stats userpublic MBStatsUser updateStatsUser(long groupId, long userId)
updateStatsUser in interface MBStatsUserLocalServicepublic MBStatsUser updateStatsUser(long groupId, long userId, java.util.Date lastPostDate)
updateStatsUser in interface MBStatsUserLocalServicepublic MBStatsUser updateStatsUser(long groupId, long userId, int messageCount, java.util.Date lastPostDate)
updateStatsUser in interface MBStatsUserLocalServicepublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBStatsUser> getCTPersistence()
getCTPersistence in interface MBStatsUserLocalServicegetCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<MBStatsUser>public java.lang.Class<MBStatsUser> getModelClass()
getModelClass in interface MBStatsUserLocalServicegetModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<MBStatsUser>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBStatsUser>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface MBStatsUserLocalServiceupdateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<MBStatsUser>E extends java.lang.Throwablepublic MBStatsUserLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MBStatsUserLocalService>public void setWrappedService(MBStatsUserLocalService mbStatsUserLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MBStatsUserLocalService>