Class SamlPeerBindingLocalServiceWrapper

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

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

    • SamlPeerBindingLocalServiceWrapper

      public SamlPeerBindingLocalServiceWrapper()
    • SamlPeerBindingLocalServiceWrapper

      public SamlPeerBindingLocalServiceWrapper(SamlPeerBindingLocalService samlPeerBindingLocalService)
  • Method Details

    • addSamlPeerBinding

      public SamlPeerBinding addSamlPeerBinding(long userId, String samlNameIdFormat, String samlNameIdNameQualifier, String samlNameIdSpNameQualifier, String samlNameIdSpProvidedId, String samlNameIdValue, String samlPeerEntityId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addSamlPeerBinding in interface SamlPeerBindingLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addSamlPeerBinding

      public SamlPeerBinding addSamlPeerBinding(SamlPeerBinding samlPeerBinding)
      Adds the saml peer binding to the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlPeerBindingLocalServiceImpl 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:
      addSamlPeerBinding in interface SamlPeerBindingLocalService
      Parameters:
      samlPeerBinding - the saml peer binding
      Returns:
      the saml peer binding 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 SamlPeerBindingLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • createSamlPeerBinding

      public SamlPeerBinding createSamlPeerBinding(long samlPeerBindingId)
      Creates a new saml peer binding with the primary key. Does not add the saml peer binding to the database.
      Specified by:
      createSamlPeerBinding in interface SamlPeerBindingLocalService
      Parameters:
      samlPeerBindingId - the primary key for the new saml peer binding
      Returns:
      the new saml peer binding
    • 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 SamlPeerBindingLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteSamlPeerBinding

      public SamlPeerBinding deleteSamlPeerBinding(long samlPeerBindingId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the saml peer binding with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlPeerBindingLocalServiceImpl 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:
      deleteSamlPeerBinding in interface SamlPeerBindingLocalService
      Parameters:
      samlPeerBindingId - the primary key of the saml peer binding
      Returns:
      the saml peer binding that was removed
      Throws:
      PortalException - if a saml peer binding with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteSamlPeerBinding

      public SamlPeerBinding deleteSamlPeerBinding(SamlPeerBinding samlPeerBinding)
      Deletes the saml peer binding from the database. Also notifies the appropriate model listeners.

      Important: Inspect SamlPeerBindingLocalServiceImpl 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:
      deleteSamlPeerBinding in interface SamlPeerBindingLocalService
      Parameters:
      samlPeerBinding - the saml peer binding
      Returns:
      the saml peer binding 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 SamlPeerBindingLocalService
    • 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 SamlPeerBindingLocalService
    • dynamicQuery

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

      Specified by:
      dynamicQuery in interface SamlPeerBindingLocalService
      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.SamlPeerBindingModelImpl.

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

      public SamlPeerBinding fetchSamlPeerBinding(long samlPeerBindingId)
      Specified by:
      fetchSamlPeerBinding in interface SamlPeerBindingLocalService
    • fetchSamlPeerBinding

      public SamlPeerBinding fetchSamlPeerBinding(long companyId, boolean deleted, String samlNameIdFormat, String samlNameIdNameQualifier, String samlNameIdValue, String samlPeerEntityId)
      Specified by:
      fetchSamlPeerBinding in interface SamlPeerBindingLocalService
    • getActionableDynamicQuery

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

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

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

      public SamlPeerBinding getSamlPeerBinding(long samlPeerBindingId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the saml peer binding with the primary key.
      Specified by:
      getSamlPeerBinding in interface SamlPeerBindingLocalService
      Parameters:
      samlPeerBindingId - the primary key of the saml peer binding
      Returns:
      the saml peer binding
      Throws:
      PortalException - if a saml peer binding with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getSamlPeerBindings

      public List<SamlPeerBinding> getSamlPeerBindings(int start, int end)
      Returns a range of all the saml peer bindings.

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

      Specified by:
      getSamlPeerBindings in interface SamlPeerBindingLocalService
      Parameters:
      start - the lower bound of the range of saml peer bindings
      end - the upper bound of the range of saml peer bindings (not inclusive)
      Returns:
      the range of saml peer bindings
    • getSamlPeerBindings

      public List<SamlPeerBinding> getSamlPeerBindings(long companyId, boolean deleted, String samlNameIdFormat, String samlNameIdNameQualifier, String samlNameIdValue, String samlPeerEntityId)
      Specified by:
      getSamlPeerBindings in interface SamlPeerBindingLocalService
    • getSamlPeerBindingsCount

      public int getSamlPeerBindingsCount()
      Returns the number of saml peer bindings.
      Specified by:
      getSamlPeerBindingsCount in interface SamlPeerBindingLocalService
      Returns:
      the number of saml peer bindings
    • getUserSamlPeerBindings

      public List<SamlPeerBinding> getUserSamlPeerBindings(long userId, boolean deleted, String samlNameIdFormat, String samlNameIdNameQualifier, String samlPeerEntityId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getUserSamlPeerBindings in interface SamlPeerBindingLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateSamlPeerBinding

      public SamlPeerBinding updateSamlPeerBinding(SamlPeerBinding samlPeerBinding)
      Updates the saml peer binding in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect SamlPeerBindingLocalServiceImpl 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:
      updateSamlPeerBinding in interface SamlPeerBindingLocalService
      Parameters:
      samlPeerBinding - the saml peer binding
      Returns:
      the saml peer binding 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 SamlPeerBindingLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<SamlPeerBindingLocalService>
    • setWrappedService

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