Interface ObjectFolderItemPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectFolderItem>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(ObjectFolderItem objectFolderItem) Caches the object folder item in the entity cache if it is enabled.void
cacheResult
(List<ObjectFolderItem> objectFolderItems) Caches the object folder items 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
(String uuid) Returns the number of object folder items where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of object folder items where uuid = ? and companyId = ?.create
(long objectFolderItemId) Creates a new object folder item with the primary key.fetchByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the first object folder item in the ordered set where objectDefinitionId = ?.fetchByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the last object folder item in the ordered set where objectDefinitionId = ?.fetchByObjectFolderId_First
(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the first object folder item in the ordered set where objectFolderId = ?.fetchByObjectFolderId_Last
(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the last object folder item in the ordered set where objectFolderId = ?.fetchByODI_OFI
(long objectDefinitionId, long objectFolderId) Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or returnsnull
if it could not be found.fetchByODI_OFI
(long objectDefinitionId, long objectFolderId, boolean useFinderCache) Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long objectFolderItemId) Returns the object folder item with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(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 = ?.fetchByUuid_C_Last
(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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the first object folder item in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the last object folder item in the ordered set where uuid = ?.findAll()
Returns all the object folder items.findAll
(int start, int end) Returns a range of all the object folder items.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns an ordered range of all the object folder items.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.findByObjectDefinitionId
(long objectDefinitionId) Returns all the object folder items where objectDefinitionId = ?.findByObjectDefinitionId
(long objectDefinitionId, int start, int end) Returns a range of all the object folder items where objectDefinitionId = ?.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 = ?.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 = ?.findByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the first object folder item in the ordered set where objectDefinitionId = ?.findByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the last object folder item in the ordered set where objectDefinitionId = ?.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 = ?.findByObjectFolderId
(long objectFolderId) Returns all the object folder items where objectFolderId = ?.findByObjectFolderId
(long objectFolderId, int start, int end) Returns a range of all the object folder items where objectFolderId = ?.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 = ?.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 = ?.findByObjectFolderId_First
(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the first object folder item in the ordered set where objectFolderId = ?.findByObjectFolderId_Last
(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the last object folder item in the ordered set where objectFolderId = ?.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 = ?.findByODI_OFI
(long objectDefinitionId, long objectFolderId) Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or throws aNoSuchObjectFolderItemException
if it could not be found.findByPrimaryKey
(long objectFolderItemId) Returns the object folder item with the primary key or throws aNoSuchObjectFolderItemException
if it could not be found.findByUuid
(String uuid) Returns all the object folder items where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the object folder items where uuid = ?.findByUuid
(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 = ?.findByUuid
(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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the object folder items where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object folder items where uuid = ? and companyId = ?.findByUuid_C
(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 = ?.findByUuid_C
(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 = ?.findByUuid_C_First
(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 = ?.findByUuid_C_Last
(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 = ?.findByUuid_C_PrevAndNext
(long objectFolderItemId, 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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the first object folder item in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the last object folder item in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long objectFolderItemId, 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 = ?.remove
(long objectFolderItemId) Removes the object folder item with the primary key from the database.void
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.removeByODI_OFI
(long objectDefinitionId, long objectFolderId) Removes the object folder item where objectDefinitionId = ? and objectFolderId = ? from the database.void
removeByUuid
(String uuid) Removes all the object folder items where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the object folder items where uuid = ? and companyId = ? from the database.updateImpl
(ObjectFolderItem objectFolderItem) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the object folder items where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object folder items
-
findByUuid
Returns a range of all the object folder items where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
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)- Returns:
- the range of matching object folder items
-
findByUuid
List<ObjectFolderItem> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object folder items
-
findByUuid
List<ObjectFolderItem> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object folder items
-
findByUuid_First
ObjectFolderItem findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException Returns the first object folder item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object folder item
- Throws:
NoSuchObjectFolderItemException
- if a matching object folder item could not be found
-
fetchByUuid_First
ObjectFolderItem fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the first object folder item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object folder item, or
null
if a matching object folder item could not be found
-
findByUuid_Last
ObjectFolderItem findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException Returns the last object folder item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object folder item
- Throws:
NoSuchObjectFolderItemException
- if a matching object folder item could not be found
-
fetchByUuid_Last
ObjectFolderItem fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the last object folder item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object folder item, or
null
if a matching object folder item could not be found
-
findByUuid_PrevAndNext
ObjectFolderItem[] findByUuid_PrevAndNext(long objectFolderItemId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException Returns the object folder items before and after the current object folder item in the ordered set where uuid = ?.- Parameters:
objectFolderItemId
- the primary key of the current object folder itemuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object folder item
- Throws:
NoSuchObjectFolderItemException
- if a object folder item with the primary key could not be found
-
removeByUuid
Removes all the object folder items where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object folder items where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object folder items
-
findByUuid_C
Returns all the object folder items where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object folder items
-
findByUuid_C
Returns a range of all the object folder items where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
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)- Returns:
- the range of matching object folder items
-
findByUuid_C
List<ObjectFolderItem> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object folder items
-
findByUuid_C
List<ObjectFolderItem> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object folder items
-
findByUuid_C_First
ObjectFolderItem findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException Returns the first object folder item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object folder item
- Throws:
NoSuchObjectFolderItemException
- if a matching object folder item could not be found
-
fetchByUuid_C_First
ObjectFolderItem fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object folder item, or
null
if a matching object folder item could not be found
-
findByUuid_C_Last
ObjectFolderItem findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException Returns the last object folder item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object folder item
- Throws:
NoSuchObjectFolderItemException
- if a matching object folder item could not be found
-
fetchByUuid_C_Last
ObjectFolderItem fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object folder item, or
null
if a matching object folder item could not be found
-
findByUuid_C_PrevAndNext
ObjectFolderItem[] findByUuid_C_PrevAndNext(long objectFolderItemId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException Returns the object folder items before and after the current object folder item in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectFolderItemId
- the primary key of the current object folder itemuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object folder item
- Throws:
NoSuchObjectFolderItemException
- if a object folder item with the primary key could not be found
-
removeByUuid_C
Removes all the object folder items where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object folder items where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object folder items
-
findByObjectDefinitionId
Returns all the object folder items where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition ID- Returns:
- the matching object folder items
-
findByObjectDefinitionId
Returns a range of all the object folder items where objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
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)- Returns:
- the range of matching object folder items
-
findByObjectDefinitionId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object folder items
-
findByObjectDefinitionId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object folder items
-
findByObjectDefinitionId_First
ObjectFolderItem findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException Returns the first object folder item in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object folder item
- Throws:
NoSuchObjectFolderItemException
- if a matching object folder item could not be found
-
fetchByObjectDefinitionId_First
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 = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object folder item, or
null
if a matching object folder item could not be found
-
findByObjectDefinitionId_Last
ObjectFolderItem findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException Returns the last object folder item in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object folder item
- Throws:
NoSuchObjectFolderItemException
- if a matching object folder item could not be found
-
fetchByObjectDefinitionId_Last
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 = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object folder item, or
null
if a matching object folder item could not be found
-
findByObjectDefinitionId_PrevAndNext
ObjectFolderItem[] findByObjectDefinitionId_PrevAndNext(long objectFolderItemId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException Returns the object folder items before and after the current object folder item in the ordered set where objectDefinitionId = ?.- Parameters:
objectFolderItemId
- the primary key of the current object folder itemobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object folder item
- Throws:
NoSuchObjectFolderItemException
- if a object folder item with the primary key could not be found
-
removeByObjectDefinitionId
void removeByObjectDefinitionId(long objectDefinitionId) Removes all the object folder items where objectDefinitionId = ? from the database.- Parameters:
objectDefinitionId
- the object definition ID
-
countByObjectDefinitionId
int countByObjectDefinitionId(long objectDefinitionId) Returns the number of object folder items where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition ID- Returns:
- the number of matching object folder items
-
findByObjectFolderId
Returns all the object folder items where objectFolderId = ?.- Parameters:
objectFolderId
- the object folder ID- Returns:
- the matching object folder items
-
findByObjectFolderId
Returns a range of all the object folder items where objectFolderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
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)- Returns:
- the range of matching object folder items
-
findByObjectFolderId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object folder items
-
findByObjectFolderId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object folder items
-
findByObjectFolderId_First
ObjectFolderItem findByObjectFolderId_First(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException Returns the first object folder item in the ordered set where objectFolderId = ?.- Parameters:
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object folder item
- Throws:
NoSuchObjectFolderItemException
- if a matching object folder item could not be found
-
fetchByObjectFolderId_First
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 = ?.- Parameters:
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object folder item, or
null
if a matching object folder item could not be found
-
findByObjectFolderId_Last
ObjectFolderItem findByObjectFolderId_Last(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException Returns the last object folder item in the ordered set where objectFolderId = ?.- Parameters:
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object folder item
- Throws:
NoSuchObjectFolderItemException
- if a matching object folder item could not be found
-
fetchByObjectFolderId_Last
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 = ?.- Parameters:
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object folder item, or
null
if a matching object folder item could not be found
-
findByObjectFolderId_PrevAndNext
ObjectFolderItem[] findByObjectFolderId_PrevAndNext(long objectFolderItemId, long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException Returns the object folder items before and after the current object folder item in the ordered set where objectFolderId = ?.- Parameters:
objectFolderItemId
- the primary key of the current object folder itemobjectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object folder item
- Throws:
NoSuchObjectFolderItemException
- if a object folder item with the primary key could not be found
-
removeByObjectFolderId
void removeByObjectFolderId(long objectFolderId) Removes all the object folder items where objectFolderId = ? from the database.- Parameters:
objectFolderId
- the object folder ID
-
countByObjectFolderId
int countByObjectFolderId(long objectFolderId) Returns the number of object folder items where objectFolderId = ?.- Parameters:
objectFolderId
- the object folder ID- Returns:
- the number of matching object folder items
-
findByODI_OFI
ObjectFolderItem findByODI_OFI(long objectDefinitionId, long objectFolderId) throws NoSuchObjectFolderItemException Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or throws aNoSuchObjectFolderItemException
if it could not be found.- Parameters:
objectDefinitionId
- the object definition IDobjectFolderId
- the object folder ID- Returns:
- the matching object folder item
- Throws:
NoSuchObjectFolderItemException
- if a matching object folder item could not be found
-
fetchByODI_OFI
Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
objectDefinitionId
- the object definition IDobjectFolderId
- the object folder ID- Returns:
- the matching object folder item, or
null
if a matching object folder item could not be found
-
fetchByODI_OFI
ObjectFolderItem fetchByODI_OFI(long objectDefinitionId, long objectFolderId, boolean useFinderCache) Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
objectDefinitionId
- the object definition IDobjectFolderId
- the object folder IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching object folder item, or
null
if a matching object folder item could not be found
-
removeByODI_OFI
ObjectFolderItem removeByODI_OFI(long objectDefinitionId, long objectFolderId) throws NoSuchObjectFolderItemException Removes the object folder item where objectDefinitionId = ? and objectFolderId = ? from the database.- Parameters:
objectDefinitionId
- the object definition IDobjectFolderId
- the object folder ID- Returns:
- the object folder item that was removed
- Throws:
NoSuchObjectFolderItemException
-
countByODI_OFI
int countByODI_OFI(long objectDefinitionId, long objectFolderId) Returns the number of object folder items where objectDefinitionId = ? and objectFolderId = ?.- Parameters:
objectDefinitionId
- the object definition IDobjectFolderId
- the object folder ID- Returns:
- the number of matching object folder items
-
cacheResult
Caches the object folder item in the entity cache if it is enabled.- Parameters:
objectFolderItem
- the object folder item
-
cacheResult
Caches the object folder items in the entity cache if it is enabled.- Parameters:
objectFolderItems
- the object folder items
-
create
Creates a new object folder item with the primary key. Does not add the object folder item to the database.- Parameters:
objectFolderItemId
- the primary key for the new object folder item- Returns:
- the new object folder item
-
remove
Removes the object folder item with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectFolderItemId
- the primary key of the object folder item- Returns:
- the object folder item that was removed
- Throws:
NoSuchObjectFolderItemException
- if a object folder item with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the object folder item with the primary key or throws aNoSuchObjectFolderItemException
if it could not be found.- Parameters:
objectFolderItemId
- the primary key of the object folder item- Returns:
- the object folder item
- Throws:
NoSuchObjectFolderItemException
- if a object folder item with the primary key could not be found
-
fetchByPrimaryKey
Returns the object folder item with the primary key or returnsnull
if it could not be found.- Parameters:
objectFolderItemId
- the primary key of the object folder item- Returns:
- the object folder item, or
null
if a object folder item with the primary key could not be found
-
findAll
List<ObjectFolderItem> findAll()Returns all the object folder items.- Returns:
- the object folder items
-
findAll
Returns a range of all the object folder items.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
start
- the lower bound of the range of object folder itemsend
- the upper bound of the range of object folder items (not inclusive)- Returns:
- the range of object folder items
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of object folder items
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderItemModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of object folder items
-
removeAll
void removeAll()Removes all the object folder items from the database. -
countAll
int countAll()Returns the number of object folder items.- Returns:
- the number of object folder items
-