public class MBMailingListLocalServiceWrapper extends java.lang.Object implements MBMailingListLocalService, com.liferay.portal.kernel.service.ServiceWrapper<MBMailingListLocalService>
MBMailingListLocalService.MBMailingListLocalService| Constructor and Description |
|---|
MBMailingListLocalServiceWrapper() |
MBMailingListLocalServiceWrapper(MBMailingListLocalService mbMailingListLocalService) |
| Modifier and Type | Method and Description |
|---|---|
MBMailingList |
addMailingList(long userId,
long groupId,
long categoryId,
java.lang.String emailAddress,
java.lang.String inProtocol,
java.lang.String inServerName,
int inServerPort,
boolean inUseSSL,
java.lang.String inUserName,
java.lang.String inPassword,
int inReadInterval,
java.lang.String outEmailAddress,
boolean outCustom,
java.lang.String outServerName,
int outServerPort,
boolean outUseSSL,
java.lang.String outUserName,
java.lang.String outPassword,
boolean allowAnonymous,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
MBMailingList |
addMBMailingList(MBMailingList mbMailingList)
Adds the message boards mailing list to the database.
|
MBMailingList |
createMBMailingList(long mailingListId)
Creates a new message boards mailing list with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
void |
deleteCategoryMailingList(long groupId,
long categoryId) |
void |
deleteMailingList(long mailingListId) |
void |
deleteMailingList(MBMailingList mailingList) |
MBMailingList |
deleteMBMailingList(long mailingListId)
Deletes the message boards mailing list with the primary key from the database.
|
MBMailingList |
deleteMBMailingList(MBMailingList mbMailingList)
Deletes the message boards mailing list from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<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.
|
MBMailingList |
fetchCategoryMailingList(long groupId,
long categoryId) |
MBMailingList |
fetchMBMailingList(long mailingListId) |
MBMailingList |
fetchMBMailingListByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message boards mailing list matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
MBMailingList |
getCategoryMailingList(long groupId,
long categoryId) |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBMailingList> |
getCTPersistence() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
MBMailingList |
getMBMailingList(long mailingListId)
Returns the message boards mailing list with the primary key.
|
MBMailingList |
getMBMailingListByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message boards mailing list matching the UUID and group.
|
java.util.List<MBMailingList> |
getMBMailingLists(int start,
int end)
Returns a range of all the message boards mailing lists.
|
java.util.List<MBMailingList> |
getMBMailingListsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the message boards mailing lists matching the UUID and company.
|
java.util.List<MBMailingList> |
getMBMailingListsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MBMailingList> orderByComparator)
Returns a range of message boards mailing lists matching the UUID and company.
|
int |
getMBMailingListsCount()
Returns the number of message boards mailing lists.
|
java.lang.Class<MBMailingList> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
MBMailingListLocalService |
getWrappedService() |
void |
setWrappedService(MBMailingListLocalService mbMailingListLocalService) |
MBMailingList |
updateMailingList(long mailingListId,
java.lang.String emailAddress,
java.lang.String inProtocol,
java.lang.String inServerName,
int inServerPort,
boolean inUseSSL,
java.lang.String inUserName,
java.lang.String inPassword,
int inReadInterval,
java.lang.String outEmailAddress,
boolean outCustom,
java.lang.String outServerName,
int outServerPort,
boolean outUseSSL,
java.lang.String outUserName,
java.lang.String outPassword,
boolean allowAnonymous,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
MBMailingList |
updateMBMailingList(MBMailingList mbMailingList)
Updates the message boards mailing list 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<MBMailingList>,R,E> updateUnsafeFunction) |
public MBMailingListLocalServiceWrapper()
public MBMailingListLocalServiceWrapper(MBMailingListLocalService mbMailingListLocalService)
public MBMailingList addMailingList(long userId, long groupId, long categoryId, java.lang.String emailAddress, java.lang.String inProtocol, java.lang.String inServerName, int inServerPort, boolean inUseSSL, java.lang.String inUserName, java.lang.String inPassword, int inReadInterval, java.lang.String outEmailAddress, boolean outCustom, java.lang.String outServerName, int outServerPort, boolean outUseSSL, java.lang.String outUserName, java.lang.String outPassword, boolean allowAnonymous, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addMailingList in interface MBMailingListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MBMailingList addMBMailingList(MBMailingList mbMailingList)
Important: Inspect MBMailingListLocalServiceImpl 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.
addMBMailingList in interface MBMailingListLocalServicembMailingList - the message boards mailing listpublic MBMailingList createMBMailingList(long mailingListId)
createMBMailingList in interface MBMailingListLocalServicemailingListId - the primary key for the new message boards mailing listpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface MBMailingListLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic void deleteCategoryMailingList(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCategoryMailingList in interface MBMailingListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteMailingList(long mailingListId)
throws com.liferay.portal.kernel.exception.PortalException
deleteMailingList in interface MBMailingListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteMailingList(MBMailingList mailingList) throws com.liferay.portal.kernel.exception.PortalException
deleteMailingList in interface MBMailingListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MBMailingList deleteMBMailingList(long mailingListId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect MBMailingListLocalServiceImpl 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.
deleteMBMailingList in interface MBMailingListLocalServicemailingListId - the primary key of the message boards mailing listPortalException - if a message boards mailing list with the primary key could not be foundpublic MBMailingList deleteMBMailingList(MBMailingList mbMailingList)
Important: Inspect MBMailingListLocalServiceImpl 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.
deleteMBMailingList in interface MBMailingListLocalServicembMailingList - the message boards mailing listpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface MBMailingListLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface MBMailingListLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface MBMailingListLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface MBMailingListLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface MBMailingListLocalServicedynamicQuery - 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.MBMailingListModelImpl.
dynamicQuery in interface MBMailingListLocalServicedynamicQuery - 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.MBMailingListModelImpl.
dynamicQuery in interface MBMailingListLocalServicedynamicQuery - 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 MBMailingListLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface MBMailingListLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic MBMailingList fetchCategoryMailingList(long groupId, long categoryId)
fetchCategoryMailingList in interface MBMailingListLocalServicepublic MBMailingList fetchMBMailingList(long mailingListId)
fetchMBMailingList in interface MBMailingListLocalServicepublic MBMailingList fetchMBMailingListByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchMBMailingListByUuidAndGroupId in interface MBMailingListLocalServiceuuid - the message boards mailing list's UUIDgroupId - the primary key of the groupnull if a matching message boards mailing list could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface MBMailingListLocalServicepublic MBMailingList getCategoryMailingList(long groupId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
getCategoryMailingList in interface MBMailingListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface MBMailingListLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface MBMailingListLocalServicepublic MBMailingList getMBMailingList(long mailingListId) throws com.liferay.portal.kernel.exception.PortalException
getMBMailingList in interface MBMailingListLocalServicemailingListId - the primary key of the message boards mailing listPortalException - if a message boards mailing list with the primary key could not be foundpublic MBMailingList getMBMailingListByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getMBMailingListByUuidAndGroupId in interface MBMailingListLocalServiceuuid - the message boards mailing list's UUIDgroupId - the primary key of the groupPortalException - if a matching message boards mailing list could not be foundpublic java.util.List<MBMailingList> getMBMailingLists(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.MBMailingListModelImpl.
getMBMailingLists in interface MBMailingListLocalServicestart - the lower bound of the range of message boards mailing listsend - the upper bound of the range of message boards mailing lists (not inclusive)public java.util.List<MBMailingList> getMBMailingListsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getMBMailingListsByUuidAndCompanyId in interface MBMailingListLocalServiceuuid - the UUID of the message boards mailing listscompanyId - the primary key of the companypublic java.util.List<MBMailingList> getMBMailingListsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMailingList> orderByComparator)
getMBMailingListsByUuidAndCompanyId in interface MBMailingListLocalServiceuuid - the UUID of the message boards mailing listscompanyId - the primary key of the companystart - the lower bound of the range of message boards mailing listsend - the upper bound of the range of message boards mailing lists (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getMBMailingListsCount()
getMBMailingListsCount in interface MBMailingListLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface MBMailingListLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface MBMailingListLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic MBMailingList updateMailingList(long mailingListId, java.lang.String emailAddress, java.lang.String inProtocol, java.lang.String inServerName, int inServerPort, boolean inUseSSL, java.lang.String inUserName, java.lang.String inPassword, int inReadInterval, java.lang.String outEmailAddress, boolean outCustom, java.lang.String outServerName, int outServerPort, boolean outUseSSL, java.lang.String outUserName, java.lang.String outPassword, boolean allowAnonymous, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateMailingList in interface MBMailingListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MBMailingList updateMBMailingList(MBMailingList mbMailingList)
Important: Inspect MBMailingListLocalServiceImpl 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.
updateMBMailingList in interface MBMailingListLocalServicembMailingList - the message boards mailing listpublic 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<MBMailingList> getCTPersistence()
getCTPersistence in interface MBMailingListLocalServicegetCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<MBMailingList>public java.lang.Class<MBMailingList> getModelClass()
getModelClass in interface MBMailingListLocalServicegetModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<MBMailingList>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBMailingList>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface MBMailingListLocalServiceupdateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<MBMailingList>E extends java.lang.Throwablepublic MBMailingListLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MBMailingListLocalService>public void setWrappedService(MBMailingListLocalService mbMailingListLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MBMailingListLocalService>