Interface WebDAVPropsPersistence

All Superinterfaces:
BasePersistence<WebDAVProps>

@ProviderType public interface WebDAVPropsPersistence extends BasePersistence<WebDAVProps>
The persistence interface for the web dav props service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Details

    • findByC_C

      WebDAVProps findByC_C(long classNameId, long classPK) throws NoSuchWebDAVPropsException
      Returns the web dav props where classNameId = ? and classPK = ? or throws a NoSuchWebDAVPropsException if it could not be found.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching web dav props
      Throws:
      NoSuchWebDAVPropsException - if a matching web dav props could not be found
    • fetchByC_C

      WebDAVProps fetchByC_C(long classNameId, long classPK)
      Returns the web dav props where classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching web dav props, or null if a matching web dav props could not be found
    • fetchByC_C

      WebDAVProps fetchByC_C(long classNameId, long classPK, boolean useFinderCache)
      Returns the web dav props where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching web dav props, or null if a matching web dav props could not be found
    • removeByC_C

      WebDAVProps removeByC_C(long classNameId, long classPK) throws NoSuchWebDAVPropsException
      Removes the web dav props where classNameId = ? and classPK = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the web dav props that was removed
      Throws:
      NoSuchWebDAVPropsException
    • countByC_C

      int countByC_C(long classNameId, long classPK)
      Returns the number of web dav propses where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching web dav propses
    • cacheResult

      void cacheResult(WebDAVProps webDAVProps)
      Caches the web dav props in the entity cache if it is enabled.
      Parameters:
      webDAVProps - the web dav props
    • cacheResult

      void cacheResult(List<WebDAVProps> webDAVPropses)
      Caches the web dav propses in the entity cache if it is enabled.
      Parameters:
      webDAVPropses - the web dav propses
    • create

      WebDAVProps create(long webDavPropsId)
      Creates a new web dav props with the primary key. Does not add the web dav props to the database.
      Parameters:
      webDavPropsId - the primary key for the new web dav props
      Returns:
      the new web dav props
    • remove

      WebDAVProps remove(long webDavPropsId) throws NoSuchWebDAVPropsException
      Removes the web dav props with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      webDavPropsId - the primary key of the web dav props
      Returns:
      the web dav props that was removed
      Throws:
      NoSuchWebDAVPropsException - if a web dav props with the primary key could not be found
    • updateImpl

      WebDAVProps updateImpl(WebDAVProps webDAVProps)
    • findByPrimaryKey

      WebDAVProps findByPrimaryKey(long webDavPropsId) throws NoSuchWebDAVPropsException
      Returns the web dav props with the primary key or throws a NoSuchWebDAVPropsException if it could not be found.
      Parameters:
      webDavPropsId - the primary key of the web dav props
      Returns:
      the web dav props
      Throws:
      NoSuchWebDAVPropsException - if a web dav props with the primary key could not be found
    • fetchByPrimaryKey

      WebDAVProps fetchByPrimaryKey(long webDavPropsId)
      Returns the web dav props with the primary key or returns null if it could not be found.
      Parameters:
      webDavPropsId - the primary key of the web dav props
      Returns:
      the web dav props, or null if a web dav props with the primary key could not be found
    • findAll

      List<WebDAVProps> findAll()
      Returns all the web dav propses.
      Returns:
      the web dav propses
    • findAll

      List<WebDAVProps> findAll(int start, int end)
      Returns a range of all the web dav propses.

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

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

      List<WebDAVProps> findAll(int start, int end, OrderByComparator<WebDAVProps> orderByComparator)
      Returns an ordered range of all the web dav propses.

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

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

      List<WebDAVProps> findAll(int start, int end, OrderByComparator<WebDAVProps> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the web dav propses.

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

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

      void removeAll()
      Removes all the web dav propses from the database.
    • countAll

      int countAll()
      Returns the number of web dav propses.
      Returns:
      the number of web dav propses