Class ObjectFolderItemUtil
com.liferay.object.service.persistence.impl.ObjectFolderItemPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(ObjectFolderItem objectFolderItem) Caches the object folder item in the entity cache if it is enabled.static voidcacheResult(List<ObjectFolderItem> objectFolderItems) Caches the object folder items in the entity cache if it is enabled.static voidstatic voidclearCache(ObjectFolderItem objectFolderItem) static intcountAll()Returns the number of object folder items.static intcountByObjectDefinitionId(long objectDefinitionId) Returns the number of object folder items where objectDefinitionId = ?.static intcountByObjectFolderId(long objectFolderId) Returns the number of object folder items where objectFolderId = ?.static intcountByODI_OFI(long objectDefinitionId, long objectFolderId) Returns the number of object folder items where objectDefinitionId = ? and objectFolderId = ?.static intcountByUuid(String uuid) Returns the number of object folder items where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of object folder items where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectFolderItemcreate(long objectFolderItemId) Creates a new object folder item with the primary key.static ObjectFolderItemfetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the first object folder item in the ordered set where objectDefinitionId = ?.static ObjectFolderItemfetchByObjectFolderId_First(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the first object folder item in the ordered set where objectFolderId = ?.static ObjectFolderItemfetchByODI_OFI(long objectDefinitionId, long objectFolderId) Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or returnsnullif it could not be found.static ObjectFolderItemfetchByODI_OFI(long objectDefinitionId, long objectFolderId, boolean useFinderCache) Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or returnsnullif it could not be found, optionally using the finder cache.static ObjectFolderItemfetchByPrimaryKey(long objectFolderItemId) Returns the object folder item with the primary key or returnsnullif it could not be found.static Map<Serializable, ObjectFolderItem> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static ObjectFolderItemfetchByUuid_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 = ?.static ObjectFolderItemfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the first object folder item in the ordered set where uuid = ?.static List<ObjectFolderItem> findAll()Returns all the object folder items.static List<ObjectFolderItem> findAll(int start, int end) Returns a range of all the object folder items.static 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.static 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.static List<ObjectFolderItem> findByObjectDefinitionId(long objectDefinitionId) Returns all the object folder items where objectDefinitionId = ?.static List<ObjectFolderItem> findByObjectDefinitionId(long objectDefinitionId, int start, int end) Returns a range of all the object folder items where objectDefinitionId = ?.static 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 = ?.static 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 = ?.static ObjectFolderItemfindByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the first object folder item in the ordered set where objectDefinitionId = ?.static List<ObjectFolderItem> findByObjectFolderId(long objectFolderId) Returns all the object folder items where objectFolderId = ?.static List<ObjectFolderItem> findByObjectFolderId(long objectFolderId, int start, int end) Returns a range of all the object folder items where objectFolderId = ?.static 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 = ?.static 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 = ?.static ObjectFolderItemfindByObjectFolderId_First(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the first object folder item in the ordered set where objectFolderId = ?.static ObjectFolderItemfindByODI_OFI(long objectDefinitionId, long objectFolderId) Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or throws aNoSuchObjectFolderItemExceptionif it could not be found.static ObjectFolderItemfindByPrimaryKey(long objectFolderItemId) Returns the object folder item with the primary key or throws aNoSuchObjectFolderItemExceptionif it could not be found.static List<ObjectFolderItem> findByUuid(String uuid) Returns all the object folder items where uuid = ?.static List<ObjectFolderItem> findByUuid(String uuid, int start, int end) Returns a range of all the object folder items where uuid = ?.static 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 = ?.static 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 = ?.static List<ObjectFolderItem> findByUuid_C(String uuid, long companyId) Returns all the object folder items where uuid = ? and companyId = ?.static List<ObjectFolderItem> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object folder items where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static ObjectFolderItemfindByUuid_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 = ?.static ObjectFolderItemfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) Returns the first object folder item in the ordered set where uuid = ?.static List<ObjectFolderItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectFolderItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectFolderItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) static ObjectFolderItemPersistencestatic ObjectFolderItemremove(long objectFolderItemId) Removes the object folder item with the primary key from the database.static voidRemoves all the object folder items from the database.static voidremoveByObjectDefinitionId(long objectDefinitionId) Removes all the object folder items where objectDefinitionId = ? from the database.static voidremoveByObjectFolderId(long objectFolderId) Removes all the object folder items where objectFolderId = ? from the database.static ObjectFolderItemremoveByODI_OFI(long objectDefinitionId, long objectFolderId) Removes the object folder item where objectDefinitionId = ? and objectFolderId = ? from the database.static voidremoveByUuid(String uuid) Removes all the object folder items where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the object folder items where uuid = ? and companyId = ? from the database.static voidsetPersistence(ObjectFolderItemPersistence persistence) static ObjectFolderItemupdate(ObjectFolderItem objectFolderItem) static ObjectFolderItemupdate(ObjectFolderItem objectFolderItem, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectFolderItemupdateImpl(ObjectFolderItem objectFolderItem)
-
Constructor Details
-
ObjectFolderItemUtil
public ObjectFolderItemUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<ObjectFolderItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<ObjectFolderItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<ObjectFolderItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static ObjectFolderItem update(ObjectFolderItem objectFolderItem, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static 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
-
fetchByUuid_First
public static 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
nullif a matching object folder item 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static 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
-
fetchByUuid_C_First
public static 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
nullif a matching object folder item 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
public static List<ObjectFolderItem> findByObjectDefinitionId(long objectDefinitionId, int start, int end) Returns a range of all the object folder items where objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static 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
-
fetchByObjectDefinitionId_First
public static 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
nullif a matching object folder item could not be found
-
removeByObjectDefinitionId
public static void removeByObjectDefinitionId(long objectDefinitionId) Removes all the object folder items where objectDefinitionId = ? from the database.- Parameters:
objectDefinitionId- the object definition ID
-
countByObjectDefinitionId
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static 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
-
fetchByObjectFolderId_First
public static 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
nullif a matching object folder item could not be found
-
removeByObjectFolderId
public static void removeByObjectFolderId(long objectFolderId) Removes all the object folder items where objectFolderId = ? from the database.- Parameters:
objectFolderId- the object folder ID
-
countByObjectFolderId
public static 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
public static ObjectFolderItem findByODI_OFI(long objectDefinitionId, long objectFolderId) throws NoSuchObjectFolderItemException Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or throws aNoSuchObjectFolderItemExceptionif it could not be found.- Parameters:
objectDefinitionId- the object definition IDobjectFolderId- the object folder ID- Returns:
- the matching object folder item
-
fetchByODI_OFI
Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or returnsnullif 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
nullif a matching object folder item could not be found
-
fetchByODI_OFI
public static ObjectFolderItem fetchByODI_OFI(long objectDefinitionId, long objectFolderId, boolean useFinderCache) Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or returnsnullif 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
nullif a matching object folder item could not be found
-
removeByODI_OFI
public static 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
public static 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
public static ObjectFolderItem remove(long objectFolderItemId) throws NoSuchObjectFolderItemException 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
-
updateImpl
-
findByPrimaryKey
public static ObjectFolderItem findByPrimaryKey(long objectFolderItemId) throws NoSuchObjectFolderItemException Returns the object folder item with the primary key or throws aNoSuchObjectFolderItemExceptionif it could not be found.- Parameters:
objectFolderItemId- the primary key of the object folder item- Returns:
- the object folder item
-
fetchByPrimaryKey
Returns the object folder item with the primary key or returnsnullif it could not be found.- Parameters:
objectFolderItemId- the primary key of the object folder item- Returns:
- the object folder item, or
nullif a object folder item with the primary key could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectFolderItemModelImpl.- 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
public static void removeAll()Removes all the object folder items from the database. -
countAll
public static int countAll()Returns the number of object folder items.- Returns:
- the number of object folder items
-
getPersistence
-
setPersistence
-