Class SamlIdpSpConnectionLocalServiceWrapper

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

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

    • SamlIdpSpConnectionLocalServiceWrapper

      public SamlIdpSpConnectionLocalServiceWrapper()
    • SamlIdpSpConnectionLocalServiceWrapper

      public SamlIdpSpConnectionLocalServiceWrapper(SamlIdpSpConnectionLocalService samlIdpSpConnectionLocalService)
  • Method Details

    • addSamlIdpSpConnection

      public SamlIdpSpConnection addSamlIdpSpConnection(int assertionLifetime, String attributeNames, boolean attributesEnabled, boolean attributesNamespaceEnabled, boolean enabled, boolean encryptionForced, String metadataUrl, InputStream metadataXmlInputStream, String name, String nameIdAttribute, String nameIdFormat, String samlSpEntityId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addSamlIdpSpConnection in interface SamlIdpSpConnectionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSamlIdpSpConnection

      public SamlIdpSpConnection addSamlIdpSpConnection(SamlIdpSpConnection samlIdpSpConnection)
      Adds the saml idp sp connection to the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlIdpSpConnectionLocalServiceImpl 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:
      addSamlIdpSpConnection in interface SamlIdpSpConnectionLocalService
      Parameters:
      samlIdpSpConnection - the saml idp sp connection
      Returns:
      the saml idp sp 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 SamlIdpSpConnectionLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • createSamlIdpSpConnection

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

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

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

      public SamlIdpSpConnection deleteSamlIdpSpConnection(SamlIdpSpConnection samlIdpSpConnection)
      Deletes the saml idp sp connection from the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlIdpSpConnectionLocalServiceImpl 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:
      deleteSamlIdpSpConnection in interface SamlIdpSpConnectionLocalService
      Parameters:
      samlIdpSpConnection - the saml idp sp connection
      Returns:
      the saml idp sp 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 SamlIdpSpConnectionLocalService
    • 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 SamlIdpSpConnectionLocalService
    • dynamicQuery

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

      Specified by:
      dynamicQuery in interface SamlIdpSpConnectionLocalService
      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.SamlIdpSpConnectionModelImpl.

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

      public SamlIdpSpConnection fetchSamlIdpSpConnection(long samlIdpSpConnectionId)
      Specified by:
      fetchSamlIdpSpConnection in interface SamlIdpSpConnectionLocalService
    • getActionableDynamicQuery

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

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

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

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

      public SamlIdpSpConnection getSamlIdpSpConnection(long companyId, String samlSpEntityId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSamlIdpSpConnection in interface SamlIdpSpConnectionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSamlIdpSpConnections

      public List<SamlIdpSpConnection> getSamlIdpSpConnections(int start, int end)
      Returns a range of all the saml idp sp 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.SamlIdpSpConnectionModelImpl.

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

      public List<SamlIdpSpConnection> getSamlIdpSpConnections(long companyId)
      Specified by:
      getSamlIdpSpConnections in interface SamlIdpSpConnectionLocalService
    • getSamlIdpSpConnections

      public List<SamlIdpSpConnection> getSamlIdpSpConnections(long companyId, int start, int end)
      Specified by:
      getSamlIdpSpConnections in interface SamlIdpSpConnectionLocalService
    • getSamlIdpSpConnections

      public List<SamlIdpSpConnection> getSamlIdpSpConnections(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator)
      Specified by:
      getSamlIdpSpConnections in interface SamlIdpSpConnectionLocalService
    • getSamlIdpSpConnectionsCount

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

      public int getSamlIdpSpConnectionsCount(long companyId)
      Specified by:
      getSamlIdpSpConnectionsCount in interface SamlIdpSpConnectionLocalService
    • updateMetadata

      public void updateMetadata(long samlIdpSpConnectionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateMetadata in interface SamlIdpSpConnectionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateSamlIdpSpConnection

      public SamlIdpSpConnection updateSamlIdpSpConnection(long samlIdpSpConnectionId, int assertionLifetime, String attributeNames, boolean attributesEnabled, boolean attributesNamespaceEnabled, boolean enabled, boolean encryptionForced, String metadataUrl, InputStream metadataXmlInputStream, String name, String nameIdAttribute, String nameIdFormat, String samlSpEntityId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateSamlIdpSpConnection in interface SamlIdpSpConnectionLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateSamlIdpSpConnection

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

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

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