Class ObjectEntryFolderUtil
com.liferay.object.service.persistence.impl.ObjectEntryFolderPersistenceImpl 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(ObjectEntryFolder objectEntryFolder) static voidcacheResult(List<ObjectEntryFolder> objectEntryFolders) static voidstatic voidclearCache(ObjectEntryFolder objectEntryFolder) static intcountByERC_G_C(String externalReferenceCode, long groupId, long companyId) Returns the number of object entry folders where externalReferenceCode = ? and groupId = ? and companyId = ?.static intcountByG_C_LikeT(long groupId, long companyId, String treePath) Returns the number of object entry folders where groupId = ? and companyId = ? and treePath LIKE ?.static intcountByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId) Returns the number of object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.static intcountByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status) Returns the number of object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.static intcountByUuid(String uuid) Returns the number of object entry folders where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of object entry folders where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of object entry folders where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectEntryFoldercreate(long objectEntryFolderId) Creates a new object entry folder with the primary key.static ObjectEntryFolderfetchByERC_G_C(String externalReferenceCode, long groupId, long companyId) Returns the object entry folder where externalReferenceCode = ? and groupId = ? and companyId = ? or returnsnullif it could not be found.static ObjectEntryFolderfetchByERC_G_C(String externalReferenceCode, long groupId, long companyId, boolean useFinderCache) Returns the object entry folder where externalReferenceCode = ? and groupId = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static ObjectEntryFolderfetchByG_C_LikeT_First(long groupId, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder in the ordered set where groupId = ? and companyId = ? and treePath LIKE ?.static ObjectEntryFolderfetchByG_C_P_First(long groupId, long companyId, long parentObjectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder in the ordered set where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.static ObjectEntryFolderfetchByG_C_P_N_NotS_First(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder in the ordered set where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.static ObjectEntryFolderfetchByPrimaryKey(long objectEntryFolderId) Returns the object entry folder with the primary key or returnsnullif it could not be found.static Map<Serializable, ObjectEntryFolder> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static ObjectEntryFolderfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder in the ordered set where uuid = ? and companyId = ?.static ObjectEntryFolderfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder in the ordered set where uuid = ?.static ObjectEntryFolderfetchByUUID_G(String uuid, long groupId) Returns the object entry folder where uuid = ? and groupId = ? or returnsnullif it could not be found.static ObjectEntryFolderfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the object entry folder where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static intfilterCountByG_C_LikeT(long groupId, long companyId, String treePath) Returns the number of object entry folders that the user has permission to view where groupId = ? and companyId = ? and treePath LIKE ?.static intfilterCountByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId) Returns the number of object entry folders that the user has permission to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.static intfilterCountByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status) Returns the number of object entry folders that the user has permission to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.static List<ObjectEntryFolder> filterFindByG_C_LikeT(long groupId, long companyId, String treePath) Returns all the object entry folders that the user has permission to view where groupId = ? and companyId = ? and treePath LIKE ?.static List<ObjectEntryFolder> filterFindByG_C_LikeT(long groupId, long companyId, String treePath, int start, int end) Returns a range of all the object entry folders that the user has permission to view where groupId = ? and companyId = ? and treePath LIKE ?.static List<ObjectEntryFolder> filterFindByG_C_LikeT(long groupId, long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders that the user has permissions to view where groupId = ? and companyId = ? and treePath LIKE ?.static List<ObjectEntryFolder> filterFindByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId) Returns all the object entry folders that the user has permission to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.static List<ObjectEntryFolder> filterFindByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId, int start, int end) Returns a range of all the object entry folders that the user has permission to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.static List<ObjectEntryFolder> filterFindByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders that the user has permissions to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.static List<ObjectEntryFolder> filterFindByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status) Returns all the object entry folders that the user has permission to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.static List<ObjectEntryFolder> filterFindByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status, int start, int end) Returns a range of all the object entry folders that the user has permission to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.static List<ObjectEntryFolder> filterFindByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders that the user has permissions to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.static ObjectEntryFolderfindByERC_G_C(String externalReferenceCode, long groupId, long companyId) Returns the object entry folder where externalReferenceCode = ? and groupId = ? and companyId = ? or throws aNoSuchObjectEntryFolderExceptionif it could not be found.static List<ObjectEntryFolder> findByG_C_LikeT(long groupId, long companyId, String treePath) Returns all the object entry folders where groupId = ? and companyId = ? and treePath LIKE ?.static List<ObjectEntryFolder> findByG_C_LikeT(long groupId, long companyId, String treePath, int start, int end) Returns a range of all the object entry folders where groupId = ? and companyId = ? and treePath LIKE ?.static List<ObjectEntryFolder> findByG_C_LikeT(long groupId, long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders where groupId = ? and companyId = ? and treePath LIKE ?.static List<ObjectEntryFolder> findByG_C_LikeT(long groupId, long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entry folders where groupId = ? and companyId = ? and treePath LIKE ?.static ObjectEntryFolderfindByG_C_LikeT_First(long groupId, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder in the ordered set where groupId = ? and companyId = ? and treePath LIKE ?.static List<ObjectEntryFolder> findByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId) Returns all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.static List<ObjectEntryFolder> findByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId, int start, int end) Returns a range of all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.static List<ObjectEntryFolder> findByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.static List<ObjectEntryFolder> findByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.static ObjectEntryFolderfindByG_C_P_First(long groupId, long companyId, long parentObjectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder in the ordered set where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.static List<ObjectEntryFolder> findByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status) Returns all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.static List<ObjectEntryFolder> findByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status, int start, int end) Returns a range of all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.static List<ObjectEntryFolder> findByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.static List<ObjectEntryFolder> findByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.static ObjectEntryFolderfindByG_C_P_N_NotS_First(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder in the ordered set where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.static ObjectEntryFolderfindByPrimaryKey(long objectEntryFolderId) Returns the object entry folder with the primary key or throws aNoSuchObjectEntryFolderExceptionif it could not be found.static List<ObjectEntryFolder> findByUuid(String uuid) Returns all the object entry folders where uuid = ?.static List<ObjectEntryFolder> findByUuid(String uuid, int start, int end) Returns a range of all the object entry folders where uuid = ?.static List<ObjectEntryFolder> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders where uuid = ?.static List<ObjectEntryFolder> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entry folders where uuid = ?.static List<ObjectEntryFolder> findByUuid_C(String uuid, long companyId) Returns all the object entry folders where uuid = ? and companyId = ?.static List<ObjectEntryFolder> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object entry folders where uuid = ? and companyId = ?.static List<ObjectEntryFolder> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders where uuid = ? and companyId = ?.static List<ObjectEntryFolder> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entry folders where uuid = ? and companyId = ?.static ObjectEntryFolderfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder in the ordered set where uuid = ? and companyId = ?.static ObjectEntryFolderfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder in the ordered set where uuid = ?.static ObjectEntryFolderfindByUUID_G(String uuid, long groupId) Returns the object entry folder where uuid = ? and groupId = ? or throws aNoSuchObjectEntryFolderExceptionif it could not be found.static List<ObjectEntryFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectEntryFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectEntryFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) static ObjectEntryFolderPersistencestatic ObjectEntryFolderremove(long objectEntryFolderId) Removes the object entry folder with the primary key from the database.static ObjectEntryFolderremoveByERC_G_C(String externalReferenceCode, long groupId, long companyId) Removes the object entry folder where externalReferenceCode = ? and groupId = ? and companyId = ? from the database.static voidremoveByG_C_LikeT(long groupId, long companyId, String treePath) Removes all the object entry folders where groupId = ? and companyId = ? and treePath LIKE ? from the database.static voidremoveByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId) Removes all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? from the database.static voidremoveByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status) Removes all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ? from the database.static voidremoveByUuid(String uuid) Removes all the object entry folders where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the object entry folders where uuid = ? and companyId = ? from the database.static ObjectEntryFolderremoveByUUID_G(String uuid, long groupId) Removes the object entry folder where uuid = ? and groupId = ? from the database.static voidsetPersistence(ObjectEntryFolderPersistence persistence) static ObjectEntryFolderupdate(ObjectEntryFolder objectEntryFolder) static ObjectEntryFolderupdate(ObjectEntryFolder objectEntryFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectEntryFolderupdateImpl(ObjectEntryFolder objectEntryFolder)
-
Constructor Details
-
ObjectEntryFolderUtil
public ObjectEntryFolderUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
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<ObjectEntryFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<ObjectEntryFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<ObjectEntryFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static ObjectEntryFolder update(ObjectEntryFolder objectEntryFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
public static List<ObjectEntryFolder> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entry folders 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.ObjectEntryFolderModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (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 entry folders
-
findByUuid_First
public static ObjectEntryFolder findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) throws NoSuchObjectEntryFolderException Returns the first object entry folder in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry folder
-
fetchByUuid_First
public static ObjectEntryFolder fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry folder, or
nullif a matching object entry folder could not be found
-
removeByUuid
Removes all the object entry folders where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of object entry folders where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching object entry folders
-
findByUUID_G
public static ObjectEntryFolder findByUUID_G(String uuid, long groupId) throws NoSuchObjectEntryFolderException Returns the object entry folder where uuid = ? and groupId = ? or throws aNoSuchObjectEntryFolderExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching object entry folder
-
fetchByUUID_G
Returns the object entry folder where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching object entry folder, or
nullif a matching object entry folder could not be found
-
removeByUUID_G
public static ObjectEntryFolder removeByUUID_G(String uuid, long groupId) throws NoSuchObjectEntryFolderException Removes the object entry folder where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the object entry folder that was removed
- Throws:
NoSuchObjectEntryFolderException
-
countByUUID_G
Returns the number of object entry folders where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching object entry folders
-
findByUuid_C
public static List<ObjectEntryFolder> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entry folders 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.ObjectEntryFolderModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (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 entry folders
-
findByUuid_C_First
public static ObjectEntryFolder findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) throws NoSuchObjectEntryFolderException Returns the first object entry folder 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 entry folder
-
fetchByUuid_C_First
public static ObjectEntryFolder fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder 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 entry folder, or
nullif a matching object entry folder could not be found
-
removeByUuid_C
Removes all the object entry folders where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of object entry folders where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching object entry folders
-
findByERC_G_C
public static ObjectEntryFolder findByERC_G_C(String externalReferenceCode, long groupId, long companyId) throws NoSuchObjectEntryFolderException Returns the object entry folder where externalReferenceCode = ? and groupId = ? and companyId = ? or throws aNoSuchObjectEntryFolderExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDcompanyId- the company ID- Returns:
- the matching object entry folder
-
fetchByERC_G_C
public static ObjectEntryFolder fetchByERC_G_C(String externalReferenceCode, long groupId, long companyId, boolean useFinderCache) Returns the object entry folder where externalReferenceCode = ? and groupId = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDcompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching object entry folder, or
nullif a matching object entry folder could not be found
-
removeByERC_G_C
public static ObjectEntryFolder removeByERC_G_C(String externalReferenceCode, long groupId, long companyId) throws NoSuchObjectEntryFolderException Removes the object entry folder where externalReferenceCode = ? and groupId = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDcompanyId- the company ID- Returns:
- the object entry folder that was removed
- Throws:
NoSuchObjectEntryFolderException
-
countByERC_G_C
Returns the number of object entry folders where externalReferenceCode = ? and groupId = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDcompanyId- the company ID- Returns:
- the number of matching object entry folders
-
findByG_C_P
public static List<ObjectEntryFolder> findByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (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 entry folders
-
findByG_C_P_First
public static ObjectEntryFolder findByG_C_P_First(long groupId, long companyId, long parentObjectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) throws NoSuchObjectEntryFolderException Returns the first object entry folder in the ordered set where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry folder
-
fetchByG_C_P_First
public static ObjectEntryFolder fetchByG_C_P_First(long groupId, long companyId, long parentObjectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder in the ordered set where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry folder, or
nullif a matching object entry folder could not be found
-
filterFindByG_C_P
public static List<ObjectEntryFolder> filterFindByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders that the user has permissions to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entry folders that the user has permission to view
-
removeByG_C_P
public static void removeByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId) Removes all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? from the database.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder ID
-
countByG_C_P
public static int countByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId) Returns the number of object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder ID- Returns:
- the number of matching object entry folders
-
filterCountByG_C_P
public static int filterCountByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId) Returns the number of object entry folders that the user has permission to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder ID- Returns:
- the number of matching object entry folders that the user has permission to view
-
findByG_C_LikeT
public static List<ObjectEntryFolder> findByG_C_LikeT(long groupId, long companyId, String treePath) Returns all the object entry folders where groupId = ? and companyId = ? and treePath LIKE ?.- Parameters:
groupId- the group IDcompanyId- the company IDtreePath- the tree path- Returns:
- the matching object entry folders
-
findByG_C_LikeT
public static List<ObjectEntryFolder> findByG_C_LikeT(long groupId, long companyId, String treePath, int start, int end) Returns a range of all the object entry folders where groupId = ? and companyId = ? and treePath LIKE ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDtreePath- the tree pathstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)- Returns:
- the range of matching object entry folders
-
findByG_C_LikeT
public static List<ObjectEntryFolder> findByG_C_LikeT(long groupId, long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders where groupId = ? and companyId = ? and treePath LIKE ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDtreePath- the tree pathstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entry folders
-
findByG_C_LikeT
public static List<ObjectEntryFolder> findByG_C_LikeT(long groupId, long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entry folders where groupId = ? and companyId = ? and treePath LIKE ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDtreePath- the tree pathstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (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 entry folders
-
findByG_C_LikeT_First
public static ObjectEntryFolder findByG_C_LikeT_First(long groupId, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) throws NoSuchObjectEntryFolderException Returns the first object entry folder in the ordered set where groupId = ? and companyId = ? and treePath LIKE ?.- Parameters:
groupId- the group IDcompanyId- the company IDtreePath- the tree pathorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry folder
-
fetchByG_C_LikeT_First
public static ObjectEntryFolder fetchByG_C_LikeT_First(long groupId, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder in the ordered set where groupId = ? and companyId = ? and treePath LIKE ?.- Parameters:
groupId- the group IDcompanyId- the company IDtreePath- the tree pathorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry folder, or
nullif a matching object entry folder could not be found
-
filterFindByG_C_LikeT
public static List<ObjectEntryFolder> filterFindByG_C_LikeT(long groupId, long companyId, String treePath) Returns all the object entry folders that the user has permission to view where groupId = ? and companyId = ? and treePath LIKE ?.- Parameters:
groupId- the group IDcompanyId- the company IDtreePath- the tree path- Returns:
- the matching object entry folders that the user has permission to view
-
filterFindByG_C_LikeT
public static List<ObjectEntryFolder> filterFindByG_C_LikeT(long groupId, long companyId, String treePath, int start, int end) Returns a range of all the object entry folders that the user has permission to view where groupId = ? and companyId = ? and treePath LIKE ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDtreePath- the tree pathstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)- Returns:
- the range of matching object entry folders that the user has permission to view
-
filterFindByG_C_LikeT
public static List<ObjectEntryFolder> filterFindByG_C_LikeT(long groupId, long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders that the user has permissions to view where groupId = ? and companyId = ? and treePath LIKE ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDtreePath- the tree pathstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entry folders that the user has permission to view
-
removeByG_C_LikeT
Removes all the object entry folders where groupId = ? and companyId = ? and treePath LIKE ? from the database.- Parameters:
groupId- the group IDcompanyId- the company IDtreePath- the tree path
-
countByG_C_LikeT
Returns the number of object entry folders where groupId = ? and companyId = ? and treePath LIKE ?.- Parameters:
groupId- the group IDcompanyId- the company IDtreePath- the tree path- Returns:
- the number of matching object entry folders
-
filterCountByG_C_LikeT
Returns the number of object entry folders that the user has permission to view where groupId = ? and companyId = ? and treePath LIKE ?.- Parameters:
groupId- the group IDcompanyId- the company IDtreePath- the tree path- Returns:
- the number of matching object entry folders that the user has permission to view
-
findByG_C_P_N_NotS
public static List<ObjectEntryFolder> findByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status) Returns all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDname- the namestatus- the status- Returns:
- the matching object entry folders
-
findByG_C_P_N_NotS
public static List<ObjectEntryFolder> findByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status, int start, int end) Returns a range of all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDname- the namestatus- the statusstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)- Returns:
- the range of matching object entry folders
-
findByG_C_P_N_NotS
public static List<ObjectEntryFolder> findByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDname- the namestatus- the statusstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entry folders
-
findByG_C_P_N_NotS
public static List<ObjectEntryFolder> findByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDname- the namestatus- the statusstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (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 entry folders
-
findByG_C_P_N_NotS_First
public static ObjectEntryFolder findByG_C_P_N_NotS_First(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) throws NoSuchObjectEntryFolderException Returns the first object entry folder in the ordered set where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDname- the namestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry folder
-
fetchByG_C_P_N_NotS_First
public static ObjectEntryFolder fetchByG_C_P_N_NotS_First(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns the first object entry folder in the ordered set where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDname- the namestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry folder, or
nullif a matching object entry folder could not be found
-
filterFindByG_C_P_N_NotS
public static List<ObjectEntryFolder> filterFindByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status) Returns all the object entry folders that the user has permission to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDname- the namestatus- the status- Returns:
- the matching object entry folders that the user has permission to view
-
filterFindByG_C_P_N_NotS
public static List<ObjectEntryFolder> filterFindByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status, int start, int end) Returns a range of all the object entry folders that the user has permission to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDname- the namestatus- the statusstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)- Returns:
- the range of matching object entry folders that the user has permission to view
-
filterFindByG_C_P_N_NotS
public static List<ObjectEntryFolder> filterFindByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders that the user has permissions to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDname- the namestatus- the statusstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entry folders that the user has permission to view
-
removeByG_C_P_N_NotS
public static void removeByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status) Removes all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ? from the database.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDname- the namestatus- the status
-
countByG_C_P_N_NotS
public static int countByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status) Returns the number of object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDname- the namestatus- the status- Returns:
- the number of matching object entry folders
-
filterCountByG_C_P_N_NotS
public static int filterCountByG_C_P_N_NotS(long groupId, long companyId, long parentObjectEntryFolderId, String name, int status) Returns the number of object entry folders that the user has permission to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ? and name = ? and status ≠ ?.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDname- the namestatus- the status- Returns:
- the number of matching object entry folders that the user has permission to view
-
create
Creates a new object entry folder with the primary key. Does not add the object entry folder to the database.- Parameters:
objectEntryFolderId- the primary key for the new object entry folder- Returns:
- the new object entry folder
-
remove
public static ObjectEntryFolder remove(long objectEntryFolderId) throws NoSuchObjectEntryFolderException Removes the object entry folder with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectEntryFolderId- the primary key of the object entry folder- Returns:
- the object entry folder that was removed
-
updateImpl
-
findByPrimaryKey
public static ObjectEntryFolder findByPrimaryKey(long objectEntryFolderId) throws NoSuchObjectEntryFolderException Returns the object entry folder with the primary key or throws aNoSuchObjectEntryFolderExceptionif it could not be found.- Parameters:
objectEntryFolderId- the primary key of the object entry folder- Returns:
- the object entry folder
-
fetchByPrimaryKey
Returns the object entry folder with the primary key or returnsnullif it could not be found.- Parameters:
objectEntryFolderId- the primary key of the object entry folder- Returns:
- the object entry folder, or
nullif a object entry folder with the primary key could not be found
-
fetchByUUID_G
Returns the object entry folder where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching object entry folder, or
nullif a matching object entry folder could not be found
-
fetchByERC_G_C
public static ObjectEntryFolder fetchByERC_G_C(String externalReferenceCode, long groupId, long companyId) Returns the object entry folder where externalReferenceCode = ? and groupId = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDcompanyId- the company ID- Returns:
- the matching object entry folder, or
nullif a matching object entry folder could not be found
-
findByUuid
Returns all the object entry folders where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching object entry folders
-
findByUuid
Returns a range of all the object entry folders 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.ObjectEntryFolderModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)- Returns:
- the range of matching object entry folders
-
findByUuid
public static List<ObjectEntryFolder> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders 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.ObjectEntryFolderModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entry folders
-
findByUuid_C
Returns all the object entry folders where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching object entry folders
-
findByUuid_C
Returns a range of all the object entry folders 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.ObjectEntryFolderModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)- Returns:
- the range of matching object entry folders
-
findByUuid_C
public static List<ObjectEntryFolder> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders 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.ObjectEntryFolderModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entry folders
-
findByG_C_P
public static List<ObjectEntryFolder> findByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId) Returns all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder ID- Returns:
- the matching object entry folders
-
findByG_C_P
public static List<ObjectEntryFolder> findByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId, int start, int end) Returns a range of all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)- Returns:
- the range of matching object entry folders
-
findByG_C_P
public static List<ObjectEntryFolder> findByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntryFolder> orderByComparator) Returns an ordered range of all the object entry folders where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entry folders
-
filterFindByG_C_P
public static List<ObjectEntryFolder> filterFindByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId) Returns all the object entry folders that the user has permission to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder ID- Returns:
- the matching object entry folders that the user has permission to view
-
filterFindByG_C_P
public static List<ObjectEntryFolder> filterFindByG_C_P(long groupId, long companyId, long parentObjectEntryFolderId, int start, int end) Returns a range of all the object entry folders that the user has permission to view where groupId = ? and companyId = ? and parentObjectEntryFolderId = ?.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.ObjectEntryFolderModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDparentObjectEntryFolderId- the parent object entry folder IDstart- the lower bound of the range of object entry foldersend- the upper bound of the range of object entry folders (not inclusive)- Returns:
- the range of matching object entry folders that the user has permission to view
-
getPersistence
-
setPersistence
-