Class SamlIbSloMessageUtil
java.lang.Object
com.liferay.saml.persistence.service.persistence.SamlIbSloMessageUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(SamlIbSloMessage samlIbSloMessage) static voidcacheResult(List<SamlIbSloMessage> samlIbSloMessages) static voidstatic voidclearCache(SamlIbSloMessage samlIbSloMessage) static intcountBySamlIdpSessionIndex(String samlIdpSessionIndex) Returns the number of saml ib slo messages where samlIdpSessionIndex = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static SamlIbSloMessagecreate(long samlIbSloMessageId) Creates a new saml ib slo message with the primary key.static SamlIbSloMessagefetchByPrimaryKey(long samlIbSloMessageId) Returns the saml ib slo message with the primary key or returnsnullif it could not be found.static Map<Serializable, SamlIbSloMessage> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static SamlIbSloMessagefetchBySamlIdpSessionIndex(String samlIdpSessionIndex) Returns the saml ib slo message where samlIdpSessionIndex = ? or returnsnullif it could not be found.static SamlIbSloMessagefetchBySamlIdpSessionIndex(String samlIdpSessionIndex, boolean useFinderCache) Returns the saml ib slo message where samlIdpSessionIndex = ? or returnsnullif it could not be found, optionally using the finder cache.static SamlIbSloMessagefindByPrimaryKey(long samlIbSloMessageId) Returns the saml ib slo message with the primary key or throws aNoSuchIbSloMessageExceptionif it could not be found.static SamlIbSloMessagefindBySamlIdpSessionIndex(String samlIdpSessionIndex) Returns the saml ib slo message where samlIdpSessionIndex = ? or throws aNoSuchIbSloMessageExceptionif it could not be found.static List<SamlIbSloMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<SamlIbSloMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<SamlIbSloMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIbSloMessage> orderByComparator) static SamlIbSloMessagePersistencestatic SamlIbSloMessageremove(long samlIbSloMessageId) Removes the saml ib slo message with the primary key from the database.static SamlIbSloMessageremoveBySamlIdpSessionIndex(String samlIdpSessionIndex) Removes the saml ib slo message where samlIdpSessionIndex = ? from the database.static voidsetPersistence(SamlIbSloMessagePersistence persistence) static SamlIbSloMessageupdate(SamlIbSloMessage samlIbSloMessage) static SamlIbSloMessageupdate(SamlIbSloMessage samlIbSloMessage, com.liferay.portal.kernel.service.ServiceContext serviceContext) static SamlIbSloMessageupdateImpl(SamlIbSloMessage samlIbSloMessage)
-
Constructor Details
-
SamlIbSloMessageUtil
public SamlIbSloMessageUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<SamlIbSloMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<SamlIbSloMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
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:
-
update
- See Also:
-
update
public static SamlIbSloMessage update(SamlIbSloMessage samlIbSloMessage, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findBySamlIdpSessionIndex
public static SamlIbSloMessage findBySamlIdpSessionIndex(String samlIdpSessionIndex) throws NoSuchIbSloMessageException Returns the saml ib slo message where samlIdpSessionIndex = ? or throws aNoSuchIbSloMessageExceptionif 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 returnsnullif it could not be found, optionally using the finder cache.- Parameters:
samlIdpSessionIndex- the saml idp session indexuseFinderCache- whether to use the finder cache- Returns:
- the matching saml ib slo message, or
nullif 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
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
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
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
-
findByPrimaryKey
public static SamlIbSloMessage findByPrimaryKey(long samlIbSloMessageId) throws NoSuchIbSloMessageException Returns the saml ib slo message with the primary key or throws aNoSuchIbSloMessageExceptionif it could not be found.- Parameters:
samlIbSloMessageId- the primary key of the saml ib slo message- Returns:
- the saml ib slo message
-
fetchByPrimaryKey
Returns the saml ib slo message with the primary key or returnsnullif it could not be found.- Parameters:
samlIbSloMessageId- the primary key of the saml ib slo message- Returns:
- the saml ib slo message, or
nullif a saml ib slo message with the primary key could not be found
-
fetchBySamlIdpSessionIndex
Returns the saml ib slo message where samlIdpSessionIndex = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
samlIdpSessionIndex- the saml idp session index- Returns:
- the matching saml ib slo message, or
nullif a matching saml ib slo message could not be found
-
getPersistence
-
setPersistence
-