@ProviderType public interface KBFolderPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KBFolder>
Caching information and settings can be found in portal.properties
KBFolderUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(KBFolder kbFolder)
Caches the kb folder in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<KBFolder> kbFolders)
Caches the kb folders in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of kb folders.
|
int |
countByCompanyId(long companyId)
Returns the number of kb folders where companyId = ?.
|
int |
countByG_P_N(long groupId,
long parentKBFolderId,
java.lang.String name)
Returns the number of kb folders where groupId = ? and parentKBFolderId = ? and name = ?.
|
int |
countByG_P_UT(long groupId,
long parentKBFolderId,
java.lang.String urlTitle)
Returns the number of kb folders where groupId = ? and parentKBFolderId = ? and urlTitle = ?.
|
int |
countByG_P(long groupId,
long parentKBFolderId)
Returns the number of kb folders where groupId = ? and parentKBFolderId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of kb folders where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of kb folders where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of kb folders where uuid = ?.
|
KBFolder |
create(long kbFolderId)
Creates a new kb folder with the primary key.
|
KBFolder |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the first kb folder in the ordered set where companyId = ?.
|
KBFolder |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the last kb folder in the ordered set where companyId = ?.
|
KBFolder |
fetchByG_P_First(long groupId,
long parentKBFolderId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the first kb 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 kb folder in the ordered set where groupId = ? and parentKBFolderId = ?.
|
KBFolder |
fetchByG_P_N(long groupId,
long parentKBFolderId,
java.lang.String name)
Returns the kb 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 useFinderCache)
Returns the kb 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 kb 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 useFinderCache)
Returns the kb 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 kb folder with the primary key or returns
null if it could not be found. |
KBFolder |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the first kb 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 kb 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 kb folder in the ordered set where uuid = ?.
|
KBFolder |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the kb folder where uuid = ? and groupId = ? or returns
null if it could not be found. |
KBFolder |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the kb 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 kb folder in the ordered set where uuid = ?.
|
int |
filterCountByG_P(long groupId,
long parentKBFolderId)
Returns the number of kb 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 kb folders before and after the current kb folder in the ordered set of kb 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 kb 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 kb 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 kb folders that the user has permissions to view where groupId = ? and parentKBFolderId = ?.
|
java.util.List<KBFolder> |
findAll()
Returns all the kb folders.
|
java.util.List<KBFolder> |
findAll(int start,
int end)
Returns a range of all the kb 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 kb folders.
|
java.util.List<KBFolder> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kb folders.
|
KBFolder |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the first kb folder in the ordered set where companyId = ?.
|
KBFolder |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the last kb folder in the ordered set where companyId = ?.
|
KBFolder[] |
findByCompanyId_PrevAndNext(long kbFolderId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the kb folders before and after the current kb folder in the ordered set where companyId = ?.
|
java.util.List<KBFolder> |
findByCompanyId(long companyId)
Returns all the kb folders where companyId = ?.
|
java.util.List<KBFolder> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kb folders where companyId = ?.
|
java.util.List<KBFolder> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns an ordered range of all the kb folders where companyId = ?.
|
java.util.List<KBFolder> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kb folders where companyId = ?.
|
KBFolder |
findByG_P_First(long groupId,
long parentKBFolderId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the first kb 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 kb folder in the ordered set where groupId = ? and parentKBFolderId = ?.
|
KBFolder |
findByG_P_N(long groupId,
long parentKBFolderId,
java.lang.String name)
Returns the kb 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 kb folders before and after the current kb folder in the ordered set where groupId = ? and parentKBFolderId = ?.
|
KBFolder |
findByG_P_UT(long groupId,
long parentKBFolderId,
java.lang.String urlTitle)
Returns the kb 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 kb 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 kb 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 kb 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 useFinderCache)
Returns an ordered range of all the kb folders where groupId = ? and parentKBFolderId = ?.
|
KBFolder |
findByPrimaryKey(long kbFolderId)
Returns the kb 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 kb 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 kb 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 kb folders before and after the current kb folder in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<KBFolder> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the kb 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 kb 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 kb 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 useFinderCache)
Returns an ordered range of all the kb folders where uuid = ? and companyId = ?.
|
KBFolder |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
Returns the first kb folder in the ordered set where uuid = ?.
|
KBFolder |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the kb 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 kb 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 kb folders before and after the current kb folder in the ordered set where uuid = ?.
|
java.util.List<KBFolder> |
findByUuid(java.lang.String uuid)
Returns all the kb folders where uuid = ?.
|
java.util.List<KBFolder> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the kb 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 kb 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 useFinderCache)
Returns an ordered range of all the kb folders where uuid = ?.
|
KBFolder |
remove(long kbFolderId)
Removes the kb folder with the primary key from the database.
|
void |
removeAll()
Removes all the kb folders from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the kb folders where companyId = ? from the database.
|
KBFolder |
removeByG_P_N(long groupId,
long parentKBFolderId,
java.lang.String name)
Removes the kb folder where groupId = ? and parentKBFolderId = ? and name = ? from the database.
|
KBFolder |
removeByG_P_UT(long groupId,
long parentKBFolderId,
java.lang.String urlTitle)
Removes the kb folder where groupId = ? and parentKBFolderId = ? and urlTitle = ? from the database.
|
void |
removeByG_P(long groupId,
long parentKBFolderId)
Removes all the kb folders where groupId = ? and parentKBFolderId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the kb folders where uuid = ? and companyId = ? from the database.
|
KBFolder |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the kb folder where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the kb folders where uuid = ? from the database.
|
KBFolder |
updateImpl(KBFolder kbFolder) |
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<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, then the query will include the default ORDER BY logic from KBFolderModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb 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, then the query will include the default ORDER BY logic from KBFolderModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb 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 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 KBFolderModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use 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 kb 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 kb 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 kb 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 kb 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 kb folderuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFolderException
- if a kb 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 kb 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 kb folder could not be foundKBFolder fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching kb folder could not be foundKBFolder removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFolderException
uuid
- the uuidgroupId
- the group IDNoSuchFolderException
int 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, then the query will include the default ORDER BY logic from KBFolderModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb 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, then the query will include the default ORDER BY logic from KBFolderModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb 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 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 KBFolderModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use 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 kb 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 kb 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 kb 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 kb 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 kb folderuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFolderException
- if a kb 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> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KBFolder> 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 KBFolderModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)java.util.List<KBFolder> findByCompanyId(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, then the query will include the default ORDER BY logic from KBFolderModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KBFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> 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 KBFolderModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheKBFolder findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFolderException
- if a matching kb folder could not be foundKBFolder fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb folder could not be foundKBFolder findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFolderException
- if a matching kb folder could not be foundKBFolder fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb folder could not be foundKBFolder[] findByCompanyId_PrevAndNext(long kbFolderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException
kbFolderId
- the primary key of the current kb foldercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFolderException
- if a kb folder with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KBFolder> findByG_P(long groupId, long parentKBFolderId)
groupId
- the group IDparentKBFolderId
- the parent kb 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, then the query will include the default ORDER BY logic from KBFolderModelImpl
.
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb 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, then the query will include the default ORDER BY logic from KBFolderModelImpl
.
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb 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 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 KBFolderModelImpl
.
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use 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 kb folder IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFolderException
- if a matching kb 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 kb folder IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb 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 kb folder IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFolderException
- if a matching kb 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 kb folder IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb 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 kb foldergroupId
- the group IDparentKBFolderId
- the parent kb folder IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFolderException
- if a kb folder with the primary key could not be foundjava.util.List<KBFolder> filterFindByG_P(long groupId, long parentKBFolderId)
groupId
- the group IDparentKBFolderId
- the parent kb 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, then the query will include the default ORDER BY logic from KBFolderModelImpl
.
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb 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, then the query will include the default ORDER BY logic from KBFolderModelImpl
.
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb 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 kb foldergroupId
- the group IDparentKBFolderId
- the parent kb folder IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFolderException
- if a kb folder with the primary key could not be foundvoid removeByG_P(long groupId, long parentKBFolderId)
groupId
- the group IDparentKBFolderId
- the parent kb folder IDint countByG_P(long groupId, long parentKBFolderId)
groupId
- the group IDparentKBFolderId
- the parent kb folder IDint filterCountByG_P(long groupId, long parentKBFolderId)
groupId
- the group IDparentKBFolderId
- the parent kb 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 kb folder IDname
- the nameNoSuchFolderException
- if a matching kb 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 kb folder IDname
- the namenull
if a matching kb folder could not be foundKBFolder fetchByG_P_N(long groupId, long parentKBFolderId, java.lang.String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDparentKBFolderId
- the parent kb folder IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching kb folder could not be foundKBFolder removeByG_P_N(long groupId, long parentKBFolderId, java.lang.String name) throws NoSuchFolderException
groupId
- the group IDparentKBFolderId
- the parent kb folder IDname
- the nameNoSuchFolderException
int countByG_P_N(long groupId, long parentKBFolderId, java.lang.String name)
groupId
- the group IDparentKBFolderId
- the parent kb 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 kb folder IDurlTitle
- the url titleNoSuchFolderException
- if a matching kb 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 kb folder IDurlTitle
- the url titlenull
if a matching kb folder could not be foundKBFolder fetchByG_P_UT(long groupId, long parentKBFolderId, java.lang.String urlTitle, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDparentKBFolderId
- the parent kb folder IDurlTitle
- the url titleuseFinderCache
- whether to use the finder cachenull
if a matching kb folder could not be foundKBFolder removeByG_P_UT(long groupId, long parentKBFolderId, java.lang.String urlTitle) throws NoSuchFolderException
groupId
- the group IDparentKBFolderId
- the parent kb folder IDurlTitle
- the url titleNoSuchFolderException
int countByG_P_UT(long groupId, long parentKBFolderId, java.lang.String urlTitle)
groupId
- the group IDparentKBFolderId
- the parent kb folder IDurlTitle
- the url titlevoid cacheResult(KBFolder kbFolder)
kbFolder
- the kb foldervoid cacheResult(java.util.List<KBFolder> kbFolders)
kbFolders
- the kb foldersKBFolder create(long kbFolderId)
kbFolderId
- the primary key for the new kb folderKBFolder remove(long kbFolderId) throws NoSuchFolderException
kbFolderId
- the primary key of the kb folderNoSuchFolderException
- if a kb 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 kb folderNoSuchFolderException
- if a kb 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 kb foldernull
if a kb folder with the primary key could not be foundjava.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, then the query will include the default ORDER BY logic from KBFolderModelImpl
.
start
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb 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, then the query will include the default ORDER BY logic from KBFolderModelImpl
.
start
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb 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 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 KBFolderModelImpl
.
start
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()