|
Liferay 6.2.0-ce-b3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<AssetCategory>
com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceImpl
public class AssetCategoryPersistenceImpl
The persistence implementation for the asset category service.
Caching information and settings can be found in portal.properties
AssetCategoryPersistence,
AssetCategoryUtil| Nested Class Summary | |
|---|---|
protected class |
AssetCategoryPersistenceImpl.ExpandTreeLeftCategoryId
|
protected class |
AssetCategoryPersistenceImpl.ExpandTreeRightCategoryId
|
protected class |
AssetCategoryPersistenceImpl.ShrinkTreeLeftCategoryId
|
protected class |
AssetCategoryPersistenceImpl.ShrinkTreeRightCategoryId
|
protected class |
AssetCategoryPersistenceImpl.UpdateTree
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
AssetCategoryPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
addAssetEntries(long pk,
List<AssetEntry> assetEntries)
Adds an association between the asset category and the asset entries. |
void |
addAssetEntries(long pk,
long[] assetEntryPKs)
Adds an association between the asset category and the asset entries. |
void |
addAssetEntry(long pk,
AssetEntry assetEntry)
Adds an association between the asset category and the asset entry. |
void |
addAssetEntry(long pk,
long assetEntryPK)
Adds an association between the asset category and the asset entry. |
void |
afterPropertiesSet()
Initializes the asset category persistence. |
void |
cacheResult(AssetCategory assetCategory)
Caches the asset category in the entity cache if it is enabled. |
void |
cacheResult(List<AssetCategory> assetCategories)
Caches the asset categories in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(AssetCategory assetCategory)
|
void |
clearAssetEntries(long pk)
Clears all associations between the asset category and its asset entries. |
void |
clearCache()
Clears the cache for all asset categories. |
void |
clearCache(AssetCategory assetCategory)
Clears the cache for the asset category. |
void |
clearCache(List<AssetCategory> assetCategories)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(AssetCategory assetCategory)
|
boolean |
containsAssetEntries(long pk)
Returns true if the asset category has any asset entries associated with it. |
boolean |
containsAssetEntry(long pk,
long assetEntryPK)
Returns true if the asset entry is associated with the asset category. |
int |
countAll()
Returns the number of asset categories. |
int |
countByG_LikeN_V(long groupId,
String name,
long vocabularyId)
Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = ?. |
int |
countByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?. |
int |
countByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
Returns the number of asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. |
int |
countByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
Returns the number of asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
int |
countByG_V(long groupId,
long vocabularyId)
Returns the number of asset categories where groupId = ? and vocabularyId = ?. |
int |
countByG_V(long groupId,
long[] vocabularyIds)
Returns the number of asset categories where groupId = ? and vocabularyId = any ?. |
int |
countByGroupId(long groupId)
Returns the number of asset categories where groupId = ?. |
int |
countByN_V(String name,
long vocabularyId)
Returns the number of asset categories where name = ? and vocabularyId = ?. |
int |
countByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
Returns the number of asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?. |
int |
countByP_N(long parentCategoryId,
String name)
Returns the number of asset categories where parentCategoryId = ? and name = ?. |
int |
countByP_V(long parentCategoryId,
long vocabularyId)
Returns the number of asset categories where parentCategoryId = ? and vocabularyId = ?. |
int |
countByParentCategoryId(long parentCategoryId)
Returns the number of asset categories where parentCategoryId = ?. |
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of asset categories where uuid = ? and companyId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of asset categories where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of asset categories where uuid = ?. |
int |
countByVocabularyId(long vocabularyId)
Returns the number of asset categories where vocabularyId = ?. |
protected long |
countOrphanTreeNodes(long groupId)
|
AssetCategory |
create(long categoryId)
Creates a new asset category with the primary key. |
void |
destroy()
|
protected void |
expandNoChildrenLeftCategoryId(long groupId,
long leftCategoryId,
List<Long> childrenCategoryIds,
long delta)
|
protected void |
expandNoChildrenRightCategoryId(long groupId,
long rightCategoryId,
List<Long> childrenCategoryIds,
long delta)
|
protected void |
expandTree(AssetCategory assetCategory,
List<Long> childrenCategoryIds)
|
AssetCategory |
fetchByG_LikeN_V_First(long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?. |
AssetCategory |
fetchByG_LikeN_V_Last(long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?. |
AssetCategory |
fetchByG_P_N_V_First(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. |
AssetCategory |
fetchByG_P_N_V_Last(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. |
AssetCategory |
fetchByG_P_V_First(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
AssetCategory |
fetchByG_P_V_Last(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
AssetCategory |
fetchByG_V_First(long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?. |
AssetCategory |
fetchByG_V_Last(long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?. |
AssetCategory |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ?. |
AssetCategory |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ?. |
AssetCategory |
fetchByN_V_First(String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where name = ? and vocabularyId = ?. |
AssetCategory |
fetchByN_V_Last(String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where name = ? and vocabularyId = ?. |
AssetCategory |
fetchByP_N_First(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?. |
AssetCategory |
fetchByP_N_Last(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?. |
AssetCategory |
fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns null if it could not be found. |
AssetCategory |
fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId,
boolean retrieveFromCache)
Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns null if it could not be found, optionally using the finder cache. |
AssetCategory |
fetchByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. |
AssetCategory |
fetchByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. |
AssetCategory |
fetchByParentCategoryId_First(long parentCategoryId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ?. |
AssetCategory |
fetchByParentCategoryId_Last(long parentCategoryId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ?. |
AssetCategory |
fetchByPrimaryKey(long categoryId)
Returns the asset category with the primary key or returns null if it could not be found. |
AssetCategory |
fetchByPrimaryKey(Serializable primaryKey)
Returns the asset category with the primary key or returns null if it could not be found. |
AssetCategory |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where uuid = ? and companyId = ?. |
AssetCategory |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where uuid = ? and companyId = ?. |
AssetCategory |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where uuid = ?. |
AssetCategory |
fetchByUUID_G(String uuid,
long groupId)
Returns the asset category where uuid = ? and groupId = ? or returns null if it could not be found. |
AssetCategory |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the asset category where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
AssetCategory |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where uuid = ?. |
AssetCategory |
fetchByVocabularyId_First(long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where vocabularyId = ?. |
AssetCategory |
fetchByVocabularyId_Last(long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where vocabularyId = ?. |
int |
filterCountByG_LikeN_V(long groupId,
String name,
long vocabularyId)
Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?. |
int |
filterCountByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?. |
int |
filterCountByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. |
int |
filterCountByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
int |
filterCountByG_V(long groupId,
long vocabularyId)
Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?. |
int |
filterCountByG_V(long groupId,
long[] vocabularyIds)
Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of asset categories that the user has permission to view where groupId = ?. |
AssetCategory[] |
filterFindByG_LikeN_V_PrevAndNext(long categoryId,
long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?. |
List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
String name,
long vocabularyId)
Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?. |
List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?. |
List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?. |
List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?. |
List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?. |
List<AssetCategory> |
filterFindByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and name LIKE ? and vocabularyId = ?. |
AssetCategory[] |
filterFindByG_P_N_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. |
List<AssetCategory> |
filterFindByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. |
List<AssetCategory> |
filterFindByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. |
List<AssetCategory> |
filterFindByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. |
AssetCategory[] |
filterFindByG_P_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
List<AssetCategory> |
filterFindByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
List<AssetCategory> |
filterFindByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
List<AssetCategory> |
filterFindByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
AssetCategory[] |
filterFindByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?. |
List<AssetCategory> |
filterFindByG_V(long groupId,
long vocabularyId)
Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?. |
List<AssetCategory> |
filterFindByG_V(long groupId,
long[] vocabularyIds)
Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?. |
List<AssetCategory> |
filterFindByG_V(long groupId,
long[] vocabularyIds,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?. |
List<AssetCategory> |
filterFindByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?. |
List<AssetCategory> |
filterFindByG_V(long groupId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?. |
List<AssetCategory> |
filterFindByG_V(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and vocabularyId = ?. |
AssetCategory[] |
filterFindByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ?. |
List<AssetCategory> |
filterFindByGroupId(long groupId)
Returns all the asset categories that the user has permission to view where groupId = ?. |
List<AssetCategory> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the asset categories that the user has permission to view where groupId = ?. |
List<AssetCategory> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ?. |
protected AssetCategory |
filterGetByG_LikeN_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
filterGetByG_P_N_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
filterGetByG_P_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
filterGetByG_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
filterGetByGroupId_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
List<AssetCategory> |
findAll()
Returns all the asset categories. |
List<AssetCategory> |
findAll(int start,
int end)
Returns a range of all the asset categories. |
List<AssetCategory> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories. |
AssetCategory |
findByG_LikeN_V_First(long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?. |
AssetCategory |
findByG_LikeN_V_Last(long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?. |
AssetCategory[] |
findByG_LikeN_V_PrevAndNext(long categoryId,
long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?. |
List<AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long vocabularyId)
Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?. |
List<AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?. |
List<AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?. |
List<AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?. |
List<AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?. |
List<AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?. |
AssetCategory |
findByG_P_N_V_First(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. |
AssetCategory |
findByG_P_N_V_Last(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. |
AssetCategory[] |
findByG_P_N_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. |
List<AssetCategory> |
findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
Returns all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. |
List<AssetCategory> |
findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. |
List<AssetCategory> |
findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?. |
AssetCategory |
findByG_P_V_First(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
AssetCategory |
findByG_P_V_Last(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
AssetCategory[] |
findByG_P_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
List<AssetCategory> |
findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
Returns all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
List<AssetCategory> |
findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
List<AssetCategory> |
findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
AssetCategory |
findByG_V_First(long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?. |
AssetCategory |
findByG_V_Last(long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?. |
AssetCategory[] |
findByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and vocabularyId = ?. |
List<AssetCategory> |
findByG_V(long groupId,
long vocabularyId)
Returns all the asset categories where groupId = ? and vocabularyId = ?. |
List<AssetCategory> |
findByG_V(long groupId,
long[] vocabularyIds)
Returns all the asset categories where groupId = ? and vocabularyId = any ?. |
List<AssetCategory> |
findByG_V(long groupId,
long[] vocabularyIds,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and vocabularyId = any ?. |
List<AssetCategory> |
findByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = any ?. |
List<AssetCategory> |
findByG_V(long groupId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and vocabularyId = ?. |
List<AssetCategory> |
findByG_V(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?. |
AssetCategory |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ?. |
AssetCategory |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ?. |
AssetCategory[] |
findByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ?. |
List<AssetCategory> |
findByGroupId(long groupId)
Returns all the asset categories where groupId = ?. |
List<AssetCategory> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the asset categories where groupId = ?. |
List<AssetCategory> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ?. |
AssetCategory |
findByN_V_First(String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where name = ? and vocabularyId = ?. |
AssetCategory |
findByN_V_Last(String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where name = ? and vocabularyId = ?. |
AssetCategory[] |
findByN_V_PrevAndNext(long categoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?. |
List<AssetCategory> |
findByN_V(String name,
long vocabularyId)
Returns all the asset categories where name = ? and vocabularyId = ?. |
List<AssetCategory> |
findByN_V(String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where name = ? and vocabularyId = ?. |
List<AssetCategory> |
findByN_V(String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?. |
AssetCategory |
findByP_N_First(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?. |
AssetCategory |
findByP_N_Last(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?. |
AssetCategory[] |
findByP_N_PrevAndNext(long categoryId,
long parentCategoryId,
String name,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and name = ?. |
AssetCategory |
findByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or throws a NoSuchCategoryException if it could not be found. |
List<AssetCategory> |
findByP_N(long parentCategoryId,
String name)
Returns all the asset categories where parentCategoryId = ? and name = ?. |
List<AssetCategory> |
findByP_N(long parentCategoryId,
String name,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ? and name = ?. |
List<AssetCategory> |
findByP_N(long parentCategoryId,
String name,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?. |
AssetCategory |
findByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. |
AssetCategory |
findByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. |
AssetCategory[] |
findByP_V_PrevAndNext(long categoryId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. |
List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId)
Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?. |
List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ? and vocabularyId = ?. |
List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?. |
AssetCategory |
findByParentCategoryId_First(long parentCategoryId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ?. |
AssetCategory |
findByParentCategoryId_Last(long parentCategoryId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ?. |
AssetCategory[] |
findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?. |
List<AssetCategory> |
findByParentCategoryId(long parentCategoryId)
Returns all the asset categories where parentCategoryId = ?. |
List<AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ?. |
List<AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ?. |
AssetCategory |
findByPrimaryKey(long categoryId)
Returns the asset category with the primary key or throws a NoSuchCategoryException if it could not be found. |
AssetCategory |
findByPrimaryKey(Serializable primaryKey)
Returns the asset category with the primary key or throws a NoSuchModelException if it could not be found. |
AssetCategory |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where uuid = ? and companyId = ?. |
AssetCategory |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where uuid = ? and companyId = ?. |
AssetCategory[] |
findByUuid_C_PrevAndNext(long categoryId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where uuid = ? and companyId = ?. |
List<AssetCategory> |
findByUuid_C(String uuid,
long companyId)
Returns all the asset categories where uuid = ? and companyId = ?. |
List<AssetCategory> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the asset categories where uuid = ? and companyId = ?. |
List<AssetCategory> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where uuid = ? and companyId = ?. |
AssetCategory |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where uuid = ?. |
AssetCategory |
findByUUID_G(String uuid,
long groupId)
Returns the asset category where uuid = ? and groupId = ? or throws a NoSuchCategoryException if it could not be found. |
AssetCategory |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where uuid = ?. |
AssetCategory[] |
findByUuid_PrevAndNext(long categoryId,
String uuid,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where uuid = ?. |
List<AssetCategory> |
findByUuid(String uuid)
Returns all the asset categories where uuid = ?. |
List<AssetCategory> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the asset categories where uuid = ?. |
List<AssetCategory> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where uuid = ?. |
AssetCategory |
findByVocabularyId_First(long vocabularyId,
OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where vocabularyId = ?. |
AssetCategory |
findByVocabularyId_Last(long vocabularyId,
OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where vocabularyId = ?. |
AssetCategory[] |
findByVocabularyId_PrevAndNext(long categoryId,
long vocabularyId,
OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?. |
List<AssetCategory> |
findByVocabularyId(long vocabularyId)
Returns all the asset categories where vocabularyId = ?. |
List<AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where vocabularyId = ?. |
List<AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where vocabularyId = ?. |
List<AssetEntry> |
getAssetEntries(long pk)
Returns all the asset entries associated with the asset category. |
List<AssetEntry> |
getAssetEntries(long pk,
int start,
int end)
Returns a range of all the asset entries associated with the asset category. |
List<AssetEntry> |
getAssetEntries(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries associated with the asset category. |
int |
getAssetEntriesSize(long pk)
Returns the number of asset entries associated with the asset category. |
protected Set<String> |
getBadColumnNames()
|
protected AssetCategory |
getByG_LikeN_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByG_P_N_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByG_P_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByG_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByGroupId_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByN_V_PrevAndNext(Session session,
AssetCategory assetCategory,
String name,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByP_N_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
String name,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByP_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByParentCategoryId_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByUuid_C_PrevAndNext(Session session,
AssetCategory assetCategory,
String uuid,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByUuid_PrevAndNext(Session session,
AssetCategory assetCategory,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByVocabularyId_PrevAndNext(Session session,
AssetCategory assetCategory,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected List<Long> |
getChildrenTreeCategoryIds(AssetCategory parentAssetCategory)
|
protected long |
getLastRightCategoryId(long groupId,
long parentCategoryId)
|
void |
rebuildTree(long groupId,
boolean force)
Rebuilds the asset categories tree for the scope using the modified pre-order tree traversal algorithm. |
protected long |
rebuildTree(long groupId,
long parentCategoryId,
long leftCategoryId)
|
AssetCategory |
remove(long categoryId)
Removes the asset category with the primary key from the database. |
AssetCategory |
remove(Serializable primaryKey)
Removes the asset category with the primary key from the database. |
void |
removeAll()
Removes all the asset categories from the database. |
void |
removeAssetEntries(long pk,
List<AssetEntry> assetEntries)
Removes the association between the asset category and the asset entries. |
void |
removeAssetEntries(long pk,
long[] assetEntryPKs)
Removes the association between the asset category and the asset entries. |
void |
removeAssetEntry(long pk,
AssetEntry assetEntry)
Removes the association between the asset category and the asset entry. |
void |
removeAssetEntry(long pk,
long assetEntryPK)
Removes the association between the asset category and the asset entry. |
void |
removeByG_LikeN_V(long groupId,
String name,
long vocabularyId)
Removes all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ? from the database. |
void |
removeByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
Removes all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ? from the database. |
void |
removeByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
Removes all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ? from the database. |
void |
removeByG_V(long groupId,
long vocabularyId)
Removes all the asset categories where groupId = ? and vocabularyId = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the asset categories where groupId = ? from the database. |
void |
removeByN_V(String name,
long vocabularyId)
Removes all the asset categories where name = ? and vocabularyId = ? from the database. |
AssetCategory |
removeByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database. |
void |
removeByP_N(long parentCategoryId,
String name)
Removes all the asset categories where parentCategoryId = ? and name = ? from the database. |
void |
removeByP_V(long parentCategoryId,
long vocabularyId)
Removes all the asset categories where parentCategoryId = ? and vocabularyId = ? from the database. |
void |
removeByParentCategoryId(long parentCategoryId)
Removes all the asset categories where parentCategoryId = ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the asset categories where uuid = ? and companyId = ? from the database. |
AssetCategory |
removeByUUID_G(String uuid,
long groupId)
Removes the asset category where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the asset categories where uuid = ? from the database. |
void |
removeByVocabularyId(long vocabularyId)
Removes all the asset categories where vocabularyId = ? from the database. |
protected AssetCategory |
removeImpl(AssetCategory assetCategory)
Removes the model instance from the database. |
void |
setAssetEntries(long pk,
List<AssetEntry> assetEntries)
Sets the asset entries associated with the asset category, removing and adding associations as necessary. |
void |
setAssetEntries(long pk,
long[] assetEntryPKs)
Sets the asset entries associated with the asset category, removing and adding associations as necessary. |
void |
setRebuildTreeEnabled(boolean rebuildTreeEnabled)
|
protected void |
shrinkTree(AssetCategory assetCategory)
|
protected AssetCategory |
toUnwrappedModel(AssetCategory assetCategory)
|
protected void |
updateChildrenTree(long groupId,
List<Long> childrenCategoryIds,
long delta)
|
AssetCategory |
updateImpl(AssetCategory assetCategory)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PARENTCATEGORYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PARENTCATEGORYID
public static final FinderPath FINDER_PATH_COUNT_BY_PARENTCATEGORYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_VOCABULARYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VOCABULARYID
public static final FinderPath FINDER_PATH_COUNT_BY_VOCABULARYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_V
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_V
public static final FinderPath FINDER_PATH_COUNT_BY_G_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P_N
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_N
public static final FinderPath FINDER_PATH_COUNT_BY_P_N
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P_V
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_V
public static final FinderPath FINDER_PATH_COUNT_BY_P_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_V
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_V
public static final FinderPath FINDER_PATH_COUNT_BY_N_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_V
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_V
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LIKEN_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LIKEN_V
public static final FinderPath FINDER_PATH_FETCH_BY_P_N_V
public static final FinderPath FINDER_PATH_COUNT_BY_P_N_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_N_V
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_N_V
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_N_V
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
protected TableMapper<AssetCategory,AssetEntry> assetCategoryToAssetEntryTableMapper
protected boolean rebuildTreeEnabled
protected AssetCategoryPersistenceImpl.ExpandTreeLeftCategoryId expandTreeLeftCategoryId
protected AssetCategoryPersistenceImpl.ExpandTreeRightCategoryId expandTreeRightCategoryId
protected AssetCategoryPersistenceImpl.ShrinkTreeLeftCategoryId shrinkTreeLeftCategoryId
protected AssetCategoryPersistenceImpl.ShrinkTreeRightCategoryId shrinkTreeRightCategoryId
protected AssetCategoryPersistenceImpl.UpdateTree updateTree
| Constructor Detail |
|---|
public AssetCategoryPersistenceImpl()
| Method Detail |
|---|
public List<AssetCategory> findByUuid(String uuid)
throws SystemException
findByUuid in interface AssetCategoryPersistenceuuid - the uuid
SystemException - if a system exception occurred
public List<AssetCategory> findByUuid(String uuid,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByUuid in interface AssetCategoryPersistenceuuid - the uuidstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByUuid in interface AssetCategoryPersistenceuuid - the uuidstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByUuid_First in interface AssetCategoryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_First in interface AssetCategoryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByUuid_Last in interface AssetCategoryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_Last in interface AssetCategoryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory[] findByUuid_PrevAndNext(long categoryId,
String uuid,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByUuid_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categoryuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory getByUuid_PrevAndNext(Session session,
AssetCategory assetCategory,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
throws SystemException
removeByUuid in interface AssetCategoryPersistenceuuid - the uuid
SystemException - if a system exception occurred
public int countByUuid(String uuid)
throws SystemException
countByUuid in interface AssetCategoryPersistenceuuid - the uuid
SystemException - if a system exception occurred
public AssetCategory findByUUID_G(String uuid,
long groupId)
throws NoSuchCategoryException,
SystemException
NoSuchCategoryException if it could not be found.
findByUUID_G in interface AssetCategoryPersistenceuuid - the uuidgroupId - the group ID
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByUUID_G(String uuid,
long groupId)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface AssetCategoryPersistenceuuid - the uuidgroupId - the group ID
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface AssetCategoryPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cache
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory removeByUUID_G(String uuid,
long groupId)
throws NoSuchCategoryException,
SystemException
removeByUUID_G in interface AssetCategoryPersistenceuuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
NoSuchCategoryException
public int countByUUID_G(String uuid,
long groupId)
throws SystemException
countByUUID_G in interface AssetCategoryPersistenceuuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
public List<AssetCategory> findByUuid_C(String uuid,
long companyId)
throws SystemException
findByUuid_C in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public List<AssetCategory> findByUuid_C(String uuid,
long companyId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByUuid_C in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByUuid_C in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByUuid_C_First in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_C_First in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByUuid_C_Last in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_C_Last in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory[] findByUuid_C_PrevAndNext(long categoryId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByUuid_C_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categoryuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory getByUuid_C_PrevAndNext(Session session,
AssetCategory assetCategory,
String uuid,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
throws SystemException
removeByUuid_C in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public int countByUuid_C(String uuid,
long companyId)
throws SystemException
countByUuid_C in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public List<AssetCategory> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface AssetCategoryPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<AssetCategory> findByGroupId(long groupId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByGroupId in interface AssetCategoryPersistencegroupId - the group IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByGroupId in interface AssetCategoryPersistencegroupId - the group IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByGroupId_First in interface AssetCategoryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_First in interface AssetCategoryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByGroupId_Last in interface AssetCategoryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_Last in interface AssetCategoryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory[] findByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByGroupId_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory getByGroupId_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByGroupId(long groupId)
throws SystemException
filterFindByGroupId in interface AssetCategoryPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<AssetCategory> filterFindByGroupId(long groupId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
filterFindByGroupId in interface AssetCategoryPersistencegroupId - the group IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
filterFindByGroupId in interface AssetCategoryPersistencegroupId - the group IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory[] filterFindByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
filterFindByGroupId_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory filterGetByGroupId_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface AssetCategoryPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface AssetCategoryPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int filterCountByGroupId(long groupId)
throws SystemException
filterCountByGroupId in interface AssetCategoryPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<AssetCategory> findByParentCategoryId(long parentCategoryId)
throws SystemException
findByParentCategoryId in interface AssetCategoryPersistenceparentCategoryId - the parent category ID
SystemException - if a system exception occurred
public List<AssetCategory> findByParentCategoryId(long parentCategoryId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByParentCategoryId in interface AssetCategoryPersistenceparentCategoryId - the parent category IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findByParentCategoryId(long parentCategoryId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByParentCategoryId in interface AssetCategoryPersistenceparentCategoryId - the parent category IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory findByParentCategoryId_First(long parentCategoryId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByParentCategoryId_First in interface AssetCategoryPersistenceparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByParentCategoryId_First(long parentCategoryId,
OrderByComparator orderByComparator)
throws SystemException
fetchByParentCategoryId_First in interface AssetCategoryPersistenceparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory findByParentCategoryId_Last(long parentCategoryId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByParentCategoryId_Last in interface AssetCategoryPersistenceparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByParentCategoryId_Last(long parentCategoryId,
OrderByComparator orderByComparator)
throws SystemException
fetchByParentCategoryId_Last in interface AssetCategoryPersistenceparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByParentCategoryId_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categoryparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory getByParentCategoryId_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByParentCategoryId(long parentCategoryId)
throws SystemException
removeByParentCategoryId in interface AssetCategoryPersistenceparentCategoryId - the parent category ID
SystemException - if a system exception occurred
public int countByParentCategoryId(long parentCategoryId)
throws SystemException
countByParentCategoryId in interface AssetCategoryPersistenceparentCategoryId - the parent category ID
SystemException - if a system exception occurred
public List<AssetCategory> findByVocabularyId(long vocabularyId)
throws SystemException
findByVocabularyId in interface AssetCategoryPersistencevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> findByVocabularyId(long vocabularyId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByVocabularyId in interface AssetCategoryPersistencevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findByVocabularyId(long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByVocabularyId in interface AssetCategoryPersistencevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory findByVocabularyId_First(long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByVocabularyId_First in interface AssetCategoryPersistencevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByVocabularyId_First(long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByVocabularyId_First in interface AssetCategoryPersistencevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory findByVocabularyId_Last(long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByVocabularyId_Last in interface AssetCategoryPersistencevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByVocabularyId_Last(long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByVocabularyId_Last in interface AssetCategoryPersistencevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByVocabularyId_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categoryvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory getByVocabularyId_PrevAndNext(Session session,
AssetCategory assetCategory,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByVocabularyId(long vocabularyId)
throws SystemException
removeByVocabularyId in interface AssetCategoryPersistencevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public int countByVocabularyId(long vocabularyId)
throws SystemException
countByVocabularyId in interface AssetCategoryPersistencevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> findByG_V(long groupId,
long vocabularyId)
throws SystemException
findByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> findByG_V(long groupId,
long vocabularyId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findByG_V(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory findByG_V_First(long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByG_V_First in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByG_V_First(long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_V_First in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory findByG_V_Last(long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByG_V_Last in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByG_V_Last(long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_V_Last in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory[] findByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByG_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory getByG_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByG_V(long groupId,
long vocabularyId)
throws SystemException
filterFindByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> filterFindByG_V(long groupId,
long vocabularyId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
filterFindByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> filterFindByG_V(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
filterFindByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory[] filterFindByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
filterFindByG_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory filterGetByG_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByG_V(long groupId,
long[] vocabularyIds)
throws SystemException
filterFindByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDs
SystemException - if a system exception occurred
public List<AssetCategory> filterFindByG_V(long groupId,
long[] vocabularyIds,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
filterFindByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> filterFindByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
filterFindByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public List<AssetCategory> findByG_V(long groupId,
long[] vocabularyIds)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDs
SystemException - if a system exception occurred
public List<AssetCategory> findByG_V(long groupId,
long[] vocabularyIds,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public void removeByG_V(long groupId,
long vocabularyId)
throws SystemException
removeByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public int countByG_V(long groupId,
long vocabularyId)
throws SystemException
countByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public int countByG_V(long groupId,
long[] vocabularyIds)
throws SystemException
countByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDs
SystemException - if a system exception occurred
public int filterCountByG_V(long groupId,
long vocabularyId)
throws SystemException
filterCountByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public int filterCountByG_V(long groupId,
long[] vocabularyIds)
throws SystemException
filterCountByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDs
SystemException - if a system exception occurred
public List<AssetCategory> findByP_N(long parentCategoryId,
String name)
throws SystemException
findByP_N in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the name
SystemException - if a system exception occurred
public List<AssetCategory> findByP_N(long parentCategoryId,
String name,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByP_N in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findByP_N(long parentCategoryId,
String name,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByP_N in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory findByP_N_First(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByP_N_First in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByP_N_First(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
throws SystemException
fetchByP_N_First in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory findByP_N_Last(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByP_N_Last in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByP_N_Last(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
throws SystemException
fetchByP_N_Last in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory[] findByP_N_PrevAndNext(long categoryId,
long parentCategoryId,
String name,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByP_N_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categoryparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory getByP_N_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
String name,
OrderByComparator orderByComparator,
boolean previous)
public void removeByP_N(long parentCategoryId,
String name)
throws SystemException
removeByP_N in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the name
SystemException - if a system exception occurred
public int countByP_N(long parentCategoryId,
String name)
throws SystemException
countByP_N in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the name
SystemException - if a system exception occurred
public List<AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId)
throws SystemException
findByP_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByP_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByP_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory findByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByP_V_First in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByP_V_First in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory findByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByP_V_Last in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByP_V_Last in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory[] findByP_V_PrevAndNext(long categoryId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByP_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categoryparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory getByP_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByP_V(long parentCategoryId,
long vocabularyId)
throws SystemException
removeByP_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public int countByP_V(long parentCategoryId,
long vocabularyId)
throws SystemException
countByP_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> findByN_V(String name,
long vocabularyId)
throws SystemException
findByN_V in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> findByN_V(String name,
long vocabularyId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByN_V in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findByN_V(String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByN_V in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory findByN_V_First(String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByN_V_First in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByN_V_First(String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByN_V_First in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory findByN_V_Last(String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByN_V_Last in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByN_V_Last(String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByN_V_Last in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory[] findByN_V_PrevAndNext(long categoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByN_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categoryname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory getByN_V_PrevAndNext(Session session,
AssetCategory assetCategory,
String name,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByN_V(String name,
long vocabularyId)
throws SystemException
removeByN_V in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public int countByN_V(String name,
long vocabularyId)
throws SystemException
countByN_V in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
throws SystemException
findByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory findByG_P_V_First(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByG_P_V_First in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByG_P_V_First(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_P_V_First in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory findByG_P_V_Last(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByG_P_V_Last in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByG_P_V_Last(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_P_V_Last in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory[] findByG_P_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByG_P_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory getByG_P_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
throws SystemException
filterFindByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> filterFindByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
filterFindByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> filterFindByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
filterFindByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory[] filterFindByG_P_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
filterFindByG_P_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory filterGetByG_P_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
throws SystemException
removeByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public int countByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
throws SystemException
countByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public int filterCountByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
throws SystemException
filterCountByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> findByG_LikeN_V(long groupId,
String name,
long vocabularyId)
throws SystemException
findByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> findByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory findByG_LikeN_V_First(long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByG_LikeN_V_First in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByG_LikeN_V_First(long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_LikeN_V_First in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory findByG_LikeN_V_Last(long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByG_LikeN_V_Last in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByG_LikeN_V_Last(long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_LikeN_V_Last in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory[] findByG_LikeN_V_PrevAndNext(long categoryId,
long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByG_LikeN_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory getByG_LikeN_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByG_LikeN_V(long groupId,
String name,
long vocabularyId)
throws SystemException
filterFindByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> filterFindByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
filterFindByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> filterFindByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
filterFindByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory[] filterFindByG_LikeN_V_PrevAndNext(long categoryId,
long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
filterFindByG_LikeN_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory filterGetByG_LikeN_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
String name,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
throws SystemException
filterFindByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDs
SystemException - if a system exception occurred
public List<AssetCategory> filterFindByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
filterFindByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> filterFindByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
filterFindByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public List<AssetCategory> findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDs
SystemException - if a system exception occurred
public List<AssetCategory> findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public void removeByG_LikeN_V(long groupId,
String name,
long vocabularyId)
throws SystemException
removeByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public int countByG_LikeN_V(long groupId,
String name,
long vocabularyId)
throws SystemException
countByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public int countByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
throws SystemException
countByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDs
SystemException - if a system exception occurred
public int filterCountByG_LikeN_V(long groupId,
String name,
long vocabularyId)
throws SystemException
filterCountByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public int filterCountByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
throws SystemException
filterCountByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDs
SystemException - if a system exception occurred
public AssetCategory findByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws NoSuchCategoryException,
SystemException
NoSuchCategoryException if it could not be found.
findByP_N_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByP_N_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByP_N_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDretrieveFromCache - whether to use the finder cache
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory removeByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws NoSuchCategoryException,
SystemException
removeByP_N_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
NoSuchCategoryException
public int countByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws SystemException
countByP_N_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
throws SystemException
findByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory findByG_P_N_V_First(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByG_P_N_V_First in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByG_P_N_V_First(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_P_N_V_First in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory findByG_P_N_V_Last(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByG_P_N_V_Last in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByG_P_N_V_Last(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_P_N_V_Last in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
SystemException - if a system exception occurred
public AssetCategory[] findByG_P_N_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByG_P_N_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory getByG_P_N_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
throws SystemException
filterFindByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public List<AssetCategory> filterFindByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
filterFindByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> filterFindByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
filterFindByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public AssetCategory[] filterFindByG_P_N_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
filterFindByG_P_N_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory filterGetByG_P_N_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
throws SystemException
removeByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public int countByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
throws SystemException
countByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurred
public int filterCountByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
throws SystemException
filterCountByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
SystemException - if a system exception occurredpublic void cacheResult(AssetCategory assetCategory)
cacheResult in interface AssetCategoryPersistenceassetCategory - the asset categorypublic void cacheResult(List<AssetCategory> assetCategories)
cacheResult in interface AssetCategoryPersistenceassetCategories - the asset categoriespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<AssetCategory>clearCache in class BasePersistenceImpl<AssetCategory>public void clearCache(AssetCategory assetCategory)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<AssetCategory>clearCache in class BasePersistenceImpl<AssetCategory>assetCategory - the instance of this model to clear the cache forpublic void clearCache(List<AssetCategory> assetCategories)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<AssetCategory>clearCache in class BasePersistenceImpl<AssetCategory>assetCategories - the List instances of this model to clear the cache forprotected void cacheUniqueFindersCache(AssetCategory assetCategory)
protected void clearUniqueFindersCache(AssetCategory assetCategory)
public AssetCategory create(long categoryId)
create in interface AssetCategoryPersistencecategoryId - the primary key for the new asset category
public AssetCategory remove(long categoryId)
throws NoSuchCategoryException,
SystemException
remove in interface AssetCategoryPersistencecategoryId - the primary key of the asset category
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public AssetCategory remove(Serializable primaryKey)
throws NoSuchCategoryException,
SystemException
remove in interface BasePersistence<AssetCategory>remove in class BasePersistenceImpl<AssetCategory>primaryKey - the primary key of the asset category
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
protected AssetCategory removeImpl(AssetCategory assetCategory)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<AssetCategory>assetCategory - the model instance to remove
SystemException - if a system exception occurred
public AssetCategory updateImpl(AssetCategory assetCategory)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface AssetCategoryPersistenceupdateImpl in class BasePersistenceImpl<AssetCategory>assetCategory - the model instance to update
SystemException - if a system exception occurredprotected AssetCategory toUnwrappedModel(AssetCategory assetCategory)
public AssetCategory findByPrimaryKey(Serializable primaryKey)
throws NoSuchCategoryException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<AssetCategory>findByPrimaryKey in class BasePersistenceImpl<AssetCategory>primaryKey - the primary key of the asset category
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public AssetCategory findByPrimaryKey(long categoryId)
throws NoSuchCategoryException,
SystemException
NoSuchCategoryException if it could not be found.
findByPrimaryKey in interface AssetCategoryPersistencecategoryId - the primary key of the asset category
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<AssetCategory>fetchByPrimaryKey in class BasePersistenceImpl<AssetCategory>primaryKey - the primary key of the asset category
null if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public AssetCategory fetchByPrimaryKey(long categoryId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface AssetCategoryPersistencecategoryId - the primary key of the asset category
null if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public List<AssetCategory> findAll()
throws SystemException
findAll in interface AssetCategoryPersistenceSystemException - if a system exception occurred
public List<AssetCategory> findAll(int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
findAll in interface AssetCategoryPersistencestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetCategory> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
findAll in interface AssetCategoryPersistencestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public void removeAll()
throws SystemException
removeAll in interface AssetCategoryPersistenceSystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface AssetCategoryPersistenceSystemException - if a system exception occurred
public List<AssetEntry> getAssetEntries(long pk)
throws SystemException
getAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset category
SystemException - if a system exception occurred
public List<AssetEntry> getAssetEntries(long pk,
int start,
int end)
throws SystemException
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 AssetCategoryModelImpl. 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.
getAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categorystart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public List<AssetEntry> getAssetEntries(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 AssetCategoryModelImpl. 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.
getAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categorystart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public int getAssetEntriesSize(long pk)
throws SystemException
getAssetEntriesSize in interface AssetCategoryPersistencepk - the primary key of the asset category
SystemException - if a system exception occurred
public boolean containsAssetEntry(long pk,
long assetEntryPK)
throws SystemException
true if the asset entry is associated with the asset category.
containsAssetEntry in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entry
true if the asset entry is associated with the asset category; false otherwise
SystemException - if a system exception occurred
public boolean containsAssetEntries(long pk)
throws SystemException
true if the asset category has any asset entries associated with it.
containsAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset category to check for associations with asset entries
true if the asset category has any asset entries associated with it; false otherwise
SystemException - if a system exception occurred
public void addAssetEntry(long pk,
long assetEntryPK)
throws SystemException
addAssetEntry in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entry
SystemException - if a system exception occurred
public void addAssetEntry(long pk,
AssetEntry assetEntry)
throws SystemException
addAssetEntry in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntry - the asset entry
SystemException - if a system exception occurred
public void addAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
addAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entries
SystemException - if a system exception occurred
public void addAssetEntries(long pk,
List<AssetEntry> assetEntries)
throws SystemException
addAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntries - the asset entries
SystemException - if a system exception occurred
public void clearAssetEntries(long pk)
throws SystemException
clearAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset category to clear the associated asset entries from
SystemException - if a system exception occurred
public void removeAssetEntry(long pk,
long assetEntryPK)
throws SystemException
removeAssetEntry in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entry
SystemException - if a system exception occurred
public void removeAssetEntry(long pk,
AssetEntry assetEntry)
throws SystemException
removeAssetEntry in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntry - the asset entry
SystemException - if a system exception occurred
public void removeAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
removeAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entries
SystemException - if a system exception occurred
public void removeAssetEntries(long pk,
List<AssetEntry> assetEntries)
throws SystemException
removeAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntries - the asset entries
SystemException - if a system exception occurred
public void setAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
setAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entries to be associated with the asset category
SystemException - if a system exception occurred
public void setAssetEntries(long pk,
List<AssetEntry> assetEntries)
throws SystemException
setAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntries - the asset entries to be associated with the asset category
SystemException - if a system exception occurredprotected Set<String> getBadColumnNames()
getBadColumnNames in class BasePersistenceImpl<AssetCategory>
public void rebuildTree(long groupId,
boolean force)
throws SystemException
Only call this method if the tree has become stale through operations other than normal CRUD. Under normal circumstances the tree is automatically rebuilt whenver necessary.
rebuildTree in interface AssetCategoryPersistencegroupId - the ID of the scopeforce - whether to force the rebuild even if the tree is not stale
SystemExceptionpublic void setRebuildTreeEnabled(boolean rebuildTreeEnabled)
setRebuildTreeEnabled in interface AssetCategoryPersistence
protected long countOrphanTreeNodes(long groupId)
throws SystemException
SystemException
protected void expandNoChildrenLeftCategoryId(long groupId,
long leftCategoryId,
List<Long> childrenCategoryIds,
long delta)
protected void expandNoChildrenRightCategoryId(long groupId,
long rightCategoryId,
List<Long> childrenCategoryIds,
long delta)
protected void expandTree(AssetCategory assetCategory,
List<Long> childrenCategoryIds)
throws SystemException
SystemException
protected List<Long> getChildrenTreeCategoryIds(AssetCategory parentAssetCategory)
throws SystemException
SystemException
protected long getLastRightCategoryId(long groupId,
long parentCategoryId)
throws SystemException
SystemException
protected long rebuildTree(long groupId,
long parentCategoryId,
long leftCategoryId)
throws SystemException
SystemExceptionprotected void shrinkTree(AssetCategory assetCategory)
protected void updateChildrenTree(long groupId,
List<Long> childrenCategoryIds,
long delta)
public void afterPropertiesSet()
public void destroy()
|
Liferay 6.2.0-ce-b3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||