@ProviderType public interface ObjectFolderItemPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectFolderItem>
Caching information and settings can be found in portal.properties
ObjectFolderItemUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ObjectFolderItem> objectFolderItems)
Caches the object folder items in the entity cache if it is enabled.
|
void |
cacheResult(ObjectFolderItem objectFolderItem)
Caches the object folder item in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of object folder items.
|
int |
countByObjectDefinitionId(long objectDefinitionId)
Returns the number of object folder items where objectDefinitionId = ?.
|
int |
countByObjectFolderId(long objectFolderId)
Returns the number of object folder items where objectFolderId = ?.
|
int |
countByODI_OFI(long objectDefinitionId,
long objectFolderId)
Returns the number of object folder items where objectDefinitionId = ? and objectFolderId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object folder items where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of object folder items where uuid = ?.
|
ObjectFolderItem |
create(long objectFolderItemId)
Creates a new object folder item with the primary key.
|
ObjectFolderItem |
fetchByObjectDefinitionId_First(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the first object folder item in the ordered set where objectDefinitionId = ?.
|
ObjectFolderItem |
fetchByObjectDefinitionId_Last(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the last object folder item in the ordered set where objectDefinitionId = ?.
|
ObjectFolderItem |
fetchByObjectFolderId_First(long objectFolderId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the first object folder item in the ordered set where objectFolderId = ?.
|
ObjectFolderItem |
fetchByObjectFolderId_Last(long objectFolderId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the last object folder item in the ordered set where objectFolderId = ?.
|
ObjectFolderItem |
fetchByODI_OFI(long objectDefinitionId,
long objectFolderId)
Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or returns
null if it could not be found. |
ObjectFolderItem |
fetchByODI_OFI(long objectDefinitionId,
long objectFolderId,
boolean useFinderCache)
Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or returns
null if it could not be found, optionally using the finder cache. |
ObjectFolderItem |
fetchByPrimaryKey(long objectFolderItemId)
Returns the object folder item with the primary key or returns
null if it could not be found. |
ObjectFolderItem |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the first object folder item in the ordered set where uuid = ? and companyId = ?.
|
ObjectFolderItem |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the last object folder item in the ordered set where uuid = ? and companyId = ?.
|
ObjectFolderItem |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the first object folder item in the ordered set where uuid = ?.
|
ObjectFolderItem |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the last object folder item in the ordered set where uuid = ?.
|
java.util.List<ObjectFolderItem> |
findAll()
Returns all the object folder items.
|
java.util.List<ObjectFolderItem> |
findAll(int start,
int end)
Returns a range of all the object folder items.
|
java.util.List<ObjectFolderItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns an ordered range of all the object folder items.
|
java.util.List<ObjectFolderItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object folder items.
|
ObjectFolderItem |
findByObjectDefinitionId_First(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the first object folder item in the ordered set where objectDefinitionId = ?.
|
ObjectFolderItem |
findByObjectDefinitionId_Last(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the last object folder item in the ordered set where objectDefinitionId = ?.
|
ObjectFolderItem[] |
findByObjectDefinitionId_PrevAndNext(long objectFolderItemId,
long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the object folder items before and after the current object folder item in the ordered set where objectDefinitionId = ?.
|
java.util.List<ObjectFolderItem> |
findByObjectDefinitionId(long objectDefinitionId)
Returns all the object folder items where objectDefinitionId = ?.
|
java.util.List<ObjectFolderItem> |
findByObjectDefinitionId(long objectDefinitionId,
int start,
int end)
Returns a range of all the object folder items where objectDefinitionId = ?.
|
java.util.List<ObjectFolderItem> |
findByObjectDefinitionId(long objectDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns an ordered range of all the object folder items where objectDefinitionId = ?.
|
java.util.List<ObjectFolderItem> |
findByObjectDefinitionId(long objectDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object folder items where objectDefinitionId = ?.
|
ObjectFolderItem |
findByObjectFolderId_First(long objectFolderId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the first object folder item in the ordered set where objectFolderId = ?.
|
ObjectFolderItem |
findByObjectFolderId_Last(long objectFolderId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the last object folder item in the ordered set where objectFolderId = ?.
|
ObjectFolderItem[] |
findByObjectFolderId_PrevAndNext(long objectFolderItemId,
long objectFolderId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the object folder items before and after the current object folder item in the ordered set where objectFolderId = ?.
|
java.util.List<ObjectFolderItem> |
findByObjectFolderId(long objectFolderId)
Returns all the object folder items where objectFolderId = ?.
|
java.util.List<ObjectFolderItem> |
findByObjectFolderId(long objectFolderId,
int start,
int end)
Returns a range of all the object folder items where objectFolderId = ?.
|
java.util.List<ObjectFolderItem> |
findByObjectFolderId(long objectFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns an ordered range of all the object folder items where objectFolderId = ?.
|
java.util.List<ObjectFolderItem> |
findByObjectFolderId(long objectFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object folder items where objectFolderId = ?.
|
ObjectFolderItem |
findByODI_OFI(long objectDefinitionId,
long objectFolderId)
Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or throws a
NoSuchObjectFolderItemException if it could not be found. |
ObjectFolderItem |
findByPrimaryKey(long objectFolderItemId)
Returns the object folder item with the primary key or throws a
NoSuchObjectFolderItemException if it could not be found. |
ObjectFolderItem |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the first object folder item in the ordered set where uuid = ? and companyId = ?.
|
ObjectFolderItem |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the last object folder item in the ordered set where uuid = ? and companyId = ?.
|
ObjectFolderItem[] |
findByUuid_C_PrevAndNext(long objectFolderItemId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the object folder items before and after the current object folder item in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<ObjectFolderItem> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object folder items where uuid = ? and companyId = ?.
|
java.util.List<ObjectFolderItem> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object folder items where uuid = ? and companyId = ?.
|
java.util.List<ObjectFolderItem> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns an ordered range of all the object folder items where uuid = ? and companyId = ?.
|
java.util.List<ObjectFolderItem> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object folder items where uuid = ? and companyId = ?.
|
ObjectFolderItem |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the first object folder item in the ordered set where uuid = ?.
|
ObjectFolderItem |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the last object folder item in the ordered set where uuid = ?.
|
ObjectFolderItem[] |
findByUuid_PrevAndNext(long objectFolderItemId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns the object folder items before and after the current object folder item in the ordered set where uuid = ?.
|
java.util.List<ObjectFolderItem> |
findByUuid(java.lang.String uuid)
Returns all the object folder items where uuid = ?.
|
java.util.List<ObjectFolderItem> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object folder items where uuid = ?.
|
java.util.List<ObjectFolderItem> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
Returns an ordered range of all the object folder items where uuid = ?.
|
java.util.List<ObjectFolderItem> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object folder items where uuid = ?.
|
ObjectFolderItem |
remove(long objectFolderItemId)
Removes the object folder item with the primary key from the database.
|
void |
removeAll()
Removes all the object folder items from the database.
|
void |
removeByObjectDefinitionId(long objectDefinitionId)
Removes all the object folder items where objectDefinitionId = ? from the database.
|
void |
removeByObjectFolderId(long objectFolderId)
Removes all the object folder items where objectFolderId = ? from the database.
|
ObjectFolderItem |
removeByODI_OFI(long objectDefinitionId,
long objectFolderId)
Removes the object folder item where objectDefinitionId = ? and objectFolderId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object folder items where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the object folder items where uuid = ? from the database.
|
ObjectFolderItem |
updateImpl(ObjectFolderItem objectFolderItem) |
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<ObjectFolderItem> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectFolderItem> 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 ObjectFolderItemModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)java.util.List<ObjectFolderItem> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> 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 ObjectFolderItemModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectFolderItem> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> 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 ObjectFolderItemModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectFolderItem findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderItemException
- if a matching object folder item could not be foundObjectFolderItem fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object folder item could not be foundObjectFolderItem findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderItemException
- if a matching object folder item could not be foundObjectFolderItem fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object folder item could not be foundObjectFolderItem[] findByUuid_PrevAndNext(long objectFolderItemId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
objectFolderItemId
- the primary key of the current object folder itemuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderItemException
- if a object folder item 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<ObjectFolderItem> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectFolderItem> 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 ObjectFolderItemModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)java.util.List<ObjectFolderItem> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> 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 ObjectFolderItemModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectFolderItem> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> 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 ObjectFolderItemModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectFolderItem findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderItemException
- if a matching object folder item could not be foundObjectFolderItem fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object folder item could not be foundObjectFolderItem findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderItemException
- if a matching object folder item could not be foundObjectFolderItem fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object folder item could not be foundObjectFolderItem[] findByUuid_C_PrevAndNext(long objectFolderItemId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
objectFolderItemId
- the primary key of the current object folder itemuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderItemException
- if a object folder item 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<ObjectFolderItem> findByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDjava.util.List<ObjectFolderItem> 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 ObjectFolderItemModelImpl
.
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)java.util.List<ObjectFolderItem> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> 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 ObjectFolderItemModelImpl
.
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectFolderItem> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> 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 ObjectFolderItemModelImpl
.
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectFolderItem findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderItemException
- if a matching object folder item could not be foundObjectFolderItem fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object folder item could not be foundObjectFolderItem findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderItemException
- if a matching object folder item could not be foundObjectFolderItem fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object folder item could not be foundObjectFolderItem[] findByObjectDefinitionId_PrevAndNext(long objectFolderItemId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
objectFolderItemId
- the primary key of the current object folder itemobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderItemException
- if a object folder item 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<ObjectFolderItem> findByObjectFolderId(long objectFolderId)
objectFolderId
- the object folder IDjava.util.List<ObjectFolderItem> findByObjectFolderId(long objectFolderId, 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 ObjectFolderItemModelImpl
.
objectFolderId
- the object folder IDstart
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)java.util.List<ObjectFolderItem> findByObjectFolderId(long objectFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> 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 ObjectFolderItemModelImpl
.
objectFolderId
- the object folder IDstart
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectFolderItem> findByObjectFolderId(long objectFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> 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 ObjectFolderItemModelImpl
.
objectFolderId
- the object folder IDstart
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheObjectFolderItem findByObjectFolderId_First(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderItemException
- if a matching object folder item could not be foundObjectFolderItem fetchByObjectFolderId_First(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object folder item could not be foundObjectFolderItem findByObjectFolderId_Last(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderItemException
- if a matching object folder item could not be foundObjectFolderItem fetchByObjectFolderId_Last(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object folder item could not be foundObjectFolderItem[] findByObjectFolderId_PrevAndNext(long objectFolderItemId, long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
objectFolderItemId
- the primary key of the current object folder itemobjectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderItemException
- if a object folder item with the primary key could not be foundvoid removeByObjectFolderId(long objectFolderId)
objectFolderId
- the object folder IDint countByObjectFolderId(long objectFolderId)
objectFolderId
- the object folder IDObjectFolderItem findByODI_OFI(long objectDefinitionId, long objectFolderId) throws NoSuchObjectFolderItemException
NoSuchObjectFolderItemException
if it could not be found.objectDefinitionId
- the object definition IDobjectFolderId
- the object folder IDNoSuchObjectFolderItemException
- if a matching object folder item could not be foundObjectFolderItem fetchByODI_OFI(long objectDefinitionId, long objectFolderId)
null
if it could not be found. Uses the finder cache.objectDefinitionId
- the object definition IDobjectFolderId
- the object folder IDnull
if a matching object folder item could not be foundObjectFolderItem fetchByODI_OFI(long objectDefinitionId, long objectFolderId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.objectDefinitionId
- the object definition IDobjectFolderId
- the object folder IDuseFinderCache
- whether to use the finder cachenull
if a matching object folder item could not be foundObjectFolderItem removeByODI_OFI(long objectDefinitionId, long objectFolderId) throws NoSuchObjectFolderItemException
objectDefinitionId
- the object definition IDobjectFolderId
- the object folder IDNoSuchObjectFolderItemException
int countByODI_OFI(long objectDefinitionId, long objectFolderId)
objectDefinitionId
- the object definition IDobjectFolderId
- the object folder IDvoid cacheResult(ObjectFolderItem objectFolderItem)
objectFolderItem
- the object folder itemvoid cacheResult(java.util.List<ObjectFolderItem> objectFolderItems)
objectFolderItems
- the object folder itemsObjectFolderItem create(long objectFolderItemId)
objectFolderItemId
- the primary key for the new object folder itemObjectFolderItem remove(long objectFolderItemId) throws NoSuchObjectFolderItemException
objectFolderItemId
- the primary key of the object folder itemNoSuchObjectFolderItemException
- if a object folder item with the primary key could not be foundObjectFolderItem updateImpl(ObjectFolderItem objectFolderItem)
ObjectFolderItem findByPrimaryKey(long objectFolderItemId) throws NoSuchObjectFolderItemException
NoSuchObjectFolderItemException
if it could not be found.objectFolderItemId
- the primary key of the object folder itemNoSuchObjectFolderItemException
- if a object folder item with the primary key could not be foundObjectFolderItem fetchByPrimaryKey(long objectFolderItemId)
null
if it could not be found.objectFolderItemId
- the primary key of the object folder itemnull
if a object folder item with the primary key could not be foundjava.util.List<ObjectFolderItem> findAll()
java.util.List<ObjectFolderItem> 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 ObjectFolderItemModelImpl
.
start
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)java.util.List<ObjectFolderItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> 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 ObjectFolderItemModelImpl
.
start
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ObjectFolderItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> 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 ObjectFolderItemModelImpl
.
start
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()