Class OAuthClientEntryUtil
com.liferay.oauth.client.persistence.service.persistence.impl.OAuthClientEntryPersistenceImpl 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(OAuthClientEntry oAuthClientEntry) Caches the o auth client entry in the entity cache if it is enabled.static voidcacheResult(List<OAuthClientEntry> oAuthClientEntries) Caches the o auth client entries in the entity cache if it is enabled.static voidstatic voidclearCache(OAuthClientEntry oAuthClientEntry) static intcountAll()Returns the number of o auth client entries.static intcountByC_A(long companyId, String authServerWellKnownURI) Returns the number of o auth client entries where companyId = ? and authServerWellKnownURI = ?.static intcountByC_A_C(long companyId, String authServerWellKnownURI, String clientId) Returns the number of o auth client entries where companyId = ? and authServerWellKnownURI = ? and clientId = ?.static intcountByCompanyId(long companyId) Returns the number of o auth client entries where companyId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of o auth client entries where externalReferenceCode = ? and companyId = ?.static intcountByUserId(long userId) Returns the number of o auth client entries where userId = ?.static intcountByUuid(String uuid) Returns the number of o auth client entries where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of o auth client entries where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static OAuthClientEntrycreate(long oAuthClientEntryId) Creates a new o auth client entry with the primary key.static OAuthClientEntryfetchByC_A_C(long companyId, String authServerWellKnownURI, String clientId) Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or returnsnullif it could not be found.static OAuthClientEntryfetchByC_A_C(long companyId, String authServerWellKnownURI, String clientId, boolean useFinderCache) Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or returnsnullif it could not be found, optionally using the finder cache.static OAuthClientEntryfetchByC_A_First(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.static OAuthClientEntryfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where companyId = ?.static OAuthClientEntryfetchByERC_C(String externalReferenceCode, long companyId) Returns the o auth client entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static OAuthClientEntryfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the o auth client entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static OAuthClientEntryfetchByPrimaryKey(long oAuthClientEntryId) Returns the o auth client entry with the primary key or returnsnullif it could not be found.static Map<Serializable, OAuthClientEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static OAuthClientEntryfetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where userId = ?.static OAuthClientEntryfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where uuid = ? and companyId = ?.static OAuthClientEntryfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where uuid = ?.static intfilterCountByC_A(long companyId, String authServerWellKnownURI) Returns the number of o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.static intfilterCountByCompanyId(long companyId) Returns the number of o auth client entries that the user has permission to view where companyId = ?.static intfilterCountByUserId(long userId) Returns the number of o auth client entries that the user has permission to view where userId = ?.static intfilterCountByUuid(String uuid) Returns the number of o auth client entries that the user has permission to view where uuid = ?.static intfilterCountByUuid_C(String uuid, long companyId) Returns the number of o auth client entries that the user has permission to view where uuid = ? and companyId = ?.static List<OAuthClientEntry> filterFindByC_A(long companyId, String authServerWellKnownURI) Returns all the o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.static List<OAuthClientEntry> filterFindByC_A(long companyId, String authServerWellKnownURI, int start, int end) Returns a range of all the o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.static List<OAuthClientEntry> filterFindByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where companyId = ? and authServerWellKnownURI = ?.static List<OAuthClientEntry> filterFindByCompanyId(long companyId) Returns all the o auth client entries that the user has permission to view where companyId = ?.static List<OAuthClientEntry> filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the o auth client entries that the user has permission to view where companyId = ?.static List<OAuthClientEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where companyId = ?.static List<OAuthClientEntry> filterFindByUserId(long userId) Returns all the o auth client entries that the user has permission to view where userId = ?.static List<OAuthClientEntry> filterFindByUserId(long userId, int start, int end) Returns a range of all the o auth client entries that the user has permission to view where userId = ?.static List<OAuthClientEntry> filterFindByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where userId = ?.static List<OAuthClientEntry> filterFindByUuid(String uuid) Returns all the o auth client entries that the user has permission to view where uuid = ?.static List<OAuthClientEntry> filterFindByUuid(String uuid, int start, int end) Returns a range of all the o auth client entries that the user has permission to view where uuid = ?.static List<OAuthClientEntry> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where uuid = ?.static List<OAuthClientEntry> filterFindByUuid_C(String uuid, long companyId) Returns all the o auth client entries that the user has permission to view where uuid = ? and companyId = ?.static List<OAuthClientEntry> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the o auth client entries that the user has permission to view where uuid = ? and companyId = ?.static List<OAuthClientEntry> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where uuid = ? and companyId = ?.static List<OAuthClientEntry> findAll()Returns all the o auth client entries.static List<OAuthClientEntry> findAll(int start, int end) Returns a range of all the o auth client entries.static List<OAuthClientEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries.static List<OAuthClientEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries.static List<OAuthClientEntry> Returns all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.static List<OAuthClientEntry> Returns a range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.static List<OAuthClientEntry> findByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.static List<OAuthClientEntry> findByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.static OAuthClientEntryfindByC_A_C(long companyId, String authServerWellKnownURI, String clientId) Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or throws aNoSuchOAuthClientEntryExceptionif it could not be found.static OAuthClientEntryfindByC_A_First(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.static List<OAuthClientEntry> findByCompanyId(long companyId) Returns all the o auth client entries where companyId = ?.static List<OAuthClientEntry> findByCompanyId(long companyId, int start, int end) Returns a range of all the o auth client entries where companyId = ?.static List<OAuthClientEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where companyId = ?.static List<OAuthClientEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where companyId = ?.static OAuthClientEntryfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where companyId = ?.static OAuthClientEntryfindByERC_C(String externalReferenceCode, long companyId) Returns the o auth client entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchOAuthClientEntryExceptionif it could not be found.static OAuthClientEntryfindByPrimaryKey(long oAuthClientEntryId) Returns the o auth client entry with the primary key or throws aNoSuchOAuthClientEntryExceptionif it could not be found.static List<OAuthClientEntry> findByUserId(long userId) Returns all the o auth client entries where userId = ?.static List<OAuthClientEntry> findByUserId(long userId, int start, int end) Returns a range of all the o auth client entries where userId = ?.static List<OAuthClientEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where userId = ?.static List<OAuthClientEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where userId = ?.static OAuthClientEntryfindByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where userId = ?.static List<OAuthClientEntry> findByUuid(String uuid) Returns all the o auth client entries where uuid = ?.static List<OAuthClientEntry> findByUuid(String uuid, int start, int end) Returns a range of all the o auth client entries where uuid = ?.static List<OAuthClientEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where uuid = ?.static List<OAuthClientEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where uuid = ?.static List<OAuthClientEntry> findByUuid_C(String uuid, long companyId) Returns all the o auth client entries where uuid = ? and companyId = ?.static List<OAuthClientEntry> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the o auth client entries where uuid = ? and companyId = ?.static List<OAuthClientEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where uuid = ? and companyId = ?.static List<OAuthClientEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where uuid = ? and companyId = ?.static OAuthClientEntryfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where uuid = ? and companyId = ?.static OAuthClientEntryfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where uuid = ?.static List<OAuthClientEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<OAuthClientEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<OAuthClientEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) static OAuthClientEntryPersistencestatic OAuthClientEntryremove(long oAuthClientEntryId) Removes the o auth client entry with the primary key from the database.static voidRemoves all the o auth client entries from the database.static voidremoveByC_A(long companyId, String authServerWellKnownURI) Removes all the o auth client entries where companyId = ? and authServerWellKnownURI = ? from the database.static OAuthClientEntryremoveByC_A_C(long companyId, String authServerWellKnownURI, String clientId) Removes the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the o auth client entries where companyId = ? from the database.static OAuthClientEntryremoveByERC_C(String externalReferenceCode, long companyId) Removes the o auth client entry where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByUserId(long userId) Removes all the o auth client entries where userId = ? from the database.static voidremoveByUuid(String uuid) Removes all the o auth client entries where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the o auth client entries where uuid = ? and companyId = ? from the database.static voidsetPersistence(OAuthClientEntryPersistence persistence) static OAuthClientEntryupdate(OAuthClientEntry oAuthClientEntry) static OAuthClientEntryupdate(OAuthClientEntry oAuthClientEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static OAuthClientEntryupdateImpl(OAuthClientEntry oAuthClientEntry)
-
Constructor Details
-
OAuthClientEntryUtil
public OAuthClientEntryUtil()
-
-
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<OAuthClientEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<OAuthClientEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<OAuthClientEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static OAuthClientEntry update(OAuthClientEntry oAuthClientEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
Returns all the o auth client entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching o auth client entries
-
findByUuid
Returns a range of all the o auth client entries where uuid = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries
-
findByUuid
public static List<OAuthClientEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where uuid = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries
-
findByUuid
public static List<OAuthClientEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where uuid = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching o auth client entries
-
findByUuid_First
public static OAuthClientEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the first o auth client entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry
-
fetchByUuid_First
public static OAuthClientEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
filterFindByUuid
Returns all the o auth client entries that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching o auth client entries that the user has permission to view
-
filterFindByUuid
Returns a range of all the o auth client entries that the user has permission to view where uuid = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries that the user has permission to view
-
filterFindByUuid
public static List<OAuthClientEntry> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where uuid = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries that the user has permission to view
-
removeByUuid
Removes all the o auth client entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of o auth client entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching o auth client entries
-
filterCountByUuid
Returns the number of o auth client entries that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching o auth client entries that the user has permission to view
-
findByUuid_C
Returns all the o auth client entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching o auth client entries
-
findByUuid_C
Returns a range of all the o auth client entries where uuid = ? and companyId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries
-
findByUuid_C
public static List<OAuthClientEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where uuid = ? and companyId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries
-
findByUuid_C
public static List<OAuthClientEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where uuid = ? and companyId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching o auth client entries
-
findByUuid_C_First
public static OAuthClientEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the first o auth client entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry
-
fetchByUuid_C_First
public static OAuthClientEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
filterFindByUuid_C
Returns all the o auth client entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching o auth client entries that the user has permission to view
-
filterFindByUuid_C
public static List<OAuthClientEntry> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the o auth client entries that the user has permission to view where uuid = ? and companyId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries that the user has permission to view
-
filterFindByUuid_C
public static List<OAuthClientEntry> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where uuid = ? and companyId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries that the user has permission to view
-
removeByUuid_C
Removes all the o auth client entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of o auth client entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching o auth client entries
-
filterCountByUuid_C
Returns the number of o auth client entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching o auth client entries that the user has permission to view
-
findByCompanyId
Returns all the o auth client entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching o auth client entries
-
findByCompanyId
Returns a range of all the o auth client entries where companyId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries
-
findByCompanyId
public static List<OAuthClientEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where companyId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries
-
findByCompanyId
public static List<OAuthClientEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where companyId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching o auth client entries
-
findByCompanyId_First
public static OAuthClientEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the first o auth client entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry
-
fetchByCompanyId_First
public static OAuthClientEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
filterFindByCompanyId
Returns all the o auth client entries that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching o auth client entries that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the o auth client entries that the user has permission to view where companyId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries that the user has permission to view
-
filterFindByCompanyId
public static List<OAuthClientEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where companyId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries that the user has permission to view
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the o auth client entries where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of o auth client entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching o auth client entries
-
filterCountByCompanyId
public static int filterCountByCompanyId(long companyId) Returns the number of o auth client entries that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching o auth client entries that the user has permission to view
-
findByUserId
Returns all the o auth client entries where userId = ?.- Parameters:
userId- the user ID- Returns:
- the matching o auth client entries
-
findByUserId
Returns a range of all the o auth client entries where userId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries
-
findByUserId
public static List<OAuthClientEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where userId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries
-
findByUserId
public static List<OAuthClientEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where userId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching o auth client entries
-
findByUserId_First
public static OAuthClientEntry findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the first o auth client entry in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry
-
fetchByUserId_First
public static OAuthClientEntry fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
filterFindByUserId
Returns all the o auth client entries that the user has permission to view where userId = ?.- Parameters:
userId- the user ID- Returns:
- the matching o auth client entries that the user has permission to view
-
filterFindByUserId
Returns a range of all the o auth client entries that the user has permission to view where userId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries that the user has permission to view
-
filterFindByUserId
public static List<OAuthClientEntry> filterFindByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where userId = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries that the user has permission to view
-
removeByUserId
public static void removeByUserId(long userId) Removes all the o auth client entries where userId = ? from the database.- Parameters:
userId- the user ID
-
countByUserId
public static int countByUserId(long userId) Returns the number of o auth client entries where userId = ?.- Parameters:
userId- the user ID- Returns:
- the number of matching o auth client entries
-
filterCountByUserId
public static int filterCountByUserId(long userId) Returns the number of o auth client entries that the user has permission to view where userId = ?.- Parameters:
userId- the user ID- Returns:
- the number of matching o auth client entries that the user has permission to view
-
findByC_A
Returns all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uri- Returns:
- the matching o auth client entries
-
findByC_A
public static List<OAuthClientEntry> findByC_A(long companyId, String authServerWellKnownURI, int start, int end) Returns a range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uristart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries
-
findByC_A
public static List<OAuthClientEntry> findByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uristart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries
-
findByC_A
public static List<OAuthClientEntry> findByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uristart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching o auth client entries
-
findByC_A_First
public static OAuthClientEntry findByC_A_First(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the first o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry
-
fetchByC_A_First
public static OAuthClientEntry fetchByC_A_First(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
filterFindByC_A
Returns all the o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uri- Returns:
- the matching o auth client entries that the user has permission to view
-
filterFindByC_A
public static List<OAuthClientEntry> filterFindByC_A(long companyId, String authServerWellKnownURI, int start, int end) Returns a range of all the o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uristart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries that the user has permission to view
-
filterFindByC_A
public static List<OAuthClientEntry> filterFindByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where companyId = ? and authServerWellKnownURI = ?.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uristart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries that the user has permission to view
-
removeByC_A
Removes all the o auth client entries where companyId = ? and authServerWellKnownURI = ? from the database.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uri
-
countByC_A
Returns the number of o auth client entries where companyId = ? and authServerWellKnownURI = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uri- Returns:
- the number of matching o auth client entries
-
filterCountByC_A
Returns the number of o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uri- Returns:
- the number of matching o auth client entries that the user has permission to view
-
findByC_A_C
public static OAuthClientEntry findByC_A_C(long companyId, String authServerWellKnownURI, String clientId) throws NoSuchOAuthClientEntryException Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or throws aNoSuchOAuthClientEntryExceptionif it could not be found.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- the client ID- Returns:
- the matching o auth client entry
-
fetchByC_A_C
public static OAuthClientEntry fetchByC_A_C(long companyId, String authServerWellKnownURI, String clientId) Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- the client ID- Returns:
- the matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
fetchByC_A_C
public static OAuthClientEntry fetchByC_A_C(long companyId, String authServerWellKnownURI, String clientId, boolean useFinderCache) Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- the client IDuseFinderCache- whether to use the finder cache- Returns:
- the matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
removeByC_A_C
public static OAuthClientEntry removeByC_A_C(long companyId, String authServerWellKnownURI, String clientId) throws NoSuchOAuthClientEntryException Removes the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? from the database.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- the client ID- Returns:
- the o auth client entry that was removed
- Throws:
NoSuchOAuthClientEntryException
-
countByC_A_C
Returns the number of o auth client entries where companyId = ? and authServerWellKnownURI = ? and clientId = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- the client ID- Returns:
- the number of matching o auth client entries
-
findByERC_C
public static OAuthClientEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchOAuthClientEntryException Returns the o auth client entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchOAuthClientEntryExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching o auth client entry
-
fetchByERC_C
Returns the o auth client entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
fetchByERC_C
public static OAuthClientEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the o auth client entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
removeByERC_C
public static OAuthClientEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchOAuthClientEntryException Removes the o auth client entry where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the o auth client entry that was removed
- Throws:
NoSuchOAuthClientEntryException
-
countByERC_C
Returns the number of o auth client entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching o auth client entries
-
cacheResult
Caches the o auth client entry in the entity cache if it is enabled.- Parameters:
oAuthClientEntry- the o auth client entry
-
cacheResult
Caches the o auth client entries in the entity cache if it is enabled.- Parameters:
oAuthClientEntries- the o auth client entries
-
create
Creates a new o auth client entry with the primary key. Does not add the o auth client entry to the database.- Parameters:
oAuthClientEntryId- the primary key for the new o auth client entry- Returns:
- the new o auth client entry
-
remove
public static OAuthClientEntry remove(long oAuthClientEntryId) throws NoSuchOAuthClientEntryException Removes the o auth client entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
oAuthClientEntryId- the primary key of the o auth client entry- Returns:
- the o auth client entry that was removed
-
updateImpl
-
findByPrimaryKey
public static OAuthClientEntry findByPrimaryKey(long oAuthClientEntryId) throws NoSuchOAuthClientEntryException Returns the o auth client entry with the primary key or throws aNoSuchOAuthClientEntryExceptionif it could not be found.- Parameters:
oAuthClientEntryId- the primary key of the o auth client entry- Returns:
- the o auth client entry
-
fetchByPrimaryKey
Returns the o auth client entry with the primary key or returnsnullif it could not be found.- Parameters:
oAuthClientEntryId- the primary key of the o auth client entry- Returns:
- the o auth client entry, or
nullif a o auth client entry with the primary key could not be found
-
findAll
Returns all the o auth client entries.- Returns:
- the o auth client entries
-
findAll
Returns a range of all the o auth client entries.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
start- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of o auth client entries
-
findAll
public static List<OAuthClientEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
start- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of o auth client entries
-
findAll
public static List<OAuthClientEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries.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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Parameters:
start- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of o auth client entries
-
removeAll
public static void removeAll()Removes all the o auth client entries from the database. -
countAll
public static int countAll()Returns the number of o auth client entries.- Returns:
- the number of o auth client entries
-
getPersistence
-
setPersistence
-