@ProviderType public interface DDMFieldAttributePersistence extends 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
DDMFieldAttributeUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DDMFieldAttribute ddmFieldAttribute)
Caches the ddm field attribute in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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(java.lang.String attributeName,
java.lang.String smallAttributeValue)
Returns the number of ddm field attributes where attributeName = ? and smallAttributeValue = ?.
|
int |
countByF_AN_L(long fieldId,
java.lang.String attributeName,
java.lang.String languageId)
Returns the number of ddm field attributes where fieldId = ? and attributeName = ? and languageId = ?.
|
int |
countByS_L(long storageId,
java.lang.String languageId)
Returns the number of ddm field attributes where storageId = ? and languageId = ?.
|
int |
countByStorageId(long storageId)
Returns the number of ddm field attributes where storageId = ?.
|
DDMFieldAttribute |
create(long fieldAttributeId)
Creates a new ddm field attribute with the primary key.
|
DDMFieldAttribute |
fetchByAN_SAV_First(java.lang.String attributeName,
java.lang.String smallAttributeValue,
com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
Returns the first ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.
|
DDMFieldAttribute |
fetchByAN_SAV_Last(java.lang.String attributeName,
java.lang.String smallAttributeValue,
com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
Returns the last ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.
|
DDMFieldAttribute |
fetchByF_AN_L(long fieldId,
java.lang.String attributeName,
java.lang.String languageId)
Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or returns
null if it could not be found. |
DDMFieldAttribute |
fetchByF_AN_L(long fieldId,
java.lang.String attributeName,
java.lang.String languageId,
boolean useFinderCache)
Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or returns
null if it could not be found, optionally using the finder cache. |
DDMFieldAttribute |
fetchByPrimaryKey(long fieldAttributeId)
Returns the ddm field attribute with the primary key or returns
null if it could not be found. |
DDMFieldAttribute |
fetchByS_L_First(long storageId,
java.lang.String languageId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
Returns the first ddm field attribute in the ordered set where storageId = ? and languageId = ?.
|
DDMFieldAttribute |
fetchByS_L_Last(long storageId,
java.lang.String languageId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
Returns the last ddm field attribute in the ordered set where storageId = ? and languageId = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<DDMFieldAttribute> |
findAll()
Returns all the ddm field attributes.
|
java.util.List<DDMFieldAttribute> |
findAll(int start,
int end)
Returns a range of all the ddm field attributes.
|
java.util.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.
|
java.util.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.
|
DDMFieldAttribute |
findByAN_SAV_First(java.lang.String attributeName,
java.lang.String smallAttributeValue,
com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
Returns the first ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.
|
DDMFieldAttribute |
findByAN_SAV_Last(java.lang.String attributeName,
java.lang.String smallAttributeValue,
com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
Returns the last ddm field attribute in the ordered set where attributeName = ? and smallAttributeValue = ?.
|
DDMFieldAttribute[] |
findByAN_SAV_PrevAndNext(long fieldAttributeId,
java.lang.String attributeName,
java.lang.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 = ?.
|
java.util.List<DDMFieldAttribute> |
findByAN_SAV(java.lang.String attributeName,
java.lang.String smallAttributeValue)
Returns all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.
|
java.util.List<DDMFieldAttribute> |
findByAN_SAV(java.lang.String attributeName,
java.lang.String smallAttributeValue,
int start,
int end)
Returns a range of all the ddm field attributes where attributeName = ? and smallAttributeValue = ?.
|
java.util.List<DDMFieldAttribute> |
findByAN_SAV(java.lang.String attributeName,
java.lang.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 = ?.
|
java.util.List<DDMFieldAttribute> |
findByAN_SAV(java.lang.String attributeName,
java.lang.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 = ?.
|
DDMFieldAttribute |
findByF_AN_L(long fieldId,
java.lang.String attributeName,
java.lang.String languageId)
Returns the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? or throws a
NoSuchFieldAttributeException if it could not be found. |
DDMFieldAttribute |
findByPrimaryKey(long fieldAttributeId)
Returns the ddm field attribute with the primary key or throws a
NoSuchFieldAttributeException if it could not be found. |
DDMFieldAttribute |
findByS_L_First(long storageId,
java.lang.String languageId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
Returns the first ddm field attribute in the ordered set where storageId = ? and languageId = ?.
|
DDMFieldAttribute |
findByS_L_Last(long storageId,
java.lang.String languageId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
Returns the last ddm field attribute in the ordered set where storageId = ? and languageId = ?.
|
DDMFieldAttribute[] |
findByS_L_PrevAndNext(long fieldAttributeId,
long storageId,
java.lang.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 = ?.
|
java.util.List<DDMFieldAttribute> |
findByS_L(long storageId,
java.lang.String languageId)
Returns all the ddm field attributes where storageId = ? and languageId = ?.
|
java.util.List<DDMFieldAttribute> |
findByS_L(long storageId,
java.lang.String languageId,
int start,
int end)
Returns a range of all the ddm field attributes where storageId = ? and languageId = ?.
|
java.util.List<DDMFieldAttribute> |
findByS_L(long storageId,
java.lang.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 = ?.
|
java.util.List<DDMFieldAttribute> |
findByS_L(long storageId,
java.lang.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 = ?.
|
DDMFieldAttribute |
findByStorageId_First(long storageId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
Returns the first ddm field attribute in the ordered set where storageId = ?.
|
DDMFieldAttribute |
findByStorageId_Last(long storageId,
com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
Returns the last ddm field attribute in the ordered set where storageId = ?.
|
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 = ?.
|
java.util.List<DDMFieldAttribute> |
findByStorageId(long storageId)
Returns all the ddm field attributes where storageId = ?.
|
java.util.List<DDMFieldAttribute> |
findByStorageId(long storageId,
int start,
int end)
Returns a range of all the ddm field attributes where storageId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
DDMFieldAttribute |
remove(long fieldAttributeId)
Removes the ddm field attribute with the primary key from the database.
|
void |
removeAll()
Removes all the ddm field attributes from the database.
|
void |
removeByAN_SAV(java.lang.String attributeName,
java.lang.String smallAttributeValue)
Removes all the ddm field attributes where attributeName = ? and smallAttributeValue = ? from the database.
|
DDMFieldAttribute |
removeByF_AN_L(long fieldId,
java.lang.String attributeName,
java.lang.String languageId)
Removes the ddm field attribute where fieldId = ? and attributeName = ? and languageId = ? from the database.
|
void |
removeByS_L(long storageId,
java.lang.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.
|
DDMFieldAttribute |
updateImpl(DDMFieldAttribute ddmFieldAttribute) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
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, setDataSource, unregisterListener, update, update
java.util.List<DDMFieldAttribute> findByStorageId(long storageId)
storageId
- the storage IDjava.util.List<DDMFieldAttribute> findByStorageId(long storageId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFieldAttributeModelImpl
.
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)java.util.List<DDMFieldAttribute> findByStorageId(long storageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFieldAttributeModelImpl
.
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 (optionally null
)java.util.List<DDMFieldAttribute> findByStorageId(long storageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFieldAttributeModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheDDMFieldAttribute findByStorageId_First(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
storageId
- the storage IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldAttributeException
- if a matching ddm field attribute could not be foundDDMFieldAttribute fetchByStorageId_First(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
storageId
- the storage IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm field attribute could not be foundDDMFieldAttribute findByStorageId_Last(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
storageId
- the storage IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldAttributeException
- if a matching ddm field attribute could not be foundDDMFieldAttribute fetchByStorageId_Last(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
storageId
- the storage IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm field attribute could not be foundDDMFieldAttribute[] findByStorageId_PrevAndNext(long fieldAttributeId, long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
fieldAttributeId
- the primary key of the current ddm field attributestorageId
- the storage IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldAttributeException
- if a ddm field attribute with the primary key could not be foundvoid removeByStorageId(long storageId)
storageId
- the storage IDint countByStorageId(long storageId)
storageId
- the storage IDjava.util.List<DDMFieldAttribute> findByS_L(long storageId, java.lang.String languageId)
storageId
- the storage IDlanguageId
- the language IDjava.util.List<DDMFieldAttribute> findByS_L(long storageId, java.lang.String languageId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFieldAttributeModelImpl
.
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)java.util.List<DDMFieldAttribute> findByS_L(long storageId, java.lang.String languageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFieldAttributeModelImpl
.
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 (optionally null
)java.util.List<DDMFieldAttribute> findByS_L(long storageId, java.lang.String languageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFieldAttributeModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheDDMFieldAttribute findByS_L_First(long storageId, java.lang.String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
storageId
- the storage IDlanguageId
- the language IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldAttributeException
- if a matching ddm field attribute could not be foundDDMFieldAttribute fetchByS_L_First(long storageId, java.lang.String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
storageId
- the storage IDlanguageId
- the language IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm field attribute could not be foundDDMFieldAttribute findByS_L_Last(long storageId, java.lang.String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
storageId
- the storage IDlanguageId
- the language IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldAttributeException
- if a matching ddm field attribute could not be foundDDMFieldAttribute fetchByS_L_Last(long storageId, java.lang.String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
storageId
- the storage IDlanguageId
- the language IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm field attribute could not be foundDDMFieldAttribute[] findByS_L_PrevAndNext(long fieldAttributeId, long storageId, java.lang.String languageId, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
fieldAttributeId
- the primary key of the current ddm field attributestorageId
- the storage IDlanguageId
- the language IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldAttributeException
- if a ddm field attribute with the primary key could not be foundvoid removeByS_L(long storageId, java.lang.String languageId)
storageId
- the storage IDlanguageId
- the language IDint countByS_L(long storageId, java.lang.String languageId)
storageId
- the storage IDlanguageId
- the language IDjava.util.List<DDMFieldAttribute> findByAN_SAV(java.lang.String attributeName, java.lang.String smallAttributeValue)
attributeName
- the attribute namesmallAttributeValue
- the small attribute valuejava.util.List<DDMFieldAttribute> findByAN_SAV(java.lang.String attributeName, java.lang.String smallAttributeValue, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFieldAttributeModelImpl
.
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)java.util.List<DDMFieldAttribute> findByAN_SAV(java.lang.String attributeName, java.lang.String smallAttributeValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFieldAttributeModelImpl
.
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 (optionally null
)java.util.List<DDMFieldAttribute> findByAN_SAV(java.lang.String attributeName, java.lang.String smallAttributeValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFieldAttributeModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheDDMFieldAttribute findByAN_SAV_First(java.lang.String attributeName, java.lang.String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
attributeName
- the attribute namesmallAttributeValue
- the small attribute valueorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldAttributeException
- if a matching ddm field attribute could not be foundDDMFieldAttribute fetchByAN_SAV_First(java.lang.String attributeName, java.lang.String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
attributeName
- the attribute namesmallAttributeValue
- the small attribute valueorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm field attribute could not be foundDDMFieldAttribute findByAN_SAV_Last(java.lang.String attributeName, java.lang.String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
attributeName
- the attribute namesmallAttributeValue
- the small attribute valueorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldAttributeException
- if a matching ddm field attribute could not be foundDDMFieldAttribute fetchByAN_SAV_Last(java.lang.String attributeName, java.lang.String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
attributeName
- the attribute namesmallAttributeValue
- the small attribute valueorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm field attribute could not be foundDDMFieldAttribute[] findByAN_SAV_PrevAndNext(long fieldAttributeId, java.lang.String attributeName, java.lang.String smallAttributeValue, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator) throws NoSuchFieldAttributeException
fieldAttributeId
- the primary key of the current ddm field attributeattributeName
- the attribute namesmallAttributeValue
- the small attribute valueorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldAttributeException
- if a ddm field attribute with the primary key could not be foundvoid removeByAN_SAV(java.lang.String attributeName, java.lang.String smallAttributeValue)
attributeName
- the attribute namesmallAttributeValue
- the small attribute valueint countByAN_SAV(java.lang.String attributeName, java.lang.String smallAttributeValue)
attributeName
- the attribute namesmallAttributeValue
- the small attribute valueDDMFieldAttribute findByF_AN_L(long fieldId, java.lang.String attributeName, java.lang.String languageId) throws NoSuchFieldAttributeException
NoSuchFieldAttributeException
if it could not be found.fieldId
- the field IDattributeName
- the attribute namelanguageId
- the language IDNoSuchFieldAttributeException
- if a matching ddm field attribute could not be foundDDMFieldAttribute fetchByF_AN_L(long fieldId, java.lang.String attributeName, java.lang.String languageId)
null
if it could not be found. Uses the finder cache.fieldId
- the field IDattributeName
- the attribute namelanguageId
- the language IDnull
if a matching ddm field attribute could not be foundDDMFieldAttribute fetchByF_AN_L(long fieldId, java.lang.String attributeName, java.lang.String languageId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.fieldId
- the field IDattributeName
- the attribute namelanguageId
- the language IDuseFinderCache
- whether to use the finder cachenull
if a matching ddm field attribute could not be foundDDMFieldAttribute removeByF_AN_L(long fieldId, java.lang.String attributeName, java.lang.String languageId) throws NoSuchFieldAttributeException
fieldId
- the field IDattributeName
- the attribute namelanguageId
- the language IDNoSuchFieldAttributeException
int countByF_AN_L(long fieldId, java.lang.String attributeName, java.lang.String languageId)
fieldId
- the field IDattributeName
- the attribute namelanguageId
- the language IDvoid cacheResult(DDMFieldAttribute ddmFieldAttribute)
ddmFieldAttribute
- the ddm field attributevoid cacheResult(java.util.List<DDMFieldAttribute> ddmFieldAttributes)
ddmFieldAttributes
- the ddm field attributesDDMFieldAttribute create(long fieldAttributeId)
fieldAttributeId
- the primary key for the new ddm field attributeDDMFieldAttribute remove(long fieldAttributeId) throws NoSuchFieldAttributeException
fieldAttributeId
- the primary key of the ddm field attributeNoSuchFieldAttributeException
- if a ddm field attribute with the primary key could not be foundDDMFieldAttribute updateImpl(DDMFieldAttribute ddmFieldAttribute)
DDMFieldAttribute findByPrimaryKey(long fieldAttributeId) throws NoSuchFieldAttributeException
NoSuchFieldAttributeException
if it could not be found.fieldAttributeId
- the primary key of the ddm field attributeNoSuchFieldAttributeException
- if a ddm field attribute with the primary key could not be foundDDMFieldAttribute fetchByPrimaryKey(long fieldAttributeId)
null
if it could not be found.fieldAttributeId
- the primary key of the ddm field attributenull
if a ddm field attribute with the primary key could not be foundjava.util.List<DDMFieldAttribute> findAll()
java.util.List<DDMFieldAttribute> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFieldAttributeModelImpl
.
start
- the lower bound of the range of ddm field attributesend
- the upper bound of the range of ddm field attributes (not inclusive)java.util.List<DDMFieldAttribute> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFieldAttributeModelImpl
.
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 (optionally null
)java.util.List<DDMFieldAttribute> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFieldAttribute> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMFieldAttributeModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()