public class MBThreadFlagLocalServiceWrapper extends java.lang.Object implements MBThreadFlagLocalService, com.liferay.portal.kernel.service.ServiceWrapper<MBThreadFlagLocalService>
MBThreadFlagLocalService.MBThreadFlagLocalService| Constructor and Description |
|---|
MBThreadFlagLocalServiceWrapper() |
MBThreadFlagLocalServiceWrapper(MBThreadFlagLocalService mbThreadFlagLocalService) |
| Modifier and Type | Method and Description |
|---|---|
MBThreadFlag |
addMBThreadFlag(MBThreadFlag mbThreadFlag)
Adds the message boards thread flag to the database.
|
MBThreadFlag |
addThreadFlag(long userId,
MBThread thread,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
MBThreadFlag |
createMBThreadFlag(long threadFlagId)
Creates a new message boards thread flag with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
MBThreadFlag |
deleteMBThreadFlag(long threadFlagId)
Deletes the message boards thread flag with the primary key from the database.
|
MBThreadFlag |
deleteMBThreadFlag(MBThreadFlag mbThreadFlag)
Deletes the message boards thread flag from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
deleteThreadFlag(long threadFlagId) |
void |
deleteThreadFlag(MBThreadFlag threadFlag) |
void |
deleteThreadFlagsByThreadId(long threadId) |
void |
deleteThreadFlagsByUserId(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.
|
MBThreadFlag |
fetchMBThreadFlag(long threadFlagId) |
MBThreadFlag |
fetchMBThreadFlagByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message boards thread flag matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBThreadFlag> |
getCTPersistence() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
MBThreadFlag |
getMBThreadFlag(long threadFlagId)
Returns the message boards thread flag with the primary key.
|
MBThreadFlag |
getMBThreadFlagByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message boards thread flag matching the UUID and group.
|
java.util.List<MBThreadFlag> |
getMBThreadFlags(int start,
int end)
Returns a range of all the message boards thread flags.
|
java.util.List<MBThreadFlag> |
getMBThreadFlagsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the message boards thread flags matching the UUID and company.
|
java.util.List<MBThreadFlag> |
getMBThreadFlagsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator)
Returns a range of message boards thread flags matching the UUID and company.
|
int |
getMBThreadFlagsCount()
Returns the number of message boards thread flags.
|
java.lang.Class<MBThreadFlag> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
MBThreadFlag |
getThreadFlag(long userId,
MBThread thread) |
MBThreadFlagLocalService |
getWrappedService() |
boolean |
hasThreadFlag(long userId,
MBThread thread) |
void |
setWrappedService(MBThreadFlagLocalService mbThreadFlagLocalService) |
MBThreadFlag |
updateMBThreadFlag(MBThreadFlag mbThreadFlag)
Updates the message boards thread flag in the database or adds it if it does not yet exist.
|
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBThreadFlag>,R,E> updateUnsafeFunction) |
public MBThreadFlagLocalServiceWrapper()
public MBThreadFlagLocalServiceWrapper(MBThreadFlagLocalService mbThreadFlagLocalService)
public MBThreadFlag addMBThreadFlag(MBThreadFlag mbThreadFlag)
Important: Inspect MBThreadFlagLocalServiceImpl 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.
addMBThreadFlag in interface MBThreadFlagLocalServicembThreadFlag - the message boards thread flagpublic MBThreadFlag addThreadFlag(long userId, MBThread thread, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addThreadFlag in interface MBThreadFlagLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MBThreadFlag createMBThreadFlag(long threadFlagId)
createMBThreadFlag in interface MBThreadFlagLocalServicethreadFlagId - the primary key for the new message boards thread flagpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface MBThreadFlagLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic MBThreadFlag deleteMBThreadFlag(long threadFlagId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect MBThreadFlagLocalServiceImpl 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.
deleteMBThreadFlag in interface MBThreadFlagLocalServicethreadFlagId - the primary key of the message boards thread flagPortalException - if a message boards thread flag with the primary key could not be foundpublic MBThreadFlag deleteMBThreadFlag(MBThreadFlag mbThreadFlag)
Important: Inspect MBThreadFlagLocalServiceImpl 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.
deleteMBThreadFlag in interface MBThreadFlagLocalServicembThreadFlag - the message boards thread flagpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface MBThreadFlagLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic void deleteThreadFlag(long threadFlagId)
throws com.liferay.portal.kernel.exception.PortalException
deleteThreadFlag in interface MBThreadFlagLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteThreadFlag(MBThreadFlag threadFlag)
deleteThreadFlag in interface MBThreadFlagLocalServicepublic void deleteThreadFlagsByThreadId(long threadId)
deleteThreadFlagsByThreadId in interface MBThreadFlagLocalServicepublic void deleteThreadFlagsByUserId(long userId)
deleteThreadFlagsByUserId in interface MBThreadFlagLocalServicepublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface MBThreadFlagLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface MBThreadFlagLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface MBThreadFlagLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface MBThreadFlagLocalServicedynamicQuery - 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.MBThreadFlagModelImpl.
dynamicQuery in interface MBThreadFlagLocalServicedynamicQuery - 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.MBThreadFlagModelImpl.
dynamicQuery in interface MBThreadFlagLocalServicedynamicQuery - 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 MBThreadFlagLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface MBThreadFlagLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic MBThreadFlag fetchMBThreadFlag(long threadFlagId)
fetchMBThreadFlag in interface MBThreadFlagLocalServicepublic MBThreadFlag fetchMBThreadFlagByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchMBThreadFlagByUuidAndGroupId in interface MBThreadFlagLocalServiceuuid - the message boards thread flag's UUIDgroupId - the primary key of the groupnull if a matching message boards thread flag could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface MBThreadFlagLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface MBThreadFlagLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface MBThreadFlagLocalServicepublic MBThreadFlag getMBThreadFlag(long threadFlagId) throws com.liferay.portal.kernel.exception.PortalException
getMBThreadFlag in interface MBThreadFlagLocalServicethreadFlagId - the primary key of the message boards thread flagPortalException - if a message boards thread flag with the primary key could not be foundpublic MBThreadFlag getMBThreadFlagByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getMBThreadFlagByUuidAndGroupId in interface MBThreadFlagLocalServiceuuid - the message boards thread flag's UUIDgroupId - the primary key of the groupPortalException - if a matching message boards thread flag could not be foundpublic java.util.List<MBThreadFlag> getMBThreadFlags(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.MBThreadFlagModelImpl.
getMBThreadFlags in interface MBThreadFlagLocalServicestart - the lower bound of the range of message boards thread flagsend - the upper bound of the range of message boards thread flags (not inclusive)public java.util.List<MBThreadFlag> getMBThreadFlagsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getMBThreadFlagsByUuidAndCompanyId in interface MBThreadFlagLocalServiceuuid - the UUID of the message boards thread flagscompanyId - the primary key of the companypublic java.util.List<MBThreadFlag> getMBThreadFlagsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator)
getMBThreadFlagsByUuidAndCompanyId in interface MBThreadFlagLocalServiceuuid - the UUID of the message boards thread flagscompanyId - the primary key of the companystart - the lower bound of the range of message boards thread flagsend - the upper bound of the range of message boards thread flags (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getMBThreadFlagsCount()
getMBThreadFlagsCount in interface MBThreadFlagLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface MBThreadFlagLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface MBThreadFlagLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic MBThreadFlag getThreadFlag(long userId, MBThread thread) throws com.liferay.portal.kernel.exception.PortalException
getThreadFlag in interface MBThreadFlagLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic boolean hasThreadFlag(long userId,
MBThread thread)
throws com.liferay.portal.kernel.exception.PortalException
hasThreadFlag in interface MBThreadFlagLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MBThreadFlag updateMBThreadFlag(MBThreadFlag mbThreadFlag)
Important: Inspect MBThreadFlagLocalServiceImpl 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.
updateMBThreadFlag in interface MBThreadFlagLocalServicembThreadFlag - the message boards thread flagpublic com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBThreadFlag> getCTPersistence()
getCTPersistence in interface MBThreadFlagLocalServicegetCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<MBThreadFlag>public java.lang.Class<MBThreadFlag> getModelClass()
getModelClass in interface MBThreadFlagLocalServicegetModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<MBThreadFlag>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBThreadFlag>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface MBThreadFlagLocalServiceupdateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<MBThreadFlag>E extends java.lang.Throwablepublic MBThreadFlagLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MBThreadFlagLocalService>public void setWrappedService(MBThreadFlagLocalService mbThreadFlagLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MBThreadFlagLocalService>