public class SamlPeerBindingUtil
extends java.lang.Object
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
SamlPeerBindingPersistence| Constructor and Description |
|---|
SamlPeerBindingUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(java.util.List<SamlPeerBinding> samlPeerBindings)
Caches the saml peer bindings in the entity cache if it is enabled.
|
static void |
cacheResult(SamlPeerBinding samlPeerBinding)
Caches the saml peer binding in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(SamlPeerBinding samlPeerBinding) |
static int |
countAll()
Returns the number of saml peer bindings.
|
static int |
countByC_D_SNIF_SNINQ_SNIV_SPEI(long companyId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlNameIdValue,
java.lang.String samlPeerEntityId)
Returns the number of saml peer bindings where companyId = ? and deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlNameIdValue = ? and samlPeerEntityId = ?.
|
static int |
countByC_U_D_SNIF_SNINQ_SPEI(long companyId,
long userId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlPeerEntityId)
Returns the number of saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlPeerEntityId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static SamlPeerBinding |
create(long samlPeerBindingId)
Creates a new saml peer binding with the primary key.
|
static SamlPeerBinding |
fetchByC_D_SNIF_SNINQ_SNIV_SPEI_First(long companyId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlNameIdValue,
java.lang.String samlPeerEntityId,
com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
Returns the first saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlNameIdValue = ? and samlPeerEntityId = ?.
|
static SamlPeerBinding |
fetchByC_D_SNIF_SNINQ_SNIV_SPEI_Last(long companyId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlNameIdValue,
java.lang.String samlPeerEntityId,
com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
Returns the last saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlNameIdValue = ? and samlPeerEntityId = ?.
|
static SamlPeerBinding |
fetchByC_U_D_SNIF_SNINQ_SPEI_First(long companyId,
long userId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.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 samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlPeerEntityId = ?.
|
static SamlPeerBinding |
fetchByC_U_D_SNIF_SNINQ_SPEI_Last(long companyId,
long userId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.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 samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlPeerEntityId = ?.
|
static SamlPeerBinding |
fetchByPrimaryKey(long samlPeerBindingId)
Returns the saml peer binding with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,SamlPeerBinding> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<SamlPeerBinding> |
findAll()
Returns all the saml peer bindings.
|
static java.util.List<SamlPeerBinding> |
findAll(int start,
int end)
Returns a range of all the saml peer bindings.
|
static java.util.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 java.util.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 SamlPeerBinding |
findByC_D_SNIF_SNINQ_SNIV_SPEI_First(long companyId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlNameIdValue,
java.lang.String samlPeerEntityId,
com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
Returns the first saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlNameIdValue = ? and samlPeerEntityId = ?.
|
static SamlPeerBinding |
findByC_D_SNIF_SNINQ_SNIV_SPEI_Last(long companyId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlNameIdValue,
java.lang.String samlPeerEntityId,
com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
Returns the last saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlNameIdValue = ? and samlPeerEntityId = ?.
|
static SamlPeerBinding[] |
findByC_D_SNIF_SNINQ_SNIV_SPEI_PrevAndNext(long samlPeerBindingId,
long companyId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlNameIdValue,
java.lang.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 deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlNameIdValue = ? and samlPeerEntityId = ?.
|
static java.util.List<SamlPeerBinding> |
findByC_D_SNIF_SNINQ_SNIV_SPEI(long companyId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlNameIdValue,
java.lang.String samlPeerEntityId)
Returns all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlNameIdValue = ? and samlPeerEntityId = ?.
|
static java.util.List<SamlPeerBinding> |
findByC_D_SNIF_SNINQ_SNIV_SPEI(long companyId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlNameIdValue,
java.lang.String samlPeerEntityId,
int start,
int end)
Returns a range of all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlNameIdValue = ? and samlPeerEntityId = ?.
|
static java.util.List<SamlPeerBinding> |
findByC_D_SNIF_SNINQ_SNIV_SPEI(long companyId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlNameIdValue,
java.lang.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 deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlNameIdValue = ? and samlPeerEntityId = ?.
|
static java.util.List<SamlPeerBinding> |
findByC_D_SNIF_SNINQ_SNIV_SPEI(long companyId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlNameIdValue,
java.lang.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 deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlNameIdValue = ? and samlPeerEntityId = ?.
|
static SamlPeerBinding |
findByC_U_D_SNIF_SNINQ_SPEI_First(long companyId,
long userId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.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 samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlPeerEntityId = ?.
|
static SamlPeerBinding |
findByC_U_D_SNIF_SNINQ_SPEI_Last(long companyId,
long userId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.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 samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlPeerEntityId = ?.
|
static SamlPeerBinding[] |
findByC_U_D_SNIF_SNINQ_SPEI_PrevAndNext(long samlPeerBindingId,
long companyId,
long userId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.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 samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlPeerEntityId = ?.
|
static java.util.List<SamlPeerBinding> |
findByC_U_D_SNIF_SNINQ_SPEI(long companyId,
long userId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlPeerEntityId)
Returns all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlPeerEntityId = ?.
|
static java.util.List<SamlPeerBinding> |
findByC_U_D_SNIF_SNINQ_SPEI(long companyId,
long userId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlPeerEntityId,
int start,
int end)
Returns a range of all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlPeerEntityId = ?.
|
static java.util.List<SamlPeerBinding> |
findByC_U_D_SNIF_SNINQ_SPEI(long companyId,
long userId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.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 samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlPeerEntityId = ?.
|
static java.util.List<SamlPeerBinding> |
findByC_U_D_SNIF_SNINQ_SPEI(long companyId,
long userId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.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 samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlPeerEntityId = ?.
|
static SamlPeerBinding |
findByPrimaryKey(long samlPeerBindingId)
Returns the saml peer binding with the primary key or throws a
NoSuchPeerBindingException if it could not be found. |
static java.util.List<SamlPeerBinding> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<SamlPeerBinding> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<SamlPeerBinding> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) |
static SamlPeerBindingPersistence |
getPersistence() |
static SamlPeerBinding |
remove(long samlPeerBindingId)
Removes the saml peer binding with the primary key from the database.
|
static void |
removeAll()
Removes all the saml peer bindings from the database.
|
static void |
removeByC_D_SNIF_SNINQ_SNIV_SPEI(long companyId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlNameIdValue,
java.lang.String samlPeerEntityId)
Removes all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlNameIdValue = ? and samlPeerEntityId = ? from the database.
|
static void |
removeByC_U_D_SNIF_SNINQ_SPEI(long companyId,
long userId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlPeerEntityId)
Removes all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlNameIdFormat = ? and samlNameIdNameQualifier = ? and samlPeerEntityId = ? from the database.
|
static SamlPeerBinding |
update(SamlPeerBinding samlPeerBinding) |
static SamlPeerBinding |
update(SamlPeerBinding samlPeerBinding,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static SamlPeerBinding |
updateImpl(SamlPeerBinding samlPeerBinding) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(SamlPeerBinding samlPeerBinding)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)public static java.util.Map<java.io.Serializable,SamlPeerBinding> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)public static java.util.List<SamlPeerBinding> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<SamlPeerBinding> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)public static java.util.List<SamlPeerBinding> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)public static SamlPeerBinding update(SamlPeerBinding samlPeerBinding)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)public static SamlPeerBinding update(SamlPeerBinding samlPeerBinding, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)public static java.util.List<SamlPeerBinding> findByC_U_D_SNIF_SNINQ_SPEI(long companyId, long userId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlPeerEntityId)
companyId - the company IDuserId - the user IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlPeerEntityId - the saml peer entity IDpublic static java.util.List<SamlPeerBinding> findByC_U_D_SNIF_SNINQ_SPEI(long companyId, long userId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlPeerEntityId, int start, int end)
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 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 SamlPeerBindingModelImpl.
companyId - the company IDuserId - the user IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlPeerEntityId - 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)public static java.util.List<SamlPeerBinding> findByC_U_D_SNIF_SNINQ_SPEI(long companyId, long userId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlPeerEntityId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
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 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 SamlPeerBindingModelImpl.
companyId - the company IDuserId - the user IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlPeerEntityId - 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 (optionally null)public static java.util.List<SamlPeerBinding> findByC_U_D_SNIF_SNINQ_SPEI(long companyId, long userId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlPeerEntityId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache)
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 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 SamlPeerBindingModelImpl.
companyId - the company IDuserId - the user IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlPeerEntityId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic static SamlPeerBinding findByC_U_D_SNIF_SNINQ_SPEI_First(long companyId, long userId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException
companyId - the company IDuserId - the user IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlPeerEntityId - the saml peer entity IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPeerBindingException - if a matching saml peer binding could not be foundpublic static SamlPeerBinding fetchByC_U_D_SNIF_SNINQ_SPEI_First(long companyId, long userId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
companyId - the company IDuserId - the user IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlPeerEntityId - the saml peer entity IDorderByComparator - the comparator to order the set by (optionally null)null if a matching saml peer binding could not be foundpublic static SamlPeerBinding findByC_U_D_SNIF_SNINQ_SPEI_Last(long companyId, long userId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException
companyId - the company IDuserId - the user IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlPeerEntityId - the saml peer entity IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPeerBindingException - if a matching saml peer binding could not be foundpublic static SamlPeerBinding fetchByC_U_D_SNIF_SNINQ_SPEI_Last(long companyId, long userId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
companyId - the company IDuserId - the user IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlPeerEntityId - the saml peer entity IDorderByComparator - the comparator to order the set by (optionally null)null if a matching saml peer binding could not be foundpublic static SamlPeerBinding[] findByC_U_D_SNIF_SNINQ_SPEI_PrevAndNext(long samlPeerBindingId, long companyId, long userId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException
samlPeerBindingId - the primary key of the current saml peer bindingcompanyId - the company IDuserId - the user IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlPeerEntityId - the saml peer entity IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPeerBindingException - if a saml peer binding with the primary key could not be foundpublic static void removeByC_U_D_SNIF_SNINQ_SPEI(long companyId,
long userId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlPeerEntityId)
companyId - the company IDuserId - the user IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlPeerEntityId - the saml peer entity IDpublic static int countByC_U_D_SNIF_SNINQ_SPEI(long companyId,
long userId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlPeerEntityId)
companyId - the company IDuserId - the user IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlPeerEntityId - the saml peer entity IDpublic static java.util.List<SamlPeerBinding> findByC_D_SNIF_SNINQ_SNIV_SPEI(long companyId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlNameIdValue, java.lang.String samlPeerEntityId)
companyId - the company IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlNameIdValue - the saml name ID valuesamlPeerEntityId - the saml peer entity IDpublic static java.util.List<SamlPeerBinding> findByC_D_SNIF_SNINQ_SNIV_SPEI(long companyId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlNameIdValue, java.lang.String samlPeerEntityId, int start, int end)
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 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 SamlPeerBindingModelImpl.
companyId - the company IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlNameIdValue - the saml name ID valuesamlPeerEntityId - 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)public static java.util.List<SamlPeerBinding> findByC_D_SNIF_SNINQ_SNIV_SPEI(long companyId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlNameIdValue, java.lang.String samlPeerEntityId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
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 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 SamlPeerBindingModelImpl.
companyId - the company IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlNameIdValue - the saml name ID valuesamlPeerEntityId - 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 (optionally null)public static java.util.List<SamlPeerBinding> findByC_D_SNIF_SNINQ_SNIV_SPEI(long companyId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlNameIdValue, java.lang.String samlPeerEntityId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache)
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 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 SamlPeerBindingModelImpl.
companyId - the company IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlNameIdValue - the saml name ID valuesamlPeerEntityId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic static SamlPeerBinding findByC_D_SNIF_SNINQ_SNIV_SPEI_First(long companyId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlNameIdValue, java.lang.String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException
companyId - the company IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlNameIdValue - the saml name ID valuesamlPeerEntityId - the saml peer entity IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPeerBindingException - if a matching saml peer binding could not be foundpublic static SamlPeerBinding fetchByC_D_SNIF_SNINQ_SNIV_SPEI_First(long companyId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlNameIdValue, java.lang.String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
companyId - the company IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlNameIdValue - the saml name ID valuesamlPeerEntityId - the saml peer entity IDorderByComparator - the comparator to order the set by (optionally null)null if a matching saml peer binding could not be foundpublic static SamlPeerBinding findByC_D_SNIF_SNINQ_SNIV_SPEI_Last(long companyId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlNameIdValue, java.lang.String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException
companyId - the company IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlNameIdValue - the saml name ID valuesamlPeerEntityId - the saml peer entity IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPeerBindingException - if a matching saml peer binding could not be foundpublic static SamlPeerBinding fetchByC_D_SNIF_SNINQ_SNIV_SPEI_Last(long companyId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlNameIdValue, java.lang.String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
companyId - the company IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlNameIdValue - the saml name ID valuesamlPeerEntityId - the saml peer entity IDorderByComparator - the comparator to order the set by (optionally null)null if a matching saml peer binding could not be foundpublic static SamlPeerBinding[] findByC_D_SNIF_SNINQ_SNIV_SPEI_PrevAndNext(long samlPeerBindingId, long companyId, boolean deleted, java.lang.String samlNameIdFormat, java.lang.String samlNameIdNameQualifier, java.lang.String samlNameIdValue, java.lang.String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException
samlPeerBindingId - the primary key of the current saml peer bindingcompanyId - the company IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlNameIdValue - the saml name ID valuesamlPeerEntityId - the saml peer entity IDorderByComparator - the comparator to order the set by (optionally null)NoSuchPeerBindingException - if a saml peer binding with the primary key could not be foundpublic static void removeByC_D_SNIF_SNINQ_SNIV_SPEI(long companyId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlNameIdValue,
java.lang.String samlPeerEntityId)
companyId - the company IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlNameIdValue - the saml name ID valuesamlPeerEntityId - the saml peer entity IDpublic static int countByC_D_SNIF_SNINQ_SNIV_SPEI(long companyId,
boolean deleted,
java.lang.String samlNameIdFormat,
java.lang.String samlNameIdNameQualifier,
java.lang.String samlNameIdValue,
java.lang.String samlPeerEntityId)
companyId - the company IDdeleted - the deletedsamlNameIdFormat - the saml name ID formatsamlNameIdNameQualifier - the saml name ID name qualifiersamlNameIdValue - the saml name ID valuesamlPeerEntityId - the saml peer entity IDpublic static void cacheResult(SamlPeerBinding samlPeerBinding)
samlPeerBinding - the saml peer bindingpublic static void cacheResult(java.util.List<SamlPeerBinding> samlPeerBindings)
samlPeerBindings - the saml peer bindingspublic static SamlPeerBinding create(long samlPeerBindingId)
samlPeerBindingId - the primary key for the new saml peer bindingpublic static SamlPeerBinding remove(long samlPeerBindingId) throws NoSuchPeerBindingException
samlPeerBindingId - the primary key of the saml peer bindingNoSuchPeerBindingException - if a saml peer binding with the primary key could not be foundpublic static SamlPeerBinding updateImpl(SamlPeerBinding samlPeerBinding)
public static SamlPeerBinding findByPrimaryKey(long samlPeerBindingId) throws NoSuchPeerBindingException
NoSuchPeerBindingException if it could not be found.samlPeerBindingId - the primary key of the saml peer bindingNoSuchPeerBindingException - if a saml peer binding with the primary key could not be foundpublic static SamlPeerBinding fetchByPrimaryKey(long samlPeerBindingId)
null if it could not be found.samlPeerBindingId - the primary key of the saml peer bindingnull if a saml peer binding with the primary key could not be foundpublic static java.util.List<SamlPeerBinding> findAll()
public static java.util.List<SamlPeerBinding> findAll(int start, int end)
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 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 SamlPeerBindingModelImpl.
start - the lower bound of the range of saml peer bindingsend - the upper bound of the range of saml peer bindings (not inclusive)public static java.util.List<SamlPeerBinding> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
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 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 SamlPeerBindingModelImpl.
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 (optionally null)public static java.util.List<SamlPeerBinding> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache)
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 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 SamlPeerBindingModelImpl.
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 (optionally null)useFinderCache - whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static SamlPeerBindingPersistence getPersistence()