Class OAuth2ApplicationScopeAliasesUtil

java.lang.Object
com.liferay.oauth2.provider.service.persistence.OAuth2ApplicationScopeAliasesUtil

public class OAuth2ApplicationScopeAliasesUtil extends Object
The persistence utility for the o auth2 application scope aliases service. This utility wraps com.liferay.oauth2.provider.service.persistence.impl.OAuth2ApplicationScopeAliasesPersistenceImpl 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 Details

    • OAuth2ApplicationScopeAliasesUtil

      public OAuth2ApplicationScopeAliasesUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,OAuth2ApplicationScopeAliases> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<OAuth2ApplicationScopeAliases> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<OAuth2ApplicationScopeAliases> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<OAuth2ApplicationScopeAliases> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static OAuth2ApplicationScopeAliases update(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static OAuth2ApplicationScopeAliases update(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCompanyId

      public static 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

      public static 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 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 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

      public static 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 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 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
    • findByCompanyId

      public static 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 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 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

      public static 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
      NoSuchOAuth2ApplicationScopeAliasesException
    • fetchByCompanyId_First

      public static 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
    • findByCompanyId_Last

      public static OAuth2ApplicationScopeAliases findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
      Returns the last 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 last matching o auth2 application scope aliases
      Throws:
      NoSuchOAuth2ApplicationScopeAliasesException - if a matching o auth2 application scope aliases could not be found
      NoSuchOAuth2ApplicationScopeAliasesException
    • fetchByCompanyId_Last

      public static OAuth2ApplicationScopeAliases fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
      Returns the last 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 last matching o auth2 application scope aliases, or null if a matching o auth2 application scope aliases could not be found
    • findByCompanyId_PrevAndNext

      public static OAuth2ApplicationScopeAliases[] findByCompanyId_PrevAndNext(long oAuth2ApplicationScopeAliasesId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
      Returns the o auth2 application scope aliaseses before and after the current o auth2 application scope aliases in the ordered set where companyId = ?.
      Parameters:
      oAuth2ApplicationScopeAliasesId - the primary key of the current o auth2 application scope aliases
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth2 application scope aliases
      Throws:
      NoSuchOAuth2ApplicationScopeAliasesException - if a o auth2 application scope aliases with the primary key could not be found
      NoSuchOAuth2ApplicationScopeAliasesException
    • removeByCompanyId

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

      public static 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

      public static 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

      public static 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 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 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

      public static 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 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 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
    • findByOAuth2ApplicationId

      public static 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 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 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

      public static 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
      NoSuchOAuth2ApplicationScopeAliasesException
    • fetchByOAuth2ApplicationId_First

      public static 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
    • findByOAuth2ApplicationId_Last

      public static OAuth2ApplicationScopeAliases findByOAuth2ApplicationId_Last(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
      Returns the last 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 last matching o auth2 application scope aliases
      Throws:
      NoSuchOAuth2ApplicationScopeAliasesException - if a matching o auth2 application scope aliases could not be found
      NoSuchOAuth2ApplicationScopeAliasesException
    • fetchByOAuth2ApplicationId_Last

      public static OAuth2ApplicationScopeAliases fetchByOAuth2ApplicationId_Last(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
      Returns the last 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 last matching o auth2 application scope aliases, or null if a matching o auth2 application scope aliases could not be found
    • findByOAuth2ApplicationId_PrevAndNext

      public static OAuth2ApplicationScopeAliases[] findByOAuth2ApplicationId_PrevAndNext(long oAuth2ApplicationScopeAliasesId, long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
      Returns the o auth2 application scope aliaseses before and after the current o auth2 application scope aliases in the ordered set where oAuth2ApplicationId = ?.
      Parameters:
      oAuth2ApplicationScopeAliasesId - the primary key of the current o auth2 application scope aliases
      oAuth2ApplicationId - the o auth2 application ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth2 application scope aliases
      Throws:
      NoSuchOAuth2ApplicationScopeAliasesException - if a o auth2 application scope aliases with the primary key could not be found
      NoSuchOAuth2ApplicationScopeAliasesException
    • removeByOAuth2ApplicationId

      public static 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

      public static 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
    • cacheResult

      public static void cacheResult(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
      Caches the o auth2 application scope aliases in the entity cache if it is enabled.
      Parameters:
      oAuth2ApplicationScopeAliases - the o auth2 application scope aliases
    • cacheResult

      public static void cacheResult(List<OAuth2ApplicationScopeAliases> oAuth2ApplicationScopeAliaseses)
      Caches the o auth2 application scope aliaseses in the entity cache if it is enabled.
      Parameters:
      oAuth2ApplicationScopeAliaseses - the o auth2 application scope aliaseses
    • create

      public static 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

      public static 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
      NoSuchOAuth2ApplicationScopeAliasesException
    • updateImpl

      public static OAuth2ApplicationScopeAliases updateImpl(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
    • findByPrimaryKey

      public static 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
      NoSuchOAuth2ApplicationScopeAliasesException
    • fetchByPrimaryKey

      public static 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
    • findAll

      public static List<OAuth2ApplicationScopeAliases> findAll()
      Returns all the o auth2 application scope aliaseses.
      Returns:
      the o auth2 application scope aliaseses
    • findAll

      public static List<OAuth2ApplicationScopeAliases> findAll(int start, int end)
      Returns a range of all the o auth2 application scope aliaseses.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl.

      Parameters:
      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 o auth2 application scope aliaseses
    • findAll

      public static List<OAuth2ApplicationScopeAliases> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
      Returns an ordered range of all the o auth2 application scope aliaseses.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl.

      Parameters:
      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 o auth2 application scope aliaseses
    • findAll

      public static List<OAuth2ApplicationScopeAliases> findAll(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.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl.

      Parameters:
      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 o auth2 application scope aliaseses
    • removeAll

      public static void removeAll()
      Removes all the o auth2 application scope aliaseses from the database.
    • countAll

      public static int countAll()
      Returns the number of o auth2 application scope aliaseses.
      Returns:
      the number of o auth2 application scope aliaseses
    • getPersistence

      public static OAuth2ApplicationScopeAliasesPersistence getPersistence()
    • setPersistence

      public static void setPersistence(OAuth2ApplicationScopeAliasesPersistence persistence)