Class SamlSpAuthRequestLocalServiceWrapper

java.lang.Object
com.liferay.saml.persistence.service.SamlSpAuthRequestLocalServiceWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<SamlSpAuthRequestLocalService>, SamlSpAuthRequestLocalService

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

    • SamlSpAuthRequestLocalServiceWrapper

      public SamlSpAuthRequestLocalServiceWrapper()
    • SamlSpAuthRequestLocalServiceWrapper

      public SamlSpAuthRequestLocalServiceWrapper(SamlSpAuthRequestLocalService samlSpAuthRequestLocalService)
  • Method Details

    • addSamlSpAuthRequest

      public SamlSpAuthRequest addSamlSpAuthRequest(SamlSpAuthRequest samlSpAuthRequest)
      Adds the saml sp auth request to the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpAuthRequestLocalServiceImpl 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:
      addSamlSpAuthRequest in interface SamlSpAuthRequestLocalService
      Parameters:
      samlSpAuthRequest - the saml sp auth request
      Returns:
      the saml sp auth request that was added
    • addSamlSpAuthRequest

      public SamlSpAuthRequest addSamlSpAuthRequest(String samlIdpEntityId, String samlRelayState, String samlSpAuthRequestKey, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      Specified by:
      addSamlSpAuthRequest in interface SamlSpAuthRequestLocalService
    • createPersistedModel

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

      public SamlSpAuthRequest createSamlSpAuthRequest(long samlSpAuthnRequestId)
      Creates a new saml sp auth request with the primary key. Does not add the saml sp auth request to the database.
      Specified by:
      createSamlSpAuthRequest in interface SamlSpAuthRequestLocalService
      Parameters:
      samlSpAuthnRequestId - the primary key for the new saml sp auth request
      Returns:
      the new saml sp auth request
    • deleteExpiredSamlSpAuthRequests

      public void deleteExpiredSamlSpAuthRequests()
      Specified by:
      deleteExpiredSamlSpAuthRequests in interface SamlSpAuthRequestLocalService
    • 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 com.liferay.portal.kernel.service.PersistedModelLocalService
      Specified by:
      deletePersistedModel in interface SamlSpAuthRequestLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteSamlSpAuthRequest

      public SamlSpAuthRequest deleteSamlSpAuthRequest(long samlSpAuthnRequestId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the saml sp auth request with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpAuthRequestLocalServiceImpl 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:
      deleteSamlSpAuthRequest in interface SamlSpAuthRequestLocalService
      Parameters:
      samlSpAuthnRequestId - the primary key of the saml sp auth request
      Returns:
      the saml sp auth request that was removed
      Throws:
      PortalException - if a saml sp auth request with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteSamlSpAuthRequest

      public SamlSpAuthRequest deleteSamlSpAuthRequest(SamlSpAuthRequest samlSpAuthRequest)
      Deletes the saml sp auth request from the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpAuthRequestLocalServiceImpl 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:
      deleteSamlSpAuthRequest in interface SamlSpAuthRequestLocalService
      Parameters:
      samlSpAuthRequest - the saml sp auth request
      Returns:
      the saml sp auth request that was removed
    • dslQuery

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

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

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface SamlSpAuthRequestLocalService
    • 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 SamlSpAuthRequestLocalService
      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.saml.persistence.model.impl.SamlSpAuthRequestModelImpl.

      Specified by:
      dynamicQuery in interface SamlSpAuthRequestLocalService
      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.saml.persistence.model.impl.SamlSpAuthRequestModelImpl.

      Specified by:
      dynamicQuery in interface SamlSpAuthRequestLocalService
      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 SamlSpAuthRequestLocalService
      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 SamlSpAuthRequestLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchSamlSpAuthRequest

      public SamlSpAuthRequest fetchSamlSpAuthRequest(long samlSpAuthnRequestId)
      Specified by:
      fetchSamlSpAuthRequest in interface SamlSpAuthRequestLocalService
    • fetchSamlSpAuthRequest

      public SamlSpAuthRequest fetchSamlSpAuthRequest(String samlIdpEntityId, String samlSpAuthRequestKey)
      Specified by:
      fetchSamlSpAuthRequest in interface SamlSpAuthRequestLocalService
    • getActionableDynamicQuery

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

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

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface SamlSpAuthRequestLocalService
      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 com.liferay.portal.kernel.service.PersistedModelLocalService
      Specified by:
      getPersistedModel in interface SamlSpAuthRequestLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • getSamlSpAuthRequest

      public SamlSpAuthRequest getSamlSpAuthRequest(long samlSpAuthnRequestId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the saml sp auth request with the primary key.
      Specified by:
      getSamlSpAuthRequest in interface SamlSpAuthRequestLocalService
      Parameters:
      samlSpAuthnRequestId - the primary key of the saml sp auth request
      Returns:
      the saml sp auth request
      Throws:
      PortalException - if a saml sp auth request with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getSamlSpAuthRequest

      public SamlSpAuthRequest getSamlSpAuthRequest(String samlIdpEntityId, String samlSpAuthRequestKey) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSamlSpAuthRequest in interface SamlSpAuthRequestLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSamlSpAuthRequests

      public List<SamlSpAuthRequest> getSamlSpAuthRequests(int start, int end)
      Returns a range of all the saml sp auth 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.saml.persistence.model.impl.SamlSpAuthRequestModelImpl.

      Specified by:
      getSamlSpAuthRequests in interface SamlSpAuthRequestLocalService
      Parameters:
      start - the lower bound of the range of saml sp auth requests
      end - the upper bound of the range of saml sp auth requests (not inclusive)
      Returns:
      the range of saml sp auth requests
    • getSamlSpAuthRequestsCount

      public int getSamlSpAuthRequestsCount()
      Returns the number of saml sp auth requests.
      Specified by:
      getSamlSpAuthRequestsCount in interface SamlSpAuthRequestLocalService
      Returns:
      the number of saml sp auth requests
    • updateSamlSpAuthRequest

      public SamlSpAuthRequest updateSamlSpAuthRequest(SamlSpAuthRequest samlSpAuthRequest)
      Updates the saml sp auth request in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpAuthRequestLocalServiceImpl 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:
      updateSamlSpAuthRequest in interface SamlSpAuthRequestLocalService
      Parameters:
      samlSpAuthRequest - the saml sp auth request
      Returns:
      the saml sp auth request that was updated
    • getBasePersistence

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

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

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