Interface DDMFieldAttributePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DDMFieldAttribute>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFieldAttribute>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(DDMFieldAttribute ddmFieldAttribute) Caches the ddm field attribute in the entity cache if it is enabled.void
cacheResult
(List<DDMFieldAttribute> ddmFieldAttributes) Caches the ddm field attributes in the entity cache if it is enabled.int
countAll()
Returns the number of ddm field attributes.int
countByAN_SAV
(String attributeName, String smallAttributeValue) Returns the number of ddm field attributes where attributeName = ? and smallAttributeValue = ?.int
countByF_AN_L
(long fieldId, String attributeName, String languageId) Returns the number of ddm field attributes where fieldId = ? and attributeName = ? and languageId = ?.int
countByS_AN
(long storageId, String attributeName) Returns the number of ddm field attributes where storageId = ? and attributeName = ?.int
countByS_L
(long storageId, String languageId) Returns the number of ddm field attributes where storageId = ? and languageId = ?.int
countByS_L
(long storageId, String[] languageIds) Returns the number of ddm field attributes where storageId = ? and languageId = any ?.int
countByStorageId
(long storageId) Returns the number of ddm field attributes where storageId = ?.create
(long fieldAttributeId) Creates a new ddm field attribute with the primary key.fetchByAN_SAV_First
(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the first ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.fetchByAN_SAV_Last
(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the last ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.fetchByF_AN_L
(long fieldId, String attributeName, String languageId) Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or returnsnull
if it could not be found.fetchByF_AN_L
(long fieldId, String attributeName, String languageId, boolean useFinderCache) Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long fieldAttributeId) Returns the ddm field attribute with the primary key or returnsnull
if it could not be found.fetchByS_AN_First
(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the first ddm field attribute in the ordered set where storageId = ? and attributeName = ?.fetchByS_AN_Last
(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the last ddm field attribute in the ordered set where storageId = ? and attributeName = ?.fetchByS_L_First
(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the first ddm field attribute in the ordered set where storageId = ? and languageId = ?.fetchByS_L_Last
(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the last ddm field attribute in the ordered set where storageId = ? and languageId = ?.fetchByStorageId_First
(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the first ddm field attribute in the ordered set where storageId = ?.fetchByStorageId_Last
(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the last ddm field attribute in the ordered set where storageId = ?.findAll()
Returns all the ddm field attributes.findAll
(int start, int end) Returns a range of all the ddm field attributes.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns an ordered range of all the ddm field attributes.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm field attributes.findByAN_SAV
(String attributeName, String smallAttributeValue) Returns all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.findByAN_SAV
(String attributeName, String smallAttributeValue, int start, int end) Returns a range of all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.findByAN_SAV
(String attributeName, String smallAttributeValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns an ordered range of all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.findByAN_SAV
(String attributeName, String smallAttributeValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.findByAN_SAV_First
(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the first ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.findByAN_SAV_Last
(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the last ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.findByAN_SAV_PrevAndNext
(long fieldAttributeId, String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.findByF_AN_L
(long fieldId, String attributeName, String languageId) Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or throws aNoSuchFieldAttributeException
if it could not be found.findByPrimaryKey
(long fieldAttributeId) Returns the ddm field attribute with the primary key or throws aNoSuchFieldAttributeException
if it could not be found.findByS_AN
(long storageId, String attributeName) Returns all the ddm field attributes where storageId = ? and attributeName = ?.findByS_AN
(long storageId, String attributeName, int start, int end) Returns a range of all the ddm field attributes where storageId = ? and attributeName = ?.findByS_AN
(long storageId, String attributeName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns an ordered range of all the ddm field attributes where storageId = ? and attributeName = ?.findByS_AN
(long storageId, String attributeName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm field attributes where storageId = ? and attributeName = ?.findByS_AN_First
(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the first ddm field attribute in the ordered set where storageId = ? and attributeName = ?.findByS_AN_Last
(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the last ddm field attribute in the ordered set where storageId = ? and attributeName = ?.findByS_AN_PrevAndNext
(long fieldAttributeId, long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where storageId = ? and attributeName = ?.Returns all the ddm field attributes where storageId = ? and languageId = ?.Returns all the ddm field attributes where storageId = ? and languageId = any ?.Returns a range of all the ddm field attributes where storageId = ? and languageId = any ?.findByS_L
(long storageId, String[] languageIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns an ordered range of all the ddm field attributes where storageId = ? and languageId = any ?.findByS_L
(long storageId, String[] languageIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm field attributes where storageId = ? and languageId = ?, optionally using the finder cache.Returns a range of all the ddm field attributes where storageId = ? and languageId = ?.findByS_L
(long storageId, String languageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns an ordered range of all the ddm field attributes where storageId = ? and languageId = ?.findByS_L
(long storageId, String languageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm field attributes where storageId = ? and languageId = ?.findByS_L_First
(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the first ddm field attribute in the ordered set where storageId = ? and languageId = ?.findByS_L_Last
(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the last ddm field attribute in the ordered set where storageId = ? and languageId = ?.findByS_L_PrevAndNext
(long fieldAttributeId, long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where storageId = ? and languageId = ?.findByStorageId
(long storageId) Returns all the ddm field attributes where storageId = ?.findByStorageId
(long storageId, int start, int end) Returns a range of all the ddm field attributes where storageId = ?.findByStorageId
(long storageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns an ordered range of all the ddm field attributes where storageId = ?.findByStorageId
(long storageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm field attributes where storageId = ?.findByStorageId_First
(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the first ddm field attribute in the ordered set where storageId = ?.findByStorageId_Last
(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the last ddm field attribute in the ordered set where storageId = ?.findByStorageId_PrevAndNext
(long fieldAttributeId, long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where storageId = ?.remove
(long fieldAttributeId) Removes the ddm field attribute with the primary key from the database.void
Removes all the ddm field attributes from the database.void
removeByAN_SAV
(String attributeName, String smallAttributeValue) Removes all the ddm field attributes where attributeName = ? and smallAttributeValue = ? from the database.removeByF_AN_L
(long fieldId, String attributeName, String languageId) Removes the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? from the database.void
removeByS_AN
(long storageId, String attributeName) Removes all the ddm field attributes where storageId = ? and attributeName = ? from the database.void
removeByS_L
(long storageId, String languageId) Removes all the ddm field attributes where storageId = ? and languageId = ? from the database.void
removeByStorageId
(long storageId) Removes all the ddm field attributes where storageId = ? from the database.updateImpl
(DDMFieldAttribute ddmFieldAttribute) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByStorageId
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByStorageId_First
DDMFieldAttribute fetchByStorageId_First(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the first ddm field attribute in the ordered set where storageId = ?.- Parameters:
storageId
- the storage IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm field attribute, or
null
if a matching ddm field attribute could not be found
-
findByStorageId_Last
DDMFieldAttribute findByStorageId_Last(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException Returns the last ddm field attribute in the ordered set where storageId = ?.- Parameters:
storageId
- the storage 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 found
-
fetchByStorageId_Last
DDMFieldAttribute fetchByStorageId_Last(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the last ddm field attribute in the ordered set where storageId = ?.- Parameters:
storageId
- the storage IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm field attribute, or
null
if a matching ddm field attribute could not be found
-
findByStorageId_PrevAndNext
DDMFieldAttribute[] findByStorageId_PrevAndNext(long fieldAttributeId, long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where storageId = ?.- Parameters:
fieldAttributeId
- the primary key of the current ddm field 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 found
-
removeByStorageId
void removeByStorageId(long storageId) Removes all the ddm field attributes where storageId = ? from the database.- Parameters:
storageId
- the storage ID
-
countByStorageId
int countByStorageId(long storageId) Returns the number of ddm field attributes where storageId = ?.- Parameters:
storageId
- the storage ID- Returns:
- the number of matching ddm field attributes
-
findByS_AN
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByS_AN_First
DDMFieldAttribute fetchByS_AN_First(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the first ddm field attribute in the ordered set where storageId = ? and attributeName = ?.- Parameters:
storageId
- the storage IDattributeName
- the attribute nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm field attribute, or
null
if a matching ddm field attribute could not be found
-
findByS_AN_Last
DDMFieldAttribute findByS_AN_Last(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException Returns the last ddm field attribute in the ordered set where storageId = ? and attributeName = ?.- Parameters:
storageId
- the storage 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 found
-
fetchByS_AN_Last
DDMFieldAttribute fetchByS_AN_Last(long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the last ddm field attribute in the ordered set where storageId = ? and attributeName = ?.- Parameters:
storageId
- the storage IDattributeName
- the attribute nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm field attribute, or
null
if a matching ddm field attribute could not be found
-
findByS_AN_PrevAndNext
DDMFieldAttribute[] findByS_AN_PrevAndNext(long fieldAttributeId, long storageId, String attributeName, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where storageId = ? and attributeName = ?.- Parameters:
fieldAttributeId
- the primary key of the current ddm field 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 found
-
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByS_L_First
DDMFieldAttribute fetchByS_L_First(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the first ddm field attribute in the ordered set where storageId = ? and languageId = ?.- Parameters:
storageId
- the storage IDlanguageId
- the language IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm field attribute, or
null
if a matching ddm field attribute could not be found
-
findByS_L_Last
DDMFieldAttribute findByS_L_Last(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException Returns the last ddm field attribute in the ordered set where storageId = ? and languageId = ?.- Parameters:
storageId
- the storage 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 found
-
fetchByS_L_Last
DDMFieldAttribute fetchByS_L_Last(long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the last ddm field attribute in the ordered set where storageId = ? and languageId = ?.- Parameters:
storageId
- the storage IDlanguageId
- the language IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm field attribute, or
null
if a matching ddm field attribute could not be found
-
findByS_L_PrevAndNext
DDMFieldAttribute[] findByS_L_PrevAndNext(long fieldAttributeId, long storageId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where storageId = ? and languageId = ?.- Parameters:
fieldAttributeId
- the primary key of the current ddm field 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 found
-
findByS_L
Returns all the ddm field attributes where storageId = ? and languageId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByAN_SAV_First
DDMFieldAttribute fetchByAN_SAV_First(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the first ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.- Parameters:
attributeName
- the attribute namesmallAttributeValue
- the small attribute valueorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm field attribute, or
null
if a matching ddm field attribute could not be found
-
findByAN_SAV_Last
DDMFieldAttribute findByAN_SAV_Last(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException Returns the last ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.- Parameters:
attributeName
- the attribute 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 found
-
fetchByAN_SAV_Last
DDMFieldAttribute fetchByAN_SAV_Last(String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) Returns the last ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.- Parameters:
attributeName
- the attribute namesmallAttributeValue
- the small attribute valueorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm field attribute, or
null
if a matching ddm field attribute could not be found
-
findByAN_SAV_PrevAndNext
DDMFieldAttribute[] findByAN_SAV_PrevAndNext(long fieldAttributeId, String attributeName, String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException Returns the ddm field attributes before and after the current ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.- Parameters:
fieldAttributeId
- the primary key of the current ddm field 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 found
-
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
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 aNoSuchFieldAttributeException
if 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 found
-
fetchByF_AN_L
Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or returnsnull
if 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
null
if a matching ddm field attribute could not be found
-
fetchByF_AN_L
DDMFieldAttribute fetchByF_AN_L(long fieldId, String attributeName, String languageId, boolean useFinderCache) Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or returnsnull
if 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
null
if a matching ddm field attribute could not be found
-
removeByF_AN_L
DDMFieldAttribute removeByF_AN_L(long fieldId, String attributeName, String languageId) throws NoSuchFieldAttributeException Removes the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? from the database.- Parameters:
fieldId
- the field 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 found
-
updateImpl
-
findByPrimaryKey
Returns the ddm field attribute with the primary key or throws aNoSuchFieldAttributeException
if it could not be found.- Parameters:
fieldAttributeId
- the primary key of the ddm field attribute- Returns:
- the ddm field attribute
- Throws:
NoSuchFieldAttributeException
- if a ddm field attribute with the primary key could not be found
-
fetchByPrimaryKey
Returns the ddm field attribute with the primary key or returnsnull
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
List<DDMFieldAttribute> 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
void removeAll()Removes all the ddm field attributes from the database. -
countAll
int countAll()Returns the number of ddm field attributes.- Returns:
- the number of ddm field attributes
-