Liferay 6.2-ce-ga5

com.liferay.portlet.asset.service.persistence
Interface AssetCategoryPersistence

All Superinterfaces:
BasePersistence<AssetCategory>

@ProviderType
public interface AssetCategoryPersistence
extends BasePersistence<AssetCategory>

The persistence interface for the asset category service.

Caching information and settings can be found in portal.properties

See Also:
AssetCategoryPersistenceImpl, AssetCategoryUtil

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 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.
 void clearAssetEntries(long pk)
          Clears all associations between the asset category and its asset entries.
 boolean containsAssetEntries(long pk)
          Returns true if the asset category has any asset entries associated with it.
 boolean containsAssetEntry(long pk, long assetEntryPK)
          Returns true if the asset entry is associated with the asset category.
 int countAll()
          Returns the number of asset categories.
 int countByG_LikeN_V(long groupId, String name, long vocabularyId)
          Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
 int countByG_LikeN_V(long groupId, String name, long[] vocabularyIds)
          Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
 int countByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
          Returns the number of asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 int countByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
          Returns the number of asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 int countByG_V(long groupId, long vocabularyId)
          Returns the number of asset categories where groupId = ? and vocabularyId = ?.
 int countByG_V(long groupId, long[] vocabularyIds)
          Returns the number of asset categories where groupId = ? and vocabularyId = any ?.
 int countByGroupId(long groupId)
          Returns the number of asset categories where groupId = ?.
 int countByN_V(String name, long vocabularyId)
          Returns the number of asset categories where name = ? and vocabularyId = ?.
 int countByP_N_V(long parentCategoryId, String name, long vocabularyId)
          Returns the number of asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?.
 int countByP_N(long parentCategoryId, String name)
          Returns the number of asset categories where parentCategoryId = ? and name = ?.
 int countByP_V(long parentCategoryId, long vocabularyId)
          Returns the number of asset categories where parentCategoryId = ? and vocabularyId = ?.
 int countByParentCategoryId(long parentCategoryId)
          Returns the number of asset categories where parentCategoryId = ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of asset categories where uuid = ? and companyId = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of asset categories where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of asset categories where uuid = ?.
 int countByVocabularyId(long vocabularyId)
          Returns the number of asset categories where vocabularyId = ?.
 AssetCategory create(long categoryId)
          Creates a new asset category with the primary key.
 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 fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
 AssetCategory fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
 AssetCategory fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where uuid = ?.
 AssetCategory fetchByUUID_G(String uuid, long groupId)
          Returns the asset category where uuid = ? and groupId = ? or returns null if it could not be found.
 AssetCategory fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the asset category where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 AssetCategory fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where uuid = ?.
 AssetCategory fetchByVocabularyId_First(long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where vocabularyId = ?.
 AssetCategory fetchByVocabularyId_Last(long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where vocabularyId = ?.
 int filterCountByG_LikeN_V(long groupId, String name, long vocabularyId)
          Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
 int filterCountByG_LikeN_V(long groupId, String name, long[] vocabularyIds)
          Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.
 int filterCountByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
          Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 int filterCountByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
          Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 int filterCountByG_V(long groupId, long vocabularyId)
          Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
 int filterCountByG_V(long groupId, long[] vocabularyIds)
          Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.
 int filterCountByGroupId(long groupId)
          Returns the number of asset categories that the user has permission to view where groupId = ?.
 AssetCategory[] filterFindByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId)
          Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long[] vocabularyIds)
          Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.
 List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long[] vocabularyIds, int start, int end)
          Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.
 List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long[] vocabularyIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.
 List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end)
          Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and name LIKE ? and vocabularyId = ?.
 AssetCategory[] filterFindByG_P_N_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
          Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId, int start, int end)
          Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 AssetCategory[] filterFindByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
          Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end)
          Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 AssetCategory[] filterFindByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_V(long groupId, long vocabularyId)
          Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_V(long groupId, long[] vocabularyIds)
          Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.
 List<AssetCategory> filterFindByG_V(long groupId, long[] vocabularyIds, int start, int end)
          Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.
 List<AssetCategory> filterFindByG_V(long groupId, long[] vocabularyIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.
 List<AssetCategory> filterFindByG_V(long groupId, long vocabularyId, int start, int end)
          Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_V(long groupId, long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and vocabularyId = ?.
 AssetCategory[] filterFindByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ?.
 List<AssetCategory> filterFindByGroupId(long groupId)
          Returns all the asset categories that the user has permission to view where groupId = ?.
 List<AssetCategory> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the asset categories that the user has permission to view where groupId = ?.
 List<AssetCategory> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ?.
 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 findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
 AssetCategory findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
 AssetCategory[] findByUuid_C_PrevAndNext(long categoryId, String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where uuid = ? and companyId = ?.
 List<AssetCategory> findByUuid_C(String uuid, long companyId)
          Returns all the asset categories where uuid = ? and companyId = ?.
 List<AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the asset categories where uuid = ? and companyId = ?.
 List<AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.
 AssetCategory findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where uuid = ?.
 AssetCategory findByUUID_G(String uuid, long groupId)
          Returns the asset category where uuid = ? and groupId = ? or throws a NoSuchCategoryException if it could not be found.
 AssetCategory findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where uuid = ?.
 AssetCategory[] findByUuid_PrevAndNext(long categoryId, String uuid, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where uuid = ?.
 List<AssetCategory> findByUuid(String uuid)
          Returns all the asset categories where uuid = ?.
 List<AssetCategory> findByUuid(String uuid, int start, int end)
          Returns a range of all the asset categories where uuid = ?.
 List<AssetCategory> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where uuid = ?.
 AssetCategory findByVocabularyId_First(long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where vocabularyId = ?.
 AssetCategory findByVocabularyId_Last(long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where vocabularyId = ?.
 AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?.
 List<AssetCategory> findByVocabularyId(long vocabularyId)
          Returns all the asset categories where vocabularyId = ?.
 List<AssetCategory> findByVocabularyId(long vocabularyId, int start, int end)
          Returns a range of all the asset categories where vocabularyId = ?.
 List<AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where vocabularyId = ?.
 List<AssetEntry> getAssetEntries(long pk)
          Returns all the asset entries associated with the asset category.
 List<AssetEntry> getAssetEntries(long pk, int start, int end)
          Returns a range of all the asset entries associated with the asset category.
 List<AssetEntry> getAssetEntries(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset entries associated with the asset category.
 int getAssetEntriesSize(long pk)
          Returns the number of asset entries associated with the asset category.
 void rebuildTree(long groupId, boolean force)
          Rebuilds the asset categories tree for the scope using the modified pre-order tree traversal algorithm.
 AssetCategory remove(long categoryId)
          Removes the asset category with the primary key from the database.
 void removeAll()
          Removes all the asset categories from the database.
 void removeAssetEntries(long pk, List<AssetEntry> assetEntries)
          Removes the association between the asset category and the asset entries.
 void removeAssetEntries(long pk, long[] assetEntryPKs)
          Removes the association between the asset category and the asset entries.
 void removeAssetEntry(long pk, AssetEntry assetEntry)
          Removes the association between the asset category and the asset entry.
 void removeAssetEntry(long pk, long assetEntryPK)
          Removes the association between the asset category and the asset entry.
 void removeByG_LikeN_V(long groupId, String name, long vocabularyId)
          Removes all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ? from the database.
 void removeByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
          Removes all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ? from the database.
 void removeByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
          Removes all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ? from the database.
 void removeByG_V(long groupId, long vocabularyId)
          Removes all the asset categories where groupId = ? and vocabularyId = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the asset categories where groupId = ? from the database.
 void removeByN_V(String name, long vocabularyId)
          Removes all the asset categories where name = ? and vocabularyId = ? from the database.
 AssetCategory removeByP_N_V(long parentCategoryId, String name, long vocabularyId)
          Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database.
 void removeByP_N(long parentCategoryId, String name)
          Removes all the asset categories where parentCategoryId = ? and name = ? from the database.
 void removeByP_V(long parentCategoryId, long vocabularyId)
          Removes all the asset categories where parentCategoryId = ? and vocabularyId = ? from the database.
 void removeByParentCategoryId(long parentCategoryId)
          Removes all the asset categories where parentCategoryId = ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the asset categories where uuid = ? and companyId = ? from the database.
 AssetCategory removeByUUID_G(String uuid, long groupId)
          Removes the asset category where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the asset categories where uuid = ? from the database.
 void removeByVocabularyId(long vocabularyId)
          Removes all the asset categories where vocabularyId = ? from the database.
 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)
           
 AssetCategory updateImpl(AssetCategory assetCategory)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update
 

Method Detail

findByUuid

List<AssetCategory> findByUuid(String uuid)
                               throws SystemException
Returns all the asset categories where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByUuid

List<AssetCategory> findByUuid(String uuid,
                               int start,
                               int end)
                               throws SystemException
Returns a range of all the asset categories where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByUuid

List<AssetCategory> findByUuid(String uuid,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns an ordered range of all the asset categories where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByUuid_First

AssetCategory findByUuid_First(String uuid,
                               OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchCategoryException
Returns the first asset category in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByUuid_First

AssetCategory fetchByUuid_First(String uuid,
                                OrderByComparator orderByComparator)
                                throws SystemException
Returns the first asset category in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_Last

AssetCategory findByUuid_Last(String uuid,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchCategoryException
Returns the last asset category in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByUuid_Last

AssetCategory fetchByUuid_Last(String uuid,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns the last asset category in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

AssetCategory[] findByUuid_PrevAndNext(long categoryId,
                                       String uuid,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchCategoryException
Returns the asset categories before and after the current asset category in the ordered set where uuid = ?.

Parameters:
categoryId - the primary key of the current asset category
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

removeByUuid

void removeByUuid(String uuid)
                  throws SystemException
Removes all the asset categories where uuid = ? from the database.

Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

countByUuid

int countByUuid(String uuid)
                throws SystemException
Returns the number of asset categories where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

findByUUID_G

AssetCategory findByUUID_G(String uuid,
                           long groupId)
                           throws SystemException,
                                  NoSuchCategoryException
Returns the asset category where uuid = ? and groupId = ? or throws a NoSuchCategoryException if it could not be found.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByUUID_G

AssetCategory fetchByUUID_G(String uuid,
                            long groupId)
                            throws SystemException
Returns the asset category where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

AssetCategory fetchByUUID_G(String uuid,
                            long groupId,
                            boolean retrieveFromCache)
                            throws SystemException
Returns the asset category where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

removeByUUID_G

AssetCategory removeByUUID_G(String uuid,
                             long groupId)
                             throws SystemException,
                                    NoSuchCategoryException
Removes the asset category where uuid = ? and groupId = ? from the database.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the asset category that was removed
Throws:
SystemException - if a system exception occurred
NoSuchCategoryException

countByUUID_G

int countByUUID_G(String uuid,
                  long groupId)
                  throws SystemException
Returns the number of asset categories where uuid = ? and groupId = ?.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

findByUuid_C

List<AssetCategory> findByUuid_C(String uuid,
                                 long companyId)
                                 throws SystemException
Returns all the asset categories where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByUuid_C

List<AssetCategory> findByUuid_C(String uuid,
                                 long companyId,
                                 int start,
                                 int end)
                                 throws SystemException
Returns a range of all the asset categories where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByUuid_C

List<AssetCategory> findByUuid_C(String uuid,
                                 long companyId,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByUuid_C_First

AssetCategory findByUuid_C_First(String uuid,
                                 long companyId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchCategoryException
Returns the first asset category in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByUuid_C_First

AssetCategory fetchByUuid_C_First(String uuid,
                                  long companyId,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Returns the first asset category in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_Last

AssetCategory findByUuid_C_Last(String uuid,
                                long companyId,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchCategoryException
Returns the last asset category in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByUuid_C_Last

AssetCategory fetchByUuid_C_Last(String uuid,
                                 long companyId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns the last asset category in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_PrevAndNext

AssetCategory[] findByUuid_C_PrevAndNext(long categoryId,
                                         String uuid,
                                         long companyId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchCategoryException
Returns the asset categories before and after the current asset category in the ordered set where uuid = ? and companyId = ?.

Parameters:
categoryId - the primary key of the current asset category
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

removeByUuid_C

void removeByUuid_C(String uuid,
                    long companyId)
                    throws SystemException
Removes all the asset categories where uuid = ? and companyId = ? from the database.

Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

int countByUuid_C(String uuid,
                  long companyId)
                  throws SystemException
Returns the number of asset categories where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

findByGroupId

List<AssetCategory> findByGroupId(long groupId)
                                  throws SystemException
Returns all the asset categories where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByGroupId

List<AssetCategory> findByGroupId(long groupId,
                                  int start,
                                  int end)
                                  throws SystemException
Returns a range of all the asset categories where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByGroupId

List<AssetCategory> findByGroupId(long groupId,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Returns an ordered range of all the asset categories where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByGroupId_First

AssetCategory findByGroupId_First(long groupId,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchCategoryException
Returns the first asset category in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByGroupId_First

AssetCategory fetchByGroupId_First(long groupId,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Returns the first asset category in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_Last

AssetCategory findByGroupId_Last(long groupId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchCategoryException
Returns the last asset category in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByGroupId_Last

AssetCategory fetchByGroupId_Last(long groupId,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Returns the last asset category in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

AssetCategory[] findByGroupId_PrevAndNext(long categoryId,
                                          long groupId,
                                          OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchCategoryException
Returns the asset categories before and after the current asset category in the ordered set where groupId = ?.

Parameters:
categoryId - the primary key of the current asset category
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

filterFindByGroupId

List<AssetCategory> filterFindByGroupId(long groupId)
                                        throws SystemException
Returns all the asset categories that the user has permission to view where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

List<AssetCategory> filterFindByGroupId(long groupId,
                                        int start,
                                        int end)
                                        throws SystemException
Returns a range of all the asset categories that the user has permission to view where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

List<AssetCategory> filterFindByGroupId(long groupId,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                        throws SystemException
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId_PrevAndNext

AssetCategory[] filterFindByGroupId_PrevAndNext(long categoryId,
                                                long groupId,
                                                OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchCategoryException
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 = ?.

Parameters:
categoryId - the primary key of the current asset category
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Removes all the asset categories where groupId = ? from the database.

Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Returns the number of asset categories where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

int filterCountByGroupId(long groupId)
                         throws SystemException
Returns the number of asset categories that the user has permission to view where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the number of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByParentCategoryId

List<AssetCategory> findByParentCategoryId(long parentCategoryId)
                                           throws SystemException
Returns all the asset categories where parentCategoryId = ?.

Parameters:
parentCategoryId - the parent category ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByParentCategoryId

List<AssetCategory> findByParentCategoryId(long parentCategoryId,
                                           int start,
                                           int end)
                                           throws SystemException
Returns a range of all the asset categories where parentCategoryId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
parentCategoryId - the parent category ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByParentCategoryId

List<AssetCategory> findByParentCategoryId(long parentCategoryId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                           throws SystemException
Returns an ordered range of all the asset categories where parentCategoryId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
parentCategoryId - the parent category ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByParentCategoryId_First

AssetCategory findByParentCategoryId_First(long parentCategoryId,
                                           OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchCategoryException
Returns the first asset category in the ordered set where parentCategoryId = ?.

Parameters:
parentCategoryId - the parent category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByParentCategoryId_First

AssetCategory fetchByParentCategoryId_First(long parentCategoryId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException
Returns the first asset category in the ordered set where parentCategoryId = ?.

Parameters:
parentCategoryId - the parent category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByParentCategoryId_Last

AssetCategory findByParentCategoryId_Last(long parentCategoryId,
                                          OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchCategoryException
Returns the last asset category in the ordered set where parentCategoryId = ?.

Parameters:
parentCategoryId - the parent category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByParentCategoryId_Last

AssetCategory fetchByParentCategoryId_Last(long parentCategoryId,
                                           OrderByComparator orderByComparator)
                                           throws SystemException
Returns the last asset category in the ordered set where parentCategoryId = ?.

Parameters:
parentCategoryId - the parent category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByParentCategoryId_PrevAndNext

AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId,
                                                   long parentCategoryId,
                                                   OrderByComparator orderByComparator)
                                                   throws SystemException,
                                                          NoSuchCategoryException
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?.

Parameters:
categoryId - the primary key of the current asset category
parentCategoryId - the parent category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

removeByParentCategoryId

void removeByParentCategoryId(long parentCategoryId)
                              throws SystemException
Removes all the asset categories where parentCategoryId = ? from the database.

Parameters:
parentCategoryId - the parent category ID
Throws:
SystemException - if a system exception occurred

countByParentCategoryId

int countByParentCategoryId(long parentCategoryId)
                            throws SystemException
Returns the number of asset categories where parentCategoryId = ?.

Parameters:
parentCategoryId - the parent category ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

findByVocabularyId

List<AssetCategory> findByVocabularyId(long vocabularyId)
                                       throws SystemException
Returns all the asset categories where vocabularyId = ?.

Parameters:
vocabularyId - the vocabulary ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByVocabularyId

List<AssetCategory> findByVocabularyId(long vocabularyId,
                                       int start,
                                       int end)
                                       throws SystemException
Returns a range of all the asset categories where vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByVocabularyId

List<AssetCategory> findByVocabularyId(long vocabularyId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                       throws SystemException
Returns an ordered range of all the asset categories where vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByVocabularyId_First

AssetCategory findByVocabularyId_First(long vocabularyId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchCategoryException
Returns the first asset category in the ordered set where vocabularyId = ?.

Parameters:
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByVocabularyId_First

AssetCategory fetchByVocabularyId_First(long vocabularyId,
                                        OrderByComparator orderByComparator)
                                        throws SystemException
Returns the first asset category in the ordered set where vocabularyId = ?.

Parameters:
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByVocabularyId_Last

AssetCategory findByVocabularyId_Last(long vocabularyId,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchCategoryException
Returns the last asset category in the ordered set where vocabularyId = ?.

Parameters:
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByVocabularyId_Last

AssetCategory fetchByVocabularyId_Last(long vocabularyId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException
Returns the last asset category in the ordered set where vocabularyId = ?.

Parameters:
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByVocabularyId_PrevAndNext

AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId,
                                               long vocabularyId,
                                               OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchCategoryException
Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?.

Parameters:
categoryId - the primary key of the current asset category
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

removeByVocabularyId

void removeByVocabularyId(long vocabularyId)
                          throws SystemException
Removes all the asset categories where vocabularyId = ? from the database.

Parameters:
vocabularyId - the vocabulary ID
Throws:
SystemException - if a system exception occurred

countByVocabularyId

int countByVocabularyId(long vocabularyId)
                        throws SystemException
Returns the number of asset categories where vocabularyId = ?.

Parameters:
vocabularyId - the vocabulary ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_V

List<AssetCategory> findByG_V(long groupId,
                              long vocabularyId)
                              throws SystemException
Returns all the asset categories where groupId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_V

List<AssetCategory> findByG_V(long groupId,
                              long vocabularyId,
                              int start,
                              int end)
                              throws SystemException
Returns a range of all the asset categories where groupId = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_V

List<AssetCategory> findByG_V(long groupId,
                              long vocabularyId,
                              int start,
                              int end,
                              OrderByComparator orderByComparator)
                              throws SystemException
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_V_First

AssetCategory findByG_V_First(long groupId,
                              long vocabularyId,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchCategoryException
Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByG_V_First

AssetCategory fetchByG_V_First(long groupId,
                               long vocabularyId,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByG_V_Last

AssetCategory findByG_V_Last(long groupId,
                             long vocabularyId,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchCategoryException
Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByG_V_Last

AssetCategory fetchByG_V_Last(long groupId,
                              long vocabularyId,
                              OrderByComparator orderByComparator)
                              throws SystemException
Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByG_V_PrevAndNext

AssetCategory[] findByG_V_PrevAndNext(long categoryId,
                                      long groupId,
                                      long vocabularyId,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchCategoryException
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and vocabularyId = ?.

Parameters:
categoryId - the primary key of the current asset category
groupId - the group ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_V

List<AssetCategory> filterFindByG_V(long groupId,
                                    long vocabularyId)
                                    throws SystemException
Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
Returns:
the matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_V

List<AssetCategory> filterFindByG_V(long groupId,
                                    long vocabularyId,
                                    int start,
                                    int end)
                                    throws SystemException
Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_V

List<AssetCategory> filterFindByG_V(long groupId,
                                    long vocabularyId,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_V_PrevAndNext

AssetCategory[] filterFindByG_V_PrevAndNext(long categoryId,
                                            long groupId,
                                            long vocabularyId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchCategoryException
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 = ?.

Parameters:
categoryId - the primary key of the current asset category
groupId - the group ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_V

List<AssetCategory> filterFindByG_V(long groupId,
                                    long[] vocabularyIds)
                                    throws SystemException
Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.

Parameters:
groupId - the group ID
vocabularyIds - the vocabulary IDs
Returns:
the matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_V

List<AssetCategory> filterFindByG_V(long groupId,
                                    long[] vocabularyIds,
                                    int start,
                                    int end)
                                    throws SystemException
Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
vocabularyIds - the vocabulary IDs
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_V

List<AssetCategory> filterFindByG_V(long groupId,
                                    long[] vocabularyIds,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
vocabularyIds - the vocabulary IDs
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_V

List<AssetCategory> findByG_V(long groupId,
                              long[] vocabularyIds)
                              throws SystemException
Returns all the asset categories where groupId = ? and vocabularyId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
vocabularyIds - the vocabulary IDs
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_V

List<AssetCategory> findByG_V(long groupId,
                              long[] vocabularyIds,
                              int start,
                              int end)
                              throws SystemException
Returns a range of all the asset categories where groupId = ? and vocabularyId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
vocabularyIds - the vocabulary IDs
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_V

List<AssetCategory> findByG_V(long groupId,
                              long[] vocabularyIds,
                              int start,
                              int end,
                              OrderByComparator orderByComparator)
                              throws SystemException
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
vocabularyIds - the vocabulary IDs
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories
Throws:
SystemException - if a system exception occurred

removeByG_V

void removeByG_V(long groupId,
                 long vocabularyId)
                 throws SystemException
Removes all the asset categories where groupId = ? and vocabularyId = ? from the database.

Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
Throws:
SystemException - if a system exception occurred

countByG_V

int countByG_V(long groupId,
               long vocabularyId)
               throws SystemException
Returns the number of asset categories where groupId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

countByG_V

int countByG_V(long groupId,
               long[] vocabularyIds)
               throws SystemException
Returns the number of asset categories where groupId = ? and vocabularyId = any ?.

Parameters:
groupId - the group ID
vocabularyIds - the vocabulary IDs
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

filterCountByG_V

int filterCountByG_V(long groupId,
                     long vocabularyId)
                     throws SystemException
Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
Returns:
the number of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_V

int filterCountByG_V(long groupId,
                     long[] vocabularyIds)
                     throws SystemException
Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.

Parameters:
groupId - the group ID
vocabularyIds - the vocabulary IDs
Returns:
the number of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByP_N

List<AssetCategory> findByP_N(long parentCategoryId,
                              String name)
                              throws SystemException
Returns all the asset categories where parentCategoryId = ? and name = ?.

Parameters:
parentCategoryId - the parent category ID
name - the name
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByP_N

List<AssetCategory> findByP_N(long parentCategoryId,
                              String name,
                              int start,
                              int end)
                              throws SystemException
Returns a range of all the asset categories where parentCategoryId = ? and name = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
parentCategoryId - the parent category ID
name - the name
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByP_N

List<AssetCategory> findByP_N(long parentCategoryId,
                              String name,
                              int start,
                              int end,
                              OrderByComparator orderByComparator)
                              throws SystemException
Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
parentCategoryId - the parent category ID
name - the name
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByP_N_First

AssetCategory findByP_N_First(long parentCategoryId,
                              String name,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchCategoryException
Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.

Parameters:
parentCategoryId - the parent category ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByP_N_First

AssetCategory fetchByP_N_First(long parentCategoryId,
                               String name,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.

Parameters:
parentCategoryId - the parent category ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByP_N_Last

AssetCategory findByP_N_Last(long parentCategoryId,
                             String name,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchCategoryException
Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.

Parameters:
parentCategoryId - the parent category ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByP_N_Last

AssetCategory fetchByP_N_Last(long parentCategoryId,
                              String name,
                              OrderByComparator orderByComparator)
                              throws SystemException
Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.

Parameters:
parentCategoryId - the parent category ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByP_N_PrevAndNext

AssetCategory[] findByP_N_PrevAndNext(long categoryId,
                                      long parentCategoryId,
                                      String name,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchCategoryException
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and name = ?.

Parameters:
categoryId - the primary key of the current asset category
parentCategoryId - the parent category ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

removeByP_N

void removeByP_N(long parentCategoryId,
                 String name)
                 throws SystemException
Removes all the asset categories where parentCategoryId = ? and name = ? from the database.

Parameters:
parentCategoryId - the parent category ID
name - the name
Throws:
SystemException - if a system exception occurred

countByP_N

int countByP_N(long parentCategoryId,
               String name)
               throws SystemException
Returns the number of asset categories where parentCategoryId = ? and name = ?.

Parameters:
parentCategoryId - the parent category ID
name - the name
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

findByP_V

List<AssetCategory> findByP_V(long parentCategoryId,
                              long vocabularyId)
                              throws SystemException
Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?.

Parameters:
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByP_V

List<AssetCategory> findByP_V(long parentCategoryId,
                              long vocabularyId,
                              int start,
                              int end)
                              throws SystemException
Returns a range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByP_V

List<AssetCategory> findByP_V(long parentCategoryId,
                              long vocabularyId,
                              int start,
                              int end,
                              OrderByComparator orderByComparator)
                              throws SystemException
Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByP_V_First

AssetCategory findByP_V_First(long parentCategoryId,
                              long vocabularyId,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchCategoryException
Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.

Parameters:
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByP_V_First

AssetCategory fetchByP_V_First(long parentCategoryId,
                               long vocabularyId,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.

Parameters:
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByP_V_Last

AssetCategory findByP_V_Last(long parentCategoryId,
                             long vocabularyId,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchCategoryException
Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.

Parameters:
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByP_V_Last

AssetCategory fetchByP_V_Last(long parentCategoryId,
                              long vocabularyId,
                              OrderByComparator orderByComparator)
                              throws SystemException
Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.

Parameters:
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByP_V_PrevAndNext

AssetCategory[] findByP_V_PrevAndNext(long categoryId,
                                      long parentCategoryId,
                                      long vocabularyId,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchCategoryException
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.

Parameters:
categoryId - the primary key of the current asset category
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

removeByP_V

void removeByP_V(long parentCategoryId,
                 long vocabularyId)
                 throws SystemException
Removes all the asset categories where parentCategoryId = ? and vocabularyId = ? from the database.

Parameters:
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
Throws:
SystemException - if a system exception occurred

countByP_V

int countByP_V(long parentCategoryId,
               long vocabularyId)
               throws SystemException
Returns the number of asset categories where parentCategoryId = ? and vocabularyId = ?.

Parameters:
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

findByN_V

List<AssetCategory> findByN_V(String name,
                              long vocabularyId)
                              throws SystemException
Returns all the asset categories where name = ? and vocabularyId = ?.

Parameters:
name - the name
vocabularyId - the vocabulary ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByN_V

List<AssetCategory> findByN_V(String name,
                              long vocabularyId,
                              int start,
                              int end)
                              throws SystemException
Returns a range of all the asset categories where name = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
name - the name
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByN_V

List<AssetCategory> findByN_V(String name,
                              long vocabularyId,
                              int start,
                              int end,
                              OrderByComparator orderByComparator)
                              throws SystemException
Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
name - the name
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByN_V_First

AssetCategory findByN_V_First(String name,
                              long vocabularyId,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchCategoryException
Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.

Parameters:
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByN_V_First

AssetCategory fetchByN_V_First(String name,
                               long vocabularyId,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.

Parameters:
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByN_V_Last

AssetCategory findByN_V_Last(String name,
                             long vocabularyId,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchCategoryException
Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.

Parameters:
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByN_V_Last

AssetCategory fetchByN_V_Last(String name,
                              long vocabularyId,
                              OrderByComparator orderByComparator)
                              throws SystemException
Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.

Parameters:
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByN_V_PrevAndNext

AssetCategory[] findByN_V_PrevAndNext(long categoryId,
                                      String name,
                                      long vocabularyId,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchCategoryException
Returns the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?.

Parameters:
categoryId - the primary key of the current asset category
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

removeByN_V

void removeByN_V(String name,
                 long vocabularyId)
                 throws SystemException
Removes all the asset categories where name = ? and vocabularyId = ? from the database.

Parameters:
name - the name
vocabularyId - the vocabulary ID
Throws:
SystemException - if a system exception occurred

countByN_V

int countByN_V(String name,
               long vocabularyId)
               throws SystemException
Returns the number of asset categories where name = ? and vocabularyId = ?.

Parameters:
name - the name
vocabularyId - the vocabulary ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_P_V

List<AssetCategory> findByG_P_V(long groupId,
                                long parentCategoryId,
                                long vocabularyId)
                                throws SystemException
Returns all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_P_V

List<AssetCategory> findByG_P_V(long groupId,
                                long parentCategoryId,
                                long vocabularyId,
                                int start,
                                int end)
                                throws SystemException
Returns a range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_P_V

List<AssetCategory> findByG_P_V(long groupId,
                                long parentCategoryId,
                                long vocabularyId,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                                throws SystemException
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_P_V_First

AssetCategory findByG_P_V_First(long groupId,
                                long parentCategoryId,
                                long vocabularyId,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchCategoryException
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByG_P_V_First

AssetCategory fetchByG_P_V_First(long groupId,
                                 long parentCategoryId,
                                 long vocabularyId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_V_Last

AssetCategory findByG_P_V_Last(long groupId,
                               long parentCategoryId,
                               long vocabularyId,
                               OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchCategoryException
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByG_P_V_Last

AssetCategory fetchByG_P_V_Last(long groupId,
                                long parentCategoryId,
                                long vocabularyId,
                                OrderByComparator orderByComparator)
                                throws SystemException
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_V_PrevAndNext

AssetCategory[] findByG_P_V_PrevAndNext(long categoryId,
                                        long groupId,
                                        long parentCategoryId,
                                        long vocabularyId,
                                        OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchCategoryException
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

Parameters:
categoryId - the primary key of the current asset category
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_P_V

List<AssetCategory> filterFindByG_P_V(long groupId,
                                      long parentCategoryId,
                                      long vocabularyId)
                                      throws SystemException
Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
Returns:
the matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_P_V

List<AssetCategory> filterFindByG_P_V(long groupId,
                                      long parentCategoryId,
                                      long vocabularyId,
                                      int start,
                                      int end)
                                      throws SystemException
Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_P_V

List<AssetCategory> filterFindByG_P_V(long groupId,
                                      long parentCategoryId,
                                      long vocabularyId,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                                      throws SystemException
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_P_V_PrevAndNext

AssetCategory[] filterFindByG_P_V_PrevAndNext(long categoryId,
                                              long groupId,
                                              long parentCategoryId,
                                              long vocabularyId,
                                              OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchCategoryException
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 = ?.

Parameters:
categoryId - the primary key of the current asset category
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

removeByG_P_V

void removeByG_P_V(long groupId,
                   long parentCategoryId,
                   long vocabularyId)
                   throws SystemException
Removes all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ? from the database.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
Throws:
SystemException - if a system exception occurred

countByG_P_V

int countByG_P_V(long groupId,
                 long parentCategoryId,
                 long vocabularyId)
                 throws SystemException
Returns the number of asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

filterCountByG_P_V

int filterCountByG_P_V(long groupId,
                       long parentCategoryId,
                       long vocabularyId)
                       throws SystemException
Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
Returns:
the number of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_LikeN_V

List<AssetCategory> findByG_LikeN_V(long groupId,
                                    String name,
                                    long vocabularyId)
                                    throws SystemException
Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.

Parameters:
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_LikeN_V

List<AssetCategory> findByG_LikeN_V(long groupId,
                                    String name,
                                    long vocabularyId,
                                    int start,
                                    int end)
                                    throws SystemException
Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_LikeN_V

List<AssetCategory> findByG_LikeN_V(long groupId,
                                    String name,
                                    long vocabularyId,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_LikeN_V_First

AssetCategory findByG_LikeN_V_First(long groupId,
                                    String name,
                                    long vocabularyId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchCategoryException
Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.

Parameters:
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByG_LikeN_V_First

AssetCategory fetchByG_LikeN_V_First(long groupId,
                                     String name,
                                     long vocabularyId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException
Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.

Parameters:
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByG_LikeN_V_Last

AssetCategory findByG_LikeN_V_Last(long groupId,
                                   String name,
                                   long vocabularyId,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchCategoryException
Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.

Parameters:
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByG_LikeN_V_Last

AssetCategory fetchByG_LikeN_V_Last(long groupId,
                                    String name,
                                    long vocabularyId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.

Parameters:
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByG_LikeN_V_PrevAndNext

AssetCategory[] findByG_LikeN_V_PrevAndNext(long categoryId,
                                            long groupId,
                                            String name,
                                            long vocabularyId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchCategoryException
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.

Parameters:
categoryId - the primary key of the current asset category
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_LikeN_V

List<AssetCategory> filterFindByG_LikeN_V(long groupId,
                                          String name,
                                          long vocabularyId)
                                          throws SystemException
Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.

Parameters:
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
Returns:
the matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_LikeN_V

List<AssetCategory> filterFindByG_LikeN_V(long groupId,
                                          String name,
                                          long vocabularyId,
                                          int start,
                                          int end)
                                          throws SystemException
Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_LikeN_V

List<AssetCategory> filterFindByG_LikeN_V(long groupId,
                                          String name,
                                          long vocabularyId,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                          throws SystemException
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and name LIKE ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_LikeN_V_PrevAndNext

AssetCategory[] filterFindByG_LikeN_V_PrevAndNext(long categoryId,
                                                  long groupId,
                                                  String name,
                                                  long vocabularyId,
                                                  OrderByComparator orderByComparator)
                                                  throws SystemException,
                                                         NoSuchCategoryException
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 = ?.

Parameters:
categoryId - the primary key of the current asset category
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_LikeN_V

List<AssetCategory> filterFindByG_LikeN_V(long groupId,
                                          String name,
                                          long[] vocabularyIds)
                                          throws SystemException
Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.

Parameters:
groupId - the group ID
name - the name
vocabularyIds - the vocabulary IDs
Returns:
the matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_LikeN_V

List<AssetCategory> filterFindByG_LikeN_V(long groupId,
                                          String name,
                                          long[] vocabularyIds,
                                          int start,
                                          int end)
                                          throws SystemException
Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
name - the name
vocabularyIds - the vocabulary IDs
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_LikeN_V

List<AssetCategory> filterFindByG_LikeN_V(long groupId,
                                          String name,
                                          long[] vocabularyIds,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                          throws SystemException
Returns an ordered range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
name - the name
vocabularyIds - the vocabulary IDs
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_LikeN_V

List<AssetCategory> findByG_LikeN_V(long groupId,
                                    String name,
                                    long[] vocabularyIds)
                                    throws SystemException
Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
name - the name
vocabularyIds - the vocabulary IDs
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_LikeN_V

List<AssetCategory> findByG_LikeN_V(long groupId,
                                    String name,
                                    long[] vocabularyIds,
                                    int start,
                                    int end)
                                    throws SystemException
Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
name - the name
vocabularyIds - the vocabulary IDs
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_LikeN_V

List<AssetCategory> findByG_LikeN_V(long groupId,
                                    String name,
                                    long[] vocabularyIds,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
name - the name
vocabularyIds - the vocabulary IDs
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories
Throws:
SystemException - if a system exception occurred

removeByG_LikeN_V

void removeByG_LikeN_V(long groupId,
                       String name,
                       long vocabularyId)
                       throws SystemException
Removes all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ? from the database.

Parameters:
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
Throws:
SystemException - if a system exception occurred

countByG_LikeN_V

int countByG_LikeN_V(long groupId,
                     String name,
                     long vocabularyId)
                     throws SystemException
Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.

Parameters:
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

countByG_LikeN_V

int countByG_LikeN_V(long groupId,
                     String name,
                     long[] vocabularyIds)
                     throws SystemException
Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.

Parameters:
groupId - the group ID
name - the name
vocabularyIds - the vocabulary IDs
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

filterCountByG_LikeN_V

int filterCountByG_LikeN_V(long groupId,
                           String name,
                           long vocabularyId)
                           throws SystemException
Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.

Parameters:
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
Returns:
the number of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_LikeN_V

int filterCountByG_LikeN_V(long groupId,
                           String name,
                           long[] vocabularyIds)
                           throws SystemException
Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.

Parameters:
groupId - the group ID
name - the name
vocabularyIds - the vocabulary IDs
Returns:
the number of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByP_N_V

AssetCategory findByP_N_V(long parentCategoryId,
                          String name,
                          long vocabularyId)
                          throws SystemException,
                                 NoSuchCategoryException
Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or throws a NoSuchCategoryException if it could not be found.

Parameters:
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
Returns:
the matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByP_N_V

AssetCategory fetchByP_N_V(long parentCategoryId,
                           String name,
                           long vocabularyId)
                           throws SystemException
Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
Returns:
the matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

fetchByP_N_V

AssetCategory fetchByP_N_V(long parentCategoryId,
                           String name,
                           long vocabularyId,
                           boolean retrieveFromCache)
                           throws SystemException
Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

removeByP_N_V

AssetCategory removeByP_N_V(long parentCategoryId,
                            String name,
                            long vocabularyId)
                            throws SystemException,
                                   NoSuchCategoryException
Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database.

Parameters:
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
Returns:
the asset category that was removed
Throws:
SystemException - if a system exception occurred
NoSuchCategoryException

countByP_N_V

int countByP_N_V(long parentCategoryId,
                 String name,
                 long vocabularyId)
                 throws SystemException
Returns the number of asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?.

Parameters:
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_P_N_V

List<AssetCategory> findByG_P_N_V(long groupId,
                                  long parentCategoryId,
                                  String name,
                                  long vocabularyId)
                                  throws SystemException
Returns all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_P_N_V

List<AssetCategory> findByG_P_N_V(long groupId,
                                  long parentCategoryId,
                                  String name,
                                  long vocabularyId,
                                  int start,
                                  int end)
                                  throws SystemException
Returns a range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_P_N_V

List<AssetCategory> findByG_P_N_V(long groupId,
                                  long parentCategoryId,
                                  String name,
                                  long vocabularyId,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_P_N_V_First

AssetCategory findByG_P_N_V_First(long groupId,
                                  long parentCategoryId,
                                  String name,
                                  long vocabularyId,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchCategoryException
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByG_P_N_V_First

AssetCategory fetchByG_P_N_V_First(long groupId,
                                   long parentCategoryId,
                                   String name,
                                   long vocabularyId,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_N_V_Last

AssetCategory findByG_P_N_V_Last(long groupId,
                                 long parentCategoryId,
                                 String name,
                                 long vocabularyId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchCategoryException
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category
Throws:
NoSuchCategoryException - if a matching asset category could not be found
SystemException - if a system exception occurred

fetchByG_P_N_V_Last

AssetCategory fetchByG_P_N_V_Last(long groupId,
                                  long parentCategoryId,
                                  String name,
                                  long vocabularyId,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_N_V_PrevAndNext

AssetCategory[] findByG_P_N_V_PrevAndNext(long categoryId,
                                          long groupId,
                                          long parentCategoryId,
                                          String name,
                                          long vocabularyId,
                                          OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchCategoryException
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.

Parameters:
categoryId - the primary key of the current asset category
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_P_N_V

List<AssetCategory> filterFindByG_P_N_V(long groupId,
                                        long parentCategoryId,
                                        String name,
                                        long vocabularyId)
                                        throws SystemException
Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
Returns:
the matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_P_N_V

List<AssetCategory> filterFindByG_P_N_V(long groupId,
                                        long parentCategoryId,
                                        String name,
                                        long vocabularyId,
                                        int start,
                                        int end)
                                        throws SystemException
Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_P_N_V

List<AssetCategory> filterFindByG_P_N_V(long groupId,
                                        long parentCategoryId,
                                        String name,
                                        long vocabularyId,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                        throws SystemException
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_P_N_V_PrevAndNext

AssetCategory[] filterFindByG_P_N_V_PrevAndNext(long categoryId,
                                                long groupId,
                                                long parentCategoryId,
                                                String name,
                                                long vocabularyId,
                                                OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchCategoryException
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 = ?.

Parameters:
categoryId - the primary key of the current asset category
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

removeByG_P_N_V

void removeByG_P_N_V(long groupId,
                     long parentCategoryId,
                     String name,
                     long vocabularyId)
                     throws SystemException
Removes all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ? from the database.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
Throws:
SystemException - if a system exception occurred

countByG_P_N_V

int countByG_P_N_V(long groupId,
                   long parentCategoryId,
                   String name,
                   long vocabularyId)
                   throws SystemException
Returns the number of asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

filterCountByG_P_N_V

int filterCountByG_P_N_V(long groupId,
                         long parentCategoryId,
                         String name,
                         long vocabularyId)
                         throws SystemException
Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.

Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
name - the name
vocabularyId - the vocabulary ID
Returns:
the number of matching asset categories that the user has permission to view
Throws:
SystemException - if a system exception occurred

cacheResult

void cacheResult(AssetCategory assetCategory)
Caches the asset category in the entity cache if it is enabled.

Parameters:
assetCategory - the asset category

cacheResult

void cacheResult(List<AssetCategory> assetCategories)
Caches the asset categories in the entity cache if it is enabled.

Parameters:
assetCategories - the asset categories

create

AssetCategory create(long categoryId)
Creates a new asset category with the primary key. Does not add the asset category to the database.

Parameters:
categoryId - the primary key for the new asset category
Returns:
the new asset category

remove

AssetCategory remove(long categoryId)
                     throws SystemException,
                            NoSuchCategoryException
Removes the asset category with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
categoryId - the primary key of the asset category
Returns:
the asset category that was removed
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

AssetCategory updateImpl(AssetCategory assetCategory)
                         throws SystemException
Throws:
SystemException

findByPrimaryKey

AssetCategory findByPrimaryKey(long categoryId)
                               throws SystemException,
                                      NoSuchCategoryException
Returns the asset category with the primary key or throws a NoSuchCategoryException if it could not be found.

Parameters:
categoryId - the primary key of the asset category
Returns:
the asset category
Throws:
NoSuchCategoryException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

AssetCategory fetchByPrimaryKey(long categoryId)
                                throws SystemException
Returns the asset category with the primary key or returns null if it could not be found.

Parameters:
categoryId - the primary key of the asset category
Returns:
the asset category, or null if a asset category with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findAll

List<AssetCategory> findAll()
                            throws SystemException
Returns all the asset categories.

Returns:
the asset categories
Throws:
SystemException - if a system exception occurred

findAll

List<AssetCategory> findAll(int start,
                            int end)
                            throws SystemException
Returns a range of all the asset categories.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of asset categories
Throws:
SystemException - if a system exception occurred

findAll

List<AssetCategory> findAll(int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Returns an ordered range of all the asset categories.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of asset categories
Throws:
SystemException - if a system exception occurred

removeAll

void removeAll()
               throws SystemException
Removes all the asset categories from the database.

Throws:
SystemException - if a system exception occurred

countAll

int countAll()
             throws SystemException
Returns the number of asset categories.

Returns:
the number of asset categories
Throws:
SystemException - if a system exception occurred

getAssetEntries

List<AssetEntry> getAssetEntries(long pk)
                                 throws SystemException
Returns all the asset entries associated with the asset category.

Parameters:
pk - the primary key of the asset category
Returns:
the asset entries associated with the asset category
Throws:
SystemException - if a system exception occurred

getAssetEntries

List<AssetEntry> getAssetEntries(long pk,
                                 int start,
                                 int end)
                                 throws SystemException
Returns a range of all the asset entries associated with the asset category.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
pk - the primary key of the asset category
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of asset entries associated with the asset category
Throws:
SystemException - if a system exception occurred

getAssetEntries

List<AssetEntry> getAssetEntries(long pk,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the asset entries associated with the asset category.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
pk - the primary key of the asset category
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of asset entries associated with the asset category
Throws:
SystemException - if a system exception occurred

getAssetEntriesSize

int getAssetEntriesSize(long pk)
                        throws SystemException
Returns the number of asset entries associated with the asset category.

Parameters:
pk - the primary key of the asset category
Returns:
the number of asset entries associated with the asset category
Throws:
SystemException - if a system exception occurred

containsAssetEntry

boolean containsAssetEntry(long pk,
                           long assetEntryPK)
                           throws SystemException
Returns true if the asset entry is associated with the asset category.

Parameters:
pk - the primary key of the asset category
assetEntryPK - the primary key of the asset entry
Returns:
true if the asset entry is associated with the asset category; false otherwise
Throws:
SystemException - if a system exception occurred

containsAssetEntries

boolean containsAssetEntries(long pk)
                             throws SystemException
Returns true if the asset category has any asset entries associated with it.

Parameters:
pk - the primary key of the asset category to check for associations with asset entries
Returns:
true if the asset category has any asset entries associated with it; false otherwise
Throws:
SystemException - if a system exception occurred

addAssetEntry

void addAssetEntry(long pk,
                   long assetEntryPK)
                   throws SystemException
Adds an association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the asset category
assetEntryPK - the primary key of the asset entry
Throws:
SystemException - if a system exception occurred

addAssetEntry

void addAssetEntry(long pk,
                   AssetEntry assetEntry)
                   throws SystemException
Adds an association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the asset category
assetEntry - the asset entry
Throws:
SystemException - if a system exception occurred

addAssetEntries

void addAssetEntries(long pk,
                     long[] assetEntryPKs)
                     throws SystemException
Adds an association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the asset category
assetEntryPKs - the primary keys of the asset entries
Throws:
SystemException - if a system exception occurred

addAssetEntries

void addAssetEntries(long pk,
                     List<AssetEntry> assetEntries)
                     throws SystemException
Adds an association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the asset category
assetEntries - the asset entries
Throws:
SystemException - if a system exception occurred

clearAssetEntries

void clearAssetEntries(long pk)
                       throws SystemException
Clears all associations between the asset category and its asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the asset category to clear the associated asset entries from
Throws:
SystemException - if a system exception occurred

removeAssetEntry

void removeAssetEntry(long pk,
                      long assetEntryPK)
                      throws SystemException
Removes the association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the asset category
assetEntryPK - the primary key of the asset entry
Throws:
SystemException - if a system exception occurred

removeAssetEntry

void removeAssetEntry(long pk,
                      AssetEntry assetEntry)
                      throws SystemException
Removes the association between the asset category and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the asset category
assetEntry - the asset entry
Throws:
SystemException - if a system exception occurred

removeAssetEntries

void removeAssetEntries(long pk,
                        long[] assetEntryPKs)
                        throws SystemException
Removes the association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the asset category
assetEntryPKs - the primary keys of the asset entries
Throws:
SystemException - if a system exception occurred

removeAssetEntries

void removeAssetEntries(long pk,
                        List<AssetEntry> assetEntries)
                        throws SystemException
Removes the association between the asset category and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the asset category
assetEntries - the asset entries
Throws:
SystemException - if a system exception occurred

setAssetEntries

void setAssetEntries(long pk,
                     long[] assetEntryPKs)
                     throws SystemException
Sets the asset entries associated with the asset category, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the asset category
assetEntryPKs - the primary keys of the asset entries to be associated with the asset category
Throws:
SystemException - if a system exception occurred

setAssetEntries

void setAssetEntries(long pk,
                     List<AssetEntry> assetEntries)
                     throws SystemException
Sets the asset entries associated with the asset category, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the asset category
assetEntries - the asset entries to be associated with the asset category
Throws:
SystemException - if a system exception occurred

rebuildTree

void rebuildTree(long groupId,
                 boolean force)
                 throws SystemException
Rebuilds the asset categories tree for the scope using the modified pre-order tree traversal algorithm.

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.

Parameters:
groupId - the ID of the scope
force - whether to force the rebuild even if the tree is not stale
Throws:
SystemException

setRebuildTreeEnabled

void setRebuildTreeEnabled(boolean rebuildTreeEnabled)

Liferay 6.2-ce-ga5