|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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.AddAssetEntry
|
protected class |
AssetCategoryPersistenceImpl.ClearAssetEntries
|
protected class |
AssetCategoryPersistenceImpl.ContainsAssetEntry
|
protected class |
AssetCategoryPersistenceImpl.ExpandTreeLeftCategoryId
|
protected class |
AssetCategoryPersistenceImpl.ExpandTreeRightCategoryId
|
protected class |
AssetCategoryPersistenceImpl.RemoveAssetEntry
|
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_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_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_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 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_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. |
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,
boolean merge)
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, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
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, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, 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_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_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
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_GET_ASSETENTRIES
public static final FinderPath FINDER_PATH_GET_ASSETENTRIES_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_ASSETENTRY
@BeanReference(type=AssetCategoryPersistence.class) protected AssetCategoryPersistence assetCategoryPersistence
@BeanReference(type=AssetCategoryPropertyPersistence.class) protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetLinkPersistence.class) protected AssetLinkPersistence assetLinkPersistence
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
@BeanReference(type=AssetTagPropertyPersistence.class) protected AssetTagPropertyPersistence assetTagPropertyPersistence
@BeanReference(type=AssetTagStatsPersistence.class) protected AssetTagStatsPersistence assetTagStatsPersistence
@BeanReference(type=AssetVocabularyPersistence.class) protected AssetVocabularyPersistence assetVocabularyPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
protected AssetCategoryPersistenceImpl.ContainsAssetEntry containsAssetEntry
protected AssetCategoryPersistenceImpl.AddAssetEntry addAssetEntry
protected AssetCategoryPersistenceImpl.ClearAssetEntries clearAssetEntries
protected AssetCategoryPersistenceImpl.RemoveAssetEntry removeAssetEntry
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 void cacheResult(AssetCategory assetCategory)
cacheResult
in interface AssetCategoryPersistence
assetCategory
- the asset categorypublic void cacheResult(List<AssetCategory> assetCategories)
cacheResult
in interface AssetCategoryPersistence
assetCategories
- 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 AssetCategoryPersistence
categoryId
- the primary key for the new asset category
public AssetCategory remove(long categoryId) throws NoSuchCategoryException, SystemException
remove
in interface AssetCategoryPersistence
categoryId
- 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 occurredpublic 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 occurredprotected AssetCategory removeImpl(AssetCategory assetCategory) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.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 occurredpublic AssetCategory updateImpl(AssetCategory assetCategory, boolean merge) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface AssetCategoryPersistence
updateImpl
in class BasePersistenceImpl<AssetCategory>
assetCategory
- the model instance to updatemerge
- whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredprotected AssetCategory toUnwrappedModel(AssetCategory assetCategory)
public AssetCategory findByPrimaryKey(Serializable primaryKey) throws NoSuchModelException, 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
NoSuchModelException
- if a asset category with the primary key could not be found
SystemException
- if a system exception occurredpublic AssetCategory findByPrimaryKey(long categoryId) throws NoSuchCategoryException, SystemException
NoSuchCategoryException
if it could not be found.
findByPrimaryKey
in interface AssetCategoryPersistence
categoryId
- 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 occurredpublic 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 occurredpublic AssetCategory fetchByPrimaryKey(long categoryId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface AssetCategoryPersistence
categoryId
- 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 occurredpublic List<AssetCategory> findByUuid(String uuid) throws SystemException
findByUuid
in interface AssetCategoryPersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic 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.
findByUuid
in interface AssetCategoryPersistence
uuid
- 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 occurredpublic 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.
findByUuid
in interface AssetCategoryPersistence
uuid
- 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 occurredpublic AssetCategory findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByUuid_First
in interface AssetCategoryPersistence
uuid
- 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 occurredpublic AssetCategory fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_First
in interface AssetCategoryPersistence
uuid
- 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 occurredpublic AssetCategory findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByUuid_Last
in interface AssetCategoryPersistence
uuid
- 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 occurredpublic AssetCategory fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_Last
in interface AssetCategoryPersistence
uuid
- 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 occurredpublic AssetCategory[] findByUuid_PrevAndNext(long categoryId, String uuid, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByUuid_PrevAndNext
in interface AssetCategoryPersistence
categoryId
- 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 occurredprotected AssetCategory getByUuid_PrevAndNext(Session session, AssetCategory assetCategory, String uuid, OrderByComparator orderByComparator, boolean previous)
public AssetCategory findByUUID_G(String uuid, long groupId) throws NoSuchCategoryException, SystemException
NoSuchCategoryException
if it could not be found.
findByUUID_G
in interface AssetCategoryPersistence
uuid
- the uuidgroupId
- the group ID
NoSuchCategoryException
- if a matching asset category could not be found
SystemException
- if a system exception occurredpublic AssetCategory fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByUUID_G
in interface AssetCategoryPersistence
uuid
- the uuidgroupId
- the group ID
null
if a matching asset category could not be found
SystemException
- if a system exception occurredpublic 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 AssetCategoryPersistence
uuid
- 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 occurredpublic List<AssetCategory> findByGroupId(long groupId) throws SystemException
findByGroupId
in interface AssetCategoryPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic 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.
findByGroupId
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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.
findByGroupId
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByGroupId_First
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
fetchByGroupId_First
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByGroupId_Last
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
fetchByGroupId_Last
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory[] findByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByGroupId_PrevAndNext
in interface AssetCategoryPersistence
categoryId
- 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 occurredprotected AssetCategory getByGroupId_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, OrderByComparator orderByComparator, boolean previous)
public List<AssetCategory> filterFindByGroupId(long groupId) throws SystemException
filterFindByGroupId
in interface AssetCategoryPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic 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.
filterFindByGroupId
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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.
filterFindByGroupId
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory[] filterFindByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
filterFindByGroupId_PrevAndNext
in interface AssetCategoryPersistence
categoryId
- 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 occurredprotected AssetCategory filterGetByGroupId_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, OrderByComparator orderByComparator, boolean previous)
public List<AssetCategory> findByParentCategoryId(long parentCategoryId) throws SystemException
findByParentCategoryId
in interface AssetCategoryPersistence
parentCategoryId
- the parent category ID
SystemException
- if a system exception occurredpublic 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.
findByParentCategoryId
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic 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.
findByParentCategoryId
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory findByParentCategoryId_First(long parentCategoryId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByParentCategoryId_First
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory fetchByParentCategoryId_First(long parentCategoryId, OrderByComparator orderByComparator) throws SystemException
fetchByParentCategoryId_First
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory findByParentCategoryId_Last(long parentCategoryId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByParentCategoryId_Last
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory fetchByParentCategoryId_Last(long parentCategoryId, OrderByComparator orderByComparator) throws SystemException
fetchByParentCategoryId_Last
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId, long parentCategoryId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByParentCategoryId_PrevAndNext
in interface AssetCategoryPersistence
categoryId
- 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 occurredprotected AssetCategory getByParentCategoryId_PrevAndNext(Session session, AssetCategory assetCategory, long parentCategoryId, OrderByComparator orderByComparator, boolean previous)
public List<AssetCategory> findByVocabularyId(long vocabularyId) throws SystemException
findByVocabularyId
in interface AssetCategoryPersistence
vocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic 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.
findByVocabularyId
in interface AssetCategoryPersistence
vocabularyId
- 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 occurredpublic 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.
findByVocabularyId
in interface AssetCategoryPersistence
vocabularyId
- 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 occurredpublic AssetCategory findByVocabularyId_First(long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByVocabularyId_First
in interface AssetCategoryPersistence
vocabularyId
- 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 occurredpublic AssetCategory fetchByVocabularyId_First(long vocabularyId, OrderByComparator orderByComparator) throws SystemException
fetchByVocabularyId_First
in interface AssetCategoryPersistence
vocabularyId
- 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 occurredpublic AssetCategory findByVocabularyId_Last(long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByVocabularyId_Last
in interface AssetCategoryPersistence
vocabularyId
- 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 occurredpublic AssetCategory fetchByVocabularyId_Last(long vocabularyId, OrderByComparator orderByComparator) throws SystemException
fetchByVocabularyId_Last
in interface AssetCategoryPersistence
vocabularyId
- 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 occurredpublic AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByVocabularyId_PrevAndNext
in interface AssetCategoryPersistence
categoryId
- 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 occurredprotected AssetCategory getByVocabularyId_PrevAndNext(Session session, AssetCategory assetCategory, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
public List<AssetCategory> findByG_V(long groupId, long vocabularyId) throws SystemException
findByG_V
in interface AssetCategoryPersistence
groupId
- the group IDvocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic 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.
findByG_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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.
findByG_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory findByG_V_First(long groupId, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByG_V_First
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory fetchByG_V_First(long groupId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
fetchByG_V_First
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory findByG_V_Last(long groupId, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByG_V_Last
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory fetchByG_V_Last(long groupId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
fetchByG_V_Last
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory[] findByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByG_V_PrevAndNext
in interface AssetCategoryPersistence
categoryId
- 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 occurredprotected AssetCategory getByG_V_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
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.
findByG_V
in interface AssetCategoryPersistence
groupId
- the group IDvocabularyIds
- the vocabulary IDs
SystemException
- if a system exception occurredpublic 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.
findByG_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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.
findByG_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic List<AssetCategory> filterFindByG_V(long groupId, long vocabularyId) throws SystemException
filterFindByG_V
in interface AssetCategoryPersistence
groupId
- the group IDvocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic 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.
filterFindByG_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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.
filterFindByG_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory[] filterFindByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
filterFindByG_V_PrevAndNext
in interface AssetCategoryPersistence
categoryId
- 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 occurredprotected 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 AssetCategoryPersistence
groupId
- the group IDvocabularyIds
- the vocabulary IDs
SystemException
- if a system exception occurredpublic 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.
filterFindByG_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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.
filterFindByG_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic List<AssetCategory> findByP_N(long parentCategoryId, String name) throws SystemException
findByP_N
in interface AssetCategoryPersistence
parentCategoryId
- the parent category IDname
- the name
SystemException
- if a system exception occurredpublic 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.
findByP_N
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic 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.
findByP_N
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory findByP_N_First(long parentCategoryId, String name, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByP_N_First
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory fetchByP_N_First(long parentCategoryId, String name, OrderByComparator orderByComparator) throws SystemException
fetchByP_N_First
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory findByP_N_Last(long parentCategoryId, String name, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByP_N_Last
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory fetchByP_N_Last(long parentCategoryId, String name, OrderByComparator orderByComparator) throws SystemException
fetchByP_N_Last
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory[] findByP_N_PrevAndNext(long categoryId, long parentCategoryId, String name, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByP_N_PrevAndNext
in interface AssetCategoryPersistence
categoryId
- 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 occurredprotected AssetCategory getByP_N_PrevAndNext(Session session, AssetCategory assetCategory, long parentCategoryId, String name, OrderByComparator orderByComparator, boolean previous)
public List<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId) throws SystemException
findByP_V
in interface AssetCategoryPersistence
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic 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.
findByP_V
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic 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.
findByP_V
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory findByP_V_First(long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByP_V_First
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory fetchByP_V_First(long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
fetchByP_V_First
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory findByP_V_Last(long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByP_V_Last
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory fetchByP_V_Last(long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
fetchByP_V_Last
in interface AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic AssetCategory[] findByP_V_PrevAndNext(long categoryId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByP_V_PrevAndNext
in interface AssetCategoryPersistence
categoryId
- 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 occurredprotected AssetCategory getByP_V_PrevAndNext(Session session, AssetCategory assetCategory, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
public List<AssetCategory> findByN_V(String name, long vocabularyId) throws SystemException
findByN_V
in interface AssetCategoryPersistence
name
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic 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.
findByN_V
in interface AssetCategoryPersistence
name
- 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 occurredpublic 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.
findByN_V
in interface AssetCategoryPersistence
name
- 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 occurredpublic AssetCategory findByN_V_First(String name, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByN_V_First
in interface AssetCategoryPersistence
name
- 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 occurredpublic AssetCategory fetchByN_V_First(String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
fetchByN_V_First
in interface AssetCategoryPersistence
name
- 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 occurredpublic AssetCategory findByN_V_Last(String name, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByN_V_Last
in interface AssetCategoryPersistence
name
- 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 occurredpublic AssetCategory fetchByN_V_Last(String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
fetchByN_V_Last
in interface AssetCategoryPersistence
name
- 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 occurredpublic AssetCategory[] findByN_V_PrevAndNext(long categoryId, String name, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByN_V_PrevAndNext
in interface AssetCategoryPersistence
categoryId
- 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 occurredprotected AssetCategory getByN_V_PrevAndNext(Session session, AssetCategory assetCategory, String name, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
public List<AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId) throws SystemException
findByG_P_V
in interface AssetCategoryPersistence
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic 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.
findByG_P_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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.
findByG_P_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory findByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByG_P_V_First
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory fetchByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
fetchByG_P_V_First
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory findByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByG_P_V_Last
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory fetchByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
fetchByG_P_V_Last
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory[] findByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByG_P_V_PrevAndNext
in interface AssetCategoryPersistence
categoryId
- 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 occurredprotected 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 AssetCategoryPersistence
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic 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.
filterFindByG_P_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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.
filterFindByG_P_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory[] filterFindByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
filterFindByG_P_V_PrevAndNext
in interface AssetCategoryPersistence
categoryId
- 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 occurredprotected AssetCategory filterGetByG_P_V_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
public List<AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId) throws SystemException
findByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- the group IDname
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic 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.
findByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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.
findByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory findByG_LikeN_V_First(long groupId, String name, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByG_LikeN_V_First
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory fetchByG_LikeN_V_First(long groupId, String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
fetchByG_LikeN_V_First
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory findByG_LikeN_V_Last(long groupId, String name, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByG_LikeN_V_Last
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory fetchByG_LikeN_V_Last(long groupId, String name, long vocabularyId, OrderByComparator orderByComparator) throws SystemException
fetchByG_LikeN_V_Last
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory[] findByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
findByG_LikeN_V_PrevAndNext
in interface AssetCategoryPersistence
categoryId
- 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 occurredprotected AssetCategory getByG_LikeN_V_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, String name, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
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.
findByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- the group IDname
- the namevocabularyIds
- the vocabulary IDs
SystemException
- if a system exception occurredpublic 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.
findByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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.
findByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId) throws SystemException
filterFindByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- the group IDname
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic 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.
filterFindByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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.
filterFindByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic AssetCategory[] filterFindByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, OrderByComparator orderByComparator) throws NoSuchCategoryException, SystemException
filterFindByG_LikeN_V_PrevAndNext
in interface AssetCategoryPersistence
categoryId
- 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 occurredprotected 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 AssetCategoryPersistence
groupId
- the group IDname
- the namevocabularyIds
- the vocabulary IDs
SystemException
- if a system exception occurredpublic 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.
filterFindByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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.
filterFindByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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 AssetCategoryPersistence
parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID
NoSuchCategoryException
- if a matching asset category could not be found
SystemException
- if a system exception occurredpublic 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 AssetCategoryPersistence
parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID
null
if a matching asset category could not be found
SystemException
- if a system exception occurredpublic 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 AssetCategoryPersistence
parentCategoryId
- 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 occurredpublic List<AssetCategory> findByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId) throws SystemException
findByG_P_N_V
in interface AssetCategoryPersistence
groupId
- the group IDparentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic 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.
findByG_P_N_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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.
findByG_P_N_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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 AssetCategoryPersistence
groupId
- 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 occurredpublic 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 AssetCategoryPersistence
groupId
- 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 occurredpublic 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 AssetCategoryPersistence
groupId
- 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 occurredpublic 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 AssetCategoryPersistence
groupId
- 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 occurredpublic 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 AssetCategoryPersistence
categoryId
- 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 occurredprotected 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 AssetCategoryPersistence
groupId
- the group IDparentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic 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.
filterFindByG_P_N_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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.
filterFindByG_P_N_V
in interface AssetCategoryPersistence
groupId
- 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 occurredpublic 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 AssetCategoryPersistence
categoryId
- 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 occurredprotected AssetCategory filterGetByG_P_N_V_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
public List<AssetCategory> findAll() throws SystemException
findAll
in interface AssetCategoryPersistence
SystemException
- if a system exception occurredpublic 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.
findAll
in interface AssetCategoryPersistence
start
- 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 occurredpublic 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.
findAll
in interface AssetCategoryPersistence
start
- 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 occurredpublic void removeByUuid(String uuid) throws SystemException
removeByUuid
in interface AssetCategoryPersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic AssetCategory removeByUUID_G(String uuid, long groupId) throws NoSuchCategoryException, SystemException
removeByUUID_G
in interface AssetCategoryPersistence
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchCategoryException
public void removeByGroupId(long groupId) throws SystemException
removeByGroupId
in interface AssetCategoryPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic void removeByParentCategoryId(long parentCategoryId) throws SystemException
removeByParentCategoryId
in interface AssetCategoryPersistence
parentCategoryId
- the parent category ID
SystemException
- if a system exception occurredpublic void removeByVocabularyId(long vocabularyId) throws SystemException
removeByVocabularyId
in interface AssetCategoryPersistence
vocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic void removeByG_V(long groupId, long vocabularyId) throws SystemException
removeByG_V
in interface AssetCategoryPersistence
groupId
- the group IDvocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic void removeByP_N(long parentCategoryId, String name) throws SystemException
removeByP_N
in interface AssetCategoryPersistence
parentCategoryId
- the parent category IDname
- the name
SystemException
- if a system exception occurredpublic void removeByP_V(long parentCategoryId, long vocabularyId) throws SystemException
removeByP_V
in interface AssetCategoryPersistence
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic void removeByN_V(String name, long vocabularyId) throws SystemException
removeByN_V
in interface AssetCategoryPersistence
name
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic void removeByG_P_V(long groupId, long parentCategoryId, long vocabularyId) throws SystemException
removeByG_P_V
in interface AssetCategoryPersistence
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic void removeByG_LikeN_V(long groupId, String name, long vocabularyId) throws SystemException
removeByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- the group IDname
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic AssetCategory removeByP_N_V(long parentCategoryId, String name, long vocabularyId) throws NoSuchCategoryException, SystemException
removeByP_N_V
in interface AssetCategoryPersistence
parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurred
NoSuchCategoryException
public void removeByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId) throws SystemException
removeByG_P_N_V
in interface AssetCategoryPersistence
groupId
- the group IDparentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic void removeAll() throws SystemException
removeAll
in interface AssetCategoryPersistence
SystemException
- if a system exception occurredpublic int countByUuid(String uuid) throws SystemException
countByUuid
in interface AssetCategoryPersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic int countByUUID_G(String uuid, long groupId) throws SystemException
countByUUID_G
in interface AssetCategoryPersistence
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredpublic int countByGroupId(long groupId) throws SystemException
countByGroupId
in interface AssetCategoryPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic int filterCountByGroupId(long groupId) throws SystemException
filterCountByGroupId
in interface AssetCategoryPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic int countByParentCategoryId(long parentCategoryId) throws SystemException
countByParentCategoryId
in interface AssetCategoryPersistence
parentCategoryId
- the parent category ID
SystemException
- if a system exception occurredpublic int countByVocabularyId(long vocabularyId) throws SystemException
countByVocabularyId
in interface AssetCategoryPersistence
vocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic int countByG_V(long groupId, long vocabularyId) throws SystemException
countByG_V
in interface AssetCategoryPersistence
groupId
- the group IDvocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic int countByG_V(long groupId, long[] vocabularyIds) throws SystemException
countByG_V
in interface AssetCategoryPersistence
groupId
- the group IDvocabularyIds
- the vocabulary IDs
SystemException
- if a system exception occurredpublic int filterCountByG_V(long groupId, long vocabularyId) throws SystemException
filterCountByG_V
in interface AssetCategoryPersistence
groupId
- the group IDvocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic int filterCountByG_V(long groupId, long[] vocabularyIds) throws SystemException
filterCountByG_V
in interface AssetCategoryPersistence
groupId
- the group IDvocabularyIds
- the vocabulary IDs
SystemException
- if a system exception occurredpublic int countByP_N(long parentCategoryId, String name) throws SystemException
countByP_N
in interface AssetCategoryPersistence
parentCategoryId
- the parent category IDname
- the name
SystemException
- if a system exception occurredpublic int countByP_V(long parentCategoryId, long vocabularyId) throws SystemException
countByP_V
in interface AssetCategoryPersistence
parentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic int countByN_V(String name, long vocabularyId) throws SystemException
countByN_V
in interface AssetCategoryPersistence
name
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic int countByG_P_V(long groupId, long parentCategoryId, long vocabularyId) throws SystemException
countByG_P_V
in interface AssetCategoryPersistence
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic int filterCountByG_P_V(long groupId, long parentCategoryId, long vocabularyId) throws SystemException
filterCountByG_P_V
in interface AssetCategoryPersistence
groupId
- the group IDparentCategoryId
- the parent category IDvocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic int countByG_LikeN_V(long groupId, String name, long vocabularyId) throws SystemException
countByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- the group IDname
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic int countByG_LikeN_V(long groupId, String name, long[] vocabularyIds) throws SystemException
countByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- the group IDname
- the namevocabularyIds
- the vocabulary IDs
SystemException
- if a system exception occurredpublic int filterCountByG_LikeN_V(long groupId, String name, long vocabularyId) throws SystemException
filterCountByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- the group IDname
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic int filterCountByG_LikeN_V(long groupId, String name, long[] vocabularyIds) throws SystemException
filterCountByG_LikeN_V
in interface AssetCategoryPersistence
groupId
- the group IDname
- the namevocabularyIds
- the vocabulary IDs
SystemException
- if a system exception occurredpublic int countByP_N_V(long parentCategoryId, String name, long vocabularyId) throws SystemException
countByP_N_V
in interface AssetCategoryPersistence
parentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic int countByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId) throws SystemException
countByG_P_N_V
in interface AssetCategoryPersistence
groupId
- the group IDparentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic int filterCountByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId) throws SystemException
filterCountByG_P_N_V
in interface AssetCategoryPersistence
groupId
- the group IDparentCategoryId
- the parent category IDname
- the namevocabularyId
- the vocabulary ID
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface AssetCategoryPersistence
SystemException
- if a system exception occurredpublic List<AssetEntry> getAssetEntries(long pk) throws SystemException
getAssetEntries
in interface AssetCategoryPersistence
pk
- the primary key of the asset category
SystemException
- if a system exception occurredpublic 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.
getAssetEntries
in interface AssetCategoryPersistence
pk
- 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 occurredpublic 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.
getAssetEntries
in interface AssetCategoryPersistence
pk
- 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 occurredpublic int getAssetEntriesSize(long pk) throws SystemException
getAssetEntriesSize
in interface AssetCategoryPersistence
pk
- the primary key of the asset category
SystemException
- if a system exception occurredpublic boolean containsAssetEntry(long pk, long assetEntryPK) throws SystemException
true
if the asset entry is associated with the asset category.
containsAssetEntry
in interface AssetCategoryPersistence
pk
- 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 occurredpublic boolean containsAssetEntries(long pk) throws SystemException
true
if the asset category has any asset entries associated with it.
containsAssetEntries
in interface AssetCategoryPersistence
pk
- 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 occurredpublic void addAssetEntry(long pk, long assetEntryPK) throws SystemException
addAssetEntry
in interface AssetCategoryPersistence
pk
- the primary key of the asset categoryassetEntryPK
- the primary key of the asset entry
SystemException
- if a system exception occurredpublic void addAssetEntry(long pk, AssetEntry assetEntry) throws SystemException
addAssetEntry
in interface AssetCategoryPersistence
pk
- the primary key of the asset categoryassetEntry
- the asset entry
SystemException
- if a system exception occurredpublic void addAssetEntries(long pk, long[] assetEntryPKs) throws SystemException
addAssetEntries
in interface AssetCategoryPersistence
pk
- the primary key of the asset categoryassetEntryPKs
- the primary keys of the asset entries
SystemException
- if a system exception occurredpublic void addAssetEntries(long pk, List<AssetEntry> assetEntries) throws SystemException
addAssetEntries
in interface AssetCategoryPersistence
pk
- the primary key of the asset categoryassetEntries
- the asset entries
SystemException
- if a system exception occurredpublic void clearAssetEntries(long pk) throws SystemException
clearAssetEntries
in interface AssetCategoryPersistence
pk
- the primary key of the asset category to clear the associated asset entries from
SystemException
- if a system exception occurredpublic void removeAssetEntry(long pk, long assetEntryPK) throws SystemException
removeAssetEntry
in interface AssetCategoryPersistence
pk
- the primary key of the asset categoryassetEntryPK
- the primary key of the asset entry
SystemException
- if a system exception occurredpublic void removeAssetEntry(long pk, AssetEntry assetEntry) throws SystemException
removeAssetEntry
in interface AssetCategoryPersistence
pk
- the primary key of the asset categoryassetEntry
- the asset entry
SystemException
- if a system exception occurredpublic void removeAssetEntries(long pk, long[] assetEntryPKs) throws SystemException
removeAssetEntries
in interface AssetCategoryPersistence
pk
- the primary key of the asset categoryassetEntryPKs
- the primary keys of the asset entries
SystemException
- if a system exception occurredpublic void removeAssetEntries(long pk, List<AssetEntry> assetEntries) throws SystemException
removeAssetEntries
in interface AssetCategoryPersistence
pk
- the primary key of the asset categoryassetEntries
- the asset entries
SystemException
- if a system exception occurredpublic void setAssetEntries(long pk, long[] assetEntryPKs) throws SystemException
setAssetEntries
in interface AssetCategoryPersistence
pk
- 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 occurredpublic void setAssetEntries(long pk, List<AssetEntry> assetEntries) throws SystemException
setAssetEntries
in interface AssetCategoryPersistence
pk
- the primary key of the asset categoryassetEntries
- the asset entries to be associated with the asset category
SystemException
- if a system exception occurredpublic 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 AssetCategoryPersistence
groupId
- the ID of the scopeforce
- whether to force the rebuild even if the tree is not stale
SystemException
public 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
SystemException
protected void shrinkTree(AssetCategory assetCategory)
protected void updateChildrenTree(long groupId, List<Long> childrenCategoryIds, long delta)
public void afterPropertiesSet()
public void destroy()
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |