Interface DDMFieldAttributePersistence

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

@ProviderType public interface DDMFieldAttributePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMFieldAttribute>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFieldAttribute>
The persistence interface for the ddm field attribute service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(DDMFieldAttribute ddmFieldAttribute)
    Caches the ddm field attribute in the entity cache if it is enabled.
    void
    cacheResult(List<DDMFieldAttribute> ddmFieldAttributes)
    Caches the ddm field attributes in the entity cache if it is enabled.
    int
    Returns the number of ddm field attributes.
    int
    countByAN_SAV(String attributeName, String smallAttributeValue)
    Returns the number of ddm field attributes where attributeName = ? and smallAttributeValue = ?.
    int
    countByF_AN_L(long fieldId, String attributeName, String languageId)
    Returns the number of ddm field attributes where fieldId = ? and attributeName = ? and languageId = ?.
    int
    countByS_AN(long storageId, String attributeName)
    Returns the number of ddm field attributes where storageId = ? and attributeName = ?.
    int
    countByS_L(long storageId, String languageId)
    Returns the number of ddm field attributes where storageId = ? and languageId = ?.
    int
    countByS_L(long storageId, String[] languageIds)
    Returns the number of ddm field attributes where storageId = ? and languageId = any ?.
    int
    countByStorageId(long storageId)
    Returns the number of ddm field attributes where storageId = ?.
    create(long fieldAttributeId)
    Creates a new ddm field attribute with the primary key.
    fetchByAN_SAV_First(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the first ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.
    fetchByAN_SAV_Last(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the last ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.
    fetchByF_AN_L(long fieldId, String attributeName, String languageId)
    Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or returns null if it could not be found.
    fetchByF_AN_L(long fieldId, String attributeName, String languageId, boolean useFinderCache)
    Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long fieldAttributeId)
    Returns the ddm field attribute with the primary key or returns null if it could not be found.
    fetchByS_AN_First(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the first ddm field attribute in the ordered set where storageId = ? and attributeName = ?.
    fetchByS_AN_Last(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the last ddm field attribute in the ordered set where storageId = ? and attributeName = ?.
    fetchByS_L_First(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the first ddm field attribute in the ordered set where storageId = ? and languageId = ?.
    fetchByS_L_Last(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the last ddm field attribute in the ordered set where storageId = ? and languageId = ?.
    fetchByStorageId_First(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the first ddm field attribute in the ordered set where storageId = ?.
    fetchByStorageId_Last(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the last ddm field attribute in the ordered set where storageId = ?.
    Returns all the ddm field attributes.
    findAll(int start, int end)
    Returns a range of all the ddm field attributes.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns an ordered range of all the ddm field attributes.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm field attributes.
    findByAN_SAV(String attributeName, String smallAttributeValue)
    Returns all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.
    findByAN_SAV(String attributeName, String smallAttributeValue, int start, int end)
    Returns a range of all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.
    findByAN_SAV(String attributeName, String smallAttributeValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns an ordered range of all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.
    findByAN_SAV(String attributeName, String smallAttributeValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.
    findByAN_SAV_First(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the first ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.
    findByAN_SAV_Last(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the last ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.
    findByAN_SAV_PrevAndNext(long fieldAttributeId, String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.
    findByF_AN_L(long fieldId, String attributeName, String languageId)
    Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or throws a NoSuchFieldAttributeException if it could not be found.
    findByPrimaryKey(long fieldAttributeId)
    Returns the ddm field attribute with the primary key or throws a NoSuchFieldAttributeException if it could not be found.
    findByS_AN(long storageId, String attributeName)
    Returns all the ddm field attributes where storageId = ? and attributeName = ?.
    findByS_AN(long storageId, String attributeName, int start, int end)
    Returns a range of all the ddm field attributes where storageId = ? and attributeName = ?.
    findByS_AN(long storageId, String attributeName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns an ordered range of all the ddm field attributes where storageId = ? and attributeName = ?.
    findByS_AN(long storageId, String attributeName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm field attributes where storageId = ? and attributeName = ?.
    findByS_AN_First(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the first ddm field attribute in the ordered set where storageId = ? and attributeName = ?.
    findByS_AN_Last(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the last ddm field attribute in the ordered set where storageId = ? and attributeName = ?.
    findByS_AN_PrevAndNext(long fieldAttributeId, long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where storageId = ? and attributeName = ?.
    findByS_L(long storageId, String languageId)
    Returns all the ddm field attributes where storageId = ? and languageId = ?.
    findByS_L(long storageId, String[] languageIds)
    Returns all the ddm field attributes where storageId = ? and languageId = any ?.
    findByS_L(long storageId, String[] languageIds, int start, int end)
    Returns a range of all the ddm field attributes where storageId = ? and languageId = any ?.
    findByS_L(long storageId, String[] languageIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns an ordered range of all the ddm field attributes where storageId = ? and languageId = any ?.
    findByS_L(long storageId, String[] languageIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm field attributes where storageId = ? and languageId = ?, optionally using the finder cache.
    findByS_L(long storageId, String languageId, int start, int end)
    Returns a range of all the ddm field attributes where storageId = ? and languageId = ?.
    findByS_L(long storageId, String languageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns an ordered range of all the ddm field attributes where storageId = ? and languageId = ?.
    findByS_L(long storageId, String languageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm field attributes where storageId = ? and languageId = ?.
    findByS_L_First(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the first ddm field attribute in the ordered set where storageId = ? and languageId = ?.
    findByS_L_Last(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the last ddm field attribute in the ordered set where storageId = ? and languageId = ?.
    findByS_L_PrevAndNext(long fieldAttributeId, long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where storageId = ? and languageId = ?.
    findByStorageId(long storageId)
    Returns all the ddm field attributes where storageId = ?.
    findByStorageId(long storageId, int start, int end)
    Returns a range of all the ddm field attributes where storageId = ?.
    findByStorageId(long storageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns an ordered range of all the ddm field attributes where storageId = ?.
    findByStorageId(long storageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm field attributes where storageId = ?.
    findByStorageId_First(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the first ddm field attribute in the ordered set where storageId = ?.
    findByStorageId_Last(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the last ddm field attribute in the ordered set where storageId = ?.
    findByStorageId_PrevAndNext(long fieldAttributeId, long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
    Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where storageId = ?.
    remove(long fieldAttributeId)
    Removes the ddm field attribute with the primary key from the database.
    void
    Removes all the ddm field attributes from the database.
    void
    removeByAN_SAV(String attributeName, String smallAttributeValue)
    Removes all the ddm field attributes where attributeName = ? and smallAttributeValue = ? from the database.
    removeByF_AN_L(long fieldId, String attributeName, String languageId)
    Removes the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? from the database.
    void
    removeByS_AN(long storageId, String attributeName)
    Removes all the ddm field attributes where storageId = ? and attributeName = ? from the database.
    void
    removeByS_L(long storageId, String languageId)
    Removes all the ddm field attributes where storageId = ? and languageId = ? from the database.
    void
    removeByStorageId(long storageId)
    Removes all the ddm field attributes where storageId = ? from the database.
    updateImpl(DDMFieldAttribute ddmFieldAttribute)
     

    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

    • findByStorageId

      List<DDMFieldAttribute> findByStorageId(long storageId)
      Returns all the ddm field attributes where storageId = ?.
      Parameters:
      storageId - the storage ID
      Returns:
      the matching ddm field attributes
    • findByStorageId

      List<DDMFieldAttribute> findByStorageId(long storageId, int start, int end)
      Returns a range of all the ddm field attributes where storageId = ?.

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

      Parameters:
      storageId - the storage ID
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (not inclusive)
      Returns:
      the range of matching ddm field attributes
    • findByStorageId

      List<DDMFieldAttribute> findByStorageId(long storageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
      Returns an ordered range of all the ddm field attributes where storageId = ?.

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

      Parameters:
      storageId - the storage ID
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm field attributes
    • findByStorageId

      List<DDMFieldAttribute> findByStorageId(long storageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm field attributes where storageId = ?.

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

      Parameters:
      storageId - the storage ID
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (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 ddm field attributes
    • findByStorageId_First

      DDMFieldAttribute findByStorageId_First(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
      Returns the first ddm field attribute in the ordered set where storageId = ?.
      Parameters:
      storageId - the storage ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm field attribute
      Throws:
      NoSuchFieldAttributeException - if a matching ddm field attribute could not be found
    • fetchByStorageId_First

      DDMFieldAttribute fetchByStorageId_First(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
      Returns the first ddm field attribute in the ordered set where storageId = ?.
      Parameters:
      storageId - the storage ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm field attribute, or null if a matching ddm field attribute could not be found
    • findByStorageId_Last

      DDMFieldAttribute findByStorageId_Last(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
      Returns the last ddm field attribute in the ordered set where storageId = ?.
      Parameters:
      storageId - the storage ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm field attribute
      Throws:
      NoSuchFieldAttributeException - if a matching ddm field attribute could not be found
    • fetchByStorageId_Last

      DDMFieldAttribute fetchByStorageId_Last(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
      Returns the last ddm field attribute in the ordered set where storageId = ?.
      Parameters:
      storageId - the storage ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm field attribute, or null if a matching ddm field attribute could not be found
    • findByStorageId_PrevAndNext

      DDMFieldAttribute[] findByStorageId_PrevAndNext(long fieldAttributeId, long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
      Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where storageId = ?.
      Parameters:
      fieldAttributeId - the primary key of the current ddm field attribute
      storageId - the storage ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm field attribute
      Throws:
      NoSuchFieldAttributeException - if a ddm field attribute with the primary key could not be found
    • removeByStorageId

      void removeByStorageId(long storageId)
      Removes all the ddm field attributes where storageId = ? from the database.
      Parameters:
      storageId - the storage ID
    • countByStorageId

      int countByStorageId(long storageId)
      Returns the number of ddm field attributes where storageId = ?.
      Parameters:
      storageId - the storage ID
      Returns:
      the number of matching ddm field attributes
    • findByS_AN

      List<DDMFieldAttribute> findByS_AN(long storageId, String attributeName)
      Returns all the ddm field attributes where storageId = ? and attributeName = ?.
      Parameters:
      storageId - the storage ID
      attributeName - the attribute name
      Returns:
      the matching ddm field attributes
    • findByS_AN

      List<DDMFieldAttribute> findByS_AN(long storageId, String attributeName, int start, int end)
      Returns a range of all the ddm field attributes where storageId = ? and attributeName = ?.

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

      Parameters:
      storageId - the storage ID
      attributeName - the attribute name
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (not inclusive)
      Returns:
      the range of matching ddm field attributes
    • findByS_AN

      List<DDMFieldAttribute> findByS_AN(long storageId, String attributeName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
      Returns an ordered range of all the ddm field attributes where storageId = ? and attributeName = ?.

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

      Parameters:
      storageId - the storage ID
      attributeName - the attribute name
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm field attributes
    • findByS_AN

      List<DDMFieldAttribute> findByS_AN(long storageId, String attributeName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm field attributes where storageId = ? and attributeName = ?.

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

      Parameters:
      storageId - the storage ID
      attributeName - the attribute name
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (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 ddm field attributes
    • findByS_AN_First

      DDMFieldAttribute findByS_AN_First(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
      Returns the first ddm field attribute in the ordered set where storageId = ? and attributeName = ?.
      Parameters:
      storageId - the storage ID
      attributeName - the attribute name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm field attribute
      Throws:
      NoSuchFieldAttributeException - if a matching ddm field attribute could not be found
    • fetchByS_AN_First

      DDMFieldAttribute fetchByS_AN_First(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
      Returns the first ddm field attribute in the ordered set where storageId = ? and attributeName = ?.
      Parameters:
      storageId - the storage ID
      attributeName - the attribute name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm field attribute, or null if a matching ddm field attribute could not be found
    • findByS_AN_Last

      DDMFieldAttribute findByS_AN_Last(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
      Returns the last ddm field attribute in the ordered set where storageId = ? and attributeName = ?.
      Parameters:
      storageId - the storage ID
      attributeName - the attribute name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm field attribute
      Throws:
      NoSuchFieldAttributeException - if a matching ddm field attribute could not be found
    • fetchByS_AN_Last

      DDMFieldAttribute fetchByS_AN_Last(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
      Returns the last ddm field attribute in the ordered set where storageId = ? and attributeName = ?.
      Parameters:
      storageId - the storage ID
      attributeName - the attribute name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm field attribute, or null if a matching ddm field attribute could not be found
    • findByS_AN_PrevAndNext

      DDMFieldAttribute[] findByS_AN_PrevAndNext(long fieldAttributeId, long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
      Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where storageId = ? and attributeName = ?.
      Parameters:
      fieldAttributeId - the primary key of the current ddm field attribute
      storageId - the storage ID
      attributeName - the attribute name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm field attribute
      Throws:
      NoSuchFieldAttributeException - if a ddm field attribute with the primary key could not be found
    • removeByS_AN

      void removeByS_AN(long storageId, String attributeName)
      Removes all the ddm field attributes where storageId = ? and attributeName = ? from the database.
      Parameters:
      storageId - the storage ID
      attributeName - the attribute name
    • countByS_AN

      int countByS_AN(long storageId, String attributeName)
      Returns the number of ddm field attributes where storageId = ? and attributeName = ?.
      Parameters:
      storageId - the storage ID
      attributeName - the attribute name
      Returns:
      the number of matching ddm field attributes
    • findByS_L

      List<DDMFieldAttribute> findByS_L(long storageId, String languageId)
      Returns all the ddm field attributes where storageId = ? and languageId = ?.
      Parameters:
      storageId - the storage ID
      languageId - the language ID
      Returns:
      the matching ddm field attributes
    • findByS_L

      List<DDMFieldAttribute> findByS_L(long storageId, String languageId, int start, int end)
      Returns a range of all the ddm field attributes where storageId = ? and languageId = ?.

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

      Parameters:
      storageId - the storage ID
      languageId - the language ID
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (not inclusive)
      Returns:
      the range of matching ddm field attributes
    • findByS_L

      List<DDMFieldAttribute> findByS_L(long storageId, String languageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
      Returns an ordered range of all the ddm field attributes where storageId = ? and languageId = ?.

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

      Parameters:
      storageId - the storage ID
      languageId - the language ID
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm field attributes
    • findByS_L

      List<DDMFieldAttribute> findByS_L(long storageId, String languageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm field attributes where storageId = ? and languageId = ?.

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

      Parameters:
      storageId - the storage ID
      languageId - the language ID
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (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 ddm field attributes
    • findByS_L_First

      DDMFieldAttribute findByS_L_First(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
      Returns the first ddm field attribute in the ordered set where storageId = ? and languageId = ?.
      Parameters:
      storageId - the storage ID
      languageId - the language ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm field attribute
      Throws:
      NoSuchFieldAttributeException - if a matching ddm field attribute could not be found
    • fetchByS_L_First

      DDMFieldAttribute fetchByS_L_First(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
      Returns the first ddm field attribute in the ordered set where storageId = ? and languageId = ?.
      Parameters:
      storageId - the storage ID
      languageId - the language ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm field attribute, or null if a matching ddm field attribute could not be found
    • findByS_L_Last

      DDMFieldAttribute findByS_L_Last(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
      Returns the last ddm field attribute in the ordered set where storageId = ? and languageId = ?.
      Parameters:
      storageId - the storage ID
      languageId - the language ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm field attribute
      Throws:
      NoSuchFieldAttributeException - if a matching ddm field attribute could not be found
    • fetchByS_L_Last

      DDMFieldAttribute fetchByS_L_Last(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
      Returns the last ddm field attribute in the ordered set where storageId = ? and languageId = ?.
      Parameters:
      storageId - the storage ID
      languageId - the language ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm field attribute, or null if a matching ddm field attribute could not be found
    • findByS_L_PrevAndNext

      DDMFieldAttribute[] findByS_L_PrevAndNext(long fieldAttributeId, long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
      Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where storageId = ? and languageId = ?.
      Parameters:
      fieldAttributeId - the primary key of the current ddm field attribute
      storageId - the storage ID
      languageId - the language ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm field attribute
      Throws:
      NoSuchFieldAttributeException - if a ddm field attribute with the primary key could not be found
    • findByS_L

      List<DDMFieldAttribute> findByS_L(long storageId, String[] languageIds)
      Returns all the ddm field attributes where storageId = ? and languageId = any ?.

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

      Parameters:
      storageId - the storage ID
      languageIds - the language IDs
      Returns:
      the matching ddm field attributes
    • findByS_L

      List<DDMFieldAttribute> findByS_L(long storageId, String[] languageIds, int start, int end)
      Returns a range of all the ddm field attributes where storageId = ? and languageId = any ?.

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

      Parameters:
      storageId - the storage ID
      languageIds - the language IDs
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (not inclusive)
      Returns:
      the range of matching ddm field attributes
    • findByS_L

      List<DDMFieldAttribute> findByS_L(long storageId, String[] languageIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
      Returns an ordered range of all the ddm field attributes where storageId = ? and languageId = any ?.

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

      Parameters:
      storageId - the storage ID
      languageIds - the language IDs
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm field attributes
    • findByS_L

      List<DDMFieldAttribute> findByS_L(long storageId, String[] languageIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm field attributes where storageId = ? and languageId = ?, optionally using the finder cache.

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

      Parameters:
      storageId - the storage ID
      languageIds - the language IDs
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (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 ddm field attributes
    • removeByS_L

      void removeByS_L(long storageId, String languageId)
      Removes all the ddm field attributes where storageId = ? and languageId = ? from the database.
      Parameters:
      storageId - the storage ID
      languageId - the language ID
    • countByS_L

      int countByS_L(long storageId, String languageId)
      Returns the number of ddm field attributes where storageId = ? and languageId = ?.
      Parameters:
      storageId - the storage ID
      languageId - the language ID
      Returns:
      the number of matching ddm field attributes
    • countByS_L

      int countByS_L(long storageId, String[] languageIds)
      Returns the number of ddm field attributes where storageId = ? and languageId = any ?.
      Parameters:
      storageId - the storage ID
      languageIds - the language IDs
      Returns:
      the number of matching ddm field attributes
    • findByAN_SAV

      List<DDMFieldAttribute> findByAN_SAV(String attributeName, String smallAttributeValue)
      Returns all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.
      Parameters:
      attributeName - the attribute name
      smallAttributeValue - the small attribute value
      Returns:
      the matching ddm field attributes
    • findByAN_SAV

      List<DDMFieldAttribute> findByAN_SAV(String attributeName, String smallAttributeValue, int start, int end)
      Returns a range of all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.

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

      Parameters:
      attributeName - the attribute name
      smallAttributeValue - the small attribute value
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (not inclusive)
      Returns:
      the range of matching ddm field attributes
    • findByAN_SAV

      List<DDMFieldAttribute> findByAN_SAV(String attributeName, String smallAttributeValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
      Returns an ordered range of all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.

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

      Parameters:
      attributeName - the attribute name
      smallAttributeValue - the small attribute value
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm field attributes
    • findByAN_SAV

      List<DDMFieldAttribute> findByAN_SAV(String attributeName, String smallAttributeValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.

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

      Parameters:
      attributeName - the attribute name
      smallAttributeValue - the small attribute value
      start - the lower bound of the range of ddm field attributes
      end - the upper bound of the range of ddm field attributes (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 ddm field attributes
    • findByAN_SAV_First

      DDMFieldAttribute findByAN_SAV_First(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
      Returns the first ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.
      Parameters:
      attributeName - the attribute name
      smallAttributeValue - the small attribute value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm field attribute
      Throws:
      NoSuchFieldAttributeException - if a matching ddm field attribute could not be found
    • fetchByAN_SAV_First

      DDMFieldAttribute fetchByAN_SAV_First(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
      Returns the first ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.
      Parameters:
      attributeName - the attribute name
      smallAttributeValue - the small attribute value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm field attribute, or null if a matching ddm field attribute could not be found
    • findByAN_SAV_Last

      DDMFieldAttribute findByAN_SAV_Last(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
      Returns the last ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.
      Parameters:
      attributeName - the attribute name
      smallAttributeValue - the small attribute value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm field attribute
      Throws:
      NoSuchFieldAttributeException - if a matching ddm field attribute could not be found
    • fetchByAN_SAV_Last

      DDMFieldAttribute fetchByAN_SAV_Last(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
      Returns the last ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.
      Parameters:
      attributeName - the attribute name
      smallAttributeValue - the small attribute value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm field attribute, or null if a matching ddm field attribute could not be found
    • findByAN_SAV_PrevAndNext

      DDMFieldAttribute[] findByAN_SAV_PrevAndNext(long fieldAttributeId, String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
      Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.
      Parameters:
      fieldAttributeId - the primary key of the current ddm field attribute
      attributeName - the attribute name
      smallAttributeValue - the small attribute value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm field attribute
      Throws:
      NoSuchFieldAttributeException - if a ddm field attribute with the primary key could not be found
    • removeByAN_SAV

      void removeByAN_SAV(String attributeName, String smallAttributeValue)
      Removes all the ddm field attributes where attributeName = ? and smallAttributeValue = ? from the database.
      Parameters:
      attributeName - the attribute name
      smallAttributeValue - the small attribute value
    • countByAN_SAV

      int countByAN_SAV(String attributeName, String smallAttributeValue)
      Returns the number of ddm field attributes where attributeName = ? and smallAttributeValue = ?.
      Parameters:
      attributeName - the attribute name
      smallAttributeValue - the small attribute value
      Returns:
      the number of matching ddm field attributes
    • findByF_AN_L

      DDMFieldAttribute findByF_AN_L(long fieldId, String attributeName, String languageId) throws NoSuchFieldAttributeException
      Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or throws a NoSuchFieldAttributeException if it could not be found.
      Parameters:
      fieldId - the field ID
      attributeName - the attribute name
      languageId - the language ID
      Returns:
      the matching ddm field attribute
      Throws:
      NoSuchFieldAttributeException - if a matching ddm field attribute could not be found
    • fetchByF_AN_L

      DDMFieldAttribute fetchByF_AN_L(long fieldId, String attributeName, String languageId)
      Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      fieldId - the field ID
      attributeName - the attribute name
      languageId - the language ID
      Returns:
      the matching ddm field attribute, or null if a matching ddm field attribute could not be found
    • fetchByF_AN_L

      DDMFieldAttribute fetchByF_AN_L(long fieldId, String attributeName, String languageId, boolean useFinderCache)
      Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      fieldId - the field ID
      attributeName - the attribute name
      languageId - the language ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ddm field attribute, or null if a matching ddm field attribute could not be found
    • removeByF_AN_L

      DDMFieldAttribute removeByF_AN_L(long fieldId, String attributeName, String languageId) throws NoSuchFieldAttributeException
      Removes the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? from the database.
      Parameters:
      fieldId - the field ID
      attributeName - the attribute name
      languageId - the language ID
      Returns:
      the ddm field attribute that was removed
      Throws:
      NoSuchFieldAttributeException
    • countByF_AN_L

      int countByF_AN_L(long fieldId, String attributeName, String languageId)
      Returns the number of ddm field attributes where fieldId = ? and attributeName = ? and languageId = ?.
      Parameters:
      fieldId - the field ID
      attributeName - the attribute name
      languageId - the language ID
      Returns:
      the number of matching ddm field attributes
    • cacheResult

      void cacheResult(DDMFieldAttribute ddmFieldAttribute)
      Caches the ddm field attribute in the entity cache if it is enabled.
      Parameters:
      ddmFieldAttribute - the ddm field attribute
    • cacheResult

      void cacheResult(List<DDMFieldAttribute> ddmFieldAttributes)
      Caches the ddm field attributes in the entity cache if it is enabled.
      Parameters:
      ddmFieldAttributes - the ddm field attributes
    • create

      DDMFieldAttribute create(long fieldAttributeId)
      Creates a new ddm field attribute with the primary key. Does not add the ddm field attribute to the database.
      Parameters:
      fieldAttributeId - the primary key for the new ddm field attribute
      Returns:
      the new ddm field attribute
    • remove

      DDMFieldAttribute remove(long fieldAttributeId) throws NoSuchFieldAttributeException
      Removes the ddm field attribute with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      fieldAttributeId - the primary key of the ddm field attribute
      Returns:
      the ddm field attribute that was removed
      Throws:
      NoSuchFieldAttributeException - if a ddm field attribute with the primary key could not be found
    • updateImpl

      DDMFieldAttribute updateImpl(DDMFieldAttribute ddmFieldAttribute)
    • findByPrimaryKey

      DDMFieldAttribute findByPrimaryKey(long fieldAttributeId) throws NoSuchFieldAttributeException
      Returns the ddm field attribute with the primary key or throws a NoSuchFieldAttributeException if it could not be found.
      Parameters:
      fieldAttributeId - the primary key of the ddm field attribute
      Returns:
      the ddm field attribute
      Throws:
      NoSuchFieldAttributeException - if a ddm field attribute with the primary key could not be found
    • fetchByPrimaryKey

      DDMFieldAttribute fetchByPrimaryKey(long fieldAttributeId)
      Returns the ddm field attribute with the primary key or returns null if it could not be found.
      Parameters:
      fieldAttributeId - the primary key of the ddm field attribute
      Returns:
      the ddm field attribute, or null if a ddm field attribute with the primary key could not be found
    • findAll

      Returns all the ddm field attributes.
      Returns:
      the ddm field attributes
    • findAll

      List<DDMFieldAttribute> findAll(int start, int end)
      Returns a range of all the ddm field attributes.

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

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

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

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

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

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

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

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

      void removeAll()
      Removes all the ddm field attributes from the database.
    • countAll

      int countAll()
      Returns the number of ddm field attributes.
      Returns:
      the number of ddm field attributes