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

    • cacheResult

      public static void cacheResult(List<SamlIbSloMessage> samlIbSloMessages)
      See Also:
      • BasePersistence.cacheResult(List)
    • cacheResult

      public static void cacheResult(SamlIbSloMessage samlIbSloMessage)
      See Also:
      • BasePersistence.cacheResult(com.liferay.portal.kernel.model.BaseModel)
    • 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, 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
    • 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
    • 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
    • getPersistence

      public static SamlIbSloMessagePersistence getPersistence()
    • setPersistence

      public static void setPersistence(SamlIbSloMessagePersistence persistence)