Class SamlIbSloMessageUtil

java.lang.Object
com.liferay.saml.persistence.service.persistence.SamlIbSloMessageUtil

public class SamlIbSloMessageUtil extends Object
The persistence utility for the saml ib slo message service. This utility wraps com.liferay.saml.persistence.service.persistence.impl.SamlIbSloMessagePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • SamlIbSloMessageUtil

      public SamlIbSloMessageUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(SamlIbSloMessage samlIbSloMessage)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,SamlIbSloMessage> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<SamlIbSloMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<SamlIbSloMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<SamlIbSloMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIbSloMessage> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static SamlIbSloMessage update(SamlIbSloMessage samlIbSloMessage)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static SamlIbSloMessage update(SamlIbSloMessage samlIbSloMessage, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findBySamlIdpSessionIndex

      public static SamlIbSloMessage findBySamlIdpSessionIndex(String samlIdpSessionIndex) throws NoSuchIbSloMessageException
      Returns the saml ib slo message where samlIdpSessionIndex = ? or throws a NoSuchIbSloMessageException if it could not be found.
      Parameters:
      samlIdpSessionIndex - the saml idp session index
      Returns:
      the matching saml ib slo message
    • fetchBySamlIdpSessionIndex

      public static SamlIbSloMessage fetchBySamlIdpSessionIndex(String samlIdpSessionIndex)
      Returns the saml ib slo message where samlIdpSessionIndex = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      samlIdpSessionIndex - the saml idp session index
      Returns:
      the matching saml ib slo message, or null if a matching saml ib slo message could not be found
    • fetchBySamlIdpSessionIndex

      public static SamlIbSloMessage fetchBySamlIdpSessionIndex(String samlIdpSessionIndex, boolean useFinderCache)
      Returns the saml ib slo message where samlIdpSessionIndex = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      samlIdpSessionIndex - the saml idp session index
      useFinderCache - whether to use the finder cache
      Returns:
      the matching saml ib slo message, or null if a matching saml ib slo message could not be found
    • removeBySamlIdpSessionIndex

      public static SamlIbSloMessage removeBySamlIdpSessionIndex(String samlIdpSessionIndex) throws NoSuchIbSloMessageException
      Removes the saml ib slo message where samlIdpSessionIndex = ? from the database.
      Parameters:
      samlIdpSessionIndex - the saml idp session index
      Returns:
      the saml ib slo message that was removed
      Throws:
      NoSuchIbSloMessageException
    • countBySamlIdpSessionIndex

      public static int countBySamlIdpSessionIndex(String samlIdpSessionIndex)
      Returns the number of saml ib slo messages where samlIdpSessionIndex = ?.
      Parameters:
      samlIdpSessionIndex - the saml idp session index
      Returns:
      the number of matching saml ib slo messages
    • cacheResult

      public static void cacheResult(SamlIbSloMessage samlIbSloMessage)
      Caches the saml ib slo message in the entity cache if it is enabled.
      Parameters:
      samlIbSloMessage - the saml ib slo message
    • cacheResult

      public static void cacheResult(List<SamlIbSloMessage> samlIbSloMessages)
      Caches the saml ib slo messages in the entity cache if it is enabled.
      Parameters:
      samlIbSloMessages - the saml ib slo messages
    • create

      public static SamlIbSloMessage create(long samlIbSloMessageId)
      Creates a new saml ib slo message with the primary key. Does not add the saml ib slo message to the database.
      Parameters:
      samlIbSloMessageId - the primary key for the new saml ib slo message
      Returns:
      the new saml ib slo message
    • remove

      public static SamlIbSloMessage remove(long samlIbSloMessageId) throws NoSuchIbSloMessageException
      Removes the saml ib slo message with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      samlIbSloMessageId - the primary key of the saml ib slo message
      Returns:
      the saml ib slo message that was removed
    • updateImpl

      public static SamlIbSloMessage updateImpl(SamlIbSloMessage samlIbSloMessage)
    • findByPrimaryKey

      public static SamlIbSloMessage findByPrimaryKey(long samlIbSloMessageId) throws NoSuchIbSloMessageException
      Returns the saml ib slo message with the primary key or throws a NoSuchIbSloMessageException if it could not be found.
      Parameters:
      samlIbSloMessageId - the primary key of the saml ib slo message
      Returns:
      the saml ib slo message
    • fetchByPrimaryKey

      public static SamlIbSloMessage fetchByPrimaryKey(long samlIbSloMessageId)
      Returns the saml ib slo message with the primary key or returns null if it could not be found.
      Parameters:
      samlIbSloMessageId - the primary key of the saml ib slo message
      Returns:
      the saml ib slo message, or null if a saml ib slo message with the primary key could not be found
    • findAll

      public static List<SamlIbSloMessage> findAll()
      Returns all the saml ib slo messages.
      Returns:
      the saml ib slo messages
    • findAll

      public static List<SamlIbSloMessage> findAll(int start, int end)
      Returns a range of all the saml ib slo 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.SamlIbSloMessageModelImpl.

      Parameters:
      start - the lower bound of the range of saml ib slo messages
      end - the upper bound of the range of saml ib slo messages (not inclusive)
      Returns:
      the range of saml ib slo messages
    • findAll

      public static List<SamlIbSloMessage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIbSloMessage> orderByComparator)
      Returns an ordered range of all the saml ib slo 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.SamlIbSloMessageModelImpl.

      Parameters:
      start - the lower bound of the range of saml ib slo messages
      end - the upper bound of the range of saml ib slo messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of saml ib slo messages
    • findAll

      public static List<SamlIbSloMessage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIbSloMessage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the saml ib slo 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.SamlIbSloMessageModelImpl.

      Parameters:
      start - the lower bound of the range of saml ib slo messages
      end - the upper bound of the range of saml ib slo messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of saml ib slo messages
    • removeAll

      public static void removeAll()
      Removes all the saml ib slo messages from the database.
    • countAll

      public static int countAll()
      Returns the number of saml ib slo messages.
      Returns:
      the number of saml ib slo messages
    • getPersistence

      public static SamlIbSloMessagePersistence getPersistence()
    • setPersistence

      public static void setPersistence(SamlIbSloMessagePersistence persistence)