Class SamlSpMessageLocalServiceWrapper

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

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

    • SamlSpMessageLocalServiceWrapper

      public SamlSpMessageLocalServiceWrapper()
    • SamlSpMessageLocalServiceWrapper

      public SamlSpMessageLocalServiceWrapper(SamlSpMessageLocalService samlSpMessageLocalService)
  • Method Details

    • addSamlSpMessage

      public SamlSpMessage addSamlSpMessage(SamlSpMessage samlSpMessage)
      Adds the saml sp message to the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpMessageLocalServiceImpl 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:
      addSamlSpMessage in interface SamlSpMessageLocalService
      Parameters:
      samlSpMessage - the saml sp message
      Returns:
      the saml sp message that was added
    • addSamlSpMessage

      public SamlSpMessage addSamlSpMessage(String samlIdpEntityId, String samlIdpResponseKey, Date expirationDate, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      Specified by:
      addSamlSpMessage in interface SamlSpMessageLocalService
    • 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 SamlSpMessageLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • createSamlSpMessage

      public SamlSpMessage createSamlSpMessage(long samlSpMessageId)
      Creates a new saml sp message with the primary key. Does not add the saml sp message to the database.
      Specified by:
      createSamlSpMessage in interface SamlSpMessageLocalService
      Parameters:
      samlSpMessageId - the primary key for the new saml sp message
      Returns:
      the new saml sp message
    • deleteExpiredSamlSpMessages

      public void deleteExpiredSamlSpMessages()
      Specified by:
      deleteExpiredSamlSpMessages in interface SamlSpMessageLocalService
    • 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 SamlSpMessageLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteSamlSpMessage

      public SamlSpMessage deleteSamlSpMessage(long samlSpMessageId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the saml sp message with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpMessageLocalServiceImpl 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:
      deleteSamlSpMessage in interface SamlSpMessageLocalService
      Parameters:
      samlSpMessageId - the primary key of the saml sp message
      Returns:
      the saml sp message that was removed
      Throws:
      PortalException - if a saml sp message with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteSamlSpMessage

      public SamlSpMessage deleteSamlSpMessage(SamlSpMessage samlSpMessage)
      Deletes the saml sp message from the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpMessageLocalServiceImpl 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:
      deleteSamlSpMessage in interface SamlSpMessageLocalService
      Parameters:
      samlSpMessage - the saml sp message
      Returns:
      the saml sp message 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 SamlSpMessageLocalService
    • 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 SamlSpMessageLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface SamlSpMessageLocalService
    • 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 SamlSpMessageLocalService
      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.SamlSpMessageModelImpl.

      Specified by:
      dynamicQuery in interface SamlSpMessageLocalService
      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.SamlSpMessageModelImpl.

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

      public SamlSpMessage fetchSamlSpMessage(long samlSpMessageId)
      Specified by:
      fetchSamlSpMessage in interface SamlSpMessageLocalService
    • fetchSamlSpMessage

      public SamlSpMessage fetchSamlSpMessage(String samlIdpEntityId, String samlIdpResponseKey)
      Specified by:
      fetchSamlSpMessage in interface SamlSpMessageLocalService
    • getActionableDynamicQuery

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

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

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

      public SamlSpMessage getSamlSpMessage(long samlSpMessageId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the saml sp message with the primary key.
      Specified by:
      getSamlSpMessage in interface SamlSpMessageLocalService
      Parameters:
      samlSpMessageId - the primary key of the saml sp message
      Returns:
      the saml sp message
      Throws:
      PortalException - if a saml sp message with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getSamlSpMessage

      public SamlSpMessage getSamlSpMessage(String samlIdpEntityId, String samlIdpResponseKey) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSamlSpMessage in interface SamlSpMessageLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSamlSpMessages

      public List<SamlSpMessage> getSamlSpMessages(int start, int end)
      Returns a range of all the saml sp messages.

      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.SamlSpMessageModelImpl.

      Specified by:
      getSamlSpMessages in interface SamlSpMessageLocalService
      Parameters:
      start - the lower bound of the range of saml sp messages
      end - the upper bound of the range of saml sp messages (not inclusive)
      Returns:
      the range of saml sp messages
    • getSamlSpMessagesCount

      public int getSamlSpMessagesCount()
      Returns the number of saml sp messages.
      Specified by:
      getSamlSpMessagesCount in interface SamlSpMessageLocalService
      Returns:
      the number of saml sp messages
    • updateSamlSpMessage

      public SamlSpMessage updateSamlSpMessage(SamlSpMessage samlSpMessage)
      Updates the saml sp message in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpMessageLocalServiceImpl 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:
      updateSamlSpMessage in interface SamlSpMessageLocalService
      Parameters:
      samlSpMessage - the saml sp message
      Returns:
      the saml sp message 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 SamlSpMessageLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<SamlSpMessageLocalService>
    • setWrappedService

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