@ProviderType public interface ObjectFolderPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectFolder>
Caching information and settings can be found in portal.properties
ObjectFolderUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ObjectFolder> objectFolders)
Caches the object folders in the entity cache if it is enabled.
|
void |
cacheResult(ObjectFolder objectFolder)
Caches the object folder in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of object folders.
|
int |
countByC_N(long companyId,
java.lang.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(java.lang.String externalReferenceCode,
long companyId)
Returns the number of object folders where externalReferenceCode = ? and companyId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object folders where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of object folders where uuid = ?.
|
ObjectFolder |
create(long objectFolderId)
Creates a new object folder with the primary key.
|
ObjectFolder |
fetchByC_N(long companyId,
java.lang.String name)
Returns the object folder where companyId = ? and name = ? or returns
null if it could not be found. |
ObjectFolder |
fetchByC_N(long companyId,
java.lang.String name,
boolean useFinderCache)
Returns the object folder where companyId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
ObjectFolder |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Returns the first object folder in the ordered set where companyId = ?.
|
ObjectFolder |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Returns the last object folder in the ordered set where companyId = ?.
|
ObjectFolder |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the object folder where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
ObjectFolder |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the object folder where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
ObjectFolder |
fetchByPrimaryKey(long objectFolderId)
Returns the object folder with the primary key or returns
null if it could not be found. |
ObjectFolder |
fetchByUuid_C_First(java.lang.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 = ?.
|
ObjectFolder |
fetchByUuid_C_Last(java.lang.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 = ?.
|
ObjectFolder |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Returns the first object folder in the ordered set where uuid = ?.
|
ObjectFolder |
fetchByUuid_Last(java.lang.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_C(java.lang.String uuid,
long companyId)
Returns the number of object folders that the user has permission to view where uuid = ? and companyId = ?.
|
int |
filterCountByUuid(java.lang.String uuid)
Returns the number of object folders that the user has permission to view where uuid = ?.
|
ObjectFolder[] |
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 = ?.
|
java.util.List<ObjectFolder> |
filterFindByCompanyId(long companyId)
Returns all the object folders that the user has permission to view where companyId = ?.
|
java.util.List<ObjectFolder> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the object folders that the user has permission to view where companyId = ?.
|
java.util.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 = ?.
|
ObjectFolder[] |
filterFindByUuid_C_PrevAndNext(long objectFolderId,
java.lang.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 = ?.
|
java.util.List<ObjectFolder> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object folders that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<ObjectFolder> |
filterFindByUuid_C(java.lang.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 = ?.
|
java.util.List<ObjectFolder> |
filterFindByUuid_C(java.lang.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 = ?.
|
ObjectFolder[] |
filterFindByUuid_PrevAndNext(long objectFolderId,
java.lang.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 = ?.
|
java.util.List<ObjectFolder> |
filterFindByUuid(java.lang.String uuid)
Returns all the object folders that the user has permission to view where uuid = ?.
|
java.util.List<ObjectFolder> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object folders that the user has permission to view where uuid = ?.
|
java.util.List<ObjectFolder> |
filterFindByUuid(java.lang.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 = ?.
|
java.util.List<ObjectFolder> |
findAll()
Returns all the object folders.
|
java.util.List<ObjectFolder> |
findAll(int start,
int end)
Returns a range of all the object folders.
|
java.util.List<ObjectFolder> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Returns an ordered range of all the object folders.
|
java.util.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.
|
ObjectFolder |
findByC_N(long companyId,
java.lang.String name)
Returns the object folder where companyId = ? and name = ? or throws a
NoSuchObjectFolderException if it could not be found. |
ObjectFolder |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Returns the first object folder in the ordered set where companyId = ?.
|
ObjectFolder |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Returns the last object folder in the ordered set where companyId = ?.
|
ObjectFolder[] |
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 = ?.
|
java.util.List<ObjectFolder> |
findByCompanyId(long companyId)
Returns all the object folders where companyId = ?.
|
java.util.List<ObjectFolder> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the object folders where companyId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
ObjectFolder |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the object folder where externalReferenceCode = ? and companyId = ? or throws a
NoSuchObjectFolderException if it could not be found. |
ObjectFolder |
findByPrimaryKey(long objectFolderId)
Returns the object folder with the primary key or throws a
NoSuchObjectFolderException if it could not be found. |
ObjectFolder |
findByUuid_C_First(java.lang.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 = ?.
|
ObjectFolder |
findByUuid_C_Last(java.lang.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 = ?.
|
ObjectFolder[] |
findByUuid_C_PrevAndNext(long objectFolderId,
java.lang.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 = ?.
|
java.util.List<ObjectFolder> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object folders where uuid = ? and companyId = ?.
|
java.util.List<ObjectFolder> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object folders where uuid = ? and companyId = ?.
|
java.util.List<ObjectFolder> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<ObjectFolder> |
findByUuid_C(java.lang.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 = ?.
|
ObjectFolder |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Returns the first object folder in the ordered set where uuid = ?.
|
ObjectFolder |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Returns the last object folder in the ordered set where uuid = ?.
|
ObjectFolder[] |
findByUuid_PrevAndNext(long objectFolderId,
java.lang.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 = ?.
|
java.util.List<ObjectFolder> |
findByUuid(java.lang.String uuid)
Returns all the object folders where uuid = ?.
|
java.util.List<ObjectFolder> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object folders where uuid = ?.
|
java.util.List<ObjectFolder> |
findByUuid(java.lang.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 = ?.
|
java.util.List<ObjectFolder> |
findByUuid(java.lang.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 = ?.
|
ObjectFolder |
remove(long objectFolderId)
Removes the object folder with the primary key from the database.
|
void |
removeAll()
Removes all the object folders from the database.
|
ObjectFolder |
removeByC_N(long companyId,
java.lang.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.
|
ObjectFolder |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the object folder where externalReferenceCode = ? and companyId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object folders where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the object folders where uuid = ? from the database.
|
ObjectFolder |
updateImpl(ObjectFolder objectFolder) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<ObjectFolder> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectFolder> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)java.util.List<ObjectFolder> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
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 (optionally null
)java.util.List<ObjectFolder> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectFolder findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderException
- if a matching object folder could not be foundObjectFolder fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object folder could not be foundObjectFolder findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderException
- if a matching object folder could not be foundObjectFolder fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object folder could not be foundObjectFolder[] findByUuid_PrevAndNext(long objectFolderId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException
objectFolderId
- the primary key of the current object folderuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderException
- if a object folder with the primary key could not be foundjava.util.List<ObjectFolder> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectFolder> filterFindByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)java.util.List<ObjectFolder> filterFindByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
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 (optionally null
)ObjectFolder[] filterFindByUuid_PrevAndNext(long objectFolderId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException
objectFolderId
- the primary key of the current object folderuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderException
- if a object folder with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidint filterCountByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectFolder> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectFolder> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
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)java.util.List<ObjectFolder> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
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 (optionally null
)java.util.List<ObjectFolder> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectFolder findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderException
- if a matching object folder could not be foundObjectFolder fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object folder could not be foundObjectFolder findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderException
- if a matching object folder could not be foundObjectFolder fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object folder could not be foundObjectFolder[] findByUuid_C_PrevAndNext(long objectFolderId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException
objectFolderId
- the primary key of the current object folderuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderException
- if a object folder with the primary key could not be foundjava.util.List<ObjectFolder> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectFolder> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
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)java.util.List<ObjectFolder> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
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 (optionally null
)ObjectFolder[] filterFindByUuid_C_PrevAndNext(long objectFolderId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException
objectFolderId
- the primary key of the current object folderuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderException
- if a object folder with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectFolder> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<ObjectFolder> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)java.util.List<ObjectFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
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 (optionally null
)java.util.List<ObjectFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectFolder findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderException
- if a matching object folder could not be foundObjectFolder fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object folder could not be foundObjectFolder findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderException
- if a matching object folder could not be foundObjectFolder fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object folder could not be foundObjectFolder[] findByCompanyId_PrevAndNext(long objectFolderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException
objectFolderId
- the primary key of the current object foldercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderException
- if a object folder with the primary key could not be foundjava.util.List<ObjectFolder> filterFindByCompanyId(long companyId)
companyId
- the company IDjava.util.List<ObjectFolder> filterFindByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)java.util.List<ObjectFolder> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
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 (optionally null
)ObjectFolder[] filterFindByCompanyId_PrevAndNext(long objectFolderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator) throws NoSuchObjectFolderException
objectFolderId
- the primary key of the current object foldercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFolderException
- if a object folder with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDint filterCountByCompanyId(long companyId)
companyId
- the company IDObjectFolder findByC_N(long companyId, java.lang.String name) throws NoSuchObjectFolderException
NoSuchObjectFolderException
if it could not be found.companyId
- the company IDname
- the nameNoSuchObjectFolderException
- if a matching object folder could not be foundObjectFolder fetchByC_N(long companyId, java.lang.String name)
null
if it could not be found. Uses the finder cache.companyId
- the company IDname
- the namenull
if a matching object folder could not be foundObjectFolder fetchByC_N(long companyId, java.lang.String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching object folder could not be foundObjectFolder removeByC_N(long companyId, java.lang.String name) throws NoSuchObjectFolderException
companyId
- the company IDname
- the nameNoSuchObjectFolderException
int countByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the nameObjectFolder findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchObjectFolderException
NoSuchObjectFolderException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchObjectFolderException
- if a matching object folder could not be foundObjectFolder fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching object folder could not be foundObjectFolder fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching object folder could not be foundObjectFolder removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchObjectFolderException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchObjectFolderException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid cacheResult(ObjectFolder objectFolder)
objectFolder
- the object foldervoid cacheResult(java.util.List<ObjectFolder> objectFolders)
objectFolders
- the object foldersObjectFolder create(long objectFolderId)
objectFolderId
- the primary key for the new object folderObjectFolder remove(long objectFolderId) throws NoSuchObjectFolderException
objectFolderId
- the primary key of the object folderNoSuchObjectFolderException
- if a object folder with the primary key could not be foundObjectFolder updateImpl(ObjectFolder objectFolder)
ObjectFolder findByPrimaryKey(long objectFolderId) throws NoSuchObjectFolderException
NoSuchObjectFolderException
if it could not be found.objectFolderId
- the primary key of the object folderNoSuchObjectFolderException
- if a object folder with the primary key could not be foundObjectFolder fetchByPrimaryKey(long objectFolderId)
null
if it could not be found.objectFolderId
- the primary key of the object foldernull
if a object folder with the primary key could not be foundjava.util.List<ObjectFolder> findAll()
java.util.List<ObjectFolder> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
start
- the lower bound of the range of object foldersend
- the upper bound of the range of object folders (not inclusive)java.util.List<ObjectFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
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 (optionally null
)java.util.List<ObjectFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolder> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectFolderModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()