Interface OAuth2ApplicationScopeAliasesPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<OAuth2ApplicationScopeAliases>

@ProviderType public interface OAuth2ApplicationScopeAliasesPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<OAuth2ApplicationScopeAliases>
The persistence interface for the o auth2 application scope aliases service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByCompanyId

      List<OAuth2ApplicationScopeAliases> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth2 application scope aliaseses where companyId = ?.

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of o auth2 application scope aliaseses
      end - the upper bound of the range of o auth2 application scope aliaseses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching o auth2 application scope aliaseses
    • findByCompanyId_First

      OAuth2ApplicationScopeAliases findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
      Returns the first o auth2 application scope aliases in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth2 application scope aliases
      Throws:
      NoSuchOAuth2ApplicationScopeAliasesException - if a matching o auth2 application scope aliases could not be found
    • fetchByCompanyId_First

      OAuth2ApplicationScopeAliases fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
      Returns the first o auth2 application scope aliases in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth2 application scope aliases, or null if a matching o auth2 application scope aliases could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the o auth2 application scope aliaseses where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of o auth2 application scope aliaseses where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching o auth2 application scope aliaseses
    • findByOAuth2ApplicationId

      List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.

      Parameters:
      oAuth2ApplicationId - the o auth2 application ID
      start - the lower bound of the range of o auth2 application scope aliaseses
      end - the upper bound of the range of o auth2 application scope aliaseses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching o auth2 application scope aliaseses
    • findByOAuth2ApplicationId_First

      OAuth2ApplicationScopeAliases findByOAuth2ApplicationId_First(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
      Returns the first o auth2 application scope aliases in the ordered set where oAuth2ApplicationId = ?.
      Parameters:
      oAuth2ApplicationId - the o auth2 application ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth2 application scope aliases
      Throws:
      NoSuchOAuth2ApplicationScopeAliasesException - if a matching o auth2 application scope aliases could not be found
    • fetchByOAuth2ApplicationId_First

      OAuth2ApplicationScopeAliases fetchByOAuth2ApplicationId_First(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
      Returns the first o auth2 application scope aliases in the ordered set where oAuth2ApplicationId = ?.
      Parameters:
      oAuth2ApplicationId - the o auth2 application ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth2 application scope aliases, or null if a matching o auth2 application scope aliases could not be found
    • removeByOAuth2ApplicationId

      void removeByOAuth2ApplicationId(long oAuth2ApplicationId)
      Removes all the o auth2 application scope aliaseses where oAuth2ApplicationId = ? from the database.
      Parameters:
      oAuth2ApplicationId - the o auth2 application ID
    • countByOAuth2ApplicationId

      int countByOAuth2ApplicationId(long oAuth2ApplicationId)
      Returns the number of o auth2 application scope aliaseses where oAuth2ApplicationId = ?.
      Parameters:
      oAuth2ApplicationId - the o auth2 application ID
      Returns:
      the number of matching o auth2 application scope aliaseses
    • create

      OAuth2ApplicationScopeAliases create(long oAuth2ApplicationScopeAliasesId)
      Creates a new o auth2 application scope aliases with the primary key. Does not add the o auth2 application scope aliases to the database.
      Parameters:
      oAuth2ApplicationScopeAliasesId - the primary key for the new o auth2 application scope aliases
      Returns:
      the new o auth2 application scope aliases
    • remove

      OAuth2ApplicationScopeAliases remove(long oAuth2ApplicationScopeAliasesId) throws NoSuchOAuth2ApplicationScopeAliasesException
      Removes the o auth2 application scope aliases with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      oAuth2ApplicationScopeAliasesId - the primary key of the o auth2 application scope aliases
      Returns:
      the o auth2 application scope aliases that was removed
      Throws:
      NoSuchOAuth2ApplicationScopeAliasesException - if a o auth2 application scope aliases with the primary key could not be found
    • updateImpl

      OAuth2ApplicationScopeAliases updateImpl(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
    • findByPrimaryKey

      OAuth2ApplicationScopeAliases findByPrimaryKey(long oAuth2ApplicationScopeAliasesId) throws NoSuchOAuth2ApplicationScopeAliasesException
      Returns the o auth2 application scope aliases with the primary key or throws a NoSuchOAuth2ApplicationScopeAliasesException if it could not be found.
      Parameters:
      oAuth2ApplicationScopeAliasesId - the primary key of the o auth2 application scope aliases
      Returns:
      the o auth2 application scope aliases
      Throws:
      NoSuchOAuth2ApplicationScopeAliasesException - if a o auth2 application scope aliases with the primary key could not be found
    • fetchByPrimaryKey

      OAuth2ApplicationScopeAliases fetchByPrimaryKey(long oAuth2ApplicationScopeAliasesId)
      Returns the o auth2 application scope aliases with the primary key or returns null if it could not be found.
      Parameters:
      oAuth2ApplicationScopeAliasesId - the primary key of the o auth2 application scope aliases
      Returns:
      the o auth2 application scope aliases, or null if a o auth2 application scope aliases with the primary key could not be found
    • findByCompanyId

      default List<OAuth2ApplicationScopeAliases> findByCompanyId(long companyId)
      Returns all the o auth2 application scope aliaseses where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching o auth2 application scope aliaseses
    • findByCompanyId

      default List<OAuth2ApplicationScopeAliases> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the o auth2 application scope aliaseses where companyId = ?.

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of o auth2 application scope aliaseses
      end - the upper bound of the range of o auth2 application scope aliaseses (not inclusive)
      Returns:
      the range of matching o auth2 application scope aliaseses
    • findByCompanyId

      default List<OAuth2ApplicationScopeAliases> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
      Returns an ordered range of all the o auth2 application scope aliaseses where companyId = ?.

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of o auth2 application scope aliaseses
      end - the upper bound of the range of o auth2 application scope aliaseses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching o auth2 application scope aliaseses
    • findByOAuth2ApplicationId

      default List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId)
      Returns all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.
      Parameters:
      oAuth2ApplicationId - the o auth2 application ID
      Returns:
      the matching o auth2 application scope aliaseses
    • findByOAuth2ApplicationId

      default List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId, int start, int end)
      Returns a range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.

      Parameters:
      oAuth2ApplicationId - the o auth2 application ID
      start - the lower bound of the range of o auth2 application scope aliaseses
      end - the upper bound of the range of o auth2 application scope aliaseses (not inclusive)
      Returns:
      the range of matching o auth2 application scope aliaseses
    • findByOAuth2ApplicationId

      default List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
      Returns an ordered range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.

      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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.

      Parameters:
      oAuth2ApplicationId - the o auth2 application ID
      start - the lower bound of the range of o auth2 application scope aliaseses
      end - the upper bound of the range of o auth2 application scope aliaseses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching o auth2 application scope aliaseses