All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.oauth2.provider.service.persistence.OAuth2ScopeGrantPersistence Maven / Gradle / Ivy

There is a newer version: 7.4.3.112-ga112
Show newest version
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.oauth2.provider.service.persistence;

import aQute.bnd.annotation.ProviderType;

import com.liferay.oauth2.provider.exception.NoSuchOAuth2ScopeGrantException;
import com.liferay.oauth2.provider.model.OAuth2ScopeGrant;
import com.liferay.portal.kernel.service.persistence.BasePersistence;

import java.io.Serializable;

import java.util.Map;
import java.util.Set;

/**
 * The persistence interface for the o auth2 scope grant service.
 *
 * 

* Caching information and settings can be found in portal.properties *

* * @author Brian Wing Shun Chan * @see OAuth2ScopeGrantUtil * @generated */ @ProviderType public interface OAuth2ScopeGrantPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link OAuth2ScopeGrantUtil} to access the o auth2 scope grant persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ @Override public Map fetchByPrimaryKeys( Set primaryKeys); /** * Returns all the o auth2 scope grants where oAuth2ApplicationScopeAliasesId = ?. * * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @return the matching o auth2 scope grants */ public java.util.List findByOAuth2ApplicationScopeAliasesId( long oAuth2ApplicationScopeAliasesId); /** * Returns a range of all the o auth2 scope grants where oAuth2ApplicationScopeAliasesId = ?. * *

* 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from OAuth2ScopeGrantModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @param start the lower bound of the range of o auth2 scope grants * @param end the upper bound of the range of o auth2 scope grants (not inclusive) * @return the range of matching o auth2 scope grants */ public java.util.List findByOAuth2ApplicationScopeAliasesId( long oAuth2ApplicationScopeAliasesId, int start, int end); /** * Returns an ordered range of all the o auth2 scope grants where oAuth2ApplicationScopeAliasesId = ?. * *

* 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from OAuth2ScopeGrantModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @param start the lower bound of the range of o auth2 scope grants * @param end the upper bound of the range of o auth2 scope grants (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching o auth2 scope grants */ public java.util.List findByOAuth2ApplicationScopeAliasesId( long oAuth2ApplicationScopeAliasesId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the o auth2 scope grants where oAuth2ApplicationScopeAliasesId = ?. * *

* 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from OAuth2ScopeGrantModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @param start the lower bound of the range of o auth2 scope grants * @param end the upper bound of the range of o auth2 scope grants (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching o auth2 scope grants */ public java.util.List findByOAuth2ApplicationScopeAliasesId( long oAuth2ApplicationScopeAliasesId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first o auth2 scope grant in the ordered set where oAuth2ApplicationScopeAliasesId = ?. * * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching o auth2 scope grant * @throws NoSuchOAuth2ScopeGrantException if a matching o auth2 scope grant could not be found */ public OAuth2ScopeGrant findByOAuth2ApplicationScopeAliasesId_First( long oAuth2ApplicationScopeAliasesId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchOAuth2ScopeGrantException; /** * Returns the first o auth2 scope grant in the ordered set where oAuth2ApplicationScopeAliasesId = ?. * * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching o auth2 scope grant, or null if a matching o auth2 scope grant could not be found */ public OAuth2ScopeGrant fetchByOAuth2ApplicationScopeAliasesId_First( long oAuth2ApplicationScopeAliasesId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last o auth2 scope grant in the ordered set where oAuth2ApplicationScopeAliasesId = ?. * * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching o auth2 scope grant * @throws NoSuchOAuth2ScopeGrantException if a matching o auth2 scope grant could not be found */ public OAuth2ScopeGrant findByOAuth2ApplicationScopeAliasesId_Last( long oAuth2ApplicationScopeAliasesId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchOAuth2ScopeGrantException; /** * Returns the last o auth2 scope grant in the ordered set where oAuth2ApplicationScopeAliasesId = ?. * * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching o auth2 scope grant, or null if a matching o auth2 scope grant could not be found */ public OAuth2ScopeGrant fetchByOAuth2ApplicationScopeAliasesId_Last( long oAuth2ApplicationScopeAliasesId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the o auth2 scope grants before and after the current o auth2 scope grant in the ordered set where oAuth2ApplicationScopeAliasesId = ?. * * @param oAuth2ScopeGrantId the primary key of the current o auth2 scope grant * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next o auth2 scope grant * @throws NoSuchOAuth2ScopeGrantException if a o auth2 scope grant with the primary key could not be found */ public OAuth2ScopeGrant[] findByOAuth2ApplicationScopeAliasesId_PrevAndNext( long oAuth2ScopeGrantId, long oAuth2ApplicationScopeAliasesId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchOAuth2ScopeGrantException; /** * Removes all the o auth2 scope grants where oAuth2ApplicationScopeAliasesId = ? from the database. * * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID */ public void removeByOAuth2ApplicationScopeAliasesId( long oAuth2ApplicationScopeAliasesId); /** * Returns the number of o auth2 scope grants where oAuth2ApplicationScopeAliasesId = ?. * * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @return the number of matching o auth2 scope grants */ public int countByOAuth2ApplicationScopeAliasesId( long oAuth2ApplicationScopeAliasesId); /** * Returns the o auth2 scope grant where companyId = ? and oAuth2ApplicationScopeAliasesId = ? and applicationName = ? and bundleSymbolicName = ? and scope = ? or throws a NoSuchOAuth2ScopeGrantException if it could not be found. * * @param companyId the company ID * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @param applicationName the application name * @param bundleSymbolicName the bundle symbolic name * @param scope the scope * @return the matching o auth2 scope grant * @throws NoSuchOAuth2ScopeGrantException if a matching o auth2 scope grant could not be found */ public OAuth2ScopeGrant findByC_O_A_B_S( long companyId, long oAuth2ApplicationScopeAliasesId, String applicationName, String bundleSymbolicName, String scope) throws NoSuchOAuth2ScopeGrantException; /** * Returns the o auth2 scope grant where companyId = ? and oAuth2ApplicationScopeAliasesId = ? and applicationName = ? and bundleSymbolicName = ? and scope = ? or returns null if it could not be found. Uses the finder cache. * * @param companyId the company ID * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @param applicationName the application name * @param bundleSymbolicName the bundle symbolic name * @param scope the scope * @return the matching o auth2 scope grant, or null if a matching o auth2 scope grant could not be found */ public OAuth2ScopeGrant fetchByC_O_A_B_S( long companyId, long oAuth2ApplicationScopeAliasesId, String applicationName, String bundleSymbolicName, String scope); /** * Returns the o auth2 scope grant where companyId = ? and oAuth2ApplicationScopeAliasesId = ? and applicationName = ? and bundleSymbolicName = ? and scope = ? or returns null if it could not be found, optionally using the finder cache. * * @param companyId the company ID * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @param applicationName the application name * @param bundleSymbolicName the bundle symbolic name * @param scope the scope * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching o auth2 scope grant, or null if a matching o auth2 scope grant could not be found */ public OAuth2ScopeGrant fetchByC_O_A_B_S( long companyId, long oAuth2ApplicationScopeAliasesId, String applicationName, String bundleSymbolicName, String scope, boolean retrieveFromCache); /** * Removes the o auth2 scope grant where companyId = ? and oAuth2ApplicationScopeAliasesId = ? and applicationName = ? and bundleSymbolicName = ? and scope = ? from the database. * * @param companyId the company ID * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @param applicationName the application name * @param bundleSymbolicName the bundle symbolic name * @param scope the scope * @return the o auth2 scope grant that was removed */ public OAuth2ScopeGrant removeByC_O_A_B_S( long companyId, long oAuth2ApplicationScopeAliasesId, String applicationName, String bundleSymbolicName, String scope) throws NoSuchOAuth2ScopeGrantException; /** * Returns the number of o auth2 scope grants where companyId = ? and oAuth2ApplicationScopeAliasesId = ? and applicationName = ? and bundleSymbolicName = ? and scope = ?. * * @param companyId the company ID * @param oAuth2ApplicationScopeAliasesId the o auth2 application scope aliases ID * @param applicationName the application name * @param bundleSymbolicName the bundle symbolic name * @param scope the scope * @return the number of matching o auth2 scope grants */ public int countByC_O_A_B_S( long companyId, long oAuth2ApplicationScopeAliasesId, String applicationName, String bundleSymbolicName, String scope); /** * Caches the o auth2 scope grant in the entity cache if it is enabled. * * @param oAuth2ScopeGrant the o auth2 scope grant */ public void cacheResult(OAuth2ScopeGrant oAuth2ScopeGrant); /** * Caches the o auth2 scope grants in the entity cache if it is enabled. * * @param oAuth2ScopeGrants the o auth2 scope grants */ public void cacheResult(java.util.List oAuth2ScopeGrants); /** * Creates a new o auth2 scope grant with the primary key. Does not add the o auth2 scope grant to the database. * * @param oAuth2ScopeGrantId the primary key for the new o auth2 scope grant * @return the new o auth2 scope grant */ public OAuth2ScopeGrant create(long oAuth2ScopeGrantId); /** * Removes the o auth2 scope grant with the primary key from the database. Also notifies the appropriate model listeners. * * @param oAuth2ScopeGrantId the primary key of the o auth2 scope grant * @return the o auth2 scope grant that was removed * @throws NoSuchOAuth2ScopeGrantException if a o auth2 scope grant with the primary key could not be found */ public OAuth2ScopeGrant remove(long oAuth2ScopeGrantId) throws NoSuchOAuth2ScopeGrantException; public OAuth2ScopeGrant updateImpl(OAuth2ScopeGrant oAuth2ScopeGrant); /** * Returns the o auth2 scope grant with the primary key or throws a NoSuchOAuth2ScopeGrantException if it could not be found. * * @param oAuth2ScopeGrantId the primary key of the o auth2 scope grant * @return the o auth2 scope grant * @throws NoSuchOAuth2ScopeGrantException if a o auth2 scope grant with the primary key could not be found */ public OAuth2ScopeGrant findByPrimaryKey(long oAuth2ScopeGrantId) throws NoSuchOAuth2ScopeGrantException; /** * Returns the o auth2 scope grant with the primary key or returns null if it could not be found. * * @param oAuth2ScopeGrantId the primary key of the o auth2 scope grant * @return the o auth2 scope grant, or null if a o auth2 scope grant with the primary key could not be found */ public OAuth2ScopeGrant fetchByPrimaryKey(long oAuth2ScopeGrantId); /** * Returns all the o auth2 scope grants. * * @return the o auth2 scope grants */ public java.util.List findAll(); /** * Returns a range of all the o auth2 scope grants. * *

* 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from OAuth2ScopeGrantModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param start the lower bound of the range of o auth2 scope grants * @param end the upper bound of the range of o auth2 scope grants (not inclusive) * @return the range of o auth2 scope grants */ public java.util.List findAll(int start, int end); /** * Returns an ordered range of all the o auth2 scope grants. * *

* 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from OAuth2ScopeGrantModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param start the lower bound of the range of o auth2 scope grants * @param end the upper bound of the range of o auth2 scope grants (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of o auth2 scope grants */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the o auth2 scope grants. * *

* 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from OAuth2ScopeGrantModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param start the lower bound of the range of o auth2 scope grants * @param end the upper bound of the range of o auth2 scope grants (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of o auth2 scope grants */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Removes all the o auth2 scope grants from the database. */ public void removeAll(); /** * Returns the number of o auth2 scope grants. * * @return the number of o auth2 scope grants */ public int countAll(); /** * Returns the primaryKeys of o auth2 authorizations associated with the o auth2 scope grant. * * @param pk the primary key of the o auth2 scope grant * @return long[] of the primaryKeys of o auth2 authorizations associated with the o auth2 scope grant */ public long[] getOAuth2AuthorizationPrimaryKeys(long pk); /** * Returns all the o auth2 authorizations associated with the o auth2 scope grant. * * @param pk the primary key of the o auth2 scope grant * @return the o auth2 authorizations associated with the o auth2 scope grant */ public java.util.List getOAuth2Authorizations(long pk); /** * Returns a range of all the o auth2 authorizations associated with the o auth2 scope grant. * *

* 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from OAuth2ScopeGrantModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param pk the primary key of the o auth2 scope grant * @param start the lower bound of the range of o auth2 scope grants * @param end the upper bound of the range of o auth2 scope grants (not inclusive) * @return the range of o auth2 authorizations associated with the o auth2 scope grant */ public java.util.List getOAuth2Authorizations(long pk, int start, int end); /** * Returns an ordered range of all the o auth2 authorizations associated with the o auth2 scope grant. * *

* 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from OAuth2ScopeGrantModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param pk the primary key of the o auth2 scope grant * @param start the lower bound of the range of o auth2 scope grants * @param end the upper bound of the range of o auth2 scope grants (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of o auth2 authorizations associated with the o auth2 scope grant */ public java.util.List getOAuth2Authorizations( long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the number of o auth2 authorizations associated with the o auth2 scope grant. * * @param pk the primary key of the o auth2 scope grant * @return the number of o auth2 authorizations associated with the o auth2 scope grant */ public int getOAuth2AuthorizationsSize(long pk); /** * Returns true if the o auth2 authorization is associated with the o auth2 scope grant. * * @param pk the primary key of the o auth2 scope grant * @param oAuth2AuthorizationPK the primary key of the o auth2 authorization * @return true if the o auth2 authorization is associated with the o auth2 scope grant; false otherwise */ public boolean containsOAuth2Authorization( long pk, long oAuth2AuthorizationPK); /** * Returns true if the o auth2 scope grant has any o auth2 authorizations associated with it. * * @param pk the primary key of the o auth2 scope grant to check for associations with o auth2 authorizations * @return true if the o auth2 scope grant has any o auth2 authorizations associated with it; false otherwise */ public boolean containsOAuth2Authorizations(long pk); /** * Adds an association between the o auth2 scope grant and the o auth2 authorization. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the o auth2 scope grant * @param oAuth2AuthorizationPK the primary key of the o auth2 authorization */ public void addOAuth2Authorization(long pk, long oAuth2AuthorizationPK); /** * Adds an association between the o auth2 scope grant and the o auth2 authorization. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the o auth2 scope grant * @param oAuth2Authorization the o auth2 authorization */ public void addOAuth2Authorization( long pk, com.liferay.oauth2.provider.model.OAuth2Authorization oAuth2Authorization); /** * Adds an association between the o auth2 scope grant and the o auth2 authorizations. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the o auth2 scope grant * @param oAuth2AuthorizationPKs the primary keys of the o auth2 authorizations */ public void addOAuth2Authorizations(long pk, long[] oAuth2AuthorizationPKs); /** * Adds an association between the o auth2 scope grant and the o auth2 authorizations. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the o auth2 scope grant * @param oAuth2Authorizations the o auth2 authorizations */ public void addOAuth2Authorizations( long pk, java.util.List oAuth2Authorizations); /** * Clears all associations between the o auth2 scope grant and its o auth2 authorizations. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the o auth2 scope grant to clear the associated o auth2 authorizations from */ public void clearOAuth2Authorizations(long pk); /** * Removes the association between the o auth2 scope grant and the o auth2 authorization. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the o auth2 scope grant * @param oAuth2AuthorizationPK the primary key of the o auth2 authorization */ public void removeOAuth2Authorization(long pk, long oAuth2AuthorizationPK); /** * Removes the association between the o auth2 scope grant and the o auth2 authorization. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the o auth2 scope grant * @param oAuth2Authorization the o auth2 authorization */ public void removeOAuth2Authorization( long pk, com.liferay.oauth2.provider.model.OAuth2Authorization oAuth2Authorization); /** * Removes the association between the o auth2 scope grant and the o auth2 authorizations. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the o auth2 scope grant * @param oAuth2AuthorizationPKs the primary keys of the o auth2 authorizations */ public void removeOAuth2Authorizations( long pk, long[] oAuth2AuthorizationPKs); /** * Removes the association between the o auth2 scope grant and the o auth2 authorizations. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the o auth2 scope grant * @param oAuth2Authorizations the o auth2 authorizations */ public void removeOAuth2Authorizations( long pk, java.util.List oAuth2Authorizations); /** * Sets the o auth2 authorizations associated with the o auth2 scope grant, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the o auth2 scope grant * @param oAuth2AuthorizationPKs the primary keys of the o auth2 authorizations to be associated with the o auth2 scope grant */ public void setOAuth2Authorizations(long pk, long[] oAuth2AuthorizationPKs); /** * Sets the o auth2 authorizations associated with the o auth2 scope grant, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the o auth2 scope grant * @param oAuth2Authorizations the o auth2 authorizations to be associated with the o auth2 scope grant */ public void setOAuth2Authorizations( long pk, java.util.List oAuth2Authorizations); @Override public Set getBadColumnNames(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy