@ProviderType public interface ObjectFieldPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectField>
Caching information and settings can be found in portal.properties
ObjectFieldUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ObjectField> objectFields)
Caches the object fields in the entity cache if it is enabled.
|
void |
cacheResult(ObjectField objectField)
Caches the object field in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of object fields.
|
int |
countByListTypeDefinitionId(long listTypeDefinitionId)
Returns the number of object fields where listTypeDefinitionId = ?.
|
int |
countByObjectDefinitionId(long objectDefinitionId)
Returns the number of object fields where objectDefinitionId = ?.
|
int |
countByODI_DTN(long objectDefinitionId,
java.lang.String dbTableName)
Returns the number of object fields where objectDefinitionId = ? and dbTableName = ?.
|
int |
countByODI_N(long objectDefinitionId,
java.lang.String name)
Returns the number of object fields where objectDefinitionId = ? and name = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object fields where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of object fields where uuid = ?.
|
ObjectField |
create(long objectFieldId)
Creates a new object field with the primary key.
|
ObjectField |
fetchByListTypeDefinitionId_First(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where listTypeDefinitionId = ?.
|
ObjectField |
fetchByListTypeDefinitionId_Last(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where listTypeDefinitionId = ?.
|
ObjectField |
fetchByObjectDefinitionId_First(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ?.
|
ObjectField |
fetchByObjectDefinitionId_Last(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ?.
|
ObjectField |
fetchByODI_DTN_First(long objectDefinitionId,
java.lang.String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
|
ObjectField |
fetchByODI_DTN_Last(long objectDefinitionId,
java.lang.String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
|
ObjectField |
fetchByODI_N(long objectDefinitionId,
java.lang.String name)
Returns the object field where objectDefinitionId = ? and name = ? or returns
null if it could not be found. |
ObjectField |
fetchByODI_N(long objectDefinitionId,
java.lang.String name,
boolean useFinderCache)
Returns the object field where objectDefinitionId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
ObjectField |
fetchByPrimaryKey(long objectFieldId)
Returns the object field with the primary key or returns
null if it could not be found. |
ObjectField |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where uuid = ? and companyId = ?.
|
ObjectField |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where uuid = ? and companyId = ?.
|
ObjectField |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where uuid = ?.
|
ObjectField |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where uuid = ?.
|
java.util.List<ObjectField> |
findAll()
Returns all the object fields.
|
java.util.List<ObjectField> |
findAll(int start,
int end)
Returns a range of all the object fields.
|
java.util.List<ObjectField> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields.
|
java.util.List<ObjectField> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields.
|
ObjectField |
findByListTypeDefinitionId_First(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where listTypeDefinitionId = ?.
|
ObjectField |
findByListTypeDefinitionId_Last(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where listTypeDefinitionId = ?.
|
ObjectField[] |
findByListTypeDefinitionId_PrevAndNext(long objectFieldId,
long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where listTypeDefinitionId = ?.
|
java.util.List<ObjectField> |
findByListTypeDefinitionId(long listTypeDefinitionId)
Returns all the object fields where listTypeDefinitionId = ?.
|
java.util.List<ObjectField> |
findByListTypeDefinitionId(long listTypeDefinitionId,
int start,
int end)
Returns a range of all the object fields where listTypeDefinitionId = ?.
|
java.util.List<ObjectField> |
findByListTypeDefinitionId(long listTypeDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where listTypeDefinitionId = ?.
|
java.util.List<ObjectField> |
findByListTypeDefinitionId(long listTypeDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where listTypeDefinitionId = ?.
|
ObjectField |
findByObjectDefinitionId_First(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ?.
|
ObjectField |
findByObjectDefinitionId_Last(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ?.
|
ObjectField[] |
findByObjectDefinitionId_PrevAndNext(long objectFieldId,
long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ?.
|
java.util.List<ObjectField> |
findByObjectDefinitionId(long objectDefinitionId)
Returns all the object fields where objectDefinitionId = ?.
|
java.util.List<ObjectField> |
findByObjectDefinitionId(long objectDefinitionId,
int start,
int end)
Returns a range of all the object fields where objectDefinitionId = ?.
|
java.util.List<ObjectField> |
findByObjectDefinitionId(long objectDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where objectDefinitionId = ?.
|
java.util.List<ObjectField> |
findByObjectDefinitionId(long objectDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where objectDefinitionId = ?.
|
ObjectField |
findByODI_DTN_First(long objectDefinitionId,
java.lang.String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
|
ObjectField |
findByODI_DTN_Last(long objectDefinitionId,
java.lang.String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
|
ObjectField[] |
findByODI_DTN_PrevAndNext(long objectFieldId,
long objectDefinitionId,
java.lang.String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
|
java.util.List<ObjectField> |
findByODI_DTN(long objectDefinitionId,
java.lang.String dbTableName)
Returns all the object fields where objectDefinitionId = ? and dbTableName = ?.
|
java.util.List<ObjectField> |
findByODI_DTN(long objectDefinitionId,
java.lang.String dbTableName,
int start,
int end)
Returns a range of all the object fields where objectDefinitionId = ? and dbTableName = ?.
|
java.util.List<ObjectField> |
findByODI_DTN(long objectDefinitionId,
java.lang.String dbTableName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where objectDefinitionId = ? and dbTableName = ?.
|
java.util.List<ObjectField> |
findByODI_DTN(long objectDefinitionId,
java.lang.String dbTableName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where objectDefinitionId = ? and dbTableName = ?.
|
ObjectField |
findByODI_N(long objectDefinitionId,
java.lang.String name)
Returns the object field where objectDefinitionId = ? and name = ? or throws a
NoSuchObjectFieldException if it could not be found. |
ObjectField |
findByPrimaryKey(long objectFieldId)
Returns the object field with the primary key or throws a
NoSuchObjectFieldException if it could not be found. |
ObjectField |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where uuid = ? and companyId = ?.
|
ObjectField |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where uuid = ? and companyId = ?.
|
ObjectField[] |
findByUuid_C_PrevAndNext(long objectFieldId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<ObjectField> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object fields where uuid = ? and companyId = ?.
|
java.util.List<ObjectField> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object fields where uuid = ? and companyId = ?.
|
java.util.List<ObjectField> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where uuid = ? and companyId = ?.
|
java.util.List<ObjectField> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where uuid = ? and companyId = ?.
|
ObjectField |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where uuid = ?.
|
ObjectField |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where uuid = ?.
|
ObjectField[] |
findByUuid_PrevAndNext(long objectFieldId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where uuid = ?.
|
java.util.List<ObjectField> |
findByUuid(java.lang.String uuid)
Returns all the object fields where uuid = ?.
|
java.util.List<ObjectField> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object fields where uuid = ?.
|
java.util.List<ObjectField> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where uuid = ?.
|
java.util.List<ObjectField> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where uuid = ?.
|
ObjectField |
remove(long objectFieldId)
Removes the object field with the primary key from the database.
|
void |
removeAll()
Removes all the object fields from the database.
|
void |
removeByListTypeDefinitionId(long listTypeDefinitionId)
Removes all the object fields where listTypeDefinitionId = ? from the database.
|
void |
removeByObjectDefinitionId(long objectDefinitionId)
Removes all the object fields where objectDefinitionId = ? from the database.
|
void |
removeByODI_DTN(long objectDefinitionId,
java.lang.String dbTableName)
Removes all the object fields where objectDefinitionId = ? and dbTableName = ? from the database.
|
ObjectField |
removeByODI_N(long objectDefinitionId,
java.lang.String name)
Removes the object field where objectDefinitionId = ? and name = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object fields where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the object fields where uuid = ? from the database.
|
ObjectField |
updateImpl(ObjectField objectField) |
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<ObjectField> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectField> findByUuid(java.lang.String uuid, 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 ObjectFieldModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)java.util.List<ObjectField> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> 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 ObjectFieldModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectField> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> 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 ObjectFieldModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectField findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundObjectField fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundObjectField findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundObjectField fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundObjectField[] findByUuid_PrevAndNext(long objectFieldId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fielduuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectField> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectField> findByUuid_C(java.lang.String uuid, long companyId, 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 ObjectFieldModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)java.util.List<ObjectField> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> 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 ObjectFieldModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectField> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> 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 ObjectFieldModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectField findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundObjectField fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundObjectField findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundObjectField fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundObjectField[] findByUuid_C_PrevAndNext(long objectFieldId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fielduuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectField> findByListTypeDefinitionId(long listTypeDefinitionId)
listTypeDefinitionId
- the list type definition IDjava.util.List<ObjectField> findByListTypeDefinitionId(long listTypeDefinitionId, 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 ObjectFieldModelImpl
.
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)java.util.List<ObjectField> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> 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 ObjectFieldModelImpl
.
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectField> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> 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 ObjectFieldModelImpl
.
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectField findByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundObjectField fetchByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundObjectField findByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundObjectField fetchByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundObjectField[] findByListTypeDefinitionId_PrevAndNext(long objectFieldId, long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fieldlistTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundvoid removeByListTypeDefinitionId(long listTypeDefinitionId)
listTypeDefinitionId
- the list type definition IDint countByListTypeDefinitionId(long listTypeDefinitionId)
listTypeDefinitionId
- the list type definition IDjava.util.List<ObjectField> findByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDjava.util.List<ObjectField> findByObjectDefinitionId(long objectDefinitionId, 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 ObjectFieldModelImpl
.
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)java.util.List<ObjectField> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> 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 ObjectFieldModelImpl
.
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectField> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> 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 ObjectFieldModelImpl
.
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectField findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundObjectField fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundObjectField findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundObjectField fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundObjectField[] findByObjectDefinitionId_PrevAndNext(long objectFieldId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fieldobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundvoid removeByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDint countByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDjava.util.List<ObjectField> findByODI_DTN(long objectDefinitionId, java.lang.String dbTableName)
objectDefinitionId
- the object definition IDdbTableName
- the db table namejava.util.List<ObjectField> findByODI_DTN(long objectDefinitionId, java.lang.String dbTableName, 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 ObjectFieldModelImpl
.
objectDefinitionId
- the object definition IDdbTableName
- the db table namestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)java.util.List<ObjectField> findByODI_DTN(long objectDefinitionId, java.lang.String dbTableName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> 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 ObjectFieldModelImpl
.
objectDefinitionId
- the object definition IDdbTableName
- the db table namestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectField> findByODI_DTN(long objectDefinitionId, java.lang.String dbTableName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> 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 ObjectFieldModelImpl
.
objectDefinitionId
- the object definition IDdbTableName
- the db table namestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectField findByODI_DTN_First(long objectDefinitionId, java.lang.String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundObjectField fetchByODI_DTN_First(long objectDefinitionId, java.lang.String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundObjectField findByODI_DTN_Last(long objectDefinitionId, java.lang.String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundObjectField fetchByODI_DTN_Last(long objectDefinitionId, java.lang.String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundObjectField[] findByODI_DTN_PrevAndNext(long objectFieldId, long objectDefinitionId, java.lang.String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fieldobjectDefinitionId
- the object definition IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundvoid removeByODI_DTN(long objectDefinitionId, java.lang.String dbTableName)
objectDefinitionId
- the object definition IDdbTableName
- the db table nameint countByODI_DTN(long objectDefinitionId, java.lang.String dbTableName)
objectDefinitionId
- the object definition IDdbTableName
- the db table nameObjectField findByODI_N(long objectDefinitionId, java.lang.String name) throws NoSuchObjectFieldException
NoSuchObjectFieldException
if it could not be found.objectDefinitionId
- the object definition IDname
- the nameNoSuchObjectFieldException
- if a matching object field could not be foundObjectField fetchByODI_N(long objectDefinitionId, java.lang.String name)
null
if it could not be found. Uses the finder cache.objectDefinitionId
- the object definition IDname
- the namenull
if a matching object field could not be foundObjectField fetchByODI_N(long objectDefinitionId, java.lang.String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.objectDefinitionId
- the object definition IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching object field could not be foundObjectField removeByODI_N(long objectDefinitionId, java.lang.String name) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDname
- the nameNoSuchObjectFieldException
int countByODI_N(long objectDefinitionId, java.lang.String name)
objectDefinitionId
- the object definition IDname
- the namevoid cacheResult(ObjectField objectField)
objectField
- the object fieldvoid cacheResult(java.util.List<ObjectField> objectFields)
objectFields
- the object fieldsObjectField create(long objectFieldId)
objectFieldId
- the primary key for the new object fieldObjectField remove(long objectFieldId) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the object fieldNoSuchObjectFieldException
- if a object field with the primary key could not be foundObjectField updateImpl(ObjectField objectField)
ObjectField findByPrimaryKey(long objectFieldId) throws NoSuchObjectFieldException
NoSuchObjectFieldException
if it could not be found.objectFieldId
- the primary key of the object fieldNoSuchObjectFieldException
- if a object field with the primary key could not be foundObjectField fetchByPrimaryKey(long objectFieldId)
null
if it could not be found.objectFieldId
- the primary key of the object fieldnull
if a object field with the primary key could not be foundjava.util.List<ObjectField> findAll()
java.util.List<ObjectField> 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 ObjectFieldModelImpl
.
start
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)java.util.List<ObjectField> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> 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 ObjectFieldModelImpl
.
start
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectField> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> 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 ObjectFieldModelImpl
.
start
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()