public class StatusLocalServiceWrapper extends java.lang.Object implements ServiceWrapper<StatusLocalService>, StatusLocalService
StatusLocalService.StatusLocalService| Constructor and Description |
|---|
StatusLocalServiceWrapper(StatusLocalService statusLocalService) |
| Modifier and Type | Method and Description |
|---|---|
Status |
addStatus(Status status)
Adds the status to the database.
|
PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
Status |
createStatus(long statusId)
Creates a new status with the primary key.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
Status |
deleteStatus(long statusId)
Deletes the status with the primary key from the database.
|
Status |
deleteStatus(Status status)
Deletes the status from the database.
|
<T> T |
dslQuery(DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.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> java.util.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.
|
Status |
fetchStatus(long statusId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
java.util.List<java.lang.Object[]> |
getAllStatuses(long companyId,
long userId,
long modifiedDate,
int start,
int end) |
java.util.List<java.lang.Object[]> |
getGroupStatuses(long userId,
long modifiedDate,
java.lang.String[] groupNames,
int start,
int end) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<java.lang.Object[]> |
getSocialStatuses(long userId,
int[] types,
long modifiedDate,
int start,
int end) |
java.util.List<java.lang.Object[]> |
getSocialStatuses(long userId,
int type,
long modifiedDate,
int start,
int end) |
Status |
getStatus(long statusId)
Returns the status with the primary key.
|
java.util.List<Status> |
getStatuses(int start,
int end)
Returns a range of all the statuses.
|
int |
getStatusesCount()
Returns the number of statuses.
|
Status |
getUserStatus(long userId) |
StatusLocalService |
getWrappedService() |
void |
setWrappedService(StatusLocalService statusLocalService) |
Status |
updateStatus(long userId,
long modifiedDate) |
Status |
updateStatus(long userId,
long modifiedDate,
int online,
int awake,
java.lang.String activePanelIds,
java.lang.String message,
int playSound) |
Status |
updateStatus(Status status)
Updates the status in the database or adds it if it does not yet exist.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic StatusLocalServiceWrapper(StatusLocalService statusLocalService)
public Status addStatus(Status status)
Important: Inspect StatusLocalServiceImpl 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.
addStatus in interface StatusLocalServicestatus - the statuspublic PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface StatusLocalServicecreatePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic Status createStatus(long statusId)
createStatus in interface StatusLocalServicestatusId - the primary key for the new statuspublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface StatusLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic Status deleteStatus(long statusId) throws PortalException
Important: Inspect StatusLocalServiceImpl 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.
deleteStatus in interface StatusLocalServicestatusId - the primary key of the statusPortalException - if a status with the primary key could not be foundpublic Status deleteStatus(Status status)
Important: Inspect StatusLocalServiceImpl 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.
deleteStatus in interface StatusLocalServicestatus - the statuspublic <T> T dslQuery(DSLQuery dslQuery)
dslQuery in interface StatusLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface StatusLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface StatusLocalServicedynamicQuery - the dynamic querypublic <T> java.util.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 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.chat.model.impl.StatusModelImpl.
dynamicQuery in interface StatusLocalServicedynamicQuery - 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(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 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.chat.model.impl.StatusModelImpl.
dynamicQuery in interface StatusLocalServicedynamicQuery - 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 StatusLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface StatusLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic Status fetchStatus(long statusId)
fetchStatus in interface StatusLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface StatusLocalServicepublic java.util.List<java.lang.Object[]> getAllStatuses(long companyId,
long userId,
long modifiedDate,
int start,
int end)
getAllStatuses in interface StatusLocalServicepublic java.util.List<java.lang.Object[]> getGroupStatuses(long userId,
long modifiedDate,
java.lang.String[] groupNames,
int start,
int end)
getGroupStatuses in interface StatusLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface StatusLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface StatusLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface StatusLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionpublic java.util.List<java.lang.Object[]> getSocialStatuses(long userId,
int type,
long modifiedDate,
int start,
int end)
getSocialStatuses in interface StatusLocalServicepublic java.util.List<java.lang.Object[]> getSocialStatuses(long userId,
int[] types,
long modifiedDate,
int start,
int end)
getSocialStatuses in interface StatusLocalServicepublic Status getStatus(long statusId) throws PortalException
getStatus in interface StatusLocalServicestatusId - the primary key of the statusPortalException - if a status with the primary key could not be foundpublic java.util.List<Status> getStatuses(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.chat.model.impl.StatusModelImpl.
getStatuses in interface StatusLocalServicestart - the lower bound of the range of statusesend - the upper bound of the range of statuses (not inclusive)public int getStatusesCount()
getStatusesCount in interface StatusLocalServicepublic Status getUserStatus(long userId)
getUserStatus in interface StatusLocalServicepublic Status updateStatus(long userId, long modifiedDate)
updateStatus in interface StatusLocalServicepublic Status updateStatus(long userId, long modifiedDate, int online, int awake, java.lang.String activePanelIds, java.lang.String message, int playSound)
updateStatus in interface StatusLocalServicepublic Status updateStatus(Status status)
Important: Inspect StatusLocalServiceImpl 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.
updateStatus in interface StatusLocalServicestatus - the statuspublic StatusLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<StatusLocalService>public void setWrappedService(StatusLocalService statusLocalService)
setWrappedService in interface ServiceWrapper<StatusLocalService>