Class SamlSpSessionLocalServiceWrapper

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

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

    • SamlSpSessionLocalServiceWrapper

      public SamlSpSessionLocalServiceWrapper()
    • SamlSpSessionLocalServiceWrapper

      public SamlSpSessionLocalServiceWrapper(SamlSpSessionLocalService samlSpSessionLocalService)
  • Method Details

    • addSamlSpSession

      public SamlSpSession addSamlSpSession(SamlSpSession samlSpSession)
      Adds the saml sp session to the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpSessionLocalServiceImpl 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:
      addSamlSpSession in interface SamlSpSessionLocalService
      Parameters:
      samlSpSession - the saml sp session
      Returns:
      the saml sp session that was added
    • addSamlSpSession

      public SamlSpSession addSamlSpSession(String assertionXml, String jSessionId, String nameIdFormat, String nameIdNameQualifier, String nameIdSPNameQualifier, String nameIdValue, String samlIdpEntityId, String samlSpSessionKey, String sessionIndex, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addSamlSpSession in interface SamlSpSessionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • 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 SamlSpSessionLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • createSamlSpSession

      public SamlSpSession createSamlSpSession(long samlSpSessionId)
      Creates a new saml sp session with the primary key. Does not add the saml sp session to the database.
      Specified by:
      createSamlSpSession in interface SamlSpSessionLocalService
      Parameters:
      samlSpSessionId - the primary key for the new saml sp session
      Returns:
      the new saml sp session
    • 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 SamlSpSessionLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteSamlSpSession

      public SamlSpSession deleteSamlSpSession(long samlSpSessionId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the saml sp session with the primary key from the database. Also notifies the appropriate model listeners.

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

      public SamlSpSession deleteSamlSpSession(SamlSpSession samlSpSession)
      Deletes the saml sp session from the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpSessionLocalServiceImpl 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:
      deleteSamlSpSession in interface SamlSpSessionLocalService
      Parameters:
      samlSpSession - the saml sp session
      Returns:
      the saml sp session 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 SamlSpSessionLocalService
    • 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 SamlSpSessionLocalService
    • dynamicQuery

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

      Specified by:
      dynamicQuery in interface SamlSpSessionLocalService
      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.SamlSpSessionModelImpl.

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

      public SamlSpSession fetchSamlSpSession(long samlSpSessionId)
      Specified by:
      fetchSamlSpSession in interface SamlSpSessionLocalService
    • fetchSamlSpSessionByJSessionId

      public SamlSpSession fetchSamlSpSessionByJSessionId(String jSessionId)
      Specified by:
      fetchSamlSpSessionByJSessionId in interface SamlSpSessionLocalService
    • fetchSamlSpSessionBySamlSpSessionKey

      public SamlSpSession fetchSamlSpSessionBySamlSpSessionKey(String samlSpSessionKey)
      Specified by:
      fetchSamlSpSessionBySamlSpSessionKey in interface SamlSpSessionLocalService
    • fetchSamlSpSessionBySessionIndex

      public SamlSpSession fetchSamlSpSessionBySessionIndex(long companyId, String sessionIndex)
      Specified by:
      fetchSamlSpSessionBySessionIndex in interface SamlSpSessionLocalService
    • fetchSamlSpSessionsBySessionIndex

      public List<SamlSpSession> fetchSamlSpSessionsBySessionIndex(long companyId, String sessionIndex)
      Specified by:
      fetchSamlSpSessionsBySessionIndex in interface SamlSpSessionLocalService
    • getActionableDynamicQuery

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

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

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

      public SamlSpSession getSamlSpSession(long samlSpSessionId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the saml sp session with the primary key.
      Specified by:
      getSamlSpSession in interface SamlSpSessionLocalService
      Parameters:
      samlSpSessionId - the primary key of the saml sp session
      Returns:
      the saml sp session
      Throws:
      PortalException - if a saml sp session with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getSamlSpSessionByJSessionId

      public SamlSpSession getSamlSpSessionByJSessionId(String jSessionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSamlSpSessionByJSessionId in interface SamlSpSessionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSamlSpSessionBySamlSpSessionKey

      public SamlSpSession getSamlSpSessionBySamlSpSessionKey(String samlSpSessionKey) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSamlSpSessionBySamlSpSessionKey in interface SamlSpSessionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSamlSpSessionBySessionIndex

      public SamlSpSession getSamlSpSessionBySessionIndex(long companyId, String sessionIndex) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSamlSpSessionBySessionIndex in interface SamlSpSessionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSamlSpSessions

      public List<SamlSpSession> getSamlSpSessions(int start, int end)
      Returns a range of all the saml sp sessions.

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

      Specified by:
      getSamlSpSessions in interface SamlSpSessionLocalService
      Parameters:
      start - the lower bound of the range of saml sp sessions
      end - the upper bound of the range of saml sp sessions (not inclusive)
      Returns:
      the range of saml sp sessions
    • getSamlSpSessions

      public List<SamlSpSession> getSamlSpSessions(long companyId, String nameIdFormat, String nameIdNameQualifier, String nameIdSPNameQualifier, String nameIdValue, String samlIdpEntityId)
      Specified by:
      getSamlSpSessions in interface SamlSpSessionLocalService
    • getSamlSpSessionsCount

      public int getSamlSpSessionsCount()
      Returns the number of saml sp sessions.
      Specified by:
      getSamlSpSessionsCount in interface SamlSpSessionLocalService
      Returns:
      the number of saml sp sessions
    • updateSamlSpSession

      public SamlSpSession updateSamlSpSession(long samlSpSessionId, String jSessionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateSamlSpSession in interface SamlSpSessionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateSamlSpSession

      public SamlSpSession updateSamlSpSession(long samlSpSessionId, String assertionXml, String jSessionId, String nameIdFormat, String nameIdNameQualifier, String nameIdSPNameQualifier, String nameIdValue, String samlIdpEntityId, String samlSpSessionKey, String sessionIndex, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateSamlSpSession in interface SamlSpSessionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateSamlSpSession

      public SamlSpSession updateSamlSpSession(SamlSpSession samlSpSession)
      Updates the saml sp session in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpSessionLocalServiceImpl 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:
      updateSamlSpSession in interface SamlSpSessionLocalService
      Parameters:
      samlSpSession - the saml sp session
      Returns:
      the saml sp session 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 SamlSpSessionLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<SamlSpSessionLocalService>
    • setWrappedService

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