Interface AppPersistence

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

@ProviderType public interface AppPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<App>
The persistence interface for the app service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Caches the app in the entity cache if it is enabled.
    void
    Caches the apps in the entity cache if it is enabled.
    int
    Returns the number of apps.
    int
    Returns the number of apps where category = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of apps where companyId = ?.
    int
    countByRemoteAppId(long remoteAppId)
    Returns the number of apps where remoteAppId = ?.
    int
    Returns the number of apps where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of apps where uuid = ? and companyId = ?.
    create(long appId)
    Creates a new app with the primary key.
    fetchByCategory_First(String category, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the first app in the ordered set where category = ?.
    fetchByCategory_Last(String category, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the last app in the ordered set where category = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the first app in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the last app in the ordered set where companyId = ?.
    fetchByPrimaryKey(long appId)
    Returns the app with the primary key or returns null if it could not be found.
    fetchByRemoteAppId(long remoteAppId)
    Returns the app where remoteAppId = ? or returns null if it could not be found.
    fetchByRemoteAppId(long remoteAppId, boolean useFinderCache)
    Returns the app where remoteAppId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the first app in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the last app in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the first app in the ordered set where uuid = ?.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the last app in the ordered set where uuid = ?.
    Returns all the apps.
    findAll(int start, int end)
    Returns a range of all the apps.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns an ordered range of all the apps.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the apps.
    Returns all the apps where category = ?.
    findByCategory(String category, int start, int end)
    Returns a range of all the apps where category = ?.
    findByCategory(String category, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns an ordered range of all the apps where category = ?.
    findByCategory(String category, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the apps where category = ?.
    findByCategory_First(String category, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the first app in the ordered set where category = ?.
    findByCategory_Last(String category, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the last app in the ordered set where category = ?.
    App[]
    findByCategory_PrevAndNext(long appId, String category, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the apps before and after the current app in the ordered set where category = ?.
    findByCompanyId(long companyId)
    Returns all the apps where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the apps where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns an ordered range of all the apps where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the apps where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the first app in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the last app in the ordered set where companyId = ?.
    App[]
    findByCompanyId_PrevAndNext(long appId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the apps before and after the current app in the ordered set where companyId = ?.
    findByPrimaryKey(long appId)
    Returns the app with the primary key or throws a NoSuchAppException if it could not be found.
    findByRemoteAppId(long remoteAppId)
    Returns the app where remoteAppId = ? or throws a NoSuchAppException if it could not be found.
    Returns all the apps where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the apps where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns an ordered range of all the apps where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the apps where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the apps where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the apps where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns an ordered range of all the apps where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the apps where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the first app in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the last app in the ordered set where uuid = ? and companyId = ?.
    App[]
    findByUuid_C_PrevAndNext(long appId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the apps before and after the current app in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the first app in the ordered set where uuid = ?.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the last app in the ordered set where uuid = ?.
    App[]
    findByUuid_PrevAndNext(long appId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
    Returns the apps before and after the current app in the ordered set where uuid = ?.
    remove(long appId)
    Removes the app with the primary key from the database.
    void
    Removes all the apps from the database.
    void
    Removes all the apps where category = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the apps where companyId = ? from the database.
    removeByRemoteAppId(long remoteAppId)
    Removes the app where remoteAppId = ? from the database.
    void
    Removes all the apps where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the apps where uuid = ? and companyId = ? from the database.
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByUuid

      List<App> findByUuid(String uuid)
      Returns all the apps where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching apps
    • findByUuid

      List<App> findByUuid(String uuid, int start, int end)
      Returns a range of all the apps where uuid = ?.

      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 AppModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (not inclusive)
      Returns:
      the range of matching apps
    • findByUuid

      List<App> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
      Returns an ordered range of all the apps where uuid = ?.

      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 AppModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching apps
    • findByUuid

      List<App> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the apps where uuid = ?.

      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 AppModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (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 apps
    • findByUuid_First

      App findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator) throws NoSuchAppException
      Returns the first app in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching app
      Throws:
      NoSuchAppException - if a matching app could not be found
    • fetchByUuid_First

      App fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
      Returns the first app in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching app, or null if a matching app could not be found
    • findByUuid_Last

      App findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator) throws NoSuchAppException
      Returns the last app in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching app
      Throws:
      NoSuchAppException - if a matching app could not be found
    • fetchByUuid_Last

      App fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
      Returns the last app in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching app, or null if a matching app could not be found
    • findByUuid_PrevAndNext

      App[] findByUuid_PrevAndNext(long appId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator) throws NoSuchAppException
      Returns the apps before and after the current app in the ordered set where uuid = ?.
      Parameters:
      appId - the primary key of the current app
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next app
      Throws:
      NoSuchAppException - if a app with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the apps where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of apps where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching apps
    • findByUuid_C

      List<App> findByUuid_C(String uuid, long companyId)
      Returns all the apps where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching apps
    • findByUuid_C

      List<App> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the apps where uuid = ? and 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 AppModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (not inclusive)
      Returns:
      the range of matching apps
    • findByUuid_C

      List<App> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
      Returns an ordered range of all the apps where uuid = ? and 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 AppModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching apps
    • findByUuid_C

      List<App> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the apps where uuid = ? and 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 AppModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (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 apps
    • findByUuid_C_First

      App findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator) throws NoSuchAppException
      Returns the first app in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching app
      Throws:
      NoSuchAppException - if a matching app could not be found
    • fetchByUuid_C_First

      App fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
      Returns the first app in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching app, or null if a matching app could not be found
    • findByUuid_C_Last

      App findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator) throws NoSuchAppException
      Returns the last app in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching app
      Throws:
      NoSuchAppException - if a matching app could not be found
    • fetchByUuid_C_Last

      App fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
      Returns the last app in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching app, or null if a matching app could not be found
    • findByUuid_C_PrevAndNext

      App[] findByUuid_C_PrevAndNext(long appId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator) throws NoSuchAppException
      Returns the apps before and after the current app in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      appId - the primary key of the current app
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next app
      Throws:
      NoSuchAppException - if a app with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the apps where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of apps where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching apps
    • findByCompanyId

      List<App> findByCompanyId(long companyId)
      Returns all the apps where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching apps
    • findByCompanyId

      List<App> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the apps 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 AppModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (not inclusive)
      Returns:
      the range of matching apps
    • findByCompanyId

      List<App> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
      Returns an ordered range of all the apps 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 AppModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching apps
    • findByCompanyId

      List<App> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the apps 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 AppModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (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 apps
    • findByCompanyId_First

      App findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator) throws NoSuchAppException
      Returns the first app 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 app
      Throws:
      NoSuchAppException - if a matching app could not be found
    • fetchByCompanyId_First

      App fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
      Returns the first app 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 app, or null if a matching app could not be found
    • findByCompanyId_Last

      App findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator) throws NoSuchAppException
      Returns the last app 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 app
      Throws:
      NoSuchAppException - if a matching app could not be found
    • fetchByCompanyId_Last

      App fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
      Returns the last app 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 app, or null if a matching app could not be found
    • findByCompanyId_PrevAndNext

      App[] findByCompanyId_PrevAndNext(long appId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator) throws NoSuchAppException
      Returns the apps before and after the current app in the ordered set where companyId = ?.
      Parameters:
      appId - the primary key of the current app
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next app
      Throws:
      NoSuchAppException - if a app with the primary key could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the apps where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of apps where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching apps
    • findByRemoteAppId

      App findByRemoteAppId(long remoteAppId) throws NoSuchAppException
      Returns the app where remoteAppId = ? or throws a NoSuchAppException if it could not be found.
      Parameters:
      remoteAppId - the remote app ID
      Returns:
      the matching app
      Throws:
      NoSuchAppException - if a matching app could not be found
    • fetchByRemoteAppId

      App fetchByRemoteAppId(long remoteAppId)
      Returns the app where remoteAppId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      remoteAppId - the remote app ID
      Returns:
      the matching app, or null if a matching app could not be found
    • fetchByRemoteAppId

      App fetchByRemoteAppId(long remoteAppId, boolean useFinderCache)
      Returns the app where remoteAppId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      remoteAppId - the remote app ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching app, or null if a matching app could not be found
    • removeByRemoteAppId

      App removeByRemoteAppId(long remoteAppId) throws NoSuchAppException
      Removes the app where remoteAppId = ? from the database.
      Parameters:
      remoteAppId - the remote app ID
      Returns:
      the app that was removed
      Throws:
      NoSuchAppException
    • countByRemoteAppId

      int countByRemoteAppId(long remoteAppId)
      Returns the number of apps where remoteAppId = ?.
      Parameters:
      remoteAppId - the remote app ID
      Returns:
      the number of matching apps
    • findByCategory

      List<App> findByCategory(String category)
      Returns all the apps where category = ?.
      Parameters:
      category - the category
      Returns:
      the matching apps
    • findByCategory

      List<App> findByCategory(String category, int start, int end)
      Returns a range of all the apps where category = ?.

      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 AppModelImpl.

      Parameters:
      category - the category
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (not inclusive)
      Returns:
      the range of matching apps
    • findByCategory

      List<App> findByCategory(String category, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
      Returns an ordered range of all the apps where category = ?.

      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 AppModelImpl.

      Parameters:
      category - the category
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching apps
    • findByCategory

      List<App> findByCategory(String category, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the apps where category = ?.

      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 AppModelImpl.

      Parameters:
      category - the category
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (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 apps
    • findByCategory_First

      App findByCategory_First(String category, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator) throws NoSuchAppException
      Returns the first app in the ordered set where category = ?.
      Parameters:
      category - the category
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching app
      Throws:
      NoSuchAppException - if a matching app could not be found
    • fetchByCategory_First

      App fetchByCategory_First(String category, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
      Returns the first app in the ordered set where category = ?.
      Parameters:
      category - the category
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching app, or null if a matching app could not be found
    • findByCategory_Last

      App findByCategory_Last(String category, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator) throws NoSuchAppException
      Returns the last app in the ordered set where category = ?.
      Parameters:
      category - the category
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching app
      Throws:
      NoSuchAppException - if a matching app could not be found
    • fetchByCategory_Last

      App fetchByCategory_Last(String category, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
      Returns the last app in the ordered set where category = ?.
      Parameters:
      category - the category
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching app, or null if a matching app could not be found
    • findByCategory_PrevAndNext

      App[] findByCategory_PrevAndNext(long appId, String category, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator) throws NoSuchAppException
      Returns the apps before and after the current app in the ordered set where category = ?.
      Parameters:
      appId - the primary key of the current app
      category - the category
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next app
      Throws:
      NoSuchAppException - if a app with the primary key could not be found
    • removeByCategory

      void removeByCategory(String category)
      Removes all the apps where category = ? from the database.
      Parameters:
      category - the category
    • countByCategory

      int countByCategory(String category)
      Returns the number of apps where category = ?.
      Parameters:
      category - the category
      Returns:
      the number of matching apps
    • cacheResult

      void cacheResult(App app)
      Caches the app in the entity cache if it is enabled.
      Parameters:
      app - the app
    • cacheResult

      void cacheResult(List<App> apps)
      Caches the apps in the entity cache if it is enabled.
      Parameters:
      apps - the apps
    • create

      App create(long appId)
      Creates a new app with the primary key. Does not add the app to the database.
      Parameters:
      appId - the primary key for the new app
      Returns:
      the new app
    • remove

      App remove(long appId) throws NoSuchAppException
      Removes the app with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      appId - the primary key of the app
      Returns:
      the app that was removed
      Throws:
      NoSuchAppException - if a app with the primary key could not be found
    • updateImpl

      App updateImpl(App app)
    • findByPrimaryKey

      App findByPrimaryKey(long appId) throws NoSuchAppException
      Returns the app with the primary key or throws a NoSuchAppException if it could not be found.
      Parameters:
      appId - the primary key of the app
      Returns:
      the app
      Throws:
      NoSuchAppException - if a app with the primary key could not be found
    • fetchByPrimaryKey

      App fetchByPrimaryKey(long appId)
      Returns the app with the primary key or returns null if it could not be found.
      Parameters:
      appId - the primary key of the app
      Returns:
      the app, or null if a app with the primary key could not be found
    • findAll

      List<App> findAll()
      Returns all the apps.
      Returns:
      the apps
    • findAll

      List<App> findAll(int start, int end)
      Returns a range of all the apps.

      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 AppModelImpl.

      Parameters:
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (not inclusive)
      Returns:
      the range of apps
    • findAll

      List<App> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator)
      Returns an ordered range of all the apps.

      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 AppModelImpl.

      Parameters:
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of apps
    • findAll

      List<App> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<App> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the apps.

      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 AppModelImpl.

      Parameters:
      start - the lower bound of the range of apps
      end - the upper bound of the range of apps (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of apps
    • removeAll

      void removeAll()
      Removes all the apps from the database.
    • countAll

      int countAll()
      Returns the number of apps.
      Returns:
      the number of apps