Class MemberRequestLocalServiceWrapper

java.lang.Object
com.liferay.invitation.invite.members.service.MemberRequestLocalServiceWrapper
All Implemented Interfaces:
MemberRequestLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<MemberRequestLocalService>

public class MemberRequestLocalServiceWrapper extends Object implements MemberRequestLocalService, com.liferay.portal.kernel.service.ServiceWrapper<MemberRequestLocalService>
Provides a wrapper for MemberRequestLocalService.
See Also:
Generated:
  • Constructor Details

    • MemberRequestLocalServiceWrapper

      public MemberRequestLocalServiceWrapper()
    • MemberRequestLocalServiceWrapper

      public MemberRequestLocalServiceWrapper(MemberRequestLocalService memberRequestLocalService)
  • Method Details

    • addMemberRequest

      public MemberRequest addMemberRequest(long userId, long groupId, long receiverUserId, String receiverEmailAddress, long invitedRoleId, long invitedTeamId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addMemberRequest in interface MemberRequestLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addMemberRequest

      public MemberRequest addMemberRequest(MemberRequest memberRequest)
      Adds the member request to the database. Also notifies the appropriate model listeners.

      Important: Inspect MemberRequestLocalServiceImpl 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.

      Specified by:
      addMemberRequest in interface MemberRequestLocalService
      Parameters:
      memberRequest - the member request
      Returns:
      the member request that was added
    • addMemberRequests

      public void addMemberRequests(long userId, long groupId, long[] receiverUserIds, long invitedRoleId, long invitedTeamId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addMemberRequests in interface MemberRequestLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addMemberRequests

      public void addMemberRequests(long userId, long groupId, String[] emailAddresses, long invitedRoleId, long invitedTeamId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addMemberRequests in interface MemberRequestLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createMemberRequest

      public MemberRequest createMemberRequest(long memberRequestId)
      Creates a new member request with the primary key. Does not add the member request to the database.
      Specified by:
      createMemberRequest in interface MemberRequestLocalService
      Parameters:
      memberRequestId - the primary key for the new member request
      Returns:
      the new member request
    • createPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface MemberRequestLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteMemberRequest

      public MemberRequest deleteMemberRequest(long memberRequestId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the member request with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect MemberRequestLocalServiceImpl 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.

      Specified by:
      deleteMemberRequest in interface MemberRequestLocalService
      Parameters:
      memberRequestId - the primary key of the member request
      Returns:
      the member request that was removed
      Throws:
      PortalException - if a member request with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteMemberRequest

      public MemberRequest deleteMemberRequest(MemberRequest memberRequest)
      Deletes the member request from the database. Also notifies the appropriate model listeners.

      Important: Inspect MemberRequestLocalServiceImpl 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.

      Specified by:
      deleteMemberRequest in interface MemberRequestLocalService
      Parameters:
      memberRequest - the member request
      Returns:
      the member request that was removed
    • deletePersistedModel

      public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deletePersistedModel in interface MemberRequestLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface MemberRequestLocalService
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQueryCount

      public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface MemberRequestLocalService
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface MemberRequestLocalService
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Specified by:
      dynamicQuery in interface MemberRequestLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the matching rows
    • dynamicQuery

      public <T> 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.

      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.invitation.invite.members.model.impl.MemberRequestModelImpl.

      Specified by:
      dynamicQuery in interface MemberRequestLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      Returns:
      the range of matching rows
    • dynamicQuery

      public <T> 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.

      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.invitation.invite.members.model.impl.MemberRequestModelImpl.

      Specified by:
      dynamicQuery in interface MemberRequestLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching rows
    • dynamicQueryCount

      public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface MemberRequestLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the number of rows matching the dynamic query
    • dynamicQueryCount

      public 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.
      Specified by:
      dynamicQueryCount in interface MemberRequestLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchMemberRequest

      public MemberRequest fetchMemberRequest(long memberRequestId)
      Specified by:
      fetchMemberRequest in interface MemberRequestLocalService
    • getActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
      Specified by:
      getActionableDynamicQuery in interface MemberRequestLocalService
    • getIndexableActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
      Specified by:
      getIndexableActionableDynamicQuery in interface MemberRequestLocalService
    • getMemberRequest

      public MemberRequest getMemberRequest(long memberRequestId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the member request with the primary key.
      Specified by:
      getMemberRequest in interface MemberRequestLocalService
      Parameters:
      memberRequestId - the primary key of the member request
      Returns:
      the member request
      Throws:
      PortalException - if a member request with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getMemberRequest

      public MemberRequest getMemberRequest(long groupId, long receiverUserId, int status) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getMemberRequest in interface MemberRequestLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getMemberRequests

      public List<MemberRequest> getMemberRequests(int start, int end)
      Returns a range of all the member requests.

      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.invitation.invite.members.model.impl.MemberRequestModelImpl.

      Specified by:
      getMemberRequests in interface MemberRequestLocalService
      Parameters:
      start - the lower bound of the range of member requests
      end - the upper bound of the range of member requests (not inclusive)
      Returns:
      the range of member requests
    • getMemberRequestsCount

      public int getMemberRequestsCount()
      Returns the number of member requests.
      Specified by:
      getMemberRequestsCount in interface MemberRequestLocalService
      Returns:
      the number of member requests
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface MemberRequestLocalService
      Returns:
      the OSGi service identifier
    • getPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPersistedModel in interface MemberRequestLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • getReceiverMemberRequest

      public List<MemberRequest> getReceiverMemberRequest(long receiverUserId, int start, int end)
      Specified by:
      getReceiverMemberRequest in interface MemberRequestLocalService
    • getReceiverMemberRequestCount

      public int getReceiverMemberRequestCount(long receiverUserId)
      Specified by:
      getReceiverMemberRequestCount in interface MemberRequestLocalService
    • getReceiverStatusMemberRequest

      public List<MemberRequest> getReceiverStatusMemberRequest(long receiverUserId, int status, int start, int end)
      Specified by:
      getReceiverStatusMemberRequest in interface MemberRequestLocalService
    • getReceiverStatusMemberRequestCount

      public int getReceiverStatusMemberRequestCount(long receiverUserId, int status)
      Specified by:
      getReceiverStatusMemberRequestCount in interface MemberRequestLocalService
    • hasPendingMemberRequest

      public boolean hasPendingMemberRequest(long groupId, long receiverUserId)
      Specified by:
      hasPendingMemberRequest in interface MemberRequestLocalService
    • updateMemberRequest

      public MemberRequest updateMemberRequest(long userId, long memberRequestId, int status) throws Exception
      Specified by:
      updateMemberRequest in interface MemberRequestLocalService
      Throws:
      Exception
    • updateMemberRequest

      public MemberRequest updateMemberRequest(MemberRequest memberRequest)
      Updates the member request in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect MemberRequestLocalServiceImpl 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.

      Specified by:
      updateMemberRequest in interface MemberRequestLocalService
      Parameters:
      memberRequest - the member request
      Returns:
      the member request that was updated
    • updateMemberRequest

      public MemberRequest updateMemberRequest(String key, long receiverUserId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateMemberRequest in interface MemberRequestLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBasePersistence

      public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
      Specified by:
      getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getWrappedService

      public MemberRequestLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MemberRequestLocalService>
    • setWrappedService

      public void setWrappedService(MemberRequestLocalService memberRequestLocalService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MemberRequestLocalService>