@ProviderType
public class AssetCategoryPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>
implements com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence
Caching information and settings can be found in portal.properties
AssetCategoryPersistence,
AssetCategoryUtil| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetCategory,com.liferay.asset.kernel.model.AssetEntry> |
assetCategoryToAssetEntryTableMapper |
protected com.liferay.asset.kernel.service.persistence.AssetEntryPersistence |
assetEntryPersistence |
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
entityCache |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_N_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_N_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_P_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_P_N_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_P_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_PARENTCATEGORYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_G |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_VOCABULARYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_P_N_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_UUID_G |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_ANCESTORS |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LIKEN_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_DESCENDANTS |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LIKEN_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_N_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_N_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_P_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_P_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_PARENTCATEGORYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_VOCABULARYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_GET_ANCESTORS |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_GET_DESCENDANTS |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_N_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PARENTCATEGORYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VOCABULARYID |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
finderCache |
protected com.liferay.portal.kernel.service.persistence.impl.NestedSetsTreeManager<com.liferay.asset.kernel.model.AssetCategory> |
nestedSetsTreeManager |
protected boolean |
rebuildTreeEnabled |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, 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 and Description |
|---|
AssetCategoryPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssetEntries(long pk,
List<com.liferay.asset.kernel.model.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,
com.liferay.asset.kernel.model.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(com.liferay.asset.kernel.model.AssetCategory assetCategory)
Caches the asset category in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.asset.kernel.model.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(com.liferay.asset.kernel.model.AssetCategory assetCategory)
Clears the cache for the asset category.
|
void |
clearCache(List<com.liferay.asset.kernel.model.AssetCategory> assetCategories) |
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(com.liferay.asset.kernel.model.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(com.liferay.asset.kernel.model.AssetCategory assetCategory) |
protected long |
countOrphanTreeNodes(long groupId) |
com.liferay.asset.kernel.model.AssetCategory |
create(long categoryId)
Creates a new asset category with the primary key.
|
void |
destroy() |
com.liferay.asset.kernel.model.AssetCategory |
fetchByG_LikeN_V_First(long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByG_LikeN_V_Last(long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByG_P_N_V_First(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByG_P_N_V_Last(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByG_P_V_First(long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByG_P_V_Last(long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByG_V_First(long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByG_V_Last(long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByN_V_First(String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByN_V_Last(String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByP_N_First(long parentCategoryId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByP_N_Last(long parentCategoryId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.
|
com.liferay.asset.kernel.model.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. |
com.liferay.asset.kernel.model.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. |
com.liferay.asset.kernel.model.AssetCategory |
fetchByP_V_First(long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByP_V_Last(long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByParentCategoryId_First(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByParentCategoryId_Last(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByPrimaryKey(long categoryId)
Returns the asset category with the primary key or returns
null if it could not be found. |
com.liferay.asset.kernel.model.AssetCategory |
fetchByPrimaryKey(Serializable primaryKey)
Returns the asset category with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.asset.kernel.model.AssetCategory> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
com.liferay.asset.kernel.model.AssetCategory |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where uuid = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByUUID_G(String uuid,
long groupId)
Returns the asset category where uuid = ? and groupId = ? or returns
null if it could not be found. |
com.liferay.asset.kernel.model.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. |
com.liferay.asset.kernel.model.AssetCategory |
fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where uuid = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByVocabularyId_First(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
fetchByVocabularyId_Last(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
filterFindByG_LikeN_V_PrevAndNext(long categoryId,
long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
filterFindByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
filterFindByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
filterFindByG_P_N_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
filterFindByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
filterFindByG_P_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
filterFindByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
filterFindByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
filterFindByG_V(long groupId,
long vocabularyId)
Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
filterFindByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories that the user has permission to view where groupId = ? and vocabularyId = any ?.
|
List<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
filterFindByG_V(long groupId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
filterFindByGroupId_PrevAndNext(long categoryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
filterFindByGroupId(long groupId)
Returns all the asset categories that the user has permission to view where groupId = ?.
|
List<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ?.
|
protected com.liferay.asset.kernel.model.AssetCategory |
filterGetByG_LikeN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
filterGetByG_P_N_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
filterGetByG_P_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
filterGetByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
List<com.liferay.asset.kernel.model.AssetCategory> |
findAll()
Returns all the asset categories.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findAll(int start,
int end)
Returns a range of all the asset categories.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories.
|
com.liferay.asset.kernel.model.AssetCategory |
findByG_LikeN_V_First(long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByG_LikeN_V_Last(long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and name LIKE ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
findByG_LikeN_V_PrevAndNext(long categoryId,
long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long vocabularyId)
Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
Returns all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
List<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = any ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByG_LikeN_V(long groupId,
String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and name LIKE ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByG_P_N_V_First(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByG_P_N_V_Last(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
findByG_P_N_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and name = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByG_P_V_First(long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByG_P_V_Last(long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
findByG_P_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
Returns all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and parentCategoryId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByG_V_First(long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByG_V_Last(long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
findByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByG_V(long groupId,
long vocabularyId)
Returns all the asset categories where groupId = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByG_V(long groupId,
long[] vocabularyIds)
Returns all the asset categories where groupId = ? and vocabularyId = any ?.
|
List<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
findByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = any ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByG_V(long groupId,
long[] vocabularyIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?, optionally using the finder cache.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByG_V(long groupId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByG_V(long groupId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByG_V(long groupId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
findByGroupId_PrevAndNext(long categoryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByGroupId(long groupId)
Returns all the asset categories where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the asset categories where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where groupId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByN_V_First(String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where name = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByN_V_Last(String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where name = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
findByN_V_PrevAndNext(long categoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByN_V(String name,
long vocabularyId)
Returns all the asset categories where name = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByN_V(String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where name = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByN_V(String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByN_V(String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByP_N_First(long parentCategoryId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByP_N_Last(long parentCategoryId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
findByP_N_PrevAndNext(long categoryId,
long parentCategoryId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and name = ?.
|
com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetCategory> |
findByP_N(long parentCategoryId,
String name)
Returns all the asset categories where parentCategoryId = ? and name = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByP_N(long parentCategoryId,
String name,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ? and name = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByP_N(long parentCategoryId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByP_N(long parentCategoryId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByP_V_First(long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByP_V_Last(long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
findByP_V_PrevAndNext(long categoryId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId)
Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByParentCategoryId_First(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByParentCategoryId_Last(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByParentCategoryId(long parentCategoryId)
Returns all the asset categories where parentCategoryId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where parentCategoryId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByPrimaryKey(long categoryId)
Returns the asset category with the primary key or throws a
NoSuchCategoryException if it could not be found. |
com.liferay.asset.kernel.model.AssetCategory |
findByPrimaryKey(Serializable primaryKey)
Returns the asset category with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.asset.kernel.model.AssetCategory |
findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
findByUuid_C_PrevAndNext(long categoryId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where uuid = ? and companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByUuid_C(String uuid,
long companyId)
Returns all the asset categories where uuid = ? and companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the asset categories where uuid = ? and companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where uuid = ?.
|
com.liferay.asset.kernel.model.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. |
com.liferay.asset.kernel.model.AssetCategory |
findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where uuid = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
findByUuid_PrevAndNext(long categoryId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where uuid = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByUuid(String uuid)
Returns all the asset categories where uuid = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the asset categories where uuid = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where uuid = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where uuid = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByVocabularyId_First(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the first asset category in the ordered set where vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory |
findByVocabularyId_Last(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the last asset category in the ordered set where vocabularyId = ?.
|
com.liferay.asset.kernel.model.AssetCategory[] |
findByVocabularyId_PrevAndNext(long categoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByVocabularyId(long vocabularyId)
Returns all the asset categories where vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories where vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset categories where vocabularyId = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
getAncestors(com.liferay.asset.kernel.model.AssetCategory assetCategory) |
List<com.liferay.asset.kernel.model.AssetEntry> |
getAssetEntries(long pk)
Returns all the asset entries associated with the asset category.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
getAssetEntries(long pk,
int start,
int end)
Returns a range of all the asset entries associated with the asset category.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
getAssetEntries(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.model.AssetCategory |
getByG_LikeN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
getByG_P_N_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
getByG_P_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
getByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
getByN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
getByP_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long parentCategoryId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
getByP_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
getByParentCategoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetCategory |
getByVocabularyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous) |
List<com.liferay.asset.kernel.model.AssetCategory> |
getDescendants(com.liferay.asset.kernel.model.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(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.dao.orm.SQLQuery selectQuery,
com.liferay.portal.kernel.dao.orm.SQLQuery updateQuery,
long groupId,
long parentCategoryId,
long leftCategoryId) |
com.liferay.asset.kernel.model.AssetCategory |
remove(long categoryId)
Removes the asset category with the primary key from the database.
|
com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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,
com.liferay.asset.kernel.model.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.
|
com.liferay.asset.kernel.model.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.
|
com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.model.AssetCategory |
removeImpl(com.liferay.asset.kernel.model.AssetCategory assetCategory) |
void |
setAssetEntries(long pk,
List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.model.AssetCategory |
toUnwrappedModel(com.liferay.asset.kernel.model.AssetCategory assetCategory) |
com.liferay.asset.kernel.model.AssetCategory |
updateImpl(com.liferay.asset.kernel.model.AssetCategory assetCategory) |
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, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic 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 com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_ANCESTORS
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_DESCENDANTS
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_GET_ANCESTORS
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_GET_DESCENDANTS
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PARENTCATEGORYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PARENTCATEGORYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_PARENTCATEGORYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_VOCABULARYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VOCABULARYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_VOCABULARYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_P_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_P_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_N_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LIKEN_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LIKEN_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_P_N_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_P_N_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_N_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_N_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_N_V
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
protected com.liferay.portal.kernel.dao.orm.EntityCache entityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache finderCache
@BeanReference(type=com.liferay.asset.kernel.service.persistence.AssetEntryPersistence.class) protected com.liferay.asset.kernel.service.persistence.AssetEntryPersistence assetEntryPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetCategory,com.liferay.asset.kernel.model.AssetEntry> assetCategoryToAssetEntryTableMapper
protected com.liferay.portal.kernel.service.persistence.impl.NestedSetsTreeManager<com.liferay.asset.kernel.model.AssetCategory> nestedSetsTreeManager
protected boolean rebuildTreeEnabled
public List<com.liferay.asset.kernel.model.AssetCategory> findByUuid(String uuid)
findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic com.liferay.asset.kernel.model.AssetCategory findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByUuid_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByUuid_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByUuid_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByUuid_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory[] findByUuid_PrevAndNext(long categoryId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByUuid_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the current asset categoryuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidpublic com.liferay.asset.kernel.model.AssetCategory findByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
NoSuchCategoryException if it could not be found.findByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidgroupId - the group IDcom.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByUUID_G(String uuid, long groupId)
null if it could not be found. Uses the finder cache.fetchByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidgroupId - the group IDnull if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to retrieve from the finder cachenull if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory removeByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
removeByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidgroupId - the group IDcom.liferay.asset.kernel.exception.NoSuchCategoryExceptionpublic int countByUUID_G(String uuid, long groupId)
countByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidgroupId - the group IDpublic List<com.liferay.asset.kernel.model.AssetCategory> findByUuid_C(String uuid, long companyId)
findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic com.liferay.asset.kernel.model.AssetCategory findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByUuid_C_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByUuid_C_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByUuid_C_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByUuid_C_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory[] findByUuid_C_PrevAndNext(long categoryId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByUuid_C_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the current asset categoryuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid, long companyId)
removeByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDpublic int countByUuid_C(String uuid, long companyId)
countByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.asset.kernel.model.AssetCategory> findByGroupId(long groupId)
findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic com.liferay.asset.kernel.model.AssetCategory findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByGroupId_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByGroupId_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByGroupId_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByGroupId_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory[] findByGroupId_PrevAndNext(long categoryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByGroupId_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByGroupId(long groupId)
filterFindByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 com.liferay.asset.kernel.model.AssetCategory[] filterFindByGroupId_PrevAndNext(long categoryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
filterFindByGroupId_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDpublic int filterCountByGroupId(long groupId)
filterCountByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDpublic List<com.liferay.asset.kernel.model.AssetCategory> findByParentCategoryId(long parentCategoryId)
findByParentCategoryId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic com.liferay.asset.kernel.model.AssetCategory findByParentCategoryId_First(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByParentCategoryId_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByParentCategoryId_First(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByParentCategoryId_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory findByParentCategoryId_Last(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByParentCategoryId_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByParentCategoryId_Last(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByParentCategoryId_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByParentCategoryId_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the current asset categoryparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory getByParentCategoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public void removeByParentCategoryId(long parentCategoryId)
removeByParentCategoryId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDpublic int countByParentCategoryId(long parentCategoryId)
countByParentCategoryId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDpublic List<com.liferay.asset.kernel.model.AssetCategory> findByVocabularyId(long vocabularyId)
findByVocabularyId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencevocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic com.liferay.asset.kernel.model.AssetCategory findByVocabularyId_First(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByVocabularyId_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByVocabularyId_First(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByVocabularyId_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory findByVocabularyId_Last(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByVocabularyId_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByVocabularyId_Last(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByVocabularyId_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByVocabularyId_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the current asset categoryvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory getByVocabularyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public void removeByVocabularyId(long vocabularyId)
removeByVocabularyId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencevocabularyId - the vocabulary IDpublic int countByVocabularyId(long vocabularyId)
countByVocabularyId in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencevocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long groupId, long vocabularyId)
findByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic com.liferay.asset.kernel.model.AssetCategory findByG_V_First(long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByG_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByG_V_First(long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByG_V_First in interface com.liferay.asset.kernel.service.persistence.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 foundpublic com.liferay.asset.kernel.model.AssetCategory findByG_V_Last(long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByG_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByG_V_Last(long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByG_V_Last in interface com.liferay.asset.kernel.service.persistence.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 foundpublic com.liferay.asset.kernel.model.AssetCategory[] findByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByG_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory getByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long groupId, long vocabularyId)
filterFindByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 com.liferay.asset.kernel.model.AssetCategory[] filterFindByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
filterFindByG_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the current asset categorygroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory filterGetByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long groupId, long[] vocabularyIds)
filterFindByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDspublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_V(long groupId, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDspublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long groupId, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByG_V(long groupId, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic void removeByG_V(long groupId,
long vocabularyId)
removeByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDpublic int countByG_V(long groupId,
long vocabularyId)
countByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDpublic int countByG_V(long groupId,
long[] vocabularyIds)
countByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDspublic int filterCountByG_V(long groupId,
long vocabularyId)
filterCountByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDpublic int filterCountByG_V(long groupId,
long[] vocabularyIds)
filterCountByG_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyIds - the vocabulary IDspublic List<com.liferay.asset.kernel.model.AssetCategory> findByP_N(long parentCategoryId, String name)
findByP_N in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namepublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByP_N(long parentCategoryId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic com.liferay.asset.kernel.model.AssetCategory findByP_N_First(long parentCategoryId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByP_N_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByP_N_First(long parentCategoryId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByP_N_First in interface com.liferay.asset.kernel.service.persistence.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 foundpublic com.liferay.asset.kernel.model.AssetCategory findByP_N_Last(long parentCategoryId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByP_N_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByP_N_Last(long parentCategoryId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByP_N_Last in interface com.liferay.asset.kernel.service.persistence.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 foundpublic com.liferay.asset.kernel.model.AssetCategory[] findByP_N_PrevAndNext(long categoryId,
long parentCategoryId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByP_N_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the current asset categoryparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory getByP_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long parentCategoryId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public void removeByP_N(long parentCategoryId,
String name)
removeByP_N in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namepublic int countByP_N(long parentCategoryId,
String name)
countByP_N in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namepublic List<com.liferay.asset.kernel.model.AssetCategory> findByP_V(long parentCategoryId, long vocabularyId)
findByP_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic com.liferay.asset.kernel.model.AssetCategory findByP_V_First(long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByP_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByP_V_First(long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByP_V_First in interface com.liferay.asset.kernel.service.persistence.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 foundpublic com.liferay.asset.kernel.model.AssetCategory findByP_V_Last(long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByP_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByP_V_Last(long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByP_V_Last in interface com.liferay.asset.kernel.service.persistence.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 foundpublic com.liferay.asset.kernel.model.AssetCategory[] findByP_V_PrevAndNext(long categoryId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByP_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.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)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory getByP_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public void removeByP_V(long parentCategoryId,
long vocabularyId)
removeByP_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDpublic int countByP_V(long parentCategoryId,
long vocabularyId)
countByP_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.AssetCategory> findByN_V(String name, long vocabularyId)
findByN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByN_V(String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByN_V(String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic com.liferay.asset.kernel.model.AssetCategory findByN_V_First(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByN_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByN_V_First(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByN_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory findByN_V_Last(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByN_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByN_V_Last(String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByN_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory[] findByN_V_PrevAndNext(long categoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByN_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the current asset categoryname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory getByN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public void removeByN_V(String name, long vocabularyId)
removeByN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDpublic int countByN_V(String name, long vocabularyId)
countByN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
findByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic com.liferay.asset.kernel.model.AssetCategory findByG_P_V_First(long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByG_P_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByG_P_V_First(long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByG_P_V_First in interface com.liferay.asset.kernel.service.persistence.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 foundpublic com.liferay.asset.kernel.model.AssetCategory findByG_P_V_Last(long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByG_P_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByG_P_V_Last(long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByG_P_V_Last in interface com.liferay.asset.kernel.service.persistence.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 foundpublic com.liferay.asset.kernel.model.AssetCategory[] findByG_P_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByG_P_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.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)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory getByG_P_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId)
filterFindByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P_V(long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 com.liferay.asset.kernel.model.AssetCategory[] filterFindByG_P_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
filterFindByG_P_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.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)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory filterGetByG_P_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public void removeByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
removeByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDpublic int countByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
countByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDpublic int filterCountByG_P_V(long groupId,
long parentCategoryId,
long vocabularyId)
filterCountByG_P_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDvocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId)
findByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic com.liferay.asset.kernel.model.AssetCategory findByG_LikeN_V_First(long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByG_LikeN_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByG_LikeN_V_First(long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByG_LikeN_V_First in interface com.liferay.asset.kernel.service.persistence.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 foundpublic com.liferay.asset.kernel.model.AssetCategory findByG_LikeN_V_Last(long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByG_LikeN_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByG_LikeN_V_Last(long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByG_LikeN_V_Last in interface com.liferay.asset.kernel.service.persistence.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 foundpublic com.liferay.asset.kernel.model.AssetCategory[] findByG_LikeN_V_PrevAndNext(long categoryId,
long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByG_LikeN_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.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)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory getByG_LikeN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId)
filterFindByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 com.liferay.asset.kernel.model.AssetCategory[] filterFindByG_LikeN_V_PrevAndNext(long categoryId,
long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
filterFindByG_LikeN_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.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)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory filterGetByG_LikeN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long[] vocabularyIds)
filterFindByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDspublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_LikeN_V(long groupId, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDspublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long groupId, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByG_LikeN_V(long groupId, String name, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic void removeByG_LikeN_V(long groupId,
String name,
long vocabularyId)
removeByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDpublic int countByG_LikeN_V(long groupId,
String name,
long vocabularyId)
countByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDpublic int countByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
countByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDspublic int filterCountByG_LikeN_V(long groupId,
String name,
long vocabularyId)
filterCountByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDname - the namevocabularyId - the vocabulary IDpublic int filterCountByG_LikeN_V(long groupId,
String name,
long[] vocabularyIds)
filterCountByG_LikeN_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDname - the namevocabularyIds - the vocabulary IDspublic com.liferay.asset.kernel.model.AssetCategory findByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
NoSuchCategoryException if it could not be found.findByP_N_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDcom.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDnull if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDretrieveFromCache - whether to retrieve from the finder cachenull if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory removeByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
removeByP_N_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDcom.liferay.asset.kernel.exception.NoSuchCategoryExceptionpublic int countByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
countByP_N_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.AssetCategory> findByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
findByG_P_N_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic com.liferay.asset.kernel.model.AssetCategory findByG_P_N_V_First(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByG_P_N_V_First in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByG_P_N_V_First(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByG_P_N_V_First in interface com.liferay.asset.kernel.service.persistence.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 foundpublic com.liferay.asset.kernel.model.AssetCategory findByG_P_N_V_Last(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByG_P_N_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a matching asset category could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByG_P_N_V_Last(long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
fetchByG_P_N_V_Last in interface com.liferay.asset.kernel.service.persistence.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 foundpublic com.liferay.asset.kernel.model.AssetCategory[] findByG_P_N_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
findByG_P_N_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.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)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory getByG_P_N_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public List<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId)
filterFindByG_P_N_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDpublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> filterFindByG_P_N_V(long groupId, long parentCategoryId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 com.liferay.asset.kernel.model.AssetCategory[] filterFindByG_P_N_V_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
filterFindByG_P_N_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.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)com.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory filterGetByG_P_N_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetCategory assetCategory,
long groupId,
long parentCategoryId,
String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator,
boolean previous)
public void removeByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
removeByG_P_N_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDpublic int countByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
countByG_P_N_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDpublic int filterCountByG_P_N_V(long groupId,
long parentCategoryId,
String name,
long vocabularyId)
filterCountByG_P_N_V in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegroupId - the group IDparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDpublic void cacheResult(com.liferay.asset.kernel.model.AssetCategory assetCategory)
cacheResult in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceassetCategory - the asset categorypublic void cacheResult(List<com.liferay.asset.kernel.model.AssetCategory> assetCategories)
cacheResult in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceassetCategories - the asset categoriespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>public void clearCache(com.liferay.asset.kernel.model.AssetCategory assetCategory)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>public void clearCache(List<com.liferay.asset.kernel.model.AssetCategory> assetCategories)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>protected void cacheUniqueFindersCache(AssetCategoryModelImpl assetCategoryModelImpl, boolean isNew)
protected void clearUniqueFindersCache(AssetCategoryModelImpl assetCategoryModelImpl)
public com.liferay.asset.kernel.model.AssetCategory create(long categoryId)
create in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencecategoryId - the primary key for the new asset categorypublic com.liferay.asset.kernel.model.AssetCategory remove(long categoryId)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
remove in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the asset categorycom.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetCategory remove(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>primaryKey - the primary key of the asset categorycom.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetCategory removeImpl(com.liferay.asset.kernel.model.AssetCategory assetCategory)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>public com.liferay.asset.kernel.model.AssetCategory updateImpl(com.liferay.asset.kernel.model.AssetCategory assetCategory)
updateImpl in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>protected com.liferay.asset.kernel.model.AssetCategory toUnwrappedModel(com.liferay.asset.kernel.model.AssetCategory assetCategory)
public com.liferay.asset.kernel.model.AssetCategory findByPrimaryKey(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchCategoryException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>primaryKey - the primary key of the asset categorycom.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetCategory findByPrimaryKey(long categoryId)
throws com.liferay.asset.kernel.exception.NoSuchCategoryException
NoSuchCategoryException if it could not be found.findByPrimaryKey in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the asset categorycom.liferay.asset.kernel.exception.NoSuchCategoryException - if a asset category with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>primaryKey - the primary key of the asset categorynull if a asset category with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetCategory fetchByPrimaryKey(long categoryId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the asset categorynull if a asset category with the primary key could not be foundpublic Map<Serializable,com.liferay.asset.kernel.model.AssetCategory> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencefetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>public List<com.liferay.asset.kernel.model.AssetCategory> findAll()
findAll in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)public List<com.liferay.asset.kernel.model.AssetCategory> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetCategory> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 cachepublic void removeAll()
removeAll in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepublic int countAll()
countAll in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepublic long[] getAssetEntryPrimaryKeys(long pk)
getAssetEntryPrimaryKeys in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categorypublic List<com.liferay.asset.kernel.model.AssetEntry> getAssetEntries(long pk)
getAssetEntries in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categorypublic List<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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<com.liferay.asset.kernel.model.AssetEntry> getAssetEntries(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.service.persistence.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 com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categorypublic boolean containsAssetEntry(long pk,
long assetEntryPK)
true if the asset entry is associated with the asset category.containsAssetEntry in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entrytrue 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 com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset category to check for associations with asset entriestrue if the asset category has any asset entries associated with it; false otherwisepublic void addAssetEntry(long pk,
long assetEntryPK)
addAssetEntry in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entrypublic void addAssetEntry(long pk,
com.liferay.asset.kernel.model.AssetEntry assetEntry)
addAssetEntry in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntry - the asset entrypublic void addAssetEntries(long pk,
long[] assetEntryPKs)
addAssetEntries in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entriespublic void addAssetEntries(long pk,
List<com.liferay.asset.kernel.model.AssetEntry> assetEntries)
addAssetEntries in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntries - the asset entriespublic void clearAssetEntries(long pk)
clearAssetEntries in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset category to clear the associated asset entries frompublic void removeAssetEntry(long pk,
long assetEntryPK)
removeAssetEntry in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entrypublic void removeAssetEntry(long pk,
com.liferay.asset.kernel.model.AssetEntry assetEntry)
removeAssetEntry in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntry - the asset entrypublic void removeAssetEntries(long pk,
long[] assetEntryPKs)
removeAssetEntries in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entriespublic void removeAssetEntries(long pk,
List<com.liferay.asset.kernel.model.AssetEntry> assetEntries)
removeAssetEntries in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntries - the asset entriespublic void setAssetEntries(long pk,
long[] assetEntryPKs)
setAssetEntries in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entries to be associated with the asset categorypublic void setAssetEntries(long pk,
List<com.liferay.asset.kernel.model.AssetEntry> assetEntries)
setAssetEntries in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntries - the asset entries to be associated with the asset categorypublic Set<String> getBadColumnNames()
getBadColumnNames in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencegetBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetCategory>getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetCategory>public long countAncestors(com.liferay.asset.kernel.model.AssetCategory assetCategory)
countAncestors in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepublic long countDescendants(com.liferay.asset.kernel.model.AssetCategory assetCategory)
countDescendants in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepublic List<com.liferay.asset.kernel.model.AssetCategory> getAncestors(com.liferay.asset.kernel.model.AssetCategory assetCategory)
getAncestors in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepublic List<com.liferay.asset.kernel.model.AssetCategory> getDescendants(com.liferay.asset.kernel.model.AssetCategory assetCategory)
getDescendants in interface com.liferay.asset.kernel.service.persistence.AssetCategoryPersistencepublic 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 com.liferay.asset.kernel.service.persistence.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 com.liferay.asset.kernel.service.persistence.AssetCategoryPersistenceprotected long countOrphanTreeNodes(long groupId)
protected long rebuildTree(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.dao.orm.SQLQuery selectQuery,
com.liferay.portal.kernel.dao.orm.SQLQuery updateQuery,
long groupId,
long parentCategoryId,
long leftCategoryId)
public void afterPropertiesSet()
public void destroy()