|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategory>
com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceImpl
public class AssetCategoryPersistenceImpl
The persistence implementation for the asset category service.
Caching information and settings can be found in portal.properties
AssetCategoryPersistence,
AssetCategoryUtil| Nested Class Summary | |
|---|---|
protected class |
AssetCategoryPersistenceImpl.AddAssetEntry
|
protected class |
AssetCategoryPersistenceImpl.ClearAssetEntries
|
protected class |
AssetCategoryPersistenceImpl.ContainsAssetEntry
|
protected class |
AssetCategoryPersistenceImpl.ExpandTreeLeftCategoryId
|
protected class |
AssetCategoryPersistenceImpl.ExpandTreeRightCategoryId
|
protected class |
AssetCategoryPersistenceImpl.RemoveAssetEntry
|
protected class |
AssetCategoryPersistenceImpl.ShrinkTreeLeftCategoryId
|
protected class |
AssetCategoryPersistenceImpl.ShrinkTreeRightCategoryId
|
protected class |
AssetCategoryPersistenceImpl.UpdateTree
|
| Field Summary | |
|---|---|
protected AssetCategoryPersistenceImpl.AddAssetEntry |
addAssetEntry
|
protected com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence |
assetCategoryPersistence
|
protected com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence |
assetCategoryPropertyPersistence
|
protected com.liferay.portlet.asset.service.persistence.AssetEntryPersistence |
assetEntryPersistence
|
protected com.liferay.portlet.asset.service.persistence.AssetLinkPersistence |
assetLinkPersistence
|
protected com.liferay.portlet.asset.service.persistence.AssetTagPersistence |
assetTagPersistence
|
protected com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence |
assetTagPropertyPersistence
|
protected com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence |
assetTagStatsPersistence
|
protected com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence |
assetVocabularyPersistence
|
protected AssetCategoryPersistenceImpl.ClearAssetEntries |
clearAssetEntries
|
protected AssetCategoryPersistenceImpl.ContainsAssetEntry |
containsAssetEntry
|
protected AssetCategoryPersistenceImpl.ExpandTreeLeftCategoryId |
expandTreeLeftCategoryId
|
protected AssetCategoryPersistenceImpl.ExpandTreeRightCategoryId |
expandTreeRightCategoryId
|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_CONTAINS_ASSETENTRY
|
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_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_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_GET_ASSETENTRIES
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_GET_ASSETENTRIES_SIZE
|
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_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_VOCABULARYID
|
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_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_VOCABULARYID
|
protected boolean |
rebuildTreeEnabled
|
protected AssetCategoryPersistenceImpl.RemoveAssetEntry |
removeAssetEntry
|
protected com.liferay.portal.service.persistence.ResourcePersistence |
resourcePersistence
|
protected AssetCategoryPersistenceImpl.ShrinkTreeLeftCategoryId |
shrinkTreeLeftCategoryId
|
protected AssetCategoryPersistenceImpl.ShrinkTreeRightCategoryId |
shrinkTreeRightCategoryId
|
protected AssetCategoryPersistenceImpl.UpdateTree |
updateTree
|
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
AssetCategoryPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
addAssetEntries(long pk,
java.util.List<com.liferay.portlet.asset.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.portlet.asset.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.portlet.asset.model.AssetCategory assetCategory)
Caches the asset category in the entity cache if it is enabled. |
void |
cacheResult(java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
Caches the asset categories in the entity cache if it is enabled. |
void |
clearAssetEntries(long pk)
Clears all associations between the asset category and its asset entries. |
void |
clearCache()
Clears the cache for all asset categories. |
void |
clearCache(com.liferay.portlet.asset.model.AssetCategory assetCategory)
Clears the cache for the asset category. |
void |
clearCache(java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
|
protected void |
clearUniqueFindersCache(com.liferay.portlet.asset.model.AssetCategory assetCategory)
|
boolean |
containsAssetEntries(long pk)
Returns true if the asset category has any asset entries associated with it. |
boolean |
containsAssetEntry(long pk,
long assetEntryPK)
Returns true if the asset entry is associated with the asset category. |
int |
countAll()
Returns the number of asset categories. |
int |
countByG_V(long groupId,
long vocabularyId)
Returns the number of asset categories where groupId = ? and vocabularyId = ?. |
int |
countByGroupId(long groupId)
Returns the number of asset categories where groupId = ?. |
int |
countByN_V(java.lang.String name,
long vocabularyId)
Returns the number of asset categories where name = ? and vocabularyId = ?. |
int |
countByP_N_V(long parentCategoryId,
java.lang.String name,
long vocabularyId)
Returns the number of asset categories where parentCategoryId = ? and name = ? and vocabularyId = ?. |
int |
countByP_N(long parentCategoryId,
java.lang.String name)
Returns the number of asset categories where parentCategoryId = ? and name = ?. |
int |
countByP_V(long parentCategoryId,
long vocabularyId)
Returns the number of asset categories where parentCategoryId = ? and vocabularyId = ?. |
int |
countByParentCategoryId(long parentCategoryId)
Returns the number of asset categories where parentCategoryId = ?. |
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of asset categories where uuid = ? and groupId = ?. |
int |
countByUuid(java.lang.String uuid)
Returns the number of asset categories where uuid = ?. |
int |
countByVocabularyId(long vocabularyId)
Returns the number of asset categories where vocabularyId = ?. |
protected long |
countOrphanTreeNodes(long groupId)
|
com.liferay.portlet.asset.model.AssetCategory |
create(long categoryId)
Creates a new asset category with the primary key. |
void |
destroy()
|
protected void |
expandNoChildrenLeftCategoryId(long groupId,
long leftCategoryId,
java.util.List<java.lang.Long> childrenCategoryIds,
long delta)
|
protected void |
expandNoChildrenRightCategoryId(long groupId,
long rightCategoryId,
java.util.List<java.lang.Long> childrenCategoryIds,
long delta)
|
protected void |
expandTree(com.liferay.portlet.asset.model.AssetCategory assetCategory,
java.util.List<java.lang.Long> childrenCategoryIds)
|
com.liferay.portlet.asset.model.AssetCategory |
fetchByP_N_V(long parentCategoryId,
java.lang.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.portlet.asset.model.AssetCategory |
fetchByP_N_V(long parentCategoryId,
java.lang.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.portlet.asset.model.AssetCategory |
fetchByPrimaryKey(long categoryId)
Returns the asset category with the primary key or returns null if it could not be found. |
com.liferay.portlet.asset.model.AssetCategory |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the asset category with the primary key or returns null if it could not be found. |
com.liferay.portlet.asset.model.AssetCategory |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the asset category where uuid = ? and groupId = ? or returns null if it could not be found. |
com.liferay.portlet.asset.model.AssetCategory |
fetchByUUID_G(java.lang.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. |
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 |
filterCountByGroupId(long groupId)
Returns the number of asset categories that the user has permission to view where groupId = ?. |
com.liferay.portlet.asset.model.AssetCategory[] |
filterFindByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ? and vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
filterFindByG_V(long groupId,
long vocabularyId)
Returns all the asset categories that the user has permission to view where groupId = ? and vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.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 = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
filterFindByG_V(long groupId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ? and vocabularyId = ?. |
com.liferay.portlet.asset.model.AssetCategory[] |
filterFindByGroupId_PrevAndNext(long categoryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set of asset categories that the user has permission to view where groupId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
filterFindByGroupId(long groupId)
Returns all the asset categories that the user has permission to view where groupId = ?. |
java.util.List<com.liferay.portlet.asset.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 = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories that the user has permissions to view where groupId = ?. |
protected com.liferay.portlet.asset.model.AssetCategory |
filterGetByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.asset.model.AssetCategory |
filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findAll()
Returns all the asset categories. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findAll(int start,
int end)
Returns a range of all the asset categories. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories. |
com.liferay.portlet.asset.model.AssetCategory |
findByG_V_First(long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ? and vocabularyId = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByG_V_Last(long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ? and vocabularyId = ?. |
com.liferay.portlet.asset.model.AssetCategory[] |
findByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ? and vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByG_V(long groupId,
long vocabularyId)
Returns all the asset categories where groupId = ? and vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByG_V(long groupId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where groupId = ? and vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByG_V(long groupId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ? and vocabularyId = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where groupId = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where groupId = ?. |
com.liferay.portlet.asset.model.AssetCategory[] |
findByGroupId_PrevAndNext(long categoryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where groupId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByGroupId(long groupId)
Returns all the asset categories where groupId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the asset categories where groupId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where groupId = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByN_V_First(java.lang.String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where name = ? and vocabularyId = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByN_V_Last(java.lang.String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where name = ? and vocabularyId = ?. |
com.liferay.portlet.asset.model.AssetCategory[] |
findByN_V_PrevAndNext(long categoryId,
java.lang.String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where name = ? and vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByN_V(java.lang.String name,
long vocabularyId)
Returns all the asset categories where name = ? and vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByN_V(java.lang.String name,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where name = ? and vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByN_V(java.lang.String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where name = ? and vocabularyId = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByP_N_First(long parentCategoryId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and name = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByP_N_Last(long parentCategoryId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and name = ?. |
com.liferay.portlet.asset.model.AssetCategory[] |
findByP_N_PrevAndNext(long categoryId,
long parentCategoryId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and name = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByP_N_V(long parentCategoryId,
java.lang.String name,
long vocabularyId)
Returns the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? or throws a NoSuchCategoryException if it could not be found. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByP_N(long parentCategoryId,
java.lang.String name)
Returns all the asset categories where parentCategoryId = ? and name = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByP_N(long parentCategoryId,
java.lang.String name,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ? and name = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByP_N(long parentCategoryId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ? and name = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByP_V_First(long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByP_V_Last(long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. |
com.liferay.portlet.asset.model.AssetCategory[] |
findByP_V_PrevAndNext(long categoryId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ? and vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId)
Returns all the asset categories where parentCategoryId = ? and vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ? and vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ? and vocabularyId = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByParentCategoryId_First(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where parentCategoryId = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByParentCategoryId_Last(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where parentCategoryId = ?. |
com.liferay.portlet.asset.model.AssetCategory[] |
findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where parentCategoryId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByParentCategoryId(long parentCategoryId)
Returns all the asset categories where parentCategoryId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end)
Returns a range of all the asset categories where parentCategoryId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where parentCategoryId = ?. |
com.liferay.portlet.asset.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.portlet.asset.model.AssetCategory |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the asset category with the primary key or throws a NoSuchModelException if it could not be found. |
com.liferay.portlet.asset.model.AssetCategory |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where uuid = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the asset category where uuid = ? and groupId = ? or throws a NoSuchCategoryException if it could not be found. |
com.liferay.portlet.asset.model.AssetCategory |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where uuid = ?. |
com.liferay.portlet.asset.model.AssetCategory[] |
findByUuid_PrevAndNext(long categoryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where uuid = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByUuid(java.lang.String uuid)
Returns all the asset categories where uuid = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the asset categories where uuid = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where uuid = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByVocabularyId_First(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset category in the ordered set where vocabularyId = ?. |
com.liferay.portlet.asset.model.AssetCategory |
findByVocabularyId_Last(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset category in the ordered set where vocabularyId = ?. |
com.liferay.portlet.asset.model.AssetCategory[] |
findByVocabularyId_PrevAndNext(long categoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset categories before and after the current asset category in the ordered set where vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByVocabularyId(long vocabularyId)
Returns all the asset categories where vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end)
Returns a range of all the asset categories where vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories where vocabularyId = ?. |
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
getAssetEntries(long pk)
Returns all the asset entries associated with the asset category. |
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
getAssetEntries(long pk,
int start,
int end)
Returns a range of all the asset entries associated with the asset category. |
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
getAssetEntries(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries associated with the asset category. |
int |
getAssetEntriesSize(long pk)
Returns the number of asset entries associated with the asset category. |
protected com.liferay.portlet.asset.model.AssetCategory |
getByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.asset.model.AssetCategory |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.asset.model.AssetCategory |
getByN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
java.lang.String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.asset.model.AssetCategory |
getByP_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long parentCategoryId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.asset.model.AssetCategory |
getByP_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.asset.model.AssetCategory |
getByParentCategoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.asset.model.AssetCategory |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.asset.model.AssetCategory |
getByVocabularyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected java.util.List<java.lang.Long> |
getChildrenTreeCategoryIds(com.liferay.portlet.asset.model.AssetCategory parentAssetCategory)
|
protected long |
getLastRightCategoryId(long groupId,
long parentCategoryId)
|
void |
rebuildTree(long groupId,
boolean force)
Rebuilds the asset categories tree for the scope using the modified pre-order tree traversal algorithm. |
protected long |
rebuildTree(long groupId,
long parentCategoryId,
long leftCategoryId)
|
com.liferay.portlet.asset.model.AssetCategory |
remove(long categoryId)
Removes the asset category with the primary key from the database. |
com.liferay.portlet.asset.model.AssetCategory |
remove(java.io.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,
java.util.List<com.liferay.portlet.asset.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.portlet.asset.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_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(java.lang.String name,
long vocabularyId)
Removes all the asset categories where name = ? and vocabularyId = ? from the database. |
void |
removeByP_N_V(long parentCategoryId,
java.lang.String name,
long vocabularyId)
Removes the asset category where parentCategoryId = ? and name = ? and vocabularyId = ? from the database. |
void |
removeByP_N(long parentCategoryId,
java.lang.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_G(java.lang.String uuid,
long groupId)
Removes the asset category where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(java.lang.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.portlet.asset.model.AssetCategory |
removeImpl(com.liferay.portlet.asset.model.AssetCategory assetCategory)
|
void |
setAssetEntries(long pk,
java.util.List<com.liferay.portlet.asset.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 void |
shrinkTree(com.liferay.portlet.asset.model.AssetCategory assetCategory)
|
protected com.liferay.portlet.asset.model.AssetCategory |
toUnwrappedModel(com.liferay.portlet.asset.model.AssetCategory assetCategory)
|
protected void |
updateChildrenTree(long groupId,
java.util.List<java.lang.Long> childrenCategoryIds,
long delta)
|
com.liferay.portlet.asset.model.AssetCategory |
updateImpl(com.liferay.portlet.asset.model.AssetCategory assetCategory,
boolean merge)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
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_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_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_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_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_GET_ASSETENTRIES
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ASSETENTRIES_SIZE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_ASSETENTRY
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence assetCategoryPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence assetCategoryPropertyPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetEntryPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetLinkPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetLinkPersistence assetLinkPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence assetTagPropertyPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence assetTagStatsPersistence
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence assetVocabularyPersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
protected AssetCategoryPersistenceImpl.ContainsAssetEntry containsAssetEntry
protected AssetCategoryPersistenceImpl.AddAssetEntry addAssetEntry
protected AssetCategoryPersistenceImpl.ClearAssetEntries clearAssetEntries
protected AssetCategoryPersistenceImpl.RemoveAssetEntry removeAssetEntry
protected boolean rebuildTreeEnabled
protected AssetCategoryPersistenceImpl.ExpandTreeLeftCategoryId expandTreeLeftCategoryId
protected AssetCategoryPersistenceImpl.ExpandTreeRightCategoryId expandTreeRightCategoryId
protected AssetCategoryPersistenceImpl.ShrinkTreeLeftCategoryId shrinkTreeLeftCategoryId
protected AssetCategoryPersistenceImpl.ShrinkTreeRightCategoryId shrinkTreeRightCategoryId
protected AssetCategoryPersistenceImpl.UpdateTree updateTree
| Constructor Detail |
|---|
public AssetCategoryPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(com.liferay.portlet.asset.model.AssetCategory assetCategory)
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceassetCategory - the asset categorypublic void cacheResult(java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceassetCategories - the asset categoriespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetCategory>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategory>public void clearCache(com.liferay.portlet.asset.model.AssetCategory assetCategory)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetCategory>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategory>public void clearCache(java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetCategory>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategory>protected void clearUniqueFindersCache(com.liferay.portlet.asset.model.AssetCategory assetCategory)
public com.liferay.portlet.asset.model.AssetCategory create(long categoryId)
create in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencecategoryId - the primary key for the new asset category
public com.liferay.portlet.asset.model.AssetCategory remove(long categoryId)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the asset category
com.liferay.portlet.asset.NoSuchCategoryException - if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetCategory>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategory>primaryKey - the primary key of the asset category
com.liferay.portlet.asset.NoSuchCategoryException - if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.asset.model.AssetCategory removeImpl(com.liferay.portlet.asset.model.AssetCategory assetCategory)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategory>com.liferay.portal.kernel.exception.SystemException
public com.liferay.portlet.asset.model.AssetCategory updateImpl(com.liferay.portlet.asset.model.AssetCategory assetCategory,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategory>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.asset.model.AssetCategory toUnwrappedModel(com.liferay.portlet.asset.model.AssetCategory assetCategory)
public com.liferay.portlet.asset.model.AssetCategory findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetCategory>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategory>primaryKey - the primary key of the asset category
com.liferay.portal.NoSuchModelException - if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByPrimaryKey(long categoryId)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException if it could not be found.
findByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the asset category
com.liferay.portlet.asset.NoSuchCategoryException - if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetCategory>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetCategory>primaryKey - the primary key of the asset category
null if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory fetchByPrimaryKey(long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the asset category
null if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
findByUuid in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceuuid - the uuid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByUuid in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByUuid in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByUuid_First in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByUuid_Last in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory[] findByUuid_PrevAndNext(long categoryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByUuid_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencecategoryId - the primary key of the current asset categoryuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.asset.model.AssetCategory getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public com.liferay.portlet.asset.model.AssetCategory findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException if it could not be found.
findByUUID_G in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceuuid - the uuidgroupId - the group ID
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceuuid - the uuidgroupId - the group ID
null if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cache
null if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
findByGroupId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByGroupId in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByGroupId in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByGroupId_First in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByGroupId_Last in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory[] findByGroupId_PrevAndNext(long categoryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByGroupId_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchCategoryException - if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.asset.model.AssetCategory getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByGroupId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByGroupId in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByGroupId in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory[] filterFindByGroupId_PrevAndNext(long categoryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
filterFindByGroupId_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchCategoryException - if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.asset.model.AssetCategory filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(long parentCategoryId)
throws com.liferay.portal.kernel.exception.SystemException
findByParentCategoryId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(long parentCategoryId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByParentCategoryId in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(long parentCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByParentCategoryId in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByParentCategoryId_First(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByParentCategoryId_First in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByParentCategoryId_Last(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByParentCategoryId_Last in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByParentCategoryId_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchCategoryException - if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.asset.model.AssetCategory getByParentCategoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
findByVocabularyId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencevocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(long vocabularyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByVocabularyId in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByVocabularyId in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByVocabularyId_First(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByVocabularyId_First in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByVocabularyId_Last(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByVocabularyId_Last in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByVocabularyId_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchCategoryException - if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.asset.model.AssetCategory getByVocabularyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V(long groupId,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
findByG_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V(long groupId,
long vocabularyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_V in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_V(long groupId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_V in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByG_V_First(long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_V_First in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByG_V_Last(long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_V_Last in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory[] findByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_V_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchCategoryException - if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.asset.model.AssetCategory getByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V(long groupId,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByG_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V(long groupId,
long vocabularyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_V in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByG_V(long groupId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_V in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory[] filterFindByG_V_PrevAndNext(long categoryId,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
filterFindByG_V_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchCategoryException - if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.asset.model.AssetCategory filterGetByG_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long groupId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(long parentCategoryId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
findByP_N in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the name
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(long parentCategoryId,
java.lang.String name,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByP_N in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(long parentCategoryId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByP_N in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByP_N_First(long parentCategoryId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByP_N_First in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByP_N_Last(long parentCategoryId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByP_N_Last in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the nameorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory[] findByP_N_PrevAndNext(long categoryId,
long parentCategoryId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByP_N_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchCategoryException - if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.asset.model.AssetCategory getByP_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long parentCategoryId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
findByP_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByP_V in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByP_V in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByP_V_First(long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByP_V_First in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByP_V_Last(long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByP_V_Last in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory[] findByP_V_PrevAndNext(long categoryId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByP_V_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchCategoryException - if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.asset.model.AssetCategory getByP_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(java.lang.String name,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
findByN_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencename - the namevocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(java.lang.String name,
long vocabularyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByN_V in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(java.lang.String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByN_V in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByN_V_First(java.lang.String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByN_V_First in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory findByN_V_Last(java.lang.String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByN_V_Last in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencename - the namevocabularyId - the vocabulary IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory[] findByN_V_PrevAndNext(long categoryId,
java.lang.String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByN_V_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchCategoryException - if a asset category with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.asset.model.AssetCategory getByN_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetCategory assetCategory,
java.lang.String name,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public com.liferay.portlet.asset.model.AssetCategory findByP_N_V(long parentCategoryId,
java.lang.String name,
long vocabularyId)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException if it could not be found.
findByP_N_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
com.liferay.portlet.asset.NoSuchCategoryException - if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory fetchByP_N_V(long parentCategoryId,
java.lang.String name,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByP_N_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
null if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetCategory fetchByP_N_V(long parentCategoryId,
java.lang.String name,
long vocabularyId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByP_N_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary IDretrieveFromCache - whether to use the finder cache
null if a matching asset category could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findAll in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findAll in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
removeByUuid in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceuuid - the uuid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
removeByUUID_G in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceuuid - the uuidgroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.asset.NoSuchCategoryException
public void removeByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
removeByGroupId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByParentCategoryId(long parentCategoryId)
throws com.liferay.portal.kernel.exception.SystemException
removeByParentCategoryId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByVocabularyId(long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
removeByVocabularyId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencevocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByG_V(long groupId,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByP_N(long parentCategoryId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
removeByP_N in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the name
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByP_V(long parentCategoryId,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
removeByP_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByN_V(java.lang.String name,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
removeByN_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencename - the namevocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByP_N_V(long parentCategoryId,
java.lang.String name,
long vocabularyId)
throws com.liferay.portlet.asset.NoSuchCategoryException,
com.liferay.portal.kernel.exception.SystemException
removeByP_N_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.asset.NoSuchCategoryException
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
countByUuid in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceuuid - the uuid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
countByUUID_G in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceuuid - the uuidgroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
countByGroupId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int filterCountByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByGroupId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByParentCategoryId(long parentCategoryId)
throws com.liferay.portal.kernel.exception.SystemException
countByParentCategoryId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByVocabularyId(long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
countByVocabularyId in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencevocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByG_V(long groupId,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
countByG_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int filterCountByG_V(long groupId,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByG_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the group IDvocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByP_N(long parentCategoryId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
countByP_N in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the name
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByP_V(long parentCategoryId,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
countByP_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDvocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByN_V(java.lang.String name,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
countByN_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencename - the namevocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByP_N_V(long parentCategoryId,
java.lang.String name,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
countByP_N_V in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceparentCategoryId - the parent category IDname - the namevocabularyId - the vocabulary ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getAssetEntries in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset category
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
getAssetEntries in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
getAssetEntries in interface com.liferay.portlet.asset.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int getAssetEntriesSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getAssetEntriesSize in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset category
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public boolean containsAssetEntry(long pk,
long assetEntryPK)
throws com.liferay.portal.kernel.exception.SystemException
true if the asset entry is associated with the asset category.
containsAssetEntry in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entry
true if the asset entry is associated with the asset category; false otherwise
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public boolean containsAssetEntries(long pk)
throws com.liferay.portal.kernel.exception.SystemException
true if the asset category has any asset entries associated with it.
containsAssetEntries in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset category to check for associations with asset entries
true if the asset category has any asset entries associated with it; false otherwise
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void addAssetEntry(long pk,
long assetEntryPK)
throws com.liferay.portal.kernel.exception.SystemException
addAssetEntry in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entry
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void addAssetEntry(long pk,
com.liferay.portlet.asset.model.AssetEntry assetEntry)
throws com.liferay.portal.kernel.exception.SystemException
addAssetEntry in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntry - the asset entry
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void addAssetEntries(long pk,
long[] assetEntryPKs)
throws com.liferay.portal.kernel.exception.SystemException
addAssetEntries in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entries
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void addAssetEntries(long pk,
java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
throws com.liferay.portal.kernel.exception.SystemException
addAssetEntries in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntries - the asset entries
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void clearAssetEntries(long pk)
throws com.liferay.portal.kernel.exception.SystemException
clearAssetEntries in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset category to clear the associated asset entries from
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeAssetEntry(long pk,
long assetEntryPK)
throws com.liferay.portal.kernel.exception.SystemException
removeAssetEntry in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPK - the primary key of the asset entry
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeAssetEntry(long pk,
com.liferay.portlet.asset.model.AssetEntry assetEntry)
throws com.liferay.portal.kernel.exception.SystemException
removeAssetEntry in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntry - the asset entry
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeAssetEntries(long pk,
long[] assetEntryPKs)
throws com.liferay.portal.kernel.exception.SystemException
removeAssetEntries in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entries
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeAssetEntries(long pk,
java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
throws com.liferay.portal.kernel.exception.SystemException
removeAssetEntries in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntries - the asset entries
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void setAssetEntries(long pk,
long[] assetEntryPKs)
throws com.liferay.portal.kernel.exception.SystemException
setAssetEntries in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntryPKs - the primary keys of the asset entries to be associated with the asset category
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void setAssetEntries(long pk,
java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
throws com.liferay.portal.kernel.exception.SystemException
setAssetEntries in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencepk - the primary key of the asset categoryassetEntries - the asset entries to be associated with the asset category
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void rebuildTree(long groupId,
boolean force)
throws com.liferay.portal.kernel.exception.SystemException
Only call this method if the tree has become stale through operations other than normal CRUD. Under normal circumstances the tree is automatically rebuilt whenver necessary.
rebuildTree in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistencegroupId - the ID of the scopeforce - whether to force the rebuild even if the tree is not stale
com.liferay.portal.kernel.exception.SystemExceptionpublic void setRebuildTreeEnabled(boolean rebuildTreeEnabled)
setRebuildTreeEnabled in interface com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence
protected long countOrphanTreeNodes(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
protected void expandNoChildrenLeftCategoryId(long groupId,
long leftCategoryId,
java.util.List<java.lang.Long> childrenCategoryIds,
long delta)
protected void expandNoChildrenRightCategoryId(long groupId,
long rightCategoryId,
java.util.List<java.lang.Long> childrenCategoryIds,
long delta)
protected void expandTree(com.liferay.portlet.asset.model.AssetCategory assetCategory,
java.util.List<java.lang.Long> childrenCategoryIds)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
protected java.util.List<java.lang.Long> getChildrenTreeCategoryIds(com.liferay.portlet.asset.model.AssetCategory parentAssetCategory)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
protected long getLastRightCategoryId(long groupId,
long parentCategoryId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
protected long rebuildTree(long groupId,
long parentCategoryId,
long leftCategoryId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected void shrinkTree(com.liferay.portlet.asset.model.AssetCategory assetCategory)
protected void updateChildrenTree(long groupId,
java.util.List<java.lang.Long> childrenCategoryIds,
long delta)
public void afterPropertiesSet()
public void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||