|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<AssetCategory>
com.liferay.portlet.asset.service.persistence.impl.AssetCategoryPersistenceImpl
@ProviderType public class AssetCategoryPersistenceImpl
The persistence implementation for the asset category service.
Caching information and settings can be found in portal.properties
AssetCategoryPersistence,
AssetCategoryUtil| Nested Class Summary | |
|---|---|
protected class |
AssetCategoryPersistenceImpl.UpdateTree
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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(AssetCategoryModelImpl assetCategoryModelImpl,
boolean isNew)
|
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(AssetCategoryModelImpl assetCategoryModelImpl)
|
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. |
long |
countAncestors(AssetCategory assetCategory)
|
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 = ?. |
long |
countDescendants(AssetCategory assetCategory)
|
protected long |
countOrphanTreeNodes(long groupId)
|
AssetCategory |
create(long categoryId)
Creates a new asset category with the primary key. |
void |
destroy()
|
AssetCategory |
fetchByG_LikeN_V_First(long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?. |
AssetCategory |
fetchByG_V_Last(long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?. |
AssetCategory |
fetchByGroupId_First(long groupId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ?. |
AssetCategory |
fetchByGroupId_Last(long groupId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ?. |
AssetCategory |
fetchByN_V_First(String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where name = ? and vocabularyId = ?. |
AssetCategory |
fetchByN_V_Last(String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where name = ? and vocabularyId = ?. |
AssetCategory |
fetchByP_N_First(long parentCategoryId,
String name,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?. |
AssetCategory |
fetchByP_N_Last(long parentCategoryId,
String name,
OrderByComparator<AssetCategory> 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<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. |
AssetCategory |
fetchByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. |
AssetCategory |
fetchByParentCategoryId_First(long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ?. |
AssetCategory |
fetchByParentCategoryId_Last(long parentCategoryId,
OrderByComparator<AssetCategory> 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. |
Map<Serializable,AssetCategory> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
AssetCategory |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where uuid = ? and companyId = ?. |
AssetCategory |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where uuid = ? and companyId = ?. |
AssetCategory |
fetchByUuid_First(String uuid,
OrderByComparator<AssetCategory> 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<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where uuid = ?. |
AssetCategory |
fetchByVocabularyId_First(long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where vocabularyId = ?. |
AssetCategory |
fetchByVocabularyId_Last(long vocabularyId,
OrderByComparator<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
filterGetByG_P_N_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
filterGetByG_P_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
filterGetByG_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
filterGetByGroupId_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
OrderByComparator<AssetCategory> 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<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories. |
List<AssetCategory> |
findAll(int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories. |
AssetCategory |
findByG_LikeN_V_First(long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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[] vocabularyIds,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?, optionally using the finder cache. |
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<AssetCategory> orderByComparator)
Returns an ordered 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<AssetCategory> orderByComparator,
boolean retrieveFromCache)
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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> orderByComparator)
Returns an ordered 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<AssetCategory> orderByComparator,
boolean retrieveFromCache)
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<AssetCategory> 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<AssetCategory> 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<AssetCategory> 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<AssetCategory> orderByComparator)
Returns an ordered 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<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?. |
AssetCategory |
findByG_V_First(long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?. |
AssetCategory |
findByG_V_Last(long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> 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<AssetCategory> 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<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = any ?. |
List<AssetCategory> |
findByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?, optionally using the finder cache. |
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<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?. |
List<AssetCategory> |
findByG_V(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?. |
AssetCategory |
findByGroupId_First(long groupId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ?. |
AssetCategory |
findByGroupId_Last(long groupId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ?. |
AssetCategory[] |
findByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator<AssetCategory> 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<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ?. |
List<AssetCategory> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ?. |
AssetCategory |
findByN_V_First(String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where name = ? and vocabularyId = ?. |
AssetCategory |
findByN_V_Last(String name,
long vocabularyId,
OrderByComparator<AssetCategory> 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<AssetCategory> 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<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?. |
List<AssetCategory> |
findByN_V(String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?. |
AssetCategory |
findByP_N_First(long parentCategoryId,
String name,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?. |
AssetCategory |
findByP_N_Last(long parentCategoryId,
String name,
OrderByComparator<AssetCategory> 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<AssetCategory> 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<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?. |
List<AssetCategory> |
findByP_N(long parentCategoryId,
String name,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?. |
AssetCategory |
findByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. |
AssetCategory |
findByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> 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<AssetCategory> 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<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?. |
List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?. |
AssetCategory |
findByParentCategoryId_First(long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ?. |
AssetCategory |
findByParentCategoryId_Last(long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ?. |
AssetCategory[] |
findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
OrderByComparator<AssetCategory> 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<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ?. |
List<AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
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<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where uuid = ? and companyId = ?. |
AssetCategory |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<AssetCategory> 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<AssetCategory> 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<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where uuid = ? and companyId = ?. |
List<AssetCategory> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where uuid = ? and companyId = ?. |
AssetCategory |
findByUuid_First(String uuid,
OrderByComparator<AssetCategory> 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<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where uuid = ?. |
AssetCategory[] |
findByUuid_PrevAndNext(long categoryId,
String uuid,
OrderByComparator<AssetCategory> 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<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where uuid = ?. |
List<AssetCategory> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where uuid = ?. |
AssetCategory |
findByVocabularyId_First(long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where vocabularyId = ?. |
AssetCategory |
findByVocabularyId_Last(long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where vocabularyId = ?. |
AssetCategory[] |
findByVocabularyId_PrevAndNext(long categoryId,
long vocabularyId,
OrderByComparator<AssetCategory> 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<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where vocabularyId = ?. |
List<AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where vocabularyId = ?. |
List<AssetCategory> |
getAncestors(AssetCategory assetCategory)
|
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<AssetEntry> 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. |
long[] |
getAssetEntryPrimaryKeys(long pk)
Returns the primaryKeys of asset entries associated with the asset category. |
Set<String> |
getBadColumnNames()
|
protected AssetCategory |
getByG_LikeN_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
getByG_P_N_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
getByG_P_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
getByG_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
getByGroupId_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
getByN_V_PrevAndNext(Session session,
AssetCategory assetCategory,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
getByP_N_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
String name,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
getByP_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
getByParentCategoryId_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
getByUuid_C_PrevAndNext(Session session,
AssetCategory assetCategory,
String uuid,
long companyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
getByUuid_PrevAndNext(Session session,
AssetCategory assetCategory,
String uuid,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
protected AssetCategory |
getByVocabularyId_PrevAndNext(Session session,
AssetCategory assetCategory,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
|
List<AssetCategory> |
getDescendants(AssetCategory assetCategory)
|
protected Map<String,Integer> |
getTableColumnsMap()
|
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(Session session,
SQLQuery selectQuery,
SQLQuery updateQuery,
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 AssetCategory |
toUnwrappedModel(AssetCategory assetCategory)
|
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, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_ANCESTORS
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_DESCENDANTS
public static final FinderPath FINDER_PATH_WITH_PAGINATION_GET_ANCESTORS
public static final FinderPath FINDER_PATH_WITH_PAGINATION_GET_DESCENDANTS
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PARENTCATEGORYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PARENTCATEGORYID
public static final FinderPath FINDER_PATH_COUNT_BY_PARENTCATEGORYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_VOCABULARYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VOCABULARYID
public static final FinderPath FINDER_PATH_COUNT_BY_VOCABULARYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_V
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_V
public static final FinderPath FINDER_PATH_COUNT_BY_G_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P_N
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_N
public static final FinderPath FINDER_PATH_COUNT_BY_P_N
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P_V
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_V
public static final FinderPath FINDER_PATH_COUNT_BY_P_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_V
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_V
public static final FinderPath FINDER_PATH_COUNT_BY_N_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_V
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_V
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LIKEN_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LIKEN_V
public static final FinderPath FINDER_PATH_FETCH_BY_P_N_V
public static final FinderPath FINDER_PATH_COUNT_BY_P_N_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_N_V
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_N_V
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_N_V
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
protected TableMapper<AssetCategory,AssetEntry> assetCategoryToAssetEntryTableMapper
protected NestedSetsTreeManager<AssetCategory> nestedSetsTreeManager
protected boolean rebuildTreeEnabled
protected AssetCategoryPersistenceImpl.UpdateTree updateTree
| Constructor Detail |
|---|
public AssetCategoryPersistenceImpl()
| Method Detail |
|---|
public List<AssetCategory> findByUuid(String uuid)
findByUuid in interface AssetCategoryPersistenceuuid - the uuid
public List<AssetCategory> findByUuid(String uuid,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface AssetCategoryPersistenceuuid - the uuidstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findByUuid(String uuid,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface AssetCategoryPersistenceuuid - the uuidstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByUuid(String uuid,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface AssetCategoryPersistenceuuid - the uuidstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetCategory findByUuid_First(String uuid,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByUuid_First in interface AssetCategoryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByUuid_First(String uuid,
OrderByComparator<AssetCategory> orderByComparator)
fetchByUuid_First in interface AssetCategoryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory findByUuid_Last(String uuid,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByUuid_Last in interface AssetCategoryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByUuid_Last(String uuid,
OrderByComparator<AssetCategory> orderByComparator)
fetchByUuid_Last in interface AssetCategoryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory[] findByUuid_PrevAndNext(long categoryId,
String uuid,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByUuid_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categoryuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory getByUuid_PrevAndNext(Session session,
AssetCategory assetCategory,
String uuid,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface AssetCategoryPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface AssetCategoryPersistenceuuid - the uuid
public AssetCategory findByUUID_G(String uuid,
long groupId)
throws NoSuchCategoryException
NoSuchCategoryException if it could not be found.
findByUUID_G in interface AssetCategoryPersistenceuuid - the uuidgroupId - the group ID
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByUUID_G(String uuid,
long groupId)
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface AssetCategoryPersistenceuuid - the uuidgroupId - the group ID
null if a matching asset category could not be found
public AssetCategory fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface AssetCategoryPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching asset category could not be found
public AssetCategory removeByUUID_G(String uuid,
long groupId)
throws NoSuchCategoryException
removeByUUID_G in interface AssetCategoryPersistenceuuid - the uuidgroupId - the group ID
NoSuchCategoryException
public int countByUUID_G(String uuid,
long groupId)
countByUUID_G in interface AssetCategoryPersistenceuuid - the uuidgroupId - the group ID
public List<AssetCategory> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company ID
public List<AssetCategory> findByUuid_C(String uuid,
long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetCategory findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByUuid_C_First in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByUuid_C_First in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByUuid_C_Last in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByUuid_C_Last in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory[] findByUuid_C_PrevAndNext(long categoryId,
String uuid,
long companyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByUuid_C_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categoryuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory getByUuid_C_PrevAndNext(Session session,
AssetCategory assetCategory,
String uuid,
long companyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company ID
public int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface AssetCategoryPersistenceuuid - the uuidcompanyId - the company ID
public List<AssetCategory> findByGroupId(long groupId)
findByGroupId in interface AssetCategoryPersistencegroupId - the group ID
public List<AssetCategory> findByGroupId(long groupId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId in interface AssetCategoryPersistencegroupId - the group IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId in interface AssetCategoryPersistencegroupId - the group IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId in interface AssetCategoryPersistencegroupId - the group IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetCategory findByGroupId_First(long groupId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByGroupId_First in interface AssetCategoryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByGroupId_First(long groupId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByGroupId_First in interface AssetCategoryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory findByGroupId_Last(long groupId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByGroupId_Last in interface AssetCategoryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByGroupId_Last(long groupId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByGroupId_Last in interface AssetCategoryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory[] findByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByGroupId_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory getByGroupId_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByGroupId(long groupId)
filterFindByGroupId in interface AssetCategoryPersistencegroupId - the group ID
public List<AssetCategory> filterFindByGroupId(long groupId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId in interface AssetCategoryPersistencegroupId - the group IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId in interface AssetCategoryPersistencegroupId - the group IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public AssetCategory[] filterFindByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
filterFindByGroupId_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory filterGetByGroupId_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface AssetCategoryPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface AssetCategoryPersistencegroupId - the group ID
public int filterCountByGroupId(long groupId)
filterCountByGroupId in interface AssetCategoryPersistencegroupId - the group ID
public List<AssetCategory> findByParentCategoryId(long parentCategoryId)
findByParentCategoryId in interface AssetCategoryPersistenceparentCategoryId - the parent category ID
public List<AssetCategory> findByParentCategoryId(long parentCategoryId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByParentCategoryId in interface AssetCategoryPersistenceparentCategoryId - the parent category IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findByParentCategoryId(long parentCategoryId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByParentCategoryId in interface AssetCategoryPersistenceparentCategoryId - the parent category IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByParentCategoryId(long parentCategoryId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByParentCategoryId in interface AssetCategoryPersistenceparentCategoryId - the parent category IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetCategory findByParentCategoryId_First(long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByParentCategoryId_First in interface AssetCategoryPersistenceparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByParentCategoryId_First(long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByParentCategoryId_First in interface AssetCategoryPersistenceparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory findByParentCategoryId_Last(long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByParentCategoryId_Last in interface AssetCategoryPersistenceparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByParentCategoryId_Last(long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByParentCategoryId_Last in interface AssetCategoryPersistenceparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByParentCategoryId_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categoryparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory getByParentCategoryId_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public void removeByParentCategoryId(long parentCategoryId)
removeByParentCategoryId in interface AssetCategoryPersistenceparentCategoryId - the parent category IDpublic int countByParentCategoryId(long parentCategoryId)
countByParentCategoryId in interface AssetCategoryPersistenceparentCategoryId - the parent category ID
public List<AssetCategory> findByVocabularyId(long vocabularyId)
findByVocabularyId in interface AssetCategoryPersistencevocabularyId - the vocabulary ID
public List<AssetCategory> findByVocabularyId(long vocabularyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByVocabularyId in interface AssetCategoryPersistencevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findByVocabularyId(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByVocabularyId in interface AssetCategoryPersistencevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByVocabularyId(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByVocabularyId in interface AssetCategoryPersistencevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetCategory findByVocabularyId_First(long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByVocabularyId_First in interface AssetCategoryPersistencevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByVocabularyId_First(long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByVocabularyId_First in interface AssetCategoryPersistencevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory findByVocabularyId_Last(long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByVocabularyId_Last in interface AssetCategoryPersistencevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByVocabularyId_Last(long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByVocabularyId_Last in interface AssetCategoryPersistencevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByVocabularyId_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categoryvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory getByVocabularyId_PrevAndNext(Session session,
AssetCategory assetCategory,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public void removeByVocabularyId(long vocabularyId)
removeByVocabularyId in interface AssetCategoryPersistencevocabularyId - the vocabulary IDpublic int countByVocabularyId(long vocabularyId)
countByVocabularyId in interface AssetCategoryPersistencevocabularyId - the vocabulary ID
public List<AssetCategory> findByG_V(long groupId,
long vocabularyId)
findByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
public List<AssetCategory> findByG_V(long groupId,
long vocabularyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findByG_V(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByG_V(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetCategory findByG_V_First(long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByG_V_First in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByG_V_First(long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByG_V_First in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory findByG_V_Last(long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByG_V_Last in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByG_V_Last(long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByG_V_Last in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory[] findByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByG_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory getByG_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByG_V(long groupId,
long vocabularyId)
filterFindByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
public List<AssetCategory> filterFindByG_V(long groupId,
long vocabularyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> filterFindByG_V(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public AssetCategory[] filterFindByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
filterFindByG_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory filterGetByG_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByG_V(long groupId,
long[] vocabularyIds)
filterFindByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDs
public List<AssetCategory> filterFindByG_V(long groupId,
long[] vocabularyIds,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> filterFindByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByG_V(long groupId,
long[] vocabularyIds)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDs
public List<AssetCategory> findByG_V(long groupId,
long[] vocabularyIds,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public void removeByG_V(long groupId,
long vocabularyId)
removeByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
public int countByG_V(long groupId,
long vocabularyId)
countByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
public int countByG_V(long groupId,
long[] vocabularyIds)
countByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDs
public int filterCountByG_V(long groupId,
long vocabularyId)
filterCountByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
public int filterCountByG_V(long groupId,
long[] vocabularyIds)
filterCountByG_V in interface AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDs
public List<AssetCategory> findByP_N(long parentCategoryId,
String name)
findByP_N in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the name
public List<AssetCategory> findByP_N(long parentCategoryId,
String name,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByP_N in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findByP_N(long parentCategoryId,
String name,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByP_N in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByP_N(long parentCategoryId,
String name,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByP_N in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetCategory findByP_N_First(long parentCategoryId,
String name,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByP_N_First in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByP_N_First(long parentCategoryId,
String name,
OrderByComparator<AssetCategory> orderByComparator)
fetchByP_N_First in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory findByP_N_Last(long parentCategoryId,
String name,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByP_N_Last in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByP_N_Last(long parentCategoryId,
String name,
OrderByComparator<AssetCategory> orderByComparator)
fetchByP_N_Last in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory[] findByP_N_PrevAndNext(long categoryId,
long parentCategoryId,
String name,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByP_N_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categoryparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory getByP_N_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
String name,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public void removeByP_N(long parentCategoryId,
String name)
removeByP_N in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the name
public int countByP_N(long parentCategoryId,
String name)
countByP_N in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the name
public List<AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId)
findByP_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
public List<AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByP_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByP_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByP_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetCategory findByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByP_V_First in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByP_V_First in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory findByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByP_V_Last in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByP_V_Last in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory[] findByP_V_PrevAndNext(long categoryId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByP_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categoryparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory getByP_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public void removeByP_V(long parentCategoryId,
long vocabularyId)
removeByP_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
public int countByP_V(long parentCategoryId,
long vocabularyId)
countByP_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
public List<AssetCategory> findByN_V(String name,
long vocabularyId)
findByN_V in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary ID
public List<AssetCategory> findByN_V(String name,
long vocabularyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByN_V in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findByN_V(String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByN_V in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByN_V(String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByN_V in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetCategory findByN_V_First(String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByN_V_First in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByN_V_First(String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByN_V_First in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory findByN_V_Last(String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByN_V_Last in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByN_V_Last(String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByN_V_Last in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory[] findByN_V_PrevAndNext(long categoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByN_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categoryname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory getByN_V_PrevAndNext(Session session,
AssetCategory assetCategory,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public void removeByN_V(String name,
long vocabularyId)
removeByN_V in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary ID
public int countByN_V(String name,
long vocabularyId)
countByN_V in interface AssetCategoryPersistencename - the namevocabularyId - the vocabulary ID
public List<AssetCategory> findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
findByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
public List<AssetCategory> findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetCategory findByG_P_V_First(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByG_P_V_First in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByG_P_V_First(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByG_P_V_First in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory findByG_P_V_Last(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByG_P_V_Last in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByG_P_V_Last(long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByG_P_V_Last in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory[] findByG_P_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByG_P_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory getByG_P_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
filterFindByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
public List<AssetCategory> filterFindByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> filterFindByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public AssetCategory[] filterFindByG_P_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
filterFindByG_P_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory filterGetByG_P_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public void removeByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
removeByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
public int countByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
countByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
public int filterCountByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
filterCountByG_P_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
public List<AssetCategory> findByG_LikeN_V(long groupId,
String name,
long vocabularyId)
findByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary ID
public List<AssetCategory> findByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetCategory findByG_LikeN_V_First(long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByG_LikeN_V_First in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByG_LikeN_V_First(long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByG_LikeN_V_First in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory findByG_LikeN_V_Last(long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByG_LikeN_V_Last in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByG_LikeN_V_Last(long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByG_LikeN_V_Last in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory[] findByG_LikeN_V_PrevAndNext(long categoryId,
long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByG_LikeN_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory getByG_LikeN_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByG_LikeN_V(long groupId,
String name,
long vocabularyId)
filterFindByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary ID
public List<AssetCategory> filterFindByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> filterFindByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public AssetCategory[] filterFindByG_LikeN_V_PrevAndNext(long categoryId,
long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
filterFindByG_LikeN_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory filterGetByG_LikeN_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
filterFindByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDs
public List<AssetCategory> filterFindByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> filterFindByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDs
public List<AssetCategory> findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDsstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public void removeByG_LikeN_V(long groupId,
String name,
long vocabularyId)
removeByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary ID
public int countByG_LikeN_V(long groupId,
String name,
long vocabularyId)
countByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary ID
public int countByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
countByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDs
public int filterCountByG_LikeN_V(long groupId,
String name,
long vocabularyId)
filterCountByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary ID
public int filterCountByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
filterCountByG_LikeN_V in interface AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDs
public AssetCategory findByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws NoSuchCategoryException
NoSuchCategoryException if it could not be found.
findByP_N_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
null if it could not be found. Uses the finder cache.
fetchByP_N_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
null if a matching asset category could not be found
public AssetCategory fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByP_N_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching asset category could not be found
public AssetCategory removeByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws NoSuchCategoryException
removeByP_N_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
NoSuchCategoryException
public int countByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
countByP_N_V in interface AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
public List<AssetCategory> findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
findByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
public List<AssetCategory> findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetCategory findByG_P_N_V_First(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByG_P_N_V_First in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByG_P_N_V_First(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByG_P_N_V_First in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory findByG_P_N_V_Last(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByG_P_N_V_Last in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a matching asset category could not be found
public AssetCategory fetchByG_P_N_V_Last(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
fetchByG_P_N_V_Last in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset category could not be found
public AssetCategory[] findByG_P_N_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
findByG_P_N_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory getByG_P_N_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
filterFindByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
public List<AssetCategory> filterFindByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> filterFindByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDstart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public AssetCategory[] filterFindByG_P_N_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator)
throws NoSuchCategoryException
filterFindByG_P_N_V_PrevAndNext in interface AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchCategoryException - if a asset category with the primary key could not be found
protected AssetCategory filterGetByG_P_N_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
OrderByComparator<AssetCategory> orderByComparator,
boolean previous)
public void removeByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
removeByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
public int countByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
countByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
public int filterCountByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
filterCountByG_P_N_V in interface AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
public void cacheResult(AssetCategory assetCategory)
cacheResult in interface AssetCategoryPersistenceassetCategory - the asset categorypublic void cacheResult(List<AssetCategory> assetCategories)
cacheResult in interface AssetCategoryPersistenceassetCategories - the asset categoriespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<AssetCategory>clearCache in class BasePersistenceImpl<AssetCategory>public void clearCache(AssetCategory assetCategory)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<AssetCategory>clearCache in class BasePersistenceImpl<AssetCategory>assetCategory - the instance of this model to clear the cache forpublic void clearCache(List<AssetCategory> assetCategories)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<AssetCategory>clearCache in class BasePersistenceImpl<AssetCategory>assetCategories - the List instances of this model to clear the cache for
protected void cacheUniqueFindersCache(AssetCategoryModelImpl assetCategoryModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(AssetCategoryModelImpl assetCategoryModelImpl)
public AssetCategory create(long categoryId)
create in interface AssetCategoryPersistencecategoryId - the primary key for the new asset category
public AssetCategory remove(long categoryId)
throws NoSuchCategoryException
remove in interface AssetCategoryPersistencecategoryId - the primary key of the asset category
NoSuchCategoryException - if a asset category with the primary key could not be found
public AssetCategory remove(Serializable primaryKey)
throws NoSuchCategoryException
remove in interface BasePersistence<AssetCategory>remove in class BasePersistenceImpl<AssetCategory>primaryKey - the primary key of the asset category
NoSuchCategoryException - if a asset category with the primary key could not be foundprotected AssetCategory removeImpl(AssetCategory assetCategory)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<AssetCategory>assetCategory - the model instance to remove
public AssetCategory updateImpl(AssetCategory assetCategory)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface AssetCategoryPersistenceupdateImpl in class BasePersistenceImpl<AssetCategory>assetCategory - the model instance to update
protected AssetCategory toUnwrappedModel(AssetCategory assetCategory)
public AssetCategory findByPrimaryKey(Serializable primaryKey)
throws NoSuchCategoryException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<AssetCategory>findByPrimaryKey in class BasePersistenceImpl<AssetCategory>primaryKey - the primary key of the asset category
NoSuchCategoryException - if a asset category with the primary key could not be found
public AssetCategory findByPrimaryKey(long categoryId)
throws NoSuchCategoryException
NoSuchCategoryException if it could not be found.
findByPrimaryKey in interface AssetCategoryPersistencecategoryId - the primary key of the asset category
NoSuchCategoryException - if a asset category with the primary key could not be foundpublic AssetCategory fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<AssetCategory>fetchByPrimaryKey in class BasePersistenceImpl<AssetCategory>primaryKey - the primary key of the asset category
null if a asset category with the primary key could not be foundpublic AssetCategory fetchByPrimaryKey(long categoryId)
null if it could not be found.
fetchByPrimaryKey in interface AssetCategoryPersistencecategoryId - the primary key of the asset category
null if a asset category with the primary key could not be foundpublic Map<Serializable,AssetCategory> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<AssetCategory>fetchByPrimaryKeys in interface AssetCategoryPersistencefetchByPrimaryKeys in class BasePersistenceImpl<AssetCategory>public List<AssetCategory> findAll()
findAll in interface AssetCategoryPersistence
public List<AssetCategory> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface AssetCategoryPersistencestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetCategory> findAll(int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface AssetCategoryPersistencestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetCategory> findAll(int start,
int end,
OrderByComparator<AssetCategory> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface AssetCategoryPersistencestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public void removeAll()
removeAll in interface AssetCategoryPersistencepublic int countAll()
countAll in interface AssetCategoryPersistencepublic long[] getAssetEntryPrimaryKeys(long pk)
getAssetEntryPrimaryKeys in interface AssetCategoryPersistencepk - the primary key of the asset category
public List<AssetEntry> getAssetEntries(long pk)
getAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset category
public List<AssetEntry> getAssetEntries(long pk,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categorystart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
public List<AssetEntry> getAssetEntries(long pk,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categorystart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public int getAssetEntriesSize(long pk)
getAssetEntriesSize in interface AssetCategoryPersistencepk - the primary key of the asset category
public boolean containsAssetEntry(long pk,
long assetEntryPK)
true if the asset entry is associated with the asset category.
containsAssetEntry in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entry
true if the asset entry is associated with the asset category; false otherwisepublic boolean containsAssetEntries(long pk)
true if the asset category has any asset entries associated with it.
containsAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset category to check for associations with asset entries
true if the asset category has any asset entries associated with it; false otherwise
public void addAssetEntry(long pk,
long assetEntryPK)
addAssetEntry in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entry
public void addAssetEntry(long pk,
AssetEntry assetEntry)
addAssetEntry in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntry - the asset entry
public void addAssetEntries(long pk,
long[] assetEntryPKs)
addAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entries
public void addAssetEntries(long pk,
List<AssetEntry> assetEntries)
addAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntries - the asset entriespublic void clearAssetEntries(long pk)
clearAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset category to clear the associated asset entries from
public void removeAssetEntry(long pk,
long assetEntryPK)
removeAssetEntry in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entry
public void removeAssetEntry(long pk,
AssetEntry assetEntry)
removeAssetEntry in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntry - the asset entry
public void removeAssetEntries(long pk,
long[] assetEntryPKs)
removeAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entries
public void removeAssetEntries(long pk,
List<AssetEntry> assetEntries)
removeAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntries - the asset entries
public void setAssetEntries(long pk,
long[] assetEntryPKs)
setAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entries to be associated with the asset category
public void setAssetEntries(long pk,
List<AssetEntry> assetEntries)
setAssetEntries in interface AssetCategoryPersistencepk - the primary key of the asset categoryassetEntries - the asset entries to be associated with the asset categorypublic Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<AssetCategory>getBadColumnNames in interface AssetCategoryPersistencegetBadColumnNames in class BasePersistenceImpl<AssetCategory>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<AssetCategory>public long countAncestors(AssetCategory assetCategory)
countAncestors in interface AssetCategoryPersistencepublic long countDescendants(AssetCategory assetCategory)
countDescendants in interface AssetCategoryPersistencepublic List<AssetCategory> getAncestors(AssetCategory assetCategory)
getAncestors in interface AssetCategoryPersistencepublic List<AssetCategory> getDescendants(AssetCategory assetCategory)
getDescendants in interface AssetCategoryPersistence
public void rebuildTree(long groupId,
boolean force)
Only call this method if the tree has become stale through operations other than normal CRUD. Under normal circumstances the tree is automatically rebuilt whenver necessary.
rebuildTree in interface AssetCategoryPersistencegroupId - the ID of the scopeforce - whether to force the rebuild even if the tree is not stalepublic void setRebuildTreeEnabled(boolean rebuildTreeEnabled)
setRebuildTreeEnabled in interface AssetCategoryPersistenceprotected long countOrphanTreeNodes(long groupId)
protected long rebuildTree(Session session,
SQLQuery selectQuery,
SQLQuery updateQuery,
long groupId,
long parentCategoryId,
long leftCategoryId)
public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||