Class DDMFieldAttributeUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(DDMFieldAttribute ddmFieldAttribute) Caches the ddm field attribute in the entity cache if it is enabled.static voidcacheResult(List<DDMFieldAttribute> ddmFieldAttributes) Caches the ddm field attributes in the entity cache if it is enabled.static voidstatic voidclearCache(DDMFieldAttribute ddmFieldAttribute) static intcountAll()Returns the number of ddm field attributes.static intcountByAN_SAV(String attributeName, String smallAttributeValue) Returns the number of ddm field attributes where attributeName = ? and smallAttributeValue = ?.static intcountByF_AN_L(long fieldId, String attributeName, String languageId) Returns the number of ddm field attributes where fieldId = ? and attributeName = ? and languageId = ?.static intcountByS_AN(long storageId, String attributeName) Returns the number of ddm field attributes where storageId = ? and attributeName = ?.static intcountByS_L(long storageId, String languageId) Returns the number of ddm field attributes where storageId = ? and languageId = ?.static intcountByS_L(long storageId, String[] languageIds) Returns the number of ddm field attributes where storageId = ? and languageId = any ?.static intcountByStorageId(long storageId) Returns the number of ddm field attributes where storageId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static DDMFieldAttributecreate(long fieldAttributeId) Creates a new ddm field attribute with the primary key.static DDMFieldAttributefetchByAN_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 = ?.static DDMFieldAttributefetchByAN_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 = ?.static DDMFieldAttributefetchByF_AN_L(long fieldId, String attributeName, String languageId) Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or returnsnullif it could not be found.static DDMFieldAttributefetchByF_AN_L(long fieldId, String attributeName, String languageId, boolean useFinderCache) Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or returnsnullif it could not be found, optionally using the finder cache.static DDMFieldAttributefetchByPrimaryKey(long fieldAttributeId) Returns the ddm field attribute with the primary key or returnsnullif it could not be found.static Map<Serializable,DDMFieldAttribute> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static DDMFieldAttributefetchByS_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 = ?.static DDMFieldAttributefetchByS_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 = ?.static DDMFieldAttributefetchByS_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 = ?.static DDMFieldAttributefetchByS_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 = ?.static DDMFieldAttributefetchByStorageId_First(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the first ddm field attribute in the ordered set where storageId = ?.static DDMFieldAttributefetchByStorageId_Last(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the last ddm field attribute in the ordered set where storageId = ?.static List<DDMFieldAttribute>findAll()Returns all the ddm field attributes.static List<DDMFieldAttribute>findAll(int start, int end) Returns a range of all the ddm field attributes.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.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.static List<DDMFieldAttribute>findByAN_SAV(String attributeName, String smallAttributeValue) Returns all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.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 = ?.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 = ?.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 = ?.static DDMFieldAttributefindByAN_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 = ?.static DDMFieldAttributefindByAN_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 = ?.static DDMFieldAttribute[]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 = ?.static DDMFieldAttributefindByF_AN_L(long fieldId, String attributeName, String languageId) Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or throws aNoSuchFieldAttributeExceptionif it could not be found.static DDMFieldAttributefindByPrimaryKey(long fieldAttributeId) Returns the ddm field attribute with the primary key or throws aNoSuchFieldAttributeExceptionif it could not be found.static List<DDMFieldAttribute>findByS_AN(long storageId, String attributeName) Returns all the ddm field attributes where storageId = ? and attributeName = ?.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 = ?.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 = ?.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 = ?.static DDMFieldAttributefindByS_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 = ?.static DDMFieldAttributefindByS_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 = ?.static DDMFieldAttribute[]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 = ?.static List<DDMFieldAttribute>Returns all the ddm field attributes where storageId = ? and languageId = ?.static List<DDMFieldAttribute>Returns all the ddm field attributes where storageId = ? and languageId = any ?.static List<DDMFieldAttribute>Returns a range of all the ddm field attributes where storageId = ? and languageId = any ?.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 ?.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.static List<DDMFieldAttribute>Returns a range of all the ddm field attributes where storageId = ? and languageId = ?.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 = ?.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 = ?.static DDMFieldAttributefindByS_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 = ?.static DDMFieldAttributefindByS_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 = ?.static DDMFieldAttribute[]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 = ?.static List<DDMFieldAttribute>findByStorageId(long storageId) Returns all the ddm field attributes where storageId = ?.static List<DDMFieldAttribute>findByStorageId(long storageId, int start, int end) Returns a range of all the ddm field attributes where storageId = ?.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 = ?.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 = ?.static DDMFieldAttributefindByStorageId_First(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the first ddm field attribute in the ordered set where storageId = ?.static DDMFieldAttributefindByStorageId_Last(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the last ddm field attribute in the ordered set where storageId = ?.static DDMFieldAttribute[]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 = ?.static List<DDMFieldAttribute>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<DDMFieldAttribute>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<DDMFieldAttribute>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) static DDMFieldAttributePersistencestatic DDMFieldAttributeremove(long fieldAttributeId) Removes the ddm field attribute with the primary key from the database.static voidRemoves all the ddm field attributes from the database.static voidremoveByAN_SAV(String attributeName, String smallAttributeValue) Removes all the ddm field attributes where attributeName = ? and smallAttributeValue = ? from the database.static DDMFieldAttributeremoveByF_AN_L(long fieldId, String attributeName, String languageId) Removes the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? from the database.static voidremoveByS_AN(long storageId, String attributeName) Removes all the ddm field attributes where storageId = ? and attributeName = ? from the database.static voidremoveByS_L(long storageId, String languageId) Removes all the ddm field attributes where storageId = ? and languageId = ? from the database.static voidremoveByStorageId(long storageId) Removes all the ddm field attributes where storageId = ? from the database.static voidsetPersistence(DDMFieldAttributePersistence persistence) static DDMFieldAttributeupdate(DDMFieldAttribute ddmFieldAttribute) static DDMFieldAttributeupdate(DDMFieldAttribute ddmFieldAttribute, com.liferay.portal.kernel.service.ServiceContext serviceContext) static DDMFieldAttributeupdateImpl(DDMFieldAttribute ddmFieldAttribute)
-
Constructor Details
-
DDMFieldAttributeUtil
public DDMFieldAttributeUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
- 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
- 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
Returns all the ddm field attributes where storageId = ?.- Parameters:
storageId- the storage ID- Returns:
- the matching ddm field attributes
-
findByStorageId
Returns a range of all the ddm field attributes where storageId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
storageId- the storage IDstart- the lower bound of the range of ddm field attributesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
storageId- the storage IDstart- the lower bound of the range of ddm field attributesend- the upper bound of the range of ddm field attributes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
storageId- the storage IDstart- the lower bound of the range of ddm field attributesend- the upper bound of the range of ddm field attributes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm field attribute
- Throws:
NoSuchFieldAttributeException- if a matching ddm field attribute could not be foundNoSuchFieldAttributeException
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm field attribute, or
nullif 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm field attribute
- Throws:
NoSuchFieldAttributeException- if a matching ddm field attribute could not be foundNoSuchFieldAttributeException
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm field attribute, or
nullif 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 attributestorageId- the storage IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm field attribute
- Throws:
NoSuchFieldAttributeException- if a ddm field attribute with the primary key could not be foundNoSuchFieldAttributeException
-
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
Returns all the ddm field attributes where storageId = ? and attributeName = ?.- Parameters:
storageId- the storage IDattributeName- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
storageId- the storage IDattributeName- the attribute namestart- the lower bound of the range of ddm field attributesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
storageId- the storage IDattributeName- the attribute namestart- the lower bound of the range of ddm field attributesend- the upper bound of the range of ddm field attributes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
storageId- the storage IDattributeName- the attribute namestart- the lower bound of the range of ddm field attributesend- the upper bound of the range of ddm field attributes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDattributeName- the attribute nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm field attribute
- Throws:
NoSuchFieldAttributeException- if a matching ddm field attribute could not be foundNoSuchFieldAttributeException
-
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 IDattributeName- the attribute nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm field attribute, or
nullif 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 IDattributeName- the attribute nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm field attribute
- Throws:
NoSuchFieldAttributeException- if a matching ddm field attribute could not be foundNoSuchFieldAttributeException
-
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 IDattributeName- the attribute nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm field attribute, or
nullif 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 attributestorageId- the storage IDattributeName- the attribute nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm field attribute
- Throws:
NoSuchFieldAttributeException- if a ddm field attribute with the primary key could not be foundNoSuchFieldAttributeException
-
removeByS_AN
Removes all the ddm field attributes where storageId = ? and attributeName = ? from the database.- Parameters:
storageId- the storage IDattributeName- the attribute name
-
countByS_AN
Returns the number of ddm field attributes where storageId = ? and attributeName = ?.- Parameters:
storageId- the storage IDattributeName- the attribute name- Returns:
- the number of matching ddm field attributes
-
findByS_L
Returns all the ddm field attributes where storageId = ? and languageId = ?.- Parameters:
storageId- the storage IDlanguageId- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
storageId- the storage IDlanguageId- the language IDstart- the lower bound of the range of ddm field attributesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
storageId- the storage IDlanguageId- the language IDstart- the lower bound of the range of ddm field attributesend- the upper bound of the range of ddm field attributes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
storageId- the storage IDlanguageId- the language IDstart- the lower bound of the range of ddm field attributesend- the upper bound of the range of ddm field attributes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDlanguageId- the language IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm field attribute
- Throws:
NoSuchFieldAttributeException- if a matching ddm field attribute could not be foundNoSuchFieldAttributeException
-
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 IDlanguageId- the language IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm field attribute, or
nullif 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 IDlanguageId- the language IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm field attribute
- Throws:
NoSuchFieldAttributeException- if a matching ddm field attribute could not be foundNoSuchFieldAttributeException
-
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 IDlanguageId- the language IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm field attribute, or
nullif 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 attributestorageId- the storage IDlanguageId- the language IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm field attribute
- Throws:
NoSuchFieldAttributeException- if a ddm field attribute with the primary key could not be foundNoSuchFieldAttributeException
-
findByS_L
Returns all the ddm field attributes where storageId = ? and languageId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
storageId- the storage IDlanguageIds- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
storageId- the storage IDlanguageIds- the language IDsstart- the lower bound of the range of ddm field attributesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
storageId- the storage IDlanguageIds- the language IDsstart- the lower bound of the range of ddm field attributesend- the upper bound of the range of ddm field attributes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
storageId- the storage IDlanguageIds- the language IDsstart- the lower bound of the range of ddm field attributesend- the upper bound of the range of ddm field attributes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm field attributes
-
removeByS_L
Removes all the ddm field attributes where storageId = ? and languageId = ? from the database.- Parameters:
storageId- the storage IDlanguageId- the language ID
-
countByS_L
Returns the number of ddm field attributes where storageId = ? and languageId = ?.- Parameters:
storageId- the storage IDlanguageId- the language ID- Returns:
- the number of matching ddm field attributes
-
countByS_L
Returns the number of ddm field attributes where storageId = ? and languageId = any ?.- Parameters:
storageId- the storage IDlanguageIds- 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 namesmallAttributeValue- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
attributeName- the attribute namesmallAttributeValue- the small attribute valuestart- the lower bound of the range of ddm field attributesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
attributeName- the attribute namesmallAttributeValue- the small attribute valuestart- the lower bound of the range of ddm field attributesend- the upper bound of the range of ddm field attributes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
attributeName- the attribute namesmallAttributeValue- the small attribute valuestart- the lower bound of the range of ddm field attributesend- the upper bound of the range of ddm field attributes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 namesmallAttributeValue- the small attribute valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm field attribute
- Throws:
NoSuchFieldAttributeException- if a matching ddm field attribute could not be foundNoSuchFieldAttributeException
-
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 namesmallAttributeValue- the small attribute valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm field attribute, or
nullif 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 namesmallAttributeValue- the small attribute valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm field attribute
- Throws:
NoSuchFieldAttributeException- if a matching ddm field attribute could not be foundNoSuchFieldAttributeException
-
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 namesmallAttributeValue- the small attribute valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm field attribute, or
nullif 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 attributeattributeName- the attribute namesmallAttributeValue- the small attribute valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm field attribute
- Throws:
NoSuchFieldAttributeException- if a ddm field attribute with the primary key could not be foundNoSuchFieldAttributeException
-
removeByAN_SAV
Removes all the ddm field attributes where attributeName = ? and smallAttributeValue = ? from the database.- Parameters:
attributeName- the attribute namesmallAttributeValue- the small attribute value
-
countByAN_SAV
Returns the number of ddm field attributes where attributeName = ? and smallAttributeValue = ?.- Parameters:
attributeName- the attribute namesmallAttributeValue- 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 aNoSuchFieldAttributeExceptionif it could not be found.- Parameters:
fieldId- the field IDattributeName- the attribute namelanguageId- the language ID- Returns:
- the matching ddm field attribute
- Throws:
NoSuchFieldAttributeException- if a matching ddm field attribute could not be foundNoSuchFieldAttributeException
-
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 returnsnullif it could not be found. Uses the finder cache.- Parameters:
fieldId- the field IDattributeName- the attribute namelanguageId- the language ID- Returns:
- the matching ddm field attribute, or
nullif 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 returnsnullif it could not be found, optionally using the finder cache.- Parameters:
fieldId- the field IDattributeName- the attribute namelanguageId- the language IDuseFinderCache- whether to use the finder cache- Returns:
- the matching ddm field attribute, or
nullif 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 IDattributeName- the attribute namelanguageId- the language ID- Returns:
- the ddm field attribute that was removed
- Throws:
NoSuchFieldAttributeException
-
countByF_AN_L
Returns the number of ddm field attributes where fieldId = ? and attributeName = ? and languageId = ?.- Parameters:
fieldId- the field IDattributeName- the attribute namelanguageId- the language ID- Returns:
- the number of matching ddm field attributes
-
cacheResult
Caches the ddm field attribute in the entity cache if it is enabled.- Parameters:
ddmFieldAttribute- the ddm field attribute
-
cacheResult
Caches the ddm field attributes in the entity cache if it is enabled.- Parameters:
ddmFieldAttributes- the ddm field attributes
-
create
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
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 foundNoSuchFieldAttributeException
-
updateImpl
-
findByPrimaryKey
public static DDMFieldAttribute findByPrimaryKey(long fieldAttributeId) throws NoSuchFieldAttributeException Returns the ddm field attribute with the primary key or throws aNoSuchFieldAttributeExceptionif 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 foundNoSuchFieldAttributeException
-
fetchByPrimaryKey
Returns the ddm field attribute with the primary key or returnsnullif it could not be found.- Parameters:
fieldAttributeId- the primary key of the ddm field attribute- Returns:
- the ddm field attribute, or
nullif 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
Returns a range of all the ddm field attributes.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
start- the lower bound of the range of ddm field attributesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
start- the lower bound of the range of ddm field attributesend- the upper bound of the range of ddm field attributes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMFieldAttributeModelImpl.- Parameters:
start- the lower bound of the range of ddm field attributesend- the upper bound of the range of ddm field attributes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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
-
setPersistence
-