Class SamlSpIdpConnectionLocalServiceWrapper

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

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

    • SamlSpIdpConnectionLocalServiceWrapper

      public SamlSpIdpConnectionLocalServiceWrapper()
    • SamlSpIdpConnectionLocalServiceWrapper

      public SamlSpIdpConnectionLocalServiceWrapper(SamlSpIdpConnectionLocalService samlSpIdpConnectionLocalService)
  • Method Details

    • addSamlSpIdpConnection

      public SamlSpIdpConnection addSamlSpIdpConnection(boolean assertionSignatureRequired, long clockSkew, boolean enabled, boolean forceAuthn, boolean ldapImportEnabled, String metadataUrl, InputStream metadataXmlInputStream, String name, String nameIdFormat, String samlIdpEntityId, boolean signAuthnRequest, boolean unknownUsersAreStrangers, String userAttributeMappings, String userIdentifierExpression, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addSamlSpIdpConnection in interface SamlSpIdpConnectionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSamlSpIdpConnection

      public SamlSpIdpConnection addSamlSpIdpConnection(SamlSpIdpConnection samlSpIdpConnection)
      Adds the saml sp idp connection to the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpIdpConnectionLocalServiceImpl 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:
      addSamlSpIdpConnection in interface SamlSpIdpConnectionLocalService
      Parameters:
      samlSpIdpConnection - the saml sp idp connection
      Returns:
      the saml sp idp connection that was added
    • 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 SamlSpIdpConnectionLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • createSamlSpIdpConnection

      public SamlSpIdpConnection createSamlSpIdpConnection(long samlSpIdpConnectionId)
      Creates a new saml sp idp connection with the primary key. Does not add the saml sp idp connection to the database.
      Specified by:
      createSamlSpIdpConnection in interface SamlSpIdpConnectionLocalService
      Parameters:
      samlSpIdpConnectionId - the primary key for the new saml sp idp connection
      Returns:
      the new saml sp idp connection
    • 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 SamlSpIdpConnectionLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteSamlSpIdpConnection

      public SamlSpIdpConnection deleteSamlSpIdpConnection(long samlSpIdpConnectionId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the saml sp idp connection with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpIdpConnectionLocalServiceImpl 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:
      deleteSamlSpIdpConnection in interface SamlSpIdpConnectionLocalService
      Parameters:
      samlSpIdpConnectionId - the primary key of the saml sp idp connection
      Returns:
      the saml sp idp connection that was removed
      Throws:
      PortalException - if a saml sp idp connection with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteSamlSpIdpConnection

      public SamlSpIdpConnection deleteSamlSpIdpConnection(SamlSpIdpConnection samlSpIdpConnection)
      Deletes the saml sp idp connection from the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpIdpConnectionLocalServiceImpl 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:
      deleteSamlSpIdpConnection in interface SamlSpIdpConnectionLocalService
      Parameters:
      samlSpIdpConnection - the saml sp idp connection
      Returns:
      the saml sp idp connection 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 SamlSpIdpConnectionLocalService
    • 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 SamlSpIdpConnectionLocalService
    • dynamicQuery

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

      Specified by:
      dynamicQuery in interface SamlSpIdpConnectionLocalService
      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.SamlSpIdpConnectionModelImpl.

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

      public SamlSpIdpConnection fetchSamlSpIdpConnection(long samlSpIdpConnectionId)
      Specified by:
      fetchSamlSpIdpConnection in interface SamlSpIdpConnectionLocalService
    • getActionableDynamicQuery

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

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

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

      public SamlSpIdpConnection getSamlSpIdpConnection(long samlSpIdpConnectionId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the saml sp idp connection with the primary key.
      Specified by:
      getSamlSpIdpConnection in interface SamlSpIdpConnectionLocalService
      Parameters:
      samlSpIdpConnectionId - the primary key of the saml sp idp connection
      Returns:
      the saml sp idp connection
      Throws:
      PortalException - if a saml sp idp connection with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getSamlSpIdpConnection

      public SamlSpIdpConnection getSamlSpIdpConnection(long companyId, String samlIdpEntityId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSamlSpIdpConnection in interface SamlSpIdpConnectionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSamlSpIdpConnections

      public List<SamlSpIdpConnection> getSamlSpIdpConnections(int start, int end)
      Returns a range of all the saml sp idp connections.

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

      Specified by:
      getSamlSpIdpConnections in interface SamlSpIdpConnectionLocalService
      Parameters:
      start - the lower bound of the range of saml sp idp connections
      end - the upper bound of the range of saml sp idp connections (not inclusive)
      Returns:
      the range of saml sp idp connections
    • getSamlSpIdpConnections

      public List<SamlSpIdpConnection> getSamlSpIdpConnections(long companyId)
      Specified by:
      getSamlSpIdpConnections in interface SamlSpIdpConnectionLocalService
    • getSamlSpIdpConnections

      public List<SamlSpIdpConnection> getSamlSpIdpConnections(long companyId, int start, int end)
      Specified by:
      getSamlSpIdpConnections in interface SamlSpIdpConnectionLocalService
    • getSamlSpIdpConnections

      public List<SamlSpIdpConnection> getSamlSpIdpConnections(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator)
      Specified by:
      getSamlSpIdpConnections in interface SamlSpIdpConnectionLocalService
    • getSamlSpIdpConnectionsCount

      public int getSamlSpIdpConnectionsCount()
      Returns the number of saml sp idp connections.
      Specified by:
      getSamlSpIdpConnectionsCount in interface SamlSpIdpConnectionLocalService
      Returns:
      the number of saml sp idp connections
    • getSamlSpIdpConnectionsCount

      public int getSamlSpIdpConnectionsCount(long companyId)
      Specified by:
      getSamlSpIdpConnectionsCount in interface SamlSpIdpConnectionLocalService
    • updateMetadata

      public void updateMetadata(long samlSpIdpConnectionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateMetadata in interface SamlSpIdpConnectionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateSamlSpIdpConnection

      public SamlSpIdpConnection updateSamlSpIdpConnection(long samlSpIdpConnectionId, boolean assertionSignatureRequired, long clockSkew, boolean enabled, boolean forceAuthn, boolean ldapImportEnabled, String metadataUrl, InputStream metadataXmlInputStream, String name, String nameIdFormat, String samlIdpEntityId, boolean signAuthnRequest, boolean unknownUsersAreStrangers, String userAttributeMappings, String userIdentifierExpression, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateSamlSpIdpConnection in interface SamlSpIdpConnectionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateSamlSpIdpConnection

      public SamlSpIdpConnection updateSamlSpIdpConnection(SamlSpIdpConnection samlSpIdpConnection)
      Updates the saml sp idp connection in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect SamlSpIdpConnectionLocalServiceImpl 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:
      updateSamlSpIdpConnection in interface SamlSpIdpConnectionLocalService
      Parameters:
      samlSpIdpConnection - the saml sp idp connection
      Returns:
      the saml sp idp connection 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 SamlSpIdpConnectionLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<SamlSpIdpConnectionLocalService>
    • setWrappedService

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