Interface DepotAppCustomizationPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DepotAppCustomization>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DepotAppCustomization>

@ProviderType public interface DepotAppCustomizationPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DepotAppCustomization>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DepotAppCustomization>
The persistence interface for the depot app customization service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(DepotAppCustomization depotAppCustomization)
    Caches the depot app customization in the entity cache if it is enabled.
    void
    cacheResult(List<DepotAppCustomization> depotAppCustomizations)
    Caches the depot app customizations in the entity cache if it is enabled.
    int
    Returns the number of depot app customizations.
    int
    countByD_E(long depotEntryId, boolean enabled)
    Returns the number of depot app customizations where depotEntryId = ? and enabled = ?.
    int
    countByD_P(long depotEntryId, String portletId)
    Returns the number of depot app customizations where depotEntryId = ? and portletId = ?.
    int
    countByDepotEntryId(long depotEntryId)
    Returns the number of depot app customizations where depotEntryId = ?.
    create(long depotAppCustomizationId)
    Creates a new depot app customization with the primary key.
    fetchByD_E(long depotEntryId, boolean enabled)
    Returns the depot app customization where depotEntryId = ? and enabled = ? or returns null if it could not be found.
    fetchByD_E(long depotEntryId, boolean enabled, boolean useFinderCache)
    Returns the depot app customization where depotEntryId = ? and enabled = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByD_P(long depotEntryId, String portletId)
    Returns the depot app customization where depotEntryId = ? and portletId = ? or returns null if it could not be found.
    fetchByD_P(long depotEntryId, String portletId, boolean useFinderCache)
    Returns the depot app customization where depotEntryId = ? and portletId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator)
    Returns the first depot app customization in the ordered set where depotEntryId = ?.
    fetchByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator)
    Returns the last depot app customization in the ordered set where depotEntryId = ?.
    fetchByPrimaryKey(long depotAppCustomizationId)
    Returns the depot app customization with the primary key or returns null if it could not be found.
    Returns all the depot app customizations.
    findAll(int start, int end)
    Returns a range of all the depot app customizations.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator)
    Returns an ordered range of all the depot app customizations.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the depot app customizations.
    findByD_E(long depotEntryId, boolean enabled)
    Returns the depot app customization where depotEntryId = ? and enabled = ? or throws a NoSuchAppCustomizationException if it could not be found.
    findByD_P(long depotEntryId, String portletId)
    Returns the depot app customization where depotEntryId = ? and portletId = ? or throws a NoSuchAppCustomizationException if it could not be found.
    findByDepotEntryId(long depotEntryId)
    Returns all the depot app customizations where depotEntryId = ?.
    findByDepotEntryId(long depotEntryId, int start, int end)
    Returns a range of all the depot app customizations where depotEntryId = ?.
    findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator)
    Returns an ordered range of all the depot app customizations where depotEntryId = ?.
    findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the depot app customizations where depotEntryId = ?.
    findByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator)
    Returns the first depot app customization in the ordered set where depotEntryId = ?.
    findByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator)
    Returns the last depot app customization in the ordered set where depotEntryId = ?.
    findByDepotEntryId_PrevAndNext(long depotAppCustomizationId, long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator)
    Returns the depot app customizations before and after the current depot app customization in the ordered set where depotEntryId = ?.
    findByPrimaryKey(long depotAppCustomizationId)
    Returns the depot app customization with the primary key or throws a NoSuchAppCustomizationException if it could not be found.
    remove(long depotAppCustomizationId)
    Removes the depot app customization with the primary key from the database.
    void
    Removes all the depot app customizations from the database.
    removeByD_E(long depotEntryId, boolean enabled)
    Removes the depot app customization where depotEntryId = ? and enabled = ? from the database.
    removeByD_P(long depotEntryId, String portletId)
    Removes the depot app customization where depotEntryId = ? and portletId = ? from the database.
    void
    removeByDepotEntryId(long depotEntryId)
    Removes all the depot app customizations where depotEntryId = ? from the database.
    updateImpl(DepotAppCustomization depotAppCustomization)
     

    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

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByDepotEntryId

      List<DepotAppCustomization> findByDepotEntryId(long depotEntryId)
      Returns all the depot app customizations where depotEntryId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      Returns:
      the matching depot app customizations
    • findByDepotEntryId

      List<DepotAppCustomization> findByDepotEntryId(long depotEntryId, int start, int end)
      Returns a range of all the depot app customizations where depotEntryId = ?.

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

      Parameters:
      depotEntryId - the depot entry ID
      start - the lower bound of the range of depot app customizations
      end - the upper bound of the range of depot app customizations (not inclusive)
      Returns:
      the range of matching depot app customizations
    • findByDepotEntryId

      List<DepotAppCustomization> findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator)
      Returns an ordered range of all the depot app customizations where depotEntryId = ?.

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

      Parameters:
      depotEntryId - the depot entry ID
      start - the lower bound of the range of depot app customizations
      end - the upper bound of the range of depot app customizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching depot app customizations
    • findByDepotEntryId

      List<DepotAppCustomization> findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the depot app customizations where depotEntryId = ?.

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

      Parameters:
      depotEntryId - the depot entry ID
      start - the lower bound of the range of depot app customizations
      end - the upper bound of the range of depot app customizations (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 depot app customizations
    • findByDepotEntryId_First

      DepotAppCustomization findByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) throws NoSuchAppCustomizationException
      Returns the first depot app customization in the ordered set where depotEntryId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching depot app customization
      Throws:
      NoSuchAppCustomizationException - if a matching depot app customization could not be found
    • fetchByDepotEntryId_First

      DepotAppCustomization fetchByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator)
      Returns the first depot app customization in the ordered set where depotEntryId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching depot app customization, or null if a matching depot app customization could not be found
    • findByDepotEntryId_Last

      DepotAppCustomization findByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) throws NoSuchAppCustomizationException
      Returns the last depot app customization in the ordered set where depotEntryId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching depot app customization
      Throws:
      NoSuchAppCustomizationException - if a matching depot app customization could not be found
    • fetchByDepotEntryId_Last

      DepotAppCustomization fetchByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator)
      Returns the last depot app customization in the ordered set where depotEntryId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching depot app customization, or null if a matching depot app customization could not be found
    • findByDepotEntryId_PrevAndNext

      DepotAppCustomization[] findByDepotEntryId_PrevAndNext(long depotAppCustomizationId, long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) throws NoSuchAppCustomizationException
      Returns the depot app customizations before and after the current depot app customization in the ordered set where depotEntryId = ?.
      Parameters:
      depotAppCustomizationId - the primary key of the current depot app customization
      depotEntryId - the depot entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next depot app customization
      Throws:
      NoSuchAppCustomizationException - if a depot app customization with the primary key could not be found
    • removeByDepotEntryId

      void removeByDepotEntryId(long depotEntryId)
      Removes all the depot app customizations where depotEntryId = ? from the database.
      Parameters:
      depotEntryId - the depot entry ID
    • countByDepotEntryId

      int countByDepotEntryId(long depotEntryId)
      Returns the number of depot app customizations where depotEntryId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      Returns:
      the number of matching depot app customizations
    • findByD_E

      DepotAppCustomization findByD_E(long depotEntryId, boolean enabled) throws NoSuchAppCustomizationException
      Returns the depot app customization where depotEntryId = ? and enabled = ? or throws a NoSuchAppCustomizationException if it could not be found.
      Parameters:
      depotEntryId - the depot entry ID
      enabled - the enabled
      Returns:
      the matching depot app customization
      Throws:
      NoSuchAppCustomizationException - if a matching depot app customization could not be found
    • fetchByD_E

      DepotAppCustomization fetchByD_E(long depotEntryId, boolean enabled)
      Returns the depot app customization where depotEntryId = ? and enabled = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      depotEntryId - the depot entry ID
      enabled - the enabled
      Returns:
      the matching depot app customization, or null if a matching depot app customization could not be found
    • fetchByD_E

      DepotAppCustomization fetchByD_E(long depotEntryId, boolean enabled, boolean useFinderCache)
      Returns the depot app customization where depotEntryId = ? and enabled = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      depotEntryId - the depot entry ID
      enabled - the enabled
      useFinderCache - whether to use the finder cache
      Returns:
      the matching depot app customization, or null if a matching depot app customization could not be found
    • removeByD_E

      DepotAppCustomization removeByD_E(long depotEntryId, boolean enabled) throws NoSuchAppCustomizationException
      Removes the depot app customization where depotEntryId = ? and enabled = ? from the database.
      Parameters:
      depotEntryId - the depot entry ID
      enabled - the enabled
      Returns:
      the depot app customization that was removed
      Throws:
      NoSuchAppCustomizationException
    • countByD_E

      int countByD_E(long depotEntryId, boolean enabled)
      Returns the number of depot app customizations where depotEntryId = ? and enabled = ?.
      Parameters:
      depotEntryId - the depot entry ID
      enabled - the enabled
      Returns:
      the number of matching depot app customizations
    • findByD_P

      DepotAppCustomization findByD_P(long depotEntryId, String portletId) throws NoSuchAppCustomizationException
      Returns the depot app customization where depotEntryId = ? and portletId = ? or throws a NoSuchAppCustomizationException if it could not be found.
      Parameters:
      depotEntryId - the depot entry ID
      portletId - the portlet ID
      Returns:
      the matching depot app customization
      Throws:
      NoSuchAppCustomizationException - if a matching depot app customization could not be found
    • fetchByD_P

      DepotAppCustomization fetchByD_P(long depotEntryId, String portletId)
      Returns the depot app customization where depotEntryId = ? and portletId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      depotEntryId - the depot entry ID
      portletId - the portlet ID
      Returns:
      the matching depot app customization, or null if a matching depot app customization could not be found
    • fetchByD_P

      DepotAppCustomization fetchByD_P(long depotEntryId, String portletId, boolean useFinderCache)
      Returns the depot app customization where depotEntryId = ? and portletId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      depotEntryId - the depot entry ID
      portletId - the portlet ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching depot app customization, or null if a matching depot app customization could not be found
    • removeByD_P

      DepotAppCustomization removeByD_P(long depotEntryId, String portletId) throws NoSuchAppCustomizationException
      Removes the depot app customization where depotEntryId = ? and portletId = ? from the database.
      Parameters:
      depotEntryId - the depot entry ID
      portletId - the portlet ID
      Returns:
      the depot app customization that was removed
      Throws:
      NoSuchAppCustomizationException
    • countByD_P

      int countByD_P(long depotEntryId, String portletId)
      Returns the number of depot app customizations where depotEntryId = ? and portletId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      portletId - the portlet ID
      Returns:
      the number of matching depot app customizations
    • cacheResult

      void cacheResult(DepotAppCustomization depotAppCustomization)
      Caches the depot app customization in the entity cache if it is enabled.
      Parameters:
      depotAppCustomization - the depot app customization
    • cacheResult

      void cacheResult(List<DepotAppCustomization> depotAppCustomizations)
      Caches the depot app customizations in the entity cache if it is enabled.
      Parameters:
      depotAppCustomizations - the depot app customizations
    • create

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

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

      DepotAppCustomization updateImpl(DepotAppCustomization depotAppCustomization)
    • findByPrimaryKey

      DepotAppCustomization findByPrimaryKey(long depotAppCustomizationId) throws NoSuchAppCustomizationException
      Returns the depot app customization with the primary key or throws a NoSuchAppCustomizationException if it could not be found.
      Parameters:
      depotAppCustomizationId - the primary key of the depot app customization
      Returns:
      the depot app customization
      Throws:
      NoSuchAppCustomizationException - if a depot app customization with the primary key could not be found
    • fetchByPrimaryKey

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

      Returns all the depot app customizations.
      Returns:
      the depot app customizations
    • findAll

      List<DepotAppCustomization> findAll(int start, int end)
      Returns a range of all the depot app customizations.

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

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

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

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

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

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

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

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

      void removeAll()
      Removes all the depot app customizations from the database.
    • countAll

      int countAll()
      Returns the number of depot app customizations.
      Returns:
      the number of depot app customizations