Class SamlPeerBindingUtil
com.liferay.saml.persistence.service.persistence.impl.SamlPeerBindingPersistenceImpl 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(SamlPeerBinding samlPeerBinding) Caches the saml peer binding in the entity cache if it is enabled.static voidcacheResult(List<SamlPeerBinding> samlPeerBindings) Caches the saml peer bindings in the entity cache if it is enabled.static voidstatic voidclearCache(SamlPeerBinding samlPeerBinding) static intcountAll()Returns the number of saml peer bindings.static intcountByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue) Returns the number of saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.static intcountByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId) Returns the number of saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static SamlPeerBindingcreate(long samlPeerBindingId) Creates a new saml peer binding with the primary key.static SamlPeerBindingfetchByC_D_SNIV_First(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns the first saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.static SamlPeerBindingfetchByC_D_SNIV_Last(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns the last saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.static SamlPeerBindingfetchByC_U_D_SPEI_First(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns the first saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.static SamlPeerBindingfetchByC_U_D_SPEI_Last(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns the last saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.static SamlPeerBindingfetchByPrimaryKey(long samlPeerBindingId) Returns the saml peer binding with the primary key or returnsnullif it could not be found.static Map<Serializable,SamlPeerBinding> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<SamlPeerBinding>findAll()Returns all the saml peer bindings.static List<SamlPeerBinding>findAll(int start, int end) Returns a range of all the saml peer bindings.static List<SamlPeerBinding>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns an ordered range of all the saml peer bindings.static List<SamlPeerBinding>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml peer bindings.static List<SamlPeerBinding>findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue) Returns all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.static List<SamlPeerBinding>findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue, int start, int end) Returns a range of all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.static List<SamlPeerBinding>findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns an ordered range of all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.static List<SamlPeerBinding>findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.static SamlPeerBindingfindByC_D_SNIV_First(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns the first saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.static SamlPeerBindingfindByC_D_SNIV_Last(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns the last saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.static SamlPeerBinding[]findByC_D_SNIV_PrevAndNext(long samlPeerBindingId, long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns the saml peer bindings before and after the current saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.static List<SamlPeerBinding>findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId) Returns all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.static List<SamlPeerBinding>findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId, int start, int end) Returns a range of all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.static List<SamlPeerBinding>findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns an ordered range of all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.static List<SamlPeerBinding>findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.static SamlPeerBindingfindByC_U_D_SPEI_First(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns the first saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.static SamlPeerBindingfindByC_U_D_SPEI_Last(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns the last saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.static SamlPeerBinding[]findByC_U_D_SPEI_PrevAndNext(long samlPeerBindingId, long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns the saml peer bindings before and after the current saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.static SamlPeerBindingfindByPrimaryKey(long samlPeerBindingId) Returns the saml peer binding with the primary key or throws aNoSuchPeerBindingExceptionif it could not be found.static List<SamlPeerBinding>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<SamlPeerBinding>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<SamlPeerBinding>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) static SamlPeerBindingPersistencestatic SamlPeerBindingremove(long samlPeerBindingId) Removes the saml peer binding with the primary key from the database.static voidRemoves all the saml peer bindings from the database.static voidremoveByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue) Removes all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ? from the database.static voidremoveByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId) Removes all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ? from the database.static voidsetPersistence(SamlPeerBindingPersistence persistence) static SamlPeerBindingupdate(SamlPeerBinding samlPeerBinding) static SamlPeerBindingupdate(SamlPeerBinding samlPeerBinding, com.liferay.portal.kernel.service.ServiceContext serviceContext) static SamlPeerBindingupdateImpl(SamlPeerBinding samlPeerBinding)
-
Constructor Details
-
SamlPeerBindingUtil
public SamlPeerBindingUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<SamlPeerBinding> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<SamlPeerBinding> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<SamlPeerBinding> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static SamlPeerBinding update(SamlPeerBinding samlPeerBinding, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByC_D_SNIV
public static List<SamlPeerBinding> findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue) Returns all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.- Parameters:
companyId- the company IDdeleted- the deletedsamlNameIdValue- the saml name ID value- Returns:
- the matching saml peer bindings
-
findByC_D_SNIV
public static List<SamlPeerBinding> findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue, int start, int end) Returns a range of all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.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 bothstartandendtoQueryUtil#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 fromSamlPeerBindingModelImpl.- Parameters:
companyId- the company IDdeleted- the deletedsamlNameIdValue- the saml name ID valuestart- the lower bound of the range of saml peer bindingsend- the upper bound of the range of saml peer bindings (not inclusive)- Returns:
- the range of matching saml peer bindings
-
findByC_D_SNIV
public static List<SamlPeerBinding> findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns an ordered range of all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.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 bothstartandendtoQueryUtil#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 fromSamlPeerBindingModelImpl.- Parameters:
companyId- the company IDdeleted- the deletedsamlNameIdValue- the saml name ID valuestart- the lower bound of the range of saml peer bindingsend- the upper bound of the range of saml peer bindings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saml peer bindings
-
findByC_D_SNIV
public static List<SamlPeerBinding> findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.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 bothstartandendtoQueryUtil#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 fromSamlPeerBindingModelImpl.- Parameters:
companyId- the company IDdeleted- the deletedsamlNameIdValue- the saml name ID valuestart- the lower bound of the range of saml peer bindingsend- the upper bound of the range of saml peer bindings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saml peer bindings
-
findByC_D_SNIV_First
public static SamlPeerBinding findByC_D_SNIV_First(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException Returns the first saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.- Parameters:
companyId- the company IDdeleted- the deletedsamlNameIdValue- the saml name ID valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml peer binding
- Throws:
NoSuchPeerBindingException- if a matching saml peer binding could not be foundNoSuchPeerBindingException
-
fetchByC_D_SNIV_First
public static SamlPeerBinding fetchByC_D_SNIV_First(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns the first saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.- Parameters:
companyId- the company IDdeleted- the deletedsamlNameIdValue- the saml name ID valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml peer binding, or
nullif a matching saml peer binding could not be found
-
findByC_D_SNIV_Last
public static SamlPeerBinding findByC_D_SNIV_Last(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException Returns the last saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.- Parameters:
companyId- the company IDdeleted- the deletedsamlNameIdValue- the saml name ID valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml peer binding
- Throws:
NoSuchPeerBindingException- if a matching saml peer binding could not be foundNoSuchPeerBindingException
-
fetchByC_D_SNIV_Last
public static SamlPeerBinding fetchByC_D_SNIV_Last(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns the last saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.- Parameters:
companyId- the company IDdeleted- the deletedsamlNameIdValue- the saml name ID valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml peer binding, or
nullif a matching saml peer binding could not be found
-
findByC_D_SNIV_PrevAndNext
public static SamlPeerBinding[] findByC_D_SNIV_PrevAndNext(long samlPeerBindingId, long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException Returns the saml peer bindings before and after the current saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.- Parameters:
samlPeerBindingId- the primary key of the current saml peer bindingcompanyId- the company IDdeleted- the deletedsamlNameIdValue- the saml name ID valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saml peer binding
- Throws:
NoSuchPeerBindingException- if a saml peer binding with the primary key could not be foundNoSuchPeerBindingException
-
removeByC_D_SNIV
Removes all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ? from the database.- Parameters:
companyId- the company IDdeleted- the deletedsamlNameIdValue- the saml name ID value
-
countByC_D_SNIV
Returns the number of saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.- Parameters:
companyId- the company IDdeleted- the deletedsamlNameIdValue- the saml name ID value- Returns:
- the number of matching saml peer bindings
-
findByC_U_D_SPEI
public static List<SamlPeerBinding> findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId) Returns all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.- Parameters:
companyId- the company IDuserId- the user IDdeleted- the deletedsamlPeerEntityId- the saml peer entity ID- Returns:
- the matching saml peer bindings
-
findByC_U_D_SPEI
public static List<SamlPeerBinding> findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId, int start, int end) Returns a range of all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.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 bothstartandendtoQueryUtil#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 fromSamlPeerBindingModelImpl.- Parameters:
companyId- the company IDuserId- the user IDdeleted- the deletedsamlPeerEntityId- the saml peer entity IDstart- the lower bound of the range of saml peer bindingsend- the upper bound of the range of saml peer bindings (not inclusive)- Returns:
- the range of matching saml peer bindings
-
findByC_U_D_SPEI
public static List<SamlPeerBinding> findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns an ordered range of all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.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 bothstartandendtoQueryUtil#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 fromSamlPeerBindingModelImpl.- Parameters:
companyId- the company IDuserId- the user IDdeleted- the deletedsamlPeerEntityId- the saml peer entity IDstart- the lower bound of the range of saml peer bindingsend- the upper bound of the range of saml peer bindings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saml peer bindings
-
findByC_U_D_SPEI
public static List<SamlPeerBinding> findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.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 bothstartandendtoQueryUtil#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 fromSamlPeerBindingModelImpl.- Parameters:
companyId- the company IDuserId- the user IDdeleted- the deletedsamlPeerEntityId- the saml peer entity IDstart- the lower bound of the range of saml peer bindingsend- the upper bound of the range of saml peer bindings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saml peer bindings
-
findByC_U_D_SPEI_First
public static SamlPeerBinding findByC_U_D_SPEI_First(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException Returns the first saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.- Parameters:
companyId- the company IDuserId- the user IDdeleted- the deletedsamlPeerEntityId- the saml peer entity IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml peer binding
- Throws:
NoSuchPeerBindingException- if a matching saml peer binding could not be foundNoSuchPeerBindingException
-
fetchByC_U_D_SPEI_First
public static SamlPeerBinding fetchByC_U_D_SPEI_First(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns the first saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.- Parameters:
companyId- the company IDuserId- the user IDdeleted- the deletedsamlPeerEntityId- the saml peer entity IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml peer binding, or
nullif a matching saml peer binding could not be found
-
findByC_U_D_SPEI_Last
public static SamlPeerBinding findByC_U_D_SPEI_Last(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException Returns the last saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.- Parameters:
companyId- the company IDuserId- the user IDdeleted- the deletedsamlPeerEntityId- the saml peer entity IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml peer binding
- Throws:
NoSuchPeerBindingException- if a matching saml peer binding could not be foundNoSuchPeerBindingException
-
fetchByC_U_D_SPEI_Last
public static SamlPeerBinding fetchByC_U_D_SPEI_Last(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns the last saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.- Parameters:
companyId- the company IDuserId- the user IDdeleted- the deletedsamlPeerEntityId- the saml peer entity IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml peer binding, or
nullif a matching saml peer binding could not be found
-
findByC_U_D_SPEI_PrevAndNext
public static SamlPeerBinding[] findByC_U_D_SPEI_PrevAndNext(long samlPeerBindingId, long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException Returns the saml peer bindings before and after the current saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.- Parameters:
samlPeerBindingId- the primary key of the current saml peer bindingcompanyId- the company IDuserId- the user IDdeleted- the deletedsamlPeerEntityId- the saml peer entity IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saml peer binding
- Throws:
NoSuchPeerBindingException- if a saml peer binding with the primary key could not be foundNoSuchPeerBindingException
-
removeByC_U_D_SPEI
public static void removeByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId) Removes all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ? from the database.- Parameters:
companyId- the company IDuserId- the user IDdeleted- the deletedsamlPeerEntityId- the saml peer entity ID
-
countByC_U_D_SPEI
public static int countByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId) Returns the number of saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.- Parameters:
companyId- the company IDuserId- the user IDdeleted- the deletedsamlPeerEntityId- the saml peer entity ID- Returns:
- the number of matching saml peer bindings
-
cacheResult
Caches the saml peer binding in the entity cache if it is enabled.- Parameters:
samlPeerBinding- the saml peer binding
-
cacheResult
Caches the saml peer bindings in the entity cache if it is enabled.- Parameters:
samlPeerBindings- the saml peer bindings
-
create
Creates a new saml peer binding with the primary key. Does not add the saml peer binding to the database.- Parameters:
samlPeerBindingId- the primary key for the new saml peer binding- Returns:
- the new saml peer binding
-
remove
Removes the saml peer binding with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
samlPeerBindingId- the primary key of the saml peer binding- Returns:
- the saml peer binding that was removed
- Throws:
NoSuchPeerBindingException- if a saml peer binding with the primary key could not be foundNoSuchPeerBindingException
-
updateImpl
-
findByPrimaryKey
public static SamlPeerBinding findByPrimaryKey(long samlPeerBindingId) throws NoSuchPeerBindingException Returns the saml peer binding with the primary key or throws aNoSuchPeerBindingExceptionif it could not be found.- Parameters:
samlPeerBindingId- the primary key of the saml peer binding- Returns:
- the saml peer binding
- Throws:
NoSuchPeerBindingException- if a saml peer binding with the primary key could not be foundNoSuchPeerBindingException
-
fetchByPrimaryKey
Returns the saml peer binding with the primary key or returnsnullif it could not be found.- Parameters:
samlPeerBindingId- the primary key of the saml peer binding- Returns:
- the saml peer binding, or
nullif a saml peer binding with the primary key could not be found
-
findAll
Returns all the saml peer bindings.- Returns:
- the saml peer bindings
-
findAll
Returns a range of all the saml peer bindings.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 bothstartandendtoQueryUtil#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 fromSamlPeerBindingModelImpl.- Parameters:
start- the lower bound of the range of saml peer bindingsend- the upper bound of the range of saml peer bindings (not inclusive)- Returns:
- the range of saml peer bindings
-
findAll
public static List<SamlPeerBinding> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) Returns an ordered range of all the saml peer bindings.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 bothstartandendtoQueryUtil#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 fromSamlPeerBindingModelImpl.- Parameters:
start- the lower bound of the range of saml peer bindingsend- the upper bound of the range of saml peer bindings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of saml peer bindings
-
findAll
public static List<SamlPeerBinding> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml peer bindings.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 bothstartandendtoQueryUtil#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 fromSamlPeerBindingModelImpl.- Parameters:
start- the lower bound of the range of saml peer bindingsend- the upper bound of the range of saml peer bindings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of saml peer bindings
-
removeAll
public static void removeAll()Removes all the saml peer bindings from the database. -
countAll
public static int countAll()Returns the number of saml peer bindings.- Returns:
- the number of saml peer bindings
-
getPersistence
-
setPersistence
-