@ProviderType public interface KBFolderPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KBFolder>
Caching information and settings can be found in portal.properties
com.liferay.knowledge.base.service.persistence.impl.KBFolderPersistenceImpl,
KBFolderUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(KBFolder kbFolder)
Caches the k b folder in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<KBFolder> kbFolders)
Caches the k b folders in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of k b folders.
|
int |
countByG_P_N(long groupId,
long parentKBFolderId,
java.lang.String name)
Returns the number of k b folders where groupId = ? and parentKBFolderId = ? and name = ?.
|
int |
countByG_P_UT(long groupId,
long parentKBFolderId,
java.lang.String urlTitle)
Returns the number of k b folders where groupId = ? and parentKBFolderId = ? and urlTitle = ?.
|
int |
countByG_P(long groupId,
long parentKBFolderId)
Returns the number of k b folders where groupId = ? and parentKBFolderId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of k b folders where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of k b folders where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of k b folders where uuid = ?.
|
KBFolder |
create(long kbFolderId)
Creates a new k b folder with the primary key.
|
KBFolder |
fetchByG_P_First(long groupId,
long parentKBFolderId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the first k b folder in the ordered set where groupId = ? and parentKBFolderId = ?.
|
KBFolder |
fetchByG_P_Last(long groupId,
long parentKBFolderId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the last k b folder in the ordered set where groupId = ? and parentKBFolderId = ?.
|
KBFolder |
fetchByG_P_N(long groupId,
long parentKBFolderId,
java.lang.String name)
Returns the k b folder where groupId = ? and parentKBFolderId = ? and name = ? or returns
null if it could not be found. |
KBFolder |
fetchByG_P_N(long groupId,
long parentKBFolderId,
java.lang.String name,
boolean retrieveFromCache)
Returns the k b folder where groupId = ? and parentKBFolderId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
KBFolder |
fetchByG_P_UT(long groupId,
long parentKBFolderId,
java.lang.String urlTitle)
Returns the k b folder where groupId = ? and parentKBFolderId = ? and urlTitle = ? or returns
null if it could not be found. |
KBFolder |
fetchByG_P_UT(long groupId,
long parentKBFolderId,
java.lang.String urlTitle,
boolean retrieveFromCache)
Returns the k b folder where groupId = ? and parentKBFolderId = ? and urlTitle = ? or returns
null if it could not be found, optionally using the finder cache. |
KBFolder |
fetchByPrimaryKey(long kbFolderId)
Returns the k b folder with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,KBFolder> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
KBFolder |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the first k b folder in the ordered set where uuid = ? and companyId = ?.
|
KBFolder |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the last k b folder in the ordered set where uuid = ? and companyId = ?.
|
KBFolder |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the first k b folder in the ordered set where uuid = ?.
|
KBFolder |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the k b folder where uuid = ? and groupId = ? or returns
null if it could not be found. |
KBFolder |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the k b folder where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
KBFolder |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the last k b folder in the ordered set where uuid = ?.
|
int |
filterCountByG_P(long groupId,
long parentKBFolderId)
Returns the number of k b folders that the user has permission to view where groupId = ? and parentKBFolderId = ?.
|
KBFolder[] |
filterFindByG_P_PrevAndNext(long kbFolderId,
long groupId,
long parentKBFolderId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the k b folders before and after the current k b folder in the ordered set of k b folders that the user has permission to view where groupId = ? and parentKBFolderId = ?.
|
java.util.List<KBFolder> |
filterFindByG_P(long groupId,
long parentKBFolderId)
Returns all the k b folders that the user has permission to view where groupId = ? and parentKBFolderId = ?.
|
java.util.List<KBFolder> |
filterFindByG_P(long groupId,
long parentKBFolderId,
int start,
int end)
Returns a range of all the k b folders that the user has permission to view where groupId = ? and parentKBFolderId = ?.
|
java.util.List<KBFolder> |
filterFindByG_P(long groupId,
long parentKBFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns an ordered range of all the k b folders that the user has permissions to view where groupId = ? and parentKBFolderId = ?.
|
java.util.List<KBFolder> |
findAll()
Returns all the k b folders.
|
java.util.List<KBFolder> |
findAll(int start,
int end)
Returns a range of all the k b folders.
|
java.util.List<KBFolder> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns an ordered range of all the k b folders.
|
java.util.List<KBFolder> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the k b folders.
|
KBFolder |
findByG_P_First(long groupId,
long parentKBFolderId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the first k b folder in the ordered set where groupId = ? and parentKBFolderId = ?.
|
KBFolder |
findByG_P_Last(long groupId,
long parentKBFolderId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the last k b folder in the ordered set where groupId = ? and parentKBFolderId = ?.
|
KBFolder |
findByG_P_N(long groupId,
long parentKBFolderId,
java.lang.String name)
Returns the k b folder where groupId = ? and parentKBFolderId = ? and name = ? or throws a
NoSuchFolderException if it could not be found. |
KBFolder[] |
findByG_P_PrevAndNext(long kbFolderId,
long groupId,
long parentKBFolderId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the k b folders before and after the current k b folder in the ordered set where groupId = ? and parentKBFolderId = ?.
|
KBFolder |
findByG_P_UT(long groupId,
long parentKBFolderId,
java.lang.String urlTitle)
Returns the k b folder where groupId = ? and parentKBFolderId = ? and urlTitle = ? or throws a
NoSuchFolderException if it could not be found. |
java.util.List<KBFolder> |
findByG_P(long groupId,
long parentKBFolderId)
Returns all the k b folders where groupId = ? and parentKBFolderId = ?.
|
java.util.List<KBFolder> |
findByG_P(long groupId,
long parentKBFolderId,
int start,
int end)
Returns a range of all the k b folders where groupId = ? and parentKBFolderId = ?.
|
java.util.List<KBFolder> |
findByG_P(long groupId,
long parentKBFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns an ordered range of all the k b folders where groupId = ? and parentKBFolderId = ?.
|
java.util.List<KBFolder> |
findByG_P(long groupId,
long parentKBFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the k b folders where groupId = ? and parentKBFolderId = ?.
|
KBFolder |
findByPrimaryKey(long kbFolderId)
Returns the k b folder with the primary key or throws a
NoSuchFolderException if it could not be found. |
KBFolder |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the first k b folder in the ordered set where uuid = ? and companyId = ?.
|
KBFolder |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the last k b folder in the ordered set where uuid = ? and companyId = ?.
|
KBFolder[] |
findByUuid_C_PrevAndNext(long kbFolderId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the k b folders before and after the current k b folder in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<KBFolder> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the k b folders where uuid = ? and companyId = ?.
|
java.util.List<KBFolder> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the k b folders where uuid = ? and companyId = ?.
|
java.util.List<KBFolder> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns an ordered range of all the k b folders where uuid = ? and companyId = ?.
|
java.util.List<KBFolder> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the k b folders where uuid = ? and companyId = ?.
|
KBFolder |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the first k b folder in the ordered set where uuid = ?.
|
KBFolder |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the k b folder where uuid = ? and groupId = ? or throws a
NoSuchFolderException if it could not be found. |
KBFolder |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the last k b folder in the ordered set where uuid = ?.
|
KBFolder[] |
findByUuid_PrevAndNext(long kbFolderId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the k b folders before and after the current k b folder in the ordered set where uuid = ?.
|
java.util.List<KBFolder> |
findByUuid(java.lang.String uuid)
Returns all the k b folders where uuid = ?.
|
java.util.List<KBFolder> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the k b folders where uuid = ?.
|
java.util.List<KBFolder> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns an ordered range of all the k b folders where uuid = ?.
|
java.util.List<KBFolder> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the k b folders where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
KBFolder |
remove(long kbFolderId)
Removes the k b folder with the primary key from the database.
|
void |
removeAll()
Removes all the k b folders from the database.
|
KBFolder |
removeByG_P_N(long groupId,
long parentKBFolderId,
java.lang.String name)
Removes the k b folder where groupId = ? and parentKBFolderId = ? and name = ? from the database.
|
KBFolder |
removeByG_P_UT(long groupId,
long parentKBFolderId,
java.lang.String urlTitle)
Removes the k b folder where groupId = ? and parentKBFolderId = ? and urlTitle = ? from the database.
|
void |
removeByG_P(long groupId,
long parentKBFolderId)
Removes all the k b folders where groupId = ? and parentKBFolderId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the k b folders where uuid = ? and companyId = ? from the database.
|
KBFolder |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the k b folder where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the k b folders where uuid = ? from the database.
|
KBFolder |
updateImpl(KBFolder kbFolder) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<KBFolder> findByUuid(java.lang.String uuid)
uuid - the uuidjava.util.List<KBFolder> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of k b foldersend - the upper bound of the range of k b folders (not inclusive)java.util.List<KBFolder> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of k b foldersend - the upper bound of the range of k b folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<KBFolder> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of k b foldersend - the upper bound of the range of k b folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheKBFolder findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchFolderException - if a matching k b folder could not be foundKBFolder fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching k b folder could not be foundKBFolder findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchFolderException - if a matching k b folder could not be foundKBFolder fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching k b folder could not be foundKBFolder[] findByUuid_PrevAndNext(long kbFolderId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException
kbFolderId - the primary key of the current k b folderuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchFolderException - if a k b folder with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid - the uuidint countByUuid(java.lang.String uuid)
uuid - the uuidKBFolder findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFolderException
NoSuchFolderException if it could not be found.uuid - the uuidgroupId - the group IDNoSuchFolderException - if a matching k b folder could not be foundKBFolder fetchByUUID_G(java.lang.String uuid, long groupId)
null if it could not be found. Uses the finder cache.uuid - the uuidgroupId - the group IDnull if a matching k b folder could not be foundKBFolder fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.uuid - the uuidgroupId - the group IDretrieveFromCache - whether to retrieve from the finder cachenull if a matching k b folder could not be foundKBFolder removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFolderException
uuid - the uuidgroupId - the group IDNoSuchFolderExceptionint countByUUID_G(java.lang.String uuid,
long groupId)
uuid - the uuidgroupId - the group IDjava.util.List<KBFolder> findByUuid_C(java.lang.String uuid, long companyId)
uuid - the uuidcompanyId - the company IDjava.util.List<KBFolder> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of k b foldersend - the upper bound of the range of k b folders (not inclusive)java.util.List<KBFolder> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of k b foldersend - the upper bound of the range of k b folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<KBFolder> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of k b foldersend - the upper bound of the range of k b folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheKBFolder findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFolderException - if a matching k b folder could not be foundKBFolder fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching k b folder could not be foundKBFolder findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFolderException - if a matching k b folder could not be foundKBFolder fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching k b folder could not be foundKBFolder[] findByUuid_C_PrevAndNext(long kbFolderId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException
kbFolderId - the primary key of the current k b folderuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFolderException - if a k b 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 IDjava.util.List<KBFolder> findByG_P(long groupId, long parentKBFolderId)
groupId - the group IDparentKBFolderId - the parent k b folder IDjava.util.List<KBFolder> findByG_P(long groupId, long parentKBFolderId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDparentKBFolderId - the parent k b folder IDstart - the lower bound of the range of k b foldersend - the upper bound of the range of k b folders (not inclusive)java.util.List<KBFolder> findByG_P(long groupId, long parentKBFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDparentKBFolderId - the parent k b folder IDstart - the lower bound of the range of k b foldersend - the upper bound of the range of k b folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<KBFolder> findByG_P(long groupId, long parentKBFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDparentKBFolderId - the parent k b folder IDstart - the lower bound of the range of k b foldersend - the upper bound of the range of k b folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheKBFolder findByG_P_First(long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException
groupId - the group IDparentKBFolderId - the parent k b folder IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFolderException - if a matching k b folder could not be foundKBFolder fetchByG_P_First(long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
groupId - the group IDparentKBFolderId - the parent k b folder IDorderByComparator - the comparator to order the set by (optionally null)null if a matching k b folder could not be foundKBFolder findByG_P_Last(long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException
groupId - the group IDparentKBFolderId - the parent k b folder IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFolderException - if a matching k b folder could not be foundKBFolder fetchByG_P_Last(long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
groupId - the group IDparentKBFolderId - the parent k b folder IDorderByComparator - the comparator to order the set by (optionally null)null if a matching k b folder could not be foundKBFolder[] findByG_P_PrevAndNext(long kbFolderId, long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException
kbFolderId - the primary key of the current k b foldergroupId - the group IDparentKBFolderId - the parent k b folder IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFolderException - if a k b folder with the primary key could not be foundjava.util.List<KBFolder> filterFindByG_P(long groupId, long parentKBFolderId)
groupId - the group IDparentKBFolderId - the parent k b folder IDjava.util.List<KBFolder> filterFindByG_P(long groupId, long parentKBFolderId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDparentKBFolderId - the parent k b folder IDstart - the lower bound of the range of k b foldersend - the upper bound of the range of k b folders (not inclusive)java.util.List<KBFolder> filterFindByG_P(long groupId, long parentKBFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDparentKBFolderId - the parent k b folder IDstart - the lower bound of the range of k b foldersend - the upper bound of the range of k b folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)KBFolder[] filterFindByG_P_PrevAndNext(long kbFolderId, long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException
kbFolderId - the primary key of the current k b foldergroupId - the group IDparentKBFolderId - the parent k b folder IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFolderException - if a k b folder with the primary key could not be foundvoid removeByG_P(long groupId,
long parentKBFolderId)
groupId - the group IDparentKBFolderId - the parent k b folder IDint countByG_P(long groupId,
long parentKBFolderId)
groupId - the group IDparentKBFolderId - the parent k b folder IDint filterCountByG_P(long groupId,
long parentKBFolderId)
groupId - the group IDparentKBFolderId - the parent k b folder IDKBFolder findByG_P_N(long groupId, long parentKBFolderId, java.lang.String name) throws NoSuchFolderException
NoSuchFolderException if it could not be found.groupId - the group IDparentKBFolderId - the parent k b folder IDname - the nameNoSuchFolderException - if a matching k b folder could not be foundKBFolder fetchByG_P_N(long groupId, long parentKBFolderId, java.lang.String name)
null if it could not be found. Uses the finder cache.groupId - the group IDparentKBFolderId - the parent k b folder IDname - the namenull if a matching k b folder could not be foundKBFolder fetchByG_P_N(long groupId, long parentKBFolderId, java.lang.String name, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.groupId - the group IDparentKBFolderId - the parent k b folder IDname - the nameretrieveFromCache - whether to retrieve from the finder cachenull if a matching k b folder could not be foundKBFolder removeByG_P_N(long groupId, long parentKBFolderId, java.lang.String name) throws NoSuchFolderException
groupId - the group IDparentKBFolderId - the parent k b folder IDname - the nameNoSuchFolderExceptionint countByG_P_N(long groupId,
long parentKBFolderId,
java.lang.String name)
groupId - the group IDparentKBFolderId - the parent k b folder IDname - the nameKBFolder findByG_P_UT(long groupId, long parentKBFolderId, java.lang.String urlTitle) throws NoSuchFolderException
NoSuchFolderException if it could not be found.groupId - the group IDparentKBFolderId - the parent k b folder IDurlTitle - the url titleNoSuchFolderException - if a matching k b folder could not be foundKBFolder fetchByG_P_UT(long groupId, long parentKBFolderId, java.lang.String urlTitle)
null if it could not be found. Uses the finder cache.groupId - the group IDparentKBFolderId - the parent k b folder IDurlTitle - the url titlenull if a matching k b folder could not be foundKBFolder fetchByG_P_UT(long groupId, long parentKBFolderId, java.lang.String urlTitle, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.groupId - the group IDparentKBFolderId - the parent k b folder IDurlTitle - the url titleretrieveFromCache - whether to retrieve from the finder cachenull if a matching k b folder could not be foundKBFolder removeByG_P_UT(long groupId, long parentKBFolderId, java.lang.String urlTitle) throws NoSuchFolderException
groupId - the group IDparentKBFolderId - the parent k b folder IDurlTitle - the url titleNoSuchFolderExceptionint countByG_P_UT(long groupId,
long parentKBFolderId,
java.lang.String urlTitle)
groupId - the group IDparentKBFolderId - the parent k b folder IDurlTitle - the url titlevoid cacheResult(KBFolder kbFolder)
kbFolder - the k b foldervoid cacheResult(java.util.List<KBFolder> kbFolders)
kbFolders - the k b foldersKBFolder create(long kbFolderId)
kbFolderId - the primary key for the new k b folderKBFolder remove(long kbFolderId) throws NoSuchFolderException
kbFolderId - the primary key of the k b folderNoSuchFolderException - if a k b folder with the primary key could not be foundKBFolder findByPrimaryKey(long kbFolderId) throws NoSuchFolderException
NoSuchFolderException if it could not be found.kbFolderId - the primary key of the k b folderNoSuchFolderException - if a k b folder with the primary key could not be foundKBFolder fetchByPrimaryKey(long kbFolderId)
null if it could not be found.kbFolderId - the primary key of the k b foldernull if a k b folder with the primary key could not be foundjava.util.Map<java.io.Serializable,KBFolder> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<KBFolder>java.util.List<KBFolder> findAll()
java.util.List<KBFolder> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of k b foldersend - the upper bound of the range of k b folders (not inclusive)java.util.List<KBFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of k b foldersend - the upper bound of the range of k b folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<KBFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of k b foldersend - the upper bound of the range of k b folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<KBFolder>