Class SamlIbSloMessageUtil
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) Caches the saml ib slo message in the entity cache if it is enabled.static voidcacheResult(List<SamlIbSloMessage> samlIbSloMessages) Caches the saml ib slo messages in the entity cache if it is enabled.static voidstatic voidclearCache(SamlIbSloMessage samlIbSloMessage) static intcountAll()Returns the number of saml ib slo messages.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 List<SamlIbSloMessage> findAll()Returns all the saml ib slo messages.static List<SamlIbSloMessage> findAll(int start, int end) Returns a range of all the saml ib slo messages.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.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.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 voidRemoves all the saml ib slo messages 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
-
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
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
-
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
-
cacheResult
Caches the saml ib slo message in the entity cache if it is enabled.- Parameters:
samlIbSloMessage- the saml ib slo message
-
cacheResult
Caches the saml ib slo messages in the entity cache if it is enabled.- Parameters:
samlIbSloMessages- the 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
-
findAll
Returns all the saml ib slo messages.- Returns:
- the saml ib slo messages
-
findAll
Returns a range of all the saml ib slo messages.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.saml.persistence.model.impl.SamlIbSloMessageModelImpl.- Parameters:
start- the lower bound of the range of saml ib slo messagesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.saml.persistence.model.impl.SamlIbSloMessageModelImpl.- Parameters:
start- the lower bound of the range of saml ib slo messagesend- the upper bound of the range of saml ib slo messages (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.saml.persistence.model.impl.SamlIbSloMessageModelImpl.- Parameters:
start- the lower bound of the range of saml ib slo messagesend- the upper bound of the range of saml ib slo messages (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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
-
setPersistence
-