Liferay 6.2-ce-ga5

com.liferay.portlet.asset.service.persistence
Class AssetCategoryPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AssetCategory>
      extended by com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<AssetCategory>, AssetCategoryPersistence

public class AssetCategoryPersistenceImpl
extends BasePersistenceImpl<AssetCategory>
implements AssetCategoryPersistence

The persistence implementation for the asset category service.

Caching information and settings can be found in portal.properties

See Also:
AssetCategoryPersistence, AssetCategoryUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Nested Class Summary
protected  class AssetCategoryPersistenceImpl.ExpandTreeLeftCategoryId
           
protected  class AssetCategoryPersistenceImpl.ExpandTreeRightCategoryId
           
protected  class AssetCategoryPersistenceImpl.ShrinkTreeLeftCategoryId
           
protected  class AssetCategoryPersistenceImpl.ShrinkTreeRightCategoryId
           
protected  class AssetCategoryPersistenceImpl.UpdateTree
           
 
Field Summary
protected  TableMapper<AssetCategory,AssetEntry> assetCategoryToAssetEntryTableMapper
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetCategoryPersistenceImpl.ExpandTreeLeftCategoryId expandTreeLeftCategoryId
           
protected  AssetCategoryPersistenceImpl.ExpandTreeRightCategoryId expandTreeRightCategoryId
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_G_P_N_V
           
static FinderPath FINDER_PATH_COUNT_BY_G_P_V
           
static FinderPath FINDER_PATH_COUNT_BY_G_V
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_N_V
           
static FinderPath FINDER_PATH_COUNT_BY_P_N
           
static FinderPath FINDER_PATH_COUNT_BY_P_N_V
           
static FinderPath FINDER_PATH_COUNT_BY_P_V
           
static FinderPath FINDER_PATH_COUNT_BY_PARENTCATEGORYID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_C
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_COUNT_BY_VOCABULARYID
           
static FinderPath FINDER_PATH_FETCH_BY_P_N_V
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LIKEN_V
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_V
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LIKEN_V
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_N_V
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_V
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_V
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_V
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P_N
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P_V
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PARENTCATEGORYID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_VOCABULARYID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_N_V
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_V
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_V
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_V
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_N
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_V
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PARENTCATEGORYID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VOCABULARYID
           
protected  boolean rebuildTreeEnabled
           
protected  AssetCategoryPersistenceImpl.ShrinkTreeLeftCategoryId shrinkTreeLeftCategoryId
           
protected  AssetCategoryPersistenceImpl.ShrinkTreeRightCategoryId shrinkTreeRightCategoryId
           
protected  AssetCategoryPersistenceImpl.UpdateTree updateTree
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
AssetCategoryPersistenceImpl()
           
 
Method Summary
 void addAssetEntries(long pk, List<AssetEntry> assetEntries)
          Adds an association between the asset category and the asset entries.
 void addAssetEntries(long pk, long[] assetEntryPKs)
          Adds an association between the asset category and the asset entries.
 void addAssetEntry(long pk, AssetEntry assetEntry)
          Adds an association between the asset category and the asset entry.
 void addAssetEntry(long pk, long assetEntryPK)
          Adds an association between the asset category and the asset entry.
 void afterPropertiesSet()
          Initializes the asset category persistence.
 void cacheResult(AssetCategory assetCategory)
          Caches the asset category in the entity cache if it is enabled.
 void cacheResult(List<AssetCategory> assetCategories)
          Caches the asset categories in the entity cache if it is enabled.
protected  void cacheUniqueFindersCache(AssetCategory assetCategory)
           
 void clearAssetEntries(long pk)
          Clears all associations between the asset category and its asset entries.
 void clearCache()
          Clears the cache for all asset categories.
 void clearCache(AssetCategory assetCategory)
          Clears the cache for the asset category.
 void clearCache(List<AssetCategory> assetCategories)
          Clears the cache for a List instances of this model.
protected  void clearUniqueFindersCache(AssetCategory assetCategory)
           
 boolean containsAssetEntries(long pk)
          Returns true if the asset category has any asset entries associated with it.
 boolean containsAssetEntry(long pk, long assetEntryPK)
          Returns true if the asset entry is associated with the asset category.
 int countAll()
          Returns the number of asset categories.
 int countByG_LikeN_V(long groupId, String name, long vocabularyId)
          Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
 int countByG_LikeN_V(long groupId, String name, long[] vocabularyIds)
          Returns the number of asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
 int countByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
          Returns the number of asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 int countByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
          Returns the number of asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 int countByG_V(long groupId, long vocabularyId)
          Returns the number of asset categories where groupId = ? and vocabularyId = ?.
 int countByG_V(long groupId, long[] vocabularyIds)
          Returns the number of asset categories where groupId = ? and vocabularyId = any ?.
 int countByGroupId(long groupId)
          Returns the number of asset categories where groupId = ?.
 int countByN_V(String name, long vocabularyId)
          Returns the number of asset categories where name = ? and vocabularyId = ?.
 int countByP_N_V(long parentCategoryId, String name, long vocabularyId)
          Returns the number of asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?.
 int countByP_N(long parentCategoryId, String name)
          Returns the number of asset categories where parentCategoryId = ? and name = ?.
 int countByP_V(long parentCategoryId, long vocabularyId)
          Returns the number of asset categories where parentCategoryId = ? and vocabularyId = ?.
 int countByParentCategoryId(long parentCategoryId)
          Returns the number of asset categories where parentCategoryId = ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of asset categories where uuid = ? and companyId = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of asset categories where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of asset categories where uuid = ?.
 int countByVocabularyId(long vocabularyId)
          Returns the number of asset categories where vocabularyId = ?.
protected  long countOrphanTreeNodes(long groupId)
           
 AssetCategory create(long categoryId)
          Creates a new asset category with the primary key.
 void destroy()
           
protected  void expandNoChildrenLeftCategoryId(long groupId, long leftCategoryId, List<Long> childrenCategoryIds, long delta)
           
protected  void expandNoChildrenRightCategoryId(long groupId, long rightCategoryId, List<Long> childrenCategoryIds, long delta)
           
protected  void expandTree(AssetCategory assetCategory, List<Long> childrenCategoryIds)
           
 AssetCategory fetchByG_LikeN_V_First(long groupId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
 AssetCategory fetchByG_LikeN_V_Last(long groupId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
 AssetCategory fetchByG_P_N_V_First(long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 AssetCategory fetchByG_P_N_V_Last(long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 AssetCategory fetchByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 AssetCategory fetchByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 AssetCategory fetchByG_V_First(long groupId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.
 AssetCategory fetchByG_V_Last(long groupId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.
 AssetCategory fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where groupId = ?.
 AssetCategory fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where groupId = ?.
 AssetCategory fetchByN_V_First(String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.
 AssetCategory fetchByN_V_Last(String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.
 AssetCategory fetchByP_N_First(long parentCategoryId, String name, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.
 AssetCategory fetchByP_N_Last(long parentCategoryId, String name, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.
 AssetCategory fetchByP_N_V(long parentCategoryId, String name, long vocabularyId)
          Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns null if it could not be found.
 AssetCategory fetchByP_N_V(long parentCategoryId, String name, long vocabularyId, boolean retrieveFromCache)
          Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or returns null if it could not be found, optionally using the finder cache.
 AssetCategory fetchByP_V_First(long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
 AssetCategory fetchByP_V_Last(long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
 AssetCategory fetchByParentCategoryId_First(long parentCategoryId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where parentCategoryId = ?.
 AssetCategory fetchByParentCategoryId_Last(long parentCategoryId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where parentCategoryId = ?.
 AssetCategory fetchByPrimaryKey(long categoryId)
          Returns the asset category with the primary key or returns null if it could not be found.
 AssetCategory fetchByPrimaryKey(Serializable primaryKey)
          Returns the asset category with the primary key or returns null if it could not be found.
 AssetCategory fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
 AssetCategory fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
 AssetCategory fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where uuid = ?.
 AssetCategory fetchByUUID_G(String uuid, long groupId)
          Returns the asset category where uuid = ? and groupId = ? or returns null if it could not be found.
 AssetCategory fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the asset category where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 AssetCategory fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where uuid = ?.
 AssetCategory fetchByVocabularyId_First(long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where vocabularyId = ?.
 AssetCategory fetchByVocabularyId_Last(long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where vocabularyId = ?.
 int filterCountByG_LikeN_V(long groupId, String name, long vocabularyId)
          Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
 int filterCountByG_LikeN_V(long groupId, String name, long[] vocabularyIds)
          Returns the number of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.
 int filterCountByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
          Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 int filterCountByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
          Returns the number of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 int filterCountByG_V(long groupId, long vocabularyId)
          Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
 int filterCountByG_V(long groupId, long[] vocabularyIds)
          Returns the number of asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.
 int filterCountByGroupId(long groupId)
          Returns the number of asset categories that the user has permission to view where groupId = ?.
 AssetCategory[] filterFindByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId)
          Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long[] vocabularyIds)
          Returns all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.
 List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long[] vocabularyIds, int start, int end)
          Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.
 List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long[] vocabularyIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = any ?.
 List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end)
          Returns a range of all the asset categories that the user has permission to view where groupId = ? and name LIKE ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and name LIKE ? and vocabularyId = ?.
 AssetCategory[] filterFindByG_P_N_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
          Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId, int start, int end)
          Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 AssetCategory[] filterFindByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
          Returns all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end)
          Returns a range of all the asset categories that the user has permission to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 AssetCategory[] filterFindByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_V(long groupId, long vocabularyId)
          Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_V(long groupId, long[] vocabularyIds)
          Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.
 List<AssetCategory> filterFindByG_V(long groupId, long[] vocabularyIds, int start, int end)
          Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.
 List<AssetCategory> filterFindByG_V(long groupId, long[] vocabularyIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.
 List<AssetCategory> filterFindByG_V(long groupId, long vocabularyId, int start, int end)
          Returns a range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
 List<AssetCategory> filterFindByG_V(long groupId, long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and vocabularyId = ?.
 AssetCategory[] filterFindByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ?.
 List<AssetCategory> filterFindByGroupId(long groupId)
          Returns all the asset categories that the user has permission to view where groupId = ?.
 List<AssetCategory> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the asset categories that the user has permission to view where groupId = ?.
 List<AssetCategory> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ?.
protected  AssetCategory filterGetByG_LikeN_V_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, String name, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory filterGetByG_P_N_V_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory filterGetByG_P_V_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory filterGetByG_V_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory filterGetByGroupId_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, OrderByComparator orderByComparator, boolean previous)
           
 List<AssetCategory> findAll()
          Returns all the asset categories.
 List<AssetCategory> findAll(int start, int end)
          Returns a range of all the asset categories.
 List<AssetCategory> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories.
 AssetCategory findByG_LikeN_V_First(long groupId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
 AssetCategory findByG_LikeN_V_Last(long groupId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
 AssetCategory[] findByG_LikeN_V_PrevAndNext(long categoryId, long groupId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
 List<AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId)
          Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
 List<AssetCategory> findByG_LikeN_V(long groupId, String name, long[] vocabularyIds)
          Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
 List<AssetCategory> findByG_LikeN_V(long groupId, String name, long[] vocabularyIds, int start, int end)
          Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
 List<AssetCategory> findByG_LikeN_V(long groupId, String name, long[] vocabularyIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
 List<AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end)
          Returns a range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
 List<AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
 AssetCategory findByG_P_N_V_First(long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 AssetCategory findByG_P_N_V_Last(long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 AssetCategory[] findByG_P_N_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 List<AssetCategory> findByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
          Returns all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 List<AssetCategory> findByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId, int start, int end)
          Returns a range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 List<AssetCategory> findByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
 AssetCategory findByG_P_V_First(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 AssetCategory findByG_P_V_Last(long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 AssetCategory[] findByG_P_V_PrevAndNext(long categoryId, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 List<AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
          Returns all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 List<AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end)
          Returns a range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 List<AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
 AssetCategory findByG_V_First(long groupId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.
 AssetCategory findByG_V_Last(long groupId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.
 AssetCategory[] findByG_V_PrevAndNext(long categoryId, long groupId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and vocabularyId = ?.
 List<AssetCategory> findByG_V(long groupId, long vocabularyId)
          Returns all the asset categories where groupId = ? and vocabularyId = ?.
 List<AssetCategory> findByG_V(long groupId, long[] vocabularyIds)
          Returns all the asset categories where groupId = ? and vocabularyId = any ?.
 List<AssetCategory> findByG_V(long groupId, long[] vocabularyIds, int start, int end)
          Returns a range of all the asset categories where groupId = ? and vocabularyId = any ?.
 List<AssetCategory> findByG_V(long groupId, long[] vocabularyIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = any ?.
 List<AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end)
          Returns a range of all the asset categories where groupId = ? and vocabularyId = ?.
 List<AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.
 AssetCategory findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where groupId = ?.
 AssetCategory findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where groupId = ?.
 AssetCategory[] findByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where groupId = ?.
 List<AssetCategory> findByGroupId(long groupId)
          Returns all the asset categories where groupId = ?.
 List<AssetCategory> findByGroupId(long groupId, int start, int end)
          Returns a range of all the asset categories where groupId = ?.
 List<AssetCategory> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where groupId = ?.
 AssetCategory findByN_V_First(String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.
 AssetCategory findByN_V_Last(String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.
 AssetCategory[] findByN_V_PrevAndNext(long categoryId, String name, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?.
 List<AssetCategory> findByN_V(String name, long vocabularyId)
          Returns all the asset categories where name = ? and vocabularyId = ?.
 List<AssetCategory> findByN_V(String name, long vocabularyId, int start, int end)
          Returns a range of all the asset categories where name = ? and vocabularyId = ?.
 List<AssetCategory> findByN_V(String name, long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.
 AssetCategory findByP_N_First(long parentCategoryId, String name, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.
 AssetCategory findByP_N_Last(long parentCategoryId, String name, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.
 AssetCategory[] findByP_N_PrevAndNext(long categoryId, long parentCategoryId, String name, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and name = ?.
 AssetCategory findByP_N_V(long parentCategoryId, String name, long vocabularyId)
          Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or throws a NoSuchCategoryException if it could not be found.
 List<AssetCategory> findByP_N(long parentCategoryId, String name)
          Returns all the asset categories where parentCategoryId = ? and name = ?.
 List<AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end)
          Returns a range of all the asset categories where parentCategoryId = ? and name = ?.
 List<AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.
 AssetCategory findByP_V_First(long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
 AssetCategory findByP_V_Last(long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
 AssetCategory[] findByP_V_PrevAndNext(long categoryId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
 List<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId)
          Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?.
 List<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end)
          Returns a range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.
 List<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.
 AssetCategory findByParentCategoryId_First(long parentCategoryId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where parentCategoryId = ?.
 AssetCategory findByParentCategoryId_Last(long parentCategoryId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where parentCategoryId = ?.
 AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId, long parentCategoryId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?.
 List<AssetCategory> findByParentCategoryId(long parentCategoryId)
          Returns all the asset categories where parentCategoryId = ?.
 List<AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end)
          Returns a range of all the asset categories where parentCategoryId = ?.
 List<AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where parentCategoryId = ?.
 AssetCategory findByPrimaryKey(long categoryId)
          Returns the asset category with the primary key or throws a NoSuchCategoryException if it could not be found.
 AssetCategory findByPrimaryKey(Serializable primaryKey)
          Returns the asset category with the primary key or throws a NoSuchModelException if it could not be found.
 AssetCategory findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
 AssetCategory findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
 AssetCategory[] findByUuid_C_PrevAndNext(long categoryId, String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where uuid = ? and companyId = ?.
 List<AssetCategory> findByUuid_C(String uuid, long companyId)
          Returns all the asset categories where uuid = ? and companyId = ?.
 List<AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the asset categories where uuid = ? and companyId = ?.
 List<AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.
 AssetCategory findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where uuid = ?.
 AssetCategory findByUUID_G(String uuid, long groupId)
          Returns the asset category where uuid = ? and groupId = ? or throws a NoSuchCategoryException if it could not be found.
 AssetCategory findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where uuid = ?.
 AssetCategory[] findByUuid_PrevAndNext(long categoryId, String uuid, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where uuid = ?.
 List<AssetCategory> findByUuid(String uuid)
          Returns all the asset categories where uuid = ?.
 List<AssetCategory> findByUuid(String uuid, int start, int end)
          Returns a range of all the asset categories where uuid = ?.
 List<AssetCategory> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where uuid = ?.
 AssetCategory findByVocabularyId_First(long vocabularyId, OrderByComparator orderByComparator)
          Returns the first asset category in the ordered set where vocabularyId = ?.
 AssetCategory findByVocabularyId_Last(long vocabularyId, OrderByComparator orderByComparator)
          Returns the last asset category in the ordered set where vocabularyId = ?.
 AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId, long vocabularyId, OrderByComparator orderByComparator)
          Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?.
 List<AssetCategory> findByVocabularyId(long vocabularyId)
          Returns all the asset categories where vocabularyId = ?.
 List<AssetCategory> findByVocabularyId(long vocabularyId, int start, int end)
          Returns a range of all the asset categories where vocabularyId = ?.
 List<AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset categories where vocabularyId = ?.
 List<AssetEntry> getAssetEntries(long pk)
          Returns all the asset entries associated with the asset category.
 List<AssetEntry> getAssetEntries(long pk, int start, int end)
          Returns a range of all the asset entries associated with the asset category.
 List<AssetEntry> getAssetEntries(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the asset entries associated with the asset category.
 int getAssetEntriesSize(long pk)
          Returns the number of asset entries associated with the asset category.
protected  Set<String> getBadColumnNames()
           
protected  AssetCategory getByG_LikeN_V_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, String name, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory getByG_P_N_V_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, long parentCategoryId, String name, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory getByG_P_V_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory getByG_V_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory getByGroupId_PrevAndNext(Session session, AssetCategory assetCategory, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory getByN_V_PrevAndNext(Session session, AssetCategory assetCategory, String name, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory getByP_N_PrevAndNext(Session session, AssetCategory assetCategory, long parentCategoryId, String name, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory getByP_V_PrevAndNext(Session session, AssetCategory assetCategory, long parentCategoryId, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory getByParentCategoryId_PrevAndNext(Session session, AssetCategory assetCategory, long parentCategoryId, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory getByUuid_C_PrevAndNext(Session session, AssetCategory assetCategory, String uuid, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory getByUuid_PrevAndNext(Session session, AssetCategory assetCategory, String uuid, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetCategory getByVocabularyId_PrevAndNext(Session session, AssetCategory assetCategory, long vocabularyId, OrderByComparator orderByComparator, boolean previous)
           
protected  List<Long> getChildrenTreeCategoryIds(AssetCategory parentAssetCategory)
           
protected  long getLastRightCategoryId(long groupId, long parentCategoryId)
           
 void rebuildTree(long groupId, boolean force)
          Rebuilds the asset categories tree for the scope using the modified pre-order tree traversal algorithm.
protected  long rebuildTree(long groupId, long parentCategoryId, long leftCategoryId)
           
 AssetCategory remove(long categoryId)
          Removes the asset category with the primary key from the database.
 AssetCategory remove(Serializable primaryKey)
          Removes the asset category with the primary key from the database.
 void removeAll()
          Removes all the asset categories from the database.
 void removeAssetEntries(long pk, List<AssetEntry> assetEntries)
          Removes the association between the asset category and the asset entries.
 void removeAssetEntries(long pk, long[] assetEntryPKs)
          Removes the association between the asset category and the asset entries.
 void removeAssetEntry(long pk, AssetEntry assetEntry)
          Removes the association between the asset category and the asset entry.
 void removeAssetEntry(long pk, long assetEntryPK)
          Removes the association between the asset category and the asset entry.
 void removeByG_LikeN_V(long groupId, String name, long vocabularyId)
          Removes all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ? from the database.
 void removeByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
          Removes all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ? from the database.
 void removeByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
          Removes all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ? from the database.
 void removeByG_V(long groupId, long vocabularyId)
          Removes all the asset categories where groupId = ? and vocabularyId = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the asset categories where groupId = ? from the database.
 void removeByN_V(String name, long vocabularyId)
          Removes all the asset categories where name = ? and vocabularyId = ? from the database.
 AssetCategory removeByP_N_V(long parentCategoryId, String name, long vocabularyId)
          Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database.
 void removeByP_N(long parentCategoryId, String name)
          Removes all the asset categories where parentCategoryId = ? and name = ? from the database.
 void removeByP_V(long parentCategoryId, long vocabularyId)
          Removes all the asset categories where parentCategoryId = ? and vocabularyId = ? from the database.
 void removeByParentCategoryId(long parentCategoryId)
          Removes all the asset categories where parentCategoryId = ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the asset categories where uuid = ? and companyId = ? from the database.
 AssetCategory removeByUUID_G(String uuid, long groupId)
          Removes the asset category where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the asset categories where uuid = ? from the database.
 void removeByVocabularyId(long vocabularyId)
          Removes all the asset categories where vocabularyId = ? from the database.
protected  AssetCategory removeImpl(AssetCategory assetCategory)
          Removes the model instance from the database.
 void setAssetEntries(long pk, List<AssetEntry> assetEntries)
          Sets the asset entries associated with the asset category, removing and adding associations as necessary.
 void setAssetEntries(long pk, long[] assetEntryPKs)
          Sets the asset entries associated with the asset category, removing and adding associations as necessary.
 void setRebuildTreeEnabled(boolean rebuildTreeEnabled)
           
protected  void shrinkTree(AssetCategory assetCategory)
           
protected  AssetCategory toUnwrappedModel(AssetCategory assetCategory)
           
protected  void updateChildrenTree(long groupId, List<Long> childrenCategoryIds, long delta)
           
 AssetCategory updateImpl(AssetCategory assetCategory)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_COUNT_BY_UUID_C

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_WITH_PAGINATION_FIND_BY_PARENTCATEGORYID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PARENTCATEGORYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PARENTCATEGORYID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PARENTCATEGORYID

FINDER_PATH_COUNT_BY_PARENTCATEGORYID

public static final FinderPath FINDER_PATH_COUNT_BY_PARENTCATEGORYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_VOCABULARYID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_VOCABULARYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VOCABULARYID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VOCABULARYID

FINDER_PATH_COUNT_BY_VOCABULARYID

public static final FinderPath FINDER_PATH_COUNT_BY_VOCABULARYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_V

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_V

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_V

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_V

FINDER_PATH_COUNT_BY_G_V

public static final FinderPath FINDER_PATH_COUNT_BY_G_V

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_V

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_V

FINDER_PATH_WITH_PAGINATION_FIND_BY_P_N

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P_N

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_N

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_N

FINDER_PATH_COUNT_BY_P_N

public static final FinderPath FINDER_PATH_COUNT_BY_P_N

FINDER_PATH_WITH_PAGINATION_FIND_BY_P_V

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P_V

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_V

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_V

FINDER_PATH_COUNT_BY_P_V

public static final FinderPath FINDER_PATH_COUNT_BY_P_V

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_V

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_V

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_V

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_V

FINDER_PATH_COUNT_BY_N_V

public static final FinderPath FINDER_PATH_COUNT_BY_N_V

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_V

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_V

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_V

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_V

FINDER_PATH_COUNT_BY_G_P_V

public static final FinderPath FINDER_PATH_COUNT_BY_G_P_V

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LIKEN_V

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LIKEN_V

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LIKEN_V

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LIKEN_V

FINDER_PATH_FETCH_BY_P_N_V

public static final FinderPath FINDER_PATH_FETCH_BY_P_N_V

FINDER_PATH_COUNT_BY_P_N_V

public static final FinderPath FINDER_PATH_COUNT_BY_P_N_V

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_N_V

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_N_V

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_N_V

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_N_V

FINDER_PATH_COUNT_BY_G_P_N_V

public static final FinderPath FINDER_PATH_COUNT_BY_G_P_N_V

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetCategoryToAssetEntryTableMapper

protected TableMapper<AssetCategory,AssetEntry> assetCategoryToAssetEntryTableMapper

rebuildTreeEnabled

protected boolean rebuildTreeEnabled

expandTreeLeftCategoryId

protected AssetCategoryPersistenceImpl.ExpandTreeLeftCategoryId expandTreeLeftCategoryId

expandTreeRightCategoryId

protected AssetCategoryPersistenceImpl.ExpandTreeRightCategoryId expandTreeRightCategoryId

shrinkTreeLeftCategoryId

protected AssetCategoryPersistenceImpl.ShrinkTreeLeftCategoryId shrinkTreeLeftCategoryId

shrinkTreeRightCategoryId

protected AssetCategoryPersistenceImpl.ShrinkTreeRightCategoryId shrinkTreeRightCategoryId

updateTree

protected AssetCategoryPersistenceImpl.UpdateTree updateTree
Constructor Detail

AssetCategoryPersistenceImpl

public AssetCategoryPersistenceImpl()
Method Detail

findByUuid

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

Specified by:
findByUuid in interface AssetCategoryPersistence
Parameters:
uuid - the uuid
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByUuid

public 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.

Specified by:
findByUuid in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByUuid in interface AssetCategoryPersistence
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

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

Specified by:
findByUuid_First in interface AssetCategoryPersistence
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

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

Specified by:
fetchByUuid_First in interface AssetCategoryPersistence
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

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

Specified by:
findByUuid_Last in interface AssetCategoryPersistence
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

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

Specified by:
fetchByUuid_Last in interface AssetCategoryPersistence
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

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

Specified by:
findByUuid_PrevAndNext in interface AssetCategoryPersistence
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

getByUuid_PrevAndNext

protected AssetCategory getByUuid_PrevAndNext(Session session,
                                              AssetCategory assetCategory,
                                              String uuid,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

removeByUuid

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

Specified by:
removeByUuid in interface AssetCategoryPersistence
Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

countByUuid

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

Specified by:
countByUuid in interface AssetCategoryPersistence
Parameters:
uuid - the uuid
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

findByUUID_G

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

Specified by:
findByUUID_G in interface AssetCategoryPersistence
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

public 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.

Specified by:
fetchByUUID_G in interface AssetCategoryPersistence
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

public 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.

Specified by:
fetchByUUID_G in interface AssetCategoryPersistence
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

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

Specified by:
removeByUUID_G in interface AssetCategoryPersistence
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

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

Specified by:
countByUUID_G in interface AssetCategoryPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

findByUuid_C

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

Specified by:
findByUuid_C in interface AssetCategoryPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByUuid_C

public 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.

Specified by:
findByUuid_C in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByUuid_C in interface AssetCategoryPersistence
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

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

Specified by:
findByUuid_C_First in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByUuid_C_First in interface AssetCategoryPersistence
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

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

Specified by:
findByUuid_C_Last in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByUuid_C_Last in interface AssetCategoryPersistence
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

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

Specified by:
findByUuid_C_PrevAndNext in interface AssetCategoryPersistence
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

getByUuid_C_PrevAndNext

protected AssetCategory getByUuid_C_PrevAndNext(Session session,
                                                AssetCategory assetCategory,
                                                String uuid,
                                                long companyId,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

removeByUuid_C

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

Specified by:
removeByUuid_C in interface AssetCategoryPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

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

Specified by:
countByUuid_C in interface AssetCategoryPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

findByGroupId

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

Specified by:
findByGroupId in interface AssetCategoryPersistence
Parameters:
groupId - the group ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByGroupId

public 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.

Specified by:
findByGroupId in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByGroupId in interface AssetCategoryPersistence
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

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

Specified by:
findByGroupId_First in interface AssetCategoryPersistence
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

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

Specified by:
fetchByGroupId_First in interface AssetCategoryPersistence
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

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

Specified by:
findByGroupId_Last in interface AssetCategoryPersistence
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

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

Specified by:
fetchByGroupId_Last in interface AssetCategoryPersistence
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

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

Specified by:
findByGroupId_PrevAndNext in interface AssetCategoryPersistence
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

getByGroupId_PrevAndNext

protected AssetCategory getByGroupId_PrevAndNext(Session session,
                                                 AssetCategory assetCategory,
                                                 long groupId,
                                                 OrderByComparator orderByComparator,
                                                 boolean previous)

filterFindByGroupId

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

Specified by:
filterFindByGroupId in interface AssetCategoryPersistence
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

public 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.

Specified by:
filterFindByGroupId in interface AssetCategoryPersistence
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

public 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.

Specified by:
filterFindByGroupId in interface AssetCategoryPersistence
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

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

Specified by:
filterFindByGroupId_PrevAndNext in interface AssetCategoryPersistence
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

filterGetByGroupId_PrevAndNext

protected AssetCategory filterGetByGroupId_PrevAndNext(Session session,
                                                       AssetCategory assetCategory,
                                                       long groupId,
                                                       OrderByComparator orderByComparator,
                                                       boolean previous)

removeByGroupId

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

Specified by:
removeByGroupId in interface AssetCategoryPersistence
Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

countByGroupId

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

Specified by:
countByGroupId in interface AssetCategoryPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

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

Specified by:
filterCountByGroupId in interface AssetCategoryPersistence
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

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

Specified by:
findByParentCategoryId in interface AssetCategoryPersistence
Parameters:
parentCategoryId - the parent category ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByParentCategoryId

public 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.

Specified by:
findByParentCategoryId in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByParentCategoryId in interface AssetCategoryPersistence
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

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

Specified by:
findByParentCategoryId_First in interface AssetCategoryPersistence
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

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

Specified by:
fetchByParentCategoryId_First in interface AssetCategoryPersistence
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

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

Specified by:
findByParentCategoryId_Last in interface AssetCategoryPersistence
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

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

Specified by:
fetchByParentCategoryId_Last in interface AssetCategoryPersistence
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

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

Specified by:
findByParentCategoryId_PrevAndNext in interface AssetCategoryPersistence
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

getByParentCategoryId_PrevAndNext

protected AssetCategory getByParentCategoryId_PrevAndNext(Session session,
                                                          AssetCategory assetCategory,
                                                          long parentCategoryId,
                                                          OrderByComparator orderByComparator,
                                                          boolean previous)

removeByParentCategoryId

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

Specified by:
removeByParentCategoryId in interface AssetCategoryPersistence
Parameters:
parentCategoryId - the parent category ID
Throws:
SystemException - if a system exception occurred

countByParentCategoryId

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

Specified by:
countByParentCategoryId in interface AssetCategoryPersistence
Parameters:
parentCategoryId - the parent category ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

findByVocabularyId

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

Specified by:
findByVocabularyId in interface AssetCategoryPersistence
Parameters:
vocabularyId - the vocabulary ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByVocabularyId

public 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.

Specified by:
findByVocabularyId in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByVocabularyId in interface AssetCategoryPersistence
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

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

Specified by:
findByVocabularyId_First in interface AssetCategoryPersistence
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

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

Specified by:
fetchByVocabularyId_First in interface AssetCategoryPersistence
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

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

Specified by:
findByVocabularyId_Last in interface AssetCategoryPersistence
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

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

Specified by:
fetchByVocabularyId_Last in interface AssetCategoryPersistence
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

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

Specified by:
findByVocabularyId_PrevAndNext in interface AssetCategoryPersistence
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

getByVocabularyId_PrevAndNext

protected AssetCategory getByVocabularyId_PrevAndNext(Session session,
                                                      AssetCategory assetCategory,
                                                      long vocabularyId,
                                                      OrderByComparator orderByComparator,
                                                      boolean previous)

removeByVocabularyId

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

Specified by:
removeByVocabularyId in interface AssetCategoryPersistence
Parameters:
vocabularyId - the vocabulary ID
Throws:
SystemException - if a system exception occurred

countByVocabularyId

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

Specified by:
countByVocabularyId in interface AssetCategoryPersistence
Parameters:
vocabularyId - the vocabulary ID
Returns:
the number of matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_V

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

Specified by:
findByG_V in interface AssetCategoryPersistence
Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_V

public 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.

Specified by:
findByG_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByG_V in interface AssetCategoryPersistence
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

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

Specified by:
findByG_V_First in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByG_V_First in interface AssetCategoryPersistence
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

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

Specified by:
findByG_V_Last in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByG_V_Last in interface AssetCategoryPersistence
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

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

Specified by:
findByG_V_PrevAndNext in interface AssetCategoryPersistence
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

getByG_V_PrevAndNext

protected AssetCategory getByG_V_PrevAndNext(Session session,
                                             AssetCategory assetCategory,
                                             long groupId,
                                             long vocabularyId,
                                             OrderByComparator orderByComparator,
                                             boolean previous)

filterFindByG_V

public 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 = ?.

Specified by:
filterFindByG_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
filterFindByG_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
filterFindByG_V in interface AssetCategoryPersistence
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

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

Specified by:
filterFindByG_V_PrevAndNext in interface AssetCategoryPersistence
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

filterGetByG_V_PrevAndNext

protected AssetCategory filterGetByG_V_PrevAndNext(Session session,
                                                   AssetCategory assetCategory,
                                                   long groupId,
                                                   long vocabularyId,
                                                   OrderByComparator orderByComparator,
                                                   boolean previous)

filterFindByG_V

public 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 ?.

Specified by:
filterFindByG_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
filterFindByG_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
filterFindByG_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByG_V in interface AssetCategoryPersistence
Parameters:
groupId - the group ID
vocabularyIds - the vocabulary IDs
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByG_V

public 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.

Specified by:
findByG_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByG_V in interface AssetCategoryPersistence
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

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

Specified by:
removeByG_V in interface AssetCategoryPersistence
Parameters:
groupId - the group ID
vocabularyId - the vocabulary ID
Throws:
SystemException - if a system exception occurred

countByG_V

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

Specified by:
countByG_V in interface AssetCategoryPersistence
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

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

Specified by:
countByG_V in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
filterCountByG_V in interface AssetCategoryPersistence
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

public 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 ?.

Specified by:
filterCountByG_V in interface AssetCategoryPersistence
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

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

Specified by:
findByP_N in interface AssetCategoryPersistence
Parameters:
parentCategoryId - the parent category ID
name - the name
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByP_N

public 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.

Specified by:
findByP_N in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByP_N in interface AssetCategoryPersistence
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

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

Specified by:
findByP_N_First in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByP_N_First in interface AssetCategoryPersistence
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

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

Specified by:
findByP_N_Last in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByP_N_Last in interface AssetCategoryPersistence
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

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

Specified by:
findByP_N_PrevAndNext in interface AssetCategoryPersistence
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

getByP_N_PrevAndNext

protected AssetCategory getByP_N_PrevAndNext(Session session,
                                             AssetCategory assetCategory,
                                             long parentCategoryId,
                                             String name,
                                             OrderByComparator orderByComparator,
                                             boolean previous)

removeByP_N

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

Specified by:
removeByP_N in interface AssetCategoryPersistence
Parameters:
parentCategoryId - the parent category ID
name - the name
Throws:
SystemException - if a system exception occurred

countByP_N

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

Specified by:
countByP_N in interface AssetCategoryPersistence
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

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

Specified by:
findByP_V in interface AssetCategoryPersistence
Parameters:
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByP_V

public 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.

Specified by:
findByP_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByP_V in interface AssetCategoryPersistence
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

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

Specified by:
findByP_V_First in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByP_V_First in interface AssetCategoryPersistence
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

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

Specified by:
findByP_V_Last in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByP_V_Last in interface AssetCategoryPersistence
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

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

Specified by:
findByP_V_PrevAndNext in interface AssetCategoryPersistence
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

getByP_V_PrevAndNext

protected AssetCategory getByP_V_PrevAndNext(Session session,
                                             AssetCategory assetCategory,
                                             long parentCategoryId,
                                             long vocabularyId,
                                             OrderByComparator orderByComparator,
                                             boolean previous)

removeByP_V

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

Specified by:
removeByP_V in interface AssetCategoryPersistence
Parameters:
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
Throws:
SystemException - if a system exception occurred

countByP_V

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

Specified by:
countByP_V in interface AssetCategoryPersistence
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

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

Specified by:
findByN_V in interface AssetCategoryPersistence
Parameters:
name - the name
vocabularyId - the vocabulary ID
Returns:
the matching asset categories
Throws:
SystemException - if a system exception occurred

findByN_V

public 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.

Specified by:
findByN_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByN_V in interface AssetCategoryPersistence
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

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

Specified by:
findByN_V_First in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByN_V_First in interface AssetCategoryPersistence
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

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

Specified by:
findByN_V_Last in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByN_V_Last in interface AssetCategoryPersistence
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

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

Specified by:
findByN_V_PrevAndNext in interface AssetCategoryPersistence
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

getByN_V_PrevAndNext

protected AssetCategory getByN_V_PrevAndNext(Session session,
                                             AssetCategory assetCategory,
                                             String name,
                                             long vocabularyId,
                                             OrderByComparator orderByComparator,
                                             boolean previous)

removeByN_V

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

Specified by:
removeByN_V in interface AssetCategoryPersistence
Parameters:
name - the name
vocabularyId - the vocabulary ID
Throws:
SystemException - if a system exception occurred

countByN_V

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

Specified by:
countByN_V in interface AssetCategoryPersistence
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

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

Specified by:
findByG_P_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByG_P_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByG_P_V in interface AssetCategoryPersistence
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

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

Specified by:
findByG_P_V_First in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByG_P_V_First in interface AssetCategoryPersistence
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

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

Specified by:
findByG_P_V_Last in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByG_P_V_Last in interface AssetCategoryPersistence
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

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

Specified by:
findByG_P_V_PrevAndNext in interface AssetCategoryPersistence
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

getByG_P_V_PrevAndNext

protected AssetCategory getByG_P_V_PrevAndNext(Session session,
                                               AssetCategory assetCategory,
                                               long groupId,
                                               long parentCategoryId,
                                               long vocabularyId,
                                               OrderByComparator orderByComparator,
                                               boolean previous)

filterFindByG_P_V

public 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 = ?.

Specified by:
filterFindByG_P_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
filterFindByG_P_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
filterFindByG_P_V in interface AssetCategoryPersistence
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

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

Specified by:
filterFindByG_P_V_PrevAndNext in interface AssetCategoryPersistence
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

filterGetByG_P_V_PrevAndNext

protected AssetCategory filterGetByG_P_V_PrevAndNext(Session session,
                                                     AssetCategory assetCategory,
                                                     long groupId,
                                                     long parentCategoryId,
                                                     long vocabularyId,
                                                     OrderByComparator orderByComparator,
                                                     boolean previous)

removeByG_P_V

public 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.

Specified by:
removeByG_P_V in interface AssetCategoryPersistence
Parameters:
groupId - the group ID
parentCategoryId - the parent category ID
vocabularyId - the vocabulary ID
Throws:
SystemException - if a system exception occurred

countByG_P_V

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

Specified by:
countByG_P_V in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
filterCountByG_P_V in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
findByG_LikeN_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByG_LikeN_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByG_LikeN_V in interface AssetCategoryPersistence
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

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

Specified by:
findByG_LikeN_V_First in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByG_LikeN_V_First in interface AssetCategoryPersistence
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

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

Specified by:
findByG_LikeN_V_Last in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByG_LikeN_V_Last in interface AssetCategoryPersistence
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

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

Specified by:
findByG_LikeN_V_PrevAndNext in interface AssetCategoryPersistence
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

getByG_LikeN_V_PrevAndNext

protected AssetCategory getByG_LikeN_V_PrevAndNext(Session session,
                                                   AssetCategory assetCategory,
                                                   long groupId,
                                                   String name,
                                                   long vocabularyId,
                                                   OrderByComparator orderByComparator,
                                                   boolean previous)

filterFindByG_LikeN_V

public 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 = ?.

Specified by:
filterFindByG_LikeN_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
filterFindByG_LikeN_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
filterFindByG_LikeN_V in interface AssetCategoryPersistence
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

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

Specified by:
filterFindByG_LikeN_V_PrevAndNext in interface AssetCategoryPersistence
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

filterGetByG_LikeN_V_PrevAndNext

protected AssetCategory filterGetByG_LikeN_V_PrevAndNext(Session session,
                                                         AssetCategory assetCategory,
                                                         long groupId,
                                                         String name,
                                                         long vocabularyId,
                                                         OrderByComparator orderByComparator,
                                                         boolean previous)

filterFindByG_LikeN_V

public 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 ?.

Specified by:
filterFindByG_LikeN_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
filterFindByG_LikeN_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
filterFindByG_LikeN_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByG_LikeN_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByG_LikeN_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByG_LikeN_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
removeByG_LikeN_V in interface AssetCategoryPersistence
Parameters:
groupId - the group ID
name - the name
vocabularyId - the vocabulary ID
Throws:
SystemException - if a system exception occurred

countByG_LikeN_V

public 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 = ?.

Specified by:
countByG_LikeN_V in interface AssetCategoryPersistence
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

public 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 ?.

Specified by:
countByG_LikeN_V in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
filterCountByG_LikeN_V in interface AssetCategoryPersistence
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

public 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 ?.

Specified by:
filterCountByG_LikeN_V in interface AssetCategoryPersistence
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

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

Specified by:
findByP_N_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
fetchByP_N_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
fetchByP_N_V in interface AssetCategoryPersistence
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

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

Specified by:
removeByP_N_V in interface AssetCategoryPersistence
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

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

Specified by:
countByP_N_V in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
findByG_P_N_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByG_P_N_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
findByG_P_N_V in interface AssetCategoryPersistence
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

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

Specified by:
findByG_P_N_V_First in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByG_P_N_V_First in interface AssetCategoryPersistence
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

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

Specified by:
findByG_P_N_V_Last in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
fetchByG_P_N_V_Last in interface AssetCategoryPersistence
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

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

Specified by:
findByG_P_N_V_PrevAndNext in interface AssetCategoryPersistence
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

getByG_P_N_V_PrevAndNext

protected AssetCategory getByG_P_N_V_PrevAndNext(Session session,
                                                 AssetCategory assetCategory,
                                                 long groupId,
                                                 long parentCategoryId,
                                                 String name,
                                                 long vocabularyId,
                                                 OrderByComparator orderByComparator,
                                                 boolean previous)

filterFindByG_P_N_V

public 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 = ?.

Specified by:
filterFindByG_P_N_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
filterFindByG_P_N_V in interface AssetCategoryPersistence
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

public 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.

Specified by:
filterFindByG_P_N_V in interface AssetCategoryPersistence
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

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

Specified by:
filterFindByG_P_N_V_PrevAndNext in interface AssetCategoryPersistence
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

filterGetByG_P_N_V_PrevAndNext

protected AssetCategory filterGetByG_P_N_V_PrevAndNext(Session session,
                                                       AssetCategory assetCategory,
                                                       long groupId,
                                                       long parentCategoryId,
                                                       String name,
                                                       long vocabularyId,
                                                       OrderByComparator orderByComparator,
                                                       boolean previous)

removeByG_P_N_V

public 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.

Specified by:
removeByG_P_N_V in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
countByG_P_N_V in interface AssetCategoryPersistence
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

public 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 = ?.

Specified by:
filterCountByG_P_N_V in interface AssetCategoryPersistence
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

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

Specified by:
cacheResult in interface AssetCategoryPersistence
Parameters:
assetCategory - the asset category

cacheResult

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

Specified by:
cacheResult in interface AssetCategoryPersistence
Parameters:
assetCategories - the asset categories

clearCache

public void clearCache()
Clears the cache for all asset categories.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<AssetCategory>
Overrides:
clearCache in class BasePersistenceImpl<AssetCategory>

clearCache

public void clearCache(AssetCategory assetCategory)
Clears the cache for the asset category.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<AssetCategory>
Overrides:
clearCache in class BasePersistenceImpl<AssetCategory>
Parameters:
assetCategory - the instance of this model to clear the cache for

clearCache

public void clearCache(List<AssetCategory> assetCategories)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<AssetCategory>
Overrides:
clearCache in class BasePersistenceImpl<AssetCategory>
Parameters:
assetCategories - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(AssetCategory assetCategory)

clearUniqueFindersCache

protected void clearUniqueFindersCache(AssetCategory assetCategory)

create

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

Specified by:
create in interface AssetCategoryPersistence
Parameters:
categoryId - the primary key for the new asset category
Returns:
the new asset category

remove

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

Specified by:
remove in interface AssetCategoryPersistence
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

remove

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

Specified by:
remove in interface BasePersistence<AssetCategory>
Overrides:
remove in class BasePersistenceImpl<AssetCategory>
Parameters:
primaryKey - 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

removeImpl

protected AssetCategory removeImpl(AssetCategory assetCategory)
                            throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<AssetCategory>
Parameters:
assetCategory - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public AssetCategory updateImpl(AssetCategory assetCategory)
                         throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface AssetCategoryPersistence
Overrides:
updateImpl in class BasePersistenceImpl<AssetCategory>
Parameters:
assetCategory - the model instance to update
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected AssetCategory toUnwrappedModel(AssetCategory assetCategory)

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface BasePersistence<AssetCategory>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<AssetCategory>
Parameters:
primaryKey - 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

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface AssetCategoryPersistence
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

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

Specified by:
fetchByPrimaryKey in interface BasePersistence<AssetCategory>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<AssetCategory>
Parameters:
primaryKey - 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

fetchByPrimaryKey

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

Specified by:
fetchByPrimaryKey in interface AssetCategoryPersistence
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

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

Specified by:
findAll in interface AssetCategoryPersistence
Returns:
the asset categories
Throws:
SystemException - if a system exception occurred

findAll

public 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.

Specified by:
findAll in interface AssetCategoryPersistence
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

public 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.

Specified by:
findAll in interface AssetCategoryPersistence
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

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

Specified by:
removeAll in interface AssetCategoryPersistence
Throws:
SystemException - if a system exception occurred

countAll

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

Specified by:
countAll in interface AssetCategoryPersistence
Returns:
the number of asset categories
Throws:
SystemException - if a system exception occurred

getAssetEntries

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

Specified by:
getAssetEntries in interface AssetCategoryPersistence
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

public 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.

Specified by:
getAssetEntries in interface AssetCategoryPersistence
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

public 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.

Specified by:
getAssetEntries in interface AssetCategoryPersistence
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

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

Specified by:
getAssetEntriesSize in interface AssetCategoryPersistence
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

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

Specified by:
containsAssetEntry in interface AssetCategoryPersistence
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

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

Specified by:
containsAssetEntries in interface AssetCategoryPersistence
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

public 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.

Specified by:
addAssetEntry in interface AssetCategoryPersistence
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

public 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.

Specified by:
addAssetEntry in interface AssetCategoryPersistence
Parameters:
pk - the primary key of the asset category
assetEntry - the asset entry
Throws:
SystemException - if a system exception occurred

addAssetEntries

public 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.

Specified by:
addAssetEntries in interface AssetCategoryPersistence
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

public 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.

Specified by:
addAssetEntries in interface AssetCategoryPersistence
Parameters:
pk - the primary key of the asset category
assetEntries - the asset entries
Throws:
SystemException - if a system exception occurred

clearAssetEntries

public 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.

Specified by:
clearAssetEntries in interface AssetCategoryPersistence
Parameters:
pk - the primary key of the asset category to clear the associated asset entries from
Throws:
SystemException - if a system exception occurred

removeAssetEntry

public 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.

Specified by:
removeAssetEntry in interface AssetCategoryPersistence
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

public 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.

Specified by:
removeAssetEntry in interface AssetCategoryPersistence
Parameters:
pk - the primary key of the asset category
assetEntry - the asset entry
Throws:
SystemException - if a system exception occurred

removeAssetEntries

public 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.

Specified by:
removeAssetEntries in interface AssetCategoryPersistence
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

public 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.

Specified by:
removeAssetEntries in interface AssetCategoryPersistence
Parameters:
pk - the primary key of the asset category
assetEntries - the asset entries
Throws:
SystemException - if a system exception occurred

setAssetEntries

public 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.

Specified by:
setAssetEntries in interface AssetCategoryPersistence
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

public 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.

Specified by:
setAssetEntries in interface AssetCategoryPersistence
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

getBadColumnNames

protected Set<String> getBadColumnNames()
Overrides:
getBadColumnNames in class BasePersistenceImpl<AssetCategory>

rebuildTree

public 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.

Specified by:
rebuildTree in interface AssetCategoryPersistence
Parameters:
groupId - the ID of the scope
force - whether to force the rebuild even if the tree is not stale
Throws:
SystemException

setRebuildTreeEnabled

public void setRebuildTreeEnabled(boolean rebuildTreeEnabled)
Specified by:
setRebuildTreeEnabled in interface AssetCategoryPersistence

countOrphanTreeNodes

protected long countOrphanTreeNodes(long groupId)
                             throws SystemException
Throws:
SystemException

expandNoChildrenLeftCategoryId

protected void expandNoChildrenLeftCategoryId(long groupId,
                                              long leftCategoryId,
                                              List<Long> childrenCategoryIds,
                                              long delta)

expandNoChildrenRightCategoryId

protected void expandNoChildrenRightCategoryId(long groupId,
                                               long rightCategoryId,
                                               List<Long> childrenCategoryIds,
                                               long delta)

expandTree

protected void expandTree(AssetCategory assetCategory,
                          List<Long> childrenCategoryIds)
                   throws SystemException
Throws:
SystemException

getChildrenTreeCategoryIds

protected List<Long> getChildrenTreeCategoryIds(AssetCategory parentAssetCategory)
                                         throws SystemException
Throws:
SystemException

getLastRightCategoryId

protected long getLastRightCategoryId(long groupId,
                                      long parentCategoryId)
                               throws SystemException
Throws:
SystemException

rebuildTree

protected long rebuildTree(long groupId,
                           long parentCategoryId,
                           long leftCategoryId)
                    throws SystemException
Throws:
SystemException

shrinkTree

protected void shrinkTree(AssetCategory assetCategory)

updateChildrenTree

protected void updateChildrenTree(long groupId,
                                  List<Long> childrenCategoryIds,
                                  long delta)

afterPropertiesSet

public void afterPropertiesSet()
Initializes the asset category persistence.


destroy

public void destroy()

Liferay 6.2-ce-ga5