Class DDMFieldAttributeUtil

java.lang.Object
com.liferay.dynamic.data.mapping.service.persistence.DDMFieldAttributeUtil

public class DDMFieldAttributeUtil extends Object
The persistence utility for the ddm field attribute service. This utility wraps com.liferay.dynamic.data.mapping.service.persistence.impl.DDMFieldAttributePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • DDMFieldAttributeUtil

      public DDMFieldAttributeUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

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

      public static DDMFieldAttribute update(DDMFieldAttribute ddmFieldAttribute, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByStorageId

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

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

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

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

      public static 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
      NoSuchFieldAttributeException
    • fetchByStorageId_First

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

      public static 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
      NoSuchFieldAttributeException
    • fetchByStorageId_Last

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

      public static 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
      NoSuchFieldAttributeException
    • removeByStorageId

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

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

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

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

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

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

      public static 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
      NoSuchFieldAttributeException
    • fetchByS_AN_First

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

      public static 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
      NoSuchFieldAttributeException
    • fetchByS_AN_Last

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

      public static 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
      NoSuchFieldAttributeException
    • removeByS_AN

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

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

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

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

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

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

      public static 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
      NoSuchFieldAttributeException
    • fetchByS_L_First

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

      public static 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
      NoSuchFieldAttributeException
    • fetchByS_L_Last

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

      public static 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
      NoSuchFieldAttributeException
    • findByS_L

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

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

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

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

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

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

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

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

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

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

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

      public static 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
      NoSuchFieldAttributeException
    • fetchByAN_SAV_First

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

      public static 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
      NoSuchFieldAttributeException
    • fetchByAN_SAV_Last

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

      public static 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
      NoSuchFieldAttributeException
    • removeByAN_SAV

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

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

      public static 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
      NoSuchFieldAttributeException
    • fetchByF_AN_L

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

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

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

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

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

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

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

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

      public static DDMFieldAttribute updateImpl(DDMFieldAttribute ddmFieldAttribute)
    • findByPrimaryKey

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

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

      public static List<DDMFieldAttribute> findAll()
      Returns all the ddm field attributes.
      Returns:
      the ddm field attributes
    • findAll

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

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

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

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

      public static int countAll()
      Returns the number of ddm field attributes.
      Returns:
      the number of ddm field attributes
    • getPersistence

      public static DDMFieldAttributePersistence getPersistence()
    • setPersistence

      public static void setPersistence(DDMFieldAttributePersistence persistence)