@ProviderType public interface DDMFieldPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMField>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMField>
Caching information and settings can be found in portal.properties
DDMFieldUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DDMField ddmField)
Caches the ddm field in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DDMField> ddmFields)
Caches the ddm fields in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of ddm fields.
|
int |
countByC_F(long companyId,
java.lang.String fieldType)
Returns the number of ddm fields where companyId = ? and fieldType = ?.
|
int |
countByS_I(long storageId,
java.lang.String instanceId)
Returns the number of ddm fields where storageId = ? and instanceId = ?.
|
int |
countByStorageId(long storageId)
Returns the number of ddm fields where storageId = ?.
|
int |
countByStructureVersionId(long structureVersionId)
Returns the number of ddm fields where structureVersionId = ?.
|
DDMField |
create(long fieldId)
Creates a new ddm field with the primary key.
|
DDMField |
fetchByC_F_First(long companyId,
java.lang.String fieldType,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the first ddm field in the ordered set where companyId = ? and fieldType = ?.
|
DDMField |
fetchByC_F_Last(long companyId,
java.lang.String fieldType,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the last ddm field in the ordered set where companyId = ? and fieldType = ?.
|
DDMField |
fetchByPrimaryKey(long fieldId)
Returns the ddm field with the primary key or returns
null if it could not be found. |
DDMField |
fetchByS_I(long storageId,
java.lang.String instanceId)
Returns the ddm field where storageId = ? and instanceId = ? or returns
null if it could not be found. |
DDMField |
fetchByS_I(long storageId,
java.lang.String instanceId,
boolean useFinderCache)
Returns the ddm field where storageId = ? and instanceId = ? or returns
null if it could not be found, optionally using the finder cache. |
DDMField |
fetchByStorageId_First(long storageId,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the first ddm field in the ordered set where storageId = ?.
|
DDMField |
fetchByStorageId_Last(long storageId,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the last ddm field in the ordered set where storageId = ?.
|
DDMField |
fetchByStructureVersionId_First(long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the first ddm field in the ordered set where structureVersionId = ?.
|
DDMField |
fetchByStructureVersionId_Last(long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the last ddm field in the ordered set where structureVersionId = ?.
|
java.util.List<DDMField> |
findAll()
Returns all the ddm fields.
|
java.util.List<DDMField> |
findAll(int start,
int end)
Returns a range of all the ddm fields.
|
java.util.List<DDMField> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns an ordered range of all the ddm fields.
|
java.util.List<DDMField> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm fields.
|
DDMField |
findByC_F_First(long companyId,
java.lang.String fieldType,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the first ddm field in the ordered set where companyId = ? and fieldType = ?.
|
DDMField |
findByC_F_Last(long companyId,
java.lang.String fieldType,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the last ddm field in the ordered set where companyId = ? and fieldType = ?.
|
DDMField[] |
findByC_F_PrevAndNext(long fieldId,
long companyId,
java.lang.String fieldType,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the ddm fields before and after the current ddm field in the ordered set where companyId = ? and fieldType = ?.
|
java.util.List<DDMField> |
findByC_F(long companyId,
java.lang.String fieldType)
Returns all the ddm fields where companyId = ? and fieldType = ?.
|
java.util.List<DDMField> |
findByC_F(long companyId,
java.lang.String fieldType,
int start,
int end)
Returns a range of all the ddm fields where companyId = ? and fieldType = ?.
|
java.util.List<DDMField> |
findByC_F(long companyId,
java.lang.String fieldType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns an ordered range of all the ddm fields where companyId = ? and fieldType = ?.
|
java.util.List<DDMField> |
findByC_F(long companyId,
java.lang.String fieldType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm fields where companyId = ? and fieldType = ?.
|
DDMField |
findByPrimaryKey(long fieldId)
Returns the ddm field with the primary key or throws a
NoSuchFieldException if it could not be found. |
DDMField |
findByS_I(long storageId,
java.lang.String instanceId)
Returns the ddm field where storageId = ? and instanceId = ? or throws a
NoSuchFieldException if it could not be found. |
DDMField |
findByStorageId_First(long storageId,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the first ddm field in the ordered set where storageId = ?.
|
DDMField |
findByStorageId_Last(long storageId,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the last ddm field in the ordered set where storageId = ?.
|
DDMField[] |
findByStorageId_PrevAndNext(long fieldId,
long storageId,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the ddm fields before and after the current ddm field in the ordered set where storageId = ?.
|
java.util.List<DDMField> |
findByStorageId(long storageId)
Returns all the ddm fields where storageId = ?.
|
java.util.List<DDMField> |
findByStorageId(long storageId,
int start,
int end)
Returns a range of all the ddm fields where storageId = ?.
|
java.util.List<DDMField> |
findByStorageId(long storageId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns an ordered range of all the ddm fields where storageId = ?.
|
java.util.List<DDMField> |
findByStorageId(long storageId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm fields where storageId = ?.
|
DDMField |
findByStructureVersionId_First(long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the first ddm field in the ordered set where structureVersionId = ?.
|
DDMField |
findByStructureVersionId_Last(long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the last ddm field in the ordered set where structureVersionId = ?.
|
DDMField[] |
findByStructureVersionId_PrevAndNext(long fieldId,
long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns the ddm fields before and after the current ddm field in the ordered set where structureVersionId = ?.
|
java.util.List<DDMField> |
findByStructureVersionId(long structureVersionId)
Returns all the ddm fields where structureVersionId = ?.
|
java.util.List<DDMField> |
findByStructureVersionId(long structureVersionId,
int start,
int end)
Returns a range of all the ddm fields where structureVersionId = ?.
|
java.util.List<DDMField> |
findByStructureVersionId(long structureVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
Returns an ordered range of all the ddm fields where structureVersionId = ?.
|
java.util.List<DDMField> |
findByStructureVersionId(long structureVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm fields where structureVersionId = ?.
|
DDMField |
remove(long fieldId)
Removes the ddm field with the primary key from the database.
|
void |
removeAll()
Removes all the ddm fields from the database.
|
void |
removeByC_F(long companyId,
java.lang.String fieldType)
Removes all the ddm fields where companyId = ? and fieldType = ? from the database.
|
DDMField |
removeByS_I(long storageId,
java.lang.String instanceId)
Removes the ddm field where storageId = ? and instanceId = ? from the database.
|
void |
removeByStorageId(long storageId)
Removes all the ddm fields where storageId = ? from the database.
|
void |
removeByStructureVersionId(long structureVersionId)
Removes all the ddm fields where structureVersionId = ? from the database.
|
DDMField |
updateImpl(DDMField ddmField) |
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<DDMField> findByStorageId(long storageId)
storageId
- the storage IDjava.util.List<DDMField> 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 DDMFieldModelImpl
.
storageId
- the storage IDstart
- the lower bound of the range of ddm fieldsend
- the upper bound of the range of ddm fields (not inclusive)java.util.List<DDMField> findByStorageId(long storageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMField> 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 DDMFieldModelImpl
.
storageId
- the storage IDstart
- the lower bound of the range of ddm fieldsend
- the upper bound of the range of ddm fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDMField> findByStorageId(long storageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMField> 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 DDMFieldModelImpl
.
storageId
- the storage IDstart
- the lower bound of the range of ddm fieldsend
- the upper bound of the range of ddm fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDDMField findByStorageId_First(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator) throws NoSuchFieldException
storageId
- the storage IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldException
- if a matching ddm field could not be foundDDMField fetchByStorageId_First(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
storageId
- the storage IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm field could not be foundDDMField findByStorageId_Last(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator) throws NoSuchFieldException
storageId
- the storage IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldException
- if a matching ddm field could not be foundDDMField fetchByStorageId_Last(long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
storageId
- the storage IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm field could not be foundDDMField[] findByStorageId_PrevAndNext(long fieldId, long storageId, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator) throws NoSuchFieldException
fieldId
- the primary key of the current ddm fieldstorageId
- the storage IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldException
- if a ddm field with the primary key could not be foundvoid removeByStorageId(long storageId)
storageId
- the storage IDint countByStorageId(long storageId)
storageId
- the storage IDjava.util.List<DDMField> findByStructureVersionId(long structureVersionId)
structureVersionId
- the structure version IDjava.util.List<DDMField> findByStructureVersionId(long structureVersionId, 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 DDMFieldModelImpl
.
structureVersionId
- the structure version IDstart
- the lower bound of the range of ddm fieldsend
- the upper bound of the range of ddm fields (not inclusive)java.util.List<DDMField> findByStructureVersionId(long structureVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMField> 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 DDMFieldModelImpl
.
structureVersionId
- the structure version IDstart
- the lower bound of the range of ddm fieldsend
- the upper bound of the range of ddm fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDMField> findByStructureVersionId(long structureVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMField> 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 DDMFieldModelImpl
.
structureVersionId
- the structure version IDstart
- the lower bound of the range of ddm fieldsend
- the upper bound of the range of ddm fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDDMField findByStructureVersionId_First(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator) throws NoSuchFieldException
structureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldException
- if a matching ddm field could not be foundDDMField fetchByStructureVersionId_First(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
structureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm field could not be foundDDMField findByStructureVersionId_Last(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator) throws NoSuchFieldException
structureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldException
- if a matching ddm field could not be foundDDMField fetchByStructureVersionId_Last(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
structureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm field could not be foundDDMField[] findByStructureVersionId_PrevAndNext(long fieldId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator) throws NoSuchFieldException
fieldId
- the primary key of the current ddm fieldstructureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldException
- if a ddm field with the primary key could not be foundvoid removeByStructureVersionId(long structureVersionId)
structureVersionId
- the structure version IDint countByStructureVersionId(long structureVersionId)
structureVersionId
- the structure version IDjava.util.List<DDMField> findByC_F(long companyId, java.lang.String fieldType)
companyId
- the company IDfieldType
- the field typejava.util.List<DDMField> findByC_F(long companyId, java.lang.String fieldType, 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 DDMFieldModelImpl
.
companyId
- the company IDfieldType
- the field typestart
- the lower bound of the range of ddm fieldsend
- the upper bound of the range of ddm fields (not inclusive)java.util.List<DDMField> findByC_F(long companyId, java.lang.String fieldType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMField> 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 DDMFieldModelImpl
.
companyId
- the company IDfieldType
- the field typestart
- the lower bound of the range of ddm fieldsend
- the upper bound of the range of ddm fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDMField> findByC_F(long companyId, java.lang.String fieldType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMField> 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 DDMFieldModelImpl
.
companyId
- the company IDfieldType
- the field typestart
- the lower bound of the range of ddm fieldsend
- the upper bound of the range of ddm fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDDMField findByC_F_First(long companyId, java.lang.String fieldType, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator) throws NoSuchFieldException
companyId
- the company IDfieldType
- the field typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldException
- if a matching ddm field could not be foundDDMField fetchByC_F_First(long companyId, java.lang.String fieldType, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
companyId
- the company IDfieldType
- the field typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm field could not be foundDDMField findByC_F_Last(long companyId, java.lang.String fieldType, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator) throws NoSuchFieldException
companyId
- the company IDfieldType
- the field typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldException
- if a matching ddm field could not be foundDDMField fetchByC_F_Last(long companyId, java.lang.String fieldType, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator)
companyId
- the company IDfieldType
- the field typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm field could not be foundDDMField[] findByC_F_PrevAndNext(long fieldId, long companyId, java.lang.String fieldType, com.liferay.portal.kernel.util.OrderByComparator<DDMField> orderByComparator) throws NoSuchFieldException
fieldId
- the primary key of the current ddm fieldcompanyId
- the company IDfieldType
- the field typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFieldException
- if a ddm field with the primary key could not be foundvoid removeByC_F(long companyId, java.lang.String fieldType)
companyId
- the company IDfieldType
- the field typeint countByC_F(long companyId, java.lang.String fieldType)
companyId
- the company IDfieldType
- the field typeDDMField findByS_I(long storageId, java.lang.String instanceId) throws NoSuchFieldException
NoSuchFieldException
if it could not be found.storageId
- the storage IDinstanceId
- the instance IDNoSuchFieldException
- if a matching ddm field could not be foundDDMField fetchByS_I(long storageId, java.lang.String instanceId)
null
if it could not be found. Uses the finder cache.storageId
- the storage IDinstanceId
- the instance IDnull
if a matching ddm field could not be foundDDMField fetchByS_I(long storageId, java.lang.String instanceId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.storageId
- the storage IDinstanceId
- the instance IDuseFinderCache
- whether to use the finder cachenull
if a matching ddm field could not be foundDDMField removeByS_I(long storageId, java.lang.String instanceId) throws NoSuchFieldException
storageId
- the storage IDinstanceId
- the instance IDNoSuchFieldException
int countByS_I(long storageId, java.lang.String instanceId)
storageId
- the storage IDinstanceId
- the instance IDvoid cacheResult(DDMField ddmField)
ddmField
- the ddm fieldvoid cacheResult(java.util.List<DDMField> ddmFields)
ddmFields
- the ddm fieldsDDMField create(long fieldId)
fieldId
- the primary key for the new ddm fieldDDMField remove(long fieldId) throws NoSuchFieldException
fieldId
- the primary key of the ddm fieldNoSuchFieldException
- if a ddm field with the primary key could not be foundDDMField findByPrimaryKey(long fieldId) throws NoSuchFieldException
NoSuchFieldException
if it could not be found.fieldId
- the primary key of the ddm fieldNoSuchFieldException
- if a ddm field with the primary key could not be foundDDMField fetchByPrimaryKey(long fieldId)
null
if it could not be found.fieldId
- the primary key of the ddm fieldnull
if a ddm field with the primary key could not be foundjava.util.List<DDMField> findAll()
java.util.List<DDMField> 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 DDMFieldModelImpl
.
start
- the lower bound of the range of ddm fieldsend
- the upper bound of the range of ddm fields (not inclusive)java.util.List<DDMField> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMField> 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 DDMFieldModelImpl
.
start
- the lower bound of the range of ddm fieldsend
- the upper bound of the range of ddm fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DDMField> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMField> 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 DDMFieldModelImpl
.
start
- the lower bound of the range of ddm fieldsend
- the upper bound of the range of ddm fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()