Interface ObjectFolderPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectFolder>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(ObjectFolder objectFolder) Caches the object folder in the entity cache if it is enabled.void
cacheResult
(List<ObjectFolder> objectFolders) Caches the object folders in the entity cache if it is enabled.int
countAll()
Returns the number of object folders.int
countByC_N
(long companyId, String name) Returns the number of object folders where companyId = ? and name = ?.int
countByCompanyId
(long companyId) Returns the number of object folders where companyId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of object folders where externalReferenceCode = ? and companyId = ?.int
countByUuid
(String uuid) Returns the number of object folders where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of object folders where uuid = ? and companyId = ?.create
(long objectFolderId) Creates a new object folder with the primary key.fetchByC_N
(long companyId, String name) Returns the object folder where companyId = ? and name = ? or returnsnull
if it could not be found.fetchByC_N
(long companyId, String name, boolean useFinderCache) Returns the object folder where companyId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the first object folder in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the last object folder in the ordered set where companyId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the object folder where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the object folder where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long objectFolderId) Returns the object folder with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the first object folder in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the last object folder in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the first object folder in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the last object folder in the ordered set where uuid = ?.int
filterCountByCompanyId
(long companyId) Returns the number of object folders that the user has permission to view where companyId = ?.int
filterCountByUuid
(String uuid) Returns the number of object folders that the user has permission to view where uuid = ?.int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of object folders that the user has permission to view where uuid = ? and companyId = ?.filterFindByCompanyId
(long companyId) Returns all the object folders that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end) Returns a range of all the object folders that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns an ordered range of all the object folders that the user has permissions to view where companyId = ?.filterFindByCompanyId_PrevAndNext
(long objectFolderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the object folders before and after the current object folder in the ordered set of object folders that the user has permission to view where companyId = ?.filterFindByUuid
(String uuid) Returns all the object folders that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end) Returns a range of all the object folders that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns an ordered range of all the object folders that the user has permissions to view where uuid = ?.filterFindByUuid_C
(String uuid, long companyId) Returns all the object folders that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object folders that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns an ordered range of all the object folders that the user has permissions to view where uuid = ? and companyId = ?.filterFindByUuid_C_PrevAndNext
(long objectFolderId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the object folders before and after the current object folder in the ordered set of object folders that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_PrevAndNext
(long objectFolderId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the object folders before and after the current object folder in the ordered set of object folders that the user has permission to view where uuid = ?.findAll()
Returns all the object folders.findAll
(int start, int end) Returns a range of all the object folders.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns an ordered range of all the object folders.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object folders.Returns the object folder where companyId = ? and name = ? or throws aNoSuchObjectFolderException
if it could not be found.findByCompanyId
(long companyId) Returns all the object folders where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the object folders where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns an ordered range of all the object folders where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object folders where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the first object folder in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the last object folder in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long objectFolderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the object folders before and after the current object folder in the ordered set where companyId = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the object folder where externalReferenceCode = ? and companyId = ? or throws aNoSuchObjectFolderException
if it could not be found.findByPrimaryKey
(long objectFolderId) Returns the object folder with the primary key or throws aNoSuchObjectFolderException
if it could not be found.findByUuid
(String uuid) Returns all the object folders where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the object folders where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns an ordered range of all the object folders where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object folders where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the object folders where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object folders where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns an ordered range of all the object folders where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object folders where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the first object folder in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the last object folder in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long objectFolderId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the object folders before and after the current object folder in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the first object folder in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the last object folder in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long objectFolderId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the object folders before and after the current object folder in the ordered set where uuid = ?.remove
(long objectFolderId) Removes the object folder with the primary key from the database.void
Removes all the object folders from the database.removeByC_N
(long companyId, String name) Removes the object folder where companyId = ? and name = ? from the database.void
removeByCompanyId
(long companyId) Removes all the object folders where companyId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the object folder where externalReferenceCode = ? and companyId = ? from the database.void
removeByUuid
(String uuid) Removes all the object folders where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the object folders where uuid = ? and companyId = ? from the database.updateImpl
(ObjectFolder objectFolder) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the object folders where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object folders
-
findByUuid
Returns a range of all the object folders where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)- Returns:
- the range of matching object folders
-
findByUuid
List<ObjectFolder> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns an ordered range of all the object folders where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object folders
-
findByUuid
List<ObjectFolder> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object folders where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object 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 folders
-
findByUuid_First
ObjectFolder findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException Returns the first object folder in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object folder
- Throws:
NoSuchObjectFolderException
- if a matching object folder could not be found
-
fetchByUuid_First
ObjectFolder fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the first object folder in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object folder, or
null
if a matching object folder could not be found
-
findByUuid_Last
ObjectFolder findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException Returns the last object folder in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object folder
- Throws:
NoSuchObjectFolderException
- if a matching object folder could not be found
-
fetchByUuid_Last
ObjectFolder fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the last object folder in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object folder, or
null
if a matching object folder could not be found
-
findByUuid_PrevAndNext
ObjectFolder[] findByUuid_PrevAndNext(long objectFolderId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException Returns the object folders before and after the current object folder in the ordered set where uuid = ?.- Parameters:
objectFolderId
- the primary key of the current object folderuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object folder
- Throws:
NoSuchObjectFolderException
- if a object folder with the primary key could not be found
-
filterFindByUuid
Returns all the object folders that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object folders that the user has permission to view
-
filterFindByUuid
Returns a range of all the object folders that the user has permission to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)- Returns:
- the range of matching object folders that the user has permission to view
-
filterFindByUuid
List<ObjectFolder> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns an ordered range of all the object folders that the user has permissions to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object folders that the user has permission to view
-
filterFindByUuid_PrevAndNext
ObjectFolder[] filterFindByUuid_PrevAndNext(long objectFolderId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException Returns the object folders before and after the current object folder in the ordered set of object folders that the user has permission to view where uuid = ?.- Parameters:
objectFolderId
- the primary key of the current object folderuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object folder
- Throws:
NoSuchObjectFolderException
- if a object folder with the primary key could not be found
-
removeByUuid
Removes all the object folders where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object folders where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object folders
-
filterCountByUuid
Returns the number of object folders that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object folders that the user has permission to view
-
findByUuid_C
Returns all the object folders where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object folders
-
findByUuid_C
Returns a range of all the object folders where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)- Returns:
- the range of matching object folders
-
findByUuid_C
List<ObjectFolder> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns an ordered range of all the object folders where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object folders
-
findByUuid_C
List<ObjectFolder> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object folders where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object 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 folders
-
findByUuid_C_First
ObjectFolder findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException Returns the first object 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 folder
- Throws:
NoSuchObjectFolderException
- if a matching object folder could not be found
-
fetchByUuid_C_First
ObjectFolder fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the first object 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 folder, or
null
if a matching object folder could not be found
-
findByUuid_C_Last
ObjectFolder findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException Returns the last object 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 last matching object folder
- Throws:
NoSuchObjectFolderException
- if a matching object folder could not be found
-
fetchByUuid_C_Last
ObjectFolder fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the last object 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 last matching object folder, or
null
if a matching object folder could not be found
-
findByUuid_C_PrevAndNext
ObjectFolder[] findByUuid_C_PrevAndNext(long objectFolderId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException Returns the object folders before and after the current object folder in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectFolderId
- the primary key of the current object folderuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object folder
- Throws:
NoSuchObjectFolderException
- if a object folder with the primary key could not be found
-
filterFindByUuid_C
Returns all the object folders that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object folders that the user has permission to view
-
filterFindByUuid_C
Returns a range of all the object folders that the user has permission to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)- Returns:
- the range of matching object folders that the user has permission to view
-
filterFindByUuid_C
List<ObjectFolder> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns an ordered range of all the object folders that the user has permissions to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object folders that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
ObjectFolder[] filterFindByUuid_C_PrevAndNext(long objectFolderId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException Returns the object folders before and after the current object folder in the ordered set of object folders that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
objectFolderId
- the primary key of the current object folderuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object folder
- Throws:
NoSuchObjectFolderException
- if a object folder with the primary key could not be found
-
removeByUuid_C
Removes all the object folders where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object folders where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object folders
-
filterCountByUuid_C
Returns the number of object folders that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object folders that the user has permission to view
-
findByCompanyId
Returns all the object folders where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching object folders
-
findByCompanyId
Returns a range of all the object folders where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)- Returns:
- the range of matching object folders
-
findByCompanyId
List<ObjectFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns an ordered range of all the object folders where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object folders
-
findByCompanyId
List<ObjectFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object folders where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object 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 folders
-
findByCompanyId_First
ObjectFolder findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException Returns the first object folder in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object folder
- Throws:
NoSuchObjectFolderException
- if a matching object folder could not be found
-
fetchByCompanyId_First
ObjectFolder fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the first object folder in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object folder, or
null
if a matching object folder could not be found
-
findByCompanyId_Last
ObjectFolder findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException Returns the last object folder in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object folder
- Throws:
NoSuchObjectFolderException
- if a matching object folder could not be found
-
fetchByCompanyId_Last
ObjectFolder fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns the last object folder in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object folder, or
null
if a matching object folder could not be found
-
findByCompanyId_PrevAndNext
ObjectFolder[] findByCompanyId_PrevAndNext(long objectFolderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException Returns the object folders before and after the current object folder in the ordered set where companyId = ?.- Parameters:
objectFolderId
- the primary key of the current object foldercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object folder
- Throws:
NoSuchObjectFolderException
- if a object folder with the primary key could not be found
-
filterFindByCompanyId
Returns all the object folders that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching object folders that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the object folders that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)- Returns:
- the range of matching object folders that the user has permission to view
-
filterFindByCompanyId
List<ObjectFolder> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns an ordered range of all the object folders that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object folders that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
ObjectFolder[] filterFindByCompanyId_PrevAndNext(long objectFolderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException Returns the object folders before and after the current object folder in the ordered set of object folders that the user has permission to view where companyId = ?.- Parameters:
objectFolderId
- the primary key of the current object foldercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object folder
- Throws:
NoSuchObjectFolderException
- if a object folder with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the object folders where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of object folders where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching object folders
-
filterCountByCompanyId
int filterCountByCompanyId(long companyId) Returns the number of object folders that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching object folders that the user has permission to view
-
findByC_N
Returns the object folder where companyId = ? and name = ? or throws aNoSuchObjectFolderException
if it could not be found.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching object folder
- Throws:
NoSuchObjectFolderException
- if a matching object folder could not be found
-
fetchByC_N
Returns the object folder where companyId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching object folder, or
null
if a matching object folder could not be found
-
fetchByC_N
Returns the object folder where companyId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
companyId
- the company IDname
- the nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching object folder, or
null
if a matching object folder could not be found
-
removeByC_N
Removes the object folder where companyId = ? and name = ? from the database.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the object folder that was removed
- Throws:
NoSuchObjectFolderException
-
countByC_N
Returns the number of object folders where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the number of matching object folders
-
findByERC_C
ObjectFolder findByERC_C(String externalReferenceCode, long companyId) throws NoSuchObjectFolderException Returns the object folder where externalReferenceCode = ? and companyId = ? or throws aNoSuchObjectFolderException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching object folder
- Throws:
NoSuchObjectFolderException
- if a matching object folder could not be found
-
fetchByERC_C
Returns the object folder where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching object folder, or
null
if a matching object folder could not be found
-
fetchByERC_C
Returns the object folder where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching object folder, or
null
if a matching object folder could not be found
-
removeByERC_C
ObjectFolder removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchObjectFolderException Removes the object folder where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the object folder that was removed
- Throws:
NoSuchObjectFolderException
-
countByERC_C
Returns the number of object folders where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching object folders
-
cacheResult
Caches the object folder in the entity cache if it is enabled.- Parameters:
objectFolder
- the object folder
-
cacheResult
Caches the object folders in the entity cache if it is enabled.- Parameters:
objectFolders
- the object folders
-
create
Creates a new object folder with the primary key. Does not add the object folder to the database.- Parameters:
objectFolderId
- the primary key for the new object folder- Returns:
- the new object folder
-
remove
Removes the object folder with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectFolderId
- the primary key of the object folder- Returns:
- the object folder that was removed
- Throws:
NoSuchObjectFolderException
- if a object folder with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the object folder with the primary key or throws aNoSuchObjectFolderException
if it could not be found.- Parameters:
objectFolderId
- the primary key of the object folder- Returns:
- the object folder
- Throws:
NoSuchObjectFolderException
- if a object folder with the primary key could not be found
-
fetchByPrimaryKey
Returns the object folder with the primary key or returnsnull
if it could not be found.- Parameters:
objectFolderId
- the primary key of the object folder- Returns:
- the object folder, or
null
if a object folder with the primary key could not be found
-
findAll
List<ObjectFolder> findAll()Returns all the object folders.- Returns:
- the object folders
-
findAll
Returns a range of all the object folders.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
start
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)- Returns:
- the range of object folders
-
findAll
List<ObjectFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) Returns an ordered range of all the object folders.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
start
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of object folders
-
findAll
List<ObjectFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object folders.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFolderModelImpl
.- Parameters:
start
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of object folders
-
removeAll
void removeAll()Removes all the object folders from the database. -
countAll
int countAll()Returns the number of object folders.- Returns:
- the number of object folders
-