|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<AssetCategory>
com.liferay.portlet.asset.service.persistence.AssetCategoryPersistenceImpl
public class AssetCategoryPersistenceImpl
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
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
AssetCategoryPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
addAssetEntries(long pk,
List<AssetEntry> assetEntries)
|
void |
addAssetEntries(long pk,
long[] assetEntryPKs)
|
void |
addAssetEntry(long pk,
AssetEntry assetEntry)
|
void |
addAssetEntry(long pk,
long assetEntryPK)
|
void |
afterPropertiesSet()
|
void |
cacheResult(AssetCategory assetCategory)
|
void |
cacheResult(List<AssetCategory> assetCategories)
|
void |
clearAssetEntries(long pk)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(AssetCategory assetCategory)
Clears the cache for one instance of this model. |
boolean |
containsAssetEntries(long pk)
|
boolean |
containsAssetEntry(long pk,
long assetEntryPK)
|
int |
countAll()
|
int |
countByGroupId(long groupId)
|
int |
countByN_V(String name,
long vocabularyId)
|
int |
countByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
|
int |
countByP_N(long parentCategoryId,
String name)
|
int |
countByP_V(long parentCategoryId,
long vocabularyId)
|
int |
countByParentCategoryId(long parentCategoryId)
|
int |
countByUUID_G(String uuid,
long groupId)
|
int |
countByUuid(String uuid)
|
int |
countByVocabularyId(long vocabularyId)
|
protected long |
countOrphanTreeNodes(long groupId)
|
AssetCategory |
create(long categoryId)
|
protected void |
expandTree(AssetCategory assetCategory)
|
AssetCategory |
fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
|
AssetCategory |
fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId,
boolean retrieveFromCache)
|
AssetCategory |
fetchByPrimaryKey(long categoryId)
|
AssetCategory |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
AssetCategory |
fetchByUUID_G(String uuid,
long groupId)
|
AssetCategory |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
|
int |
filterCountByGroupId(long groupId)
|
List<AssetCategory> |
filterFindByGroupId(long groupId)
|
List<AssetCategory> |
filterFindByGroupId(long groupId,
int start,
int end)
|
List<AssetCategory> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
List<AssetCategory> |
findAll()
|
List<AssetCategory> |
findAll(int start,
int end)
|
List<AssetCategory> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
AssetCategory |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
|
AssetCategory |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
|
AssetCategory[] |
findByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator orderByComparator)
|
List<AssetCategory> |
findByGroupId(long groupId)
|
List<AssetCategory> |
findByGroupId(long groupId,
int start,
int end)
|
List<AssetCategory> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
AssetCategory |
findByN_V_First(String name,
long vocabularyId,
OrderByComparator orderByComparator)
|
AssetCategory |
findByN_V_Last(String name,
long vocabularyId,
OrderByComparator orderByComparator)
|
AssetCategory[] |
findByN_V_PrevAndNext(long categoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
|
List<AssetCategory> |
findByN_V(String name,
long vocabularyId)
|
List<AssetCategory> |
findByN_V(String name,
long vocabularyId,
int start,
int end)
|
List<AssetCategory> |
findByN_V(String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
|
AssetCategory |
findByP_N_First(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
|
AssetCategory |
findByP_N_Last(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
|
AssetCategory[] |
findByP_N_PrevAndNext(long categoryId,
long parentCategoryId,
String name,
OrderByComparator orderByComparator)
|
AssetCategory |
findByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
|
List<AssetCategory> |
findByP_N(long parentCategoryId,
String name)
|
List<AssetCategory> |
findByP_N(long parentCategoryId,
String name,
int start,
int end)
|
List<AssetCategory> |
findByP_N(long parentCategoryId,
String name,
int start,
int end,
OrderByComparator orderByComparator)
|
AssetCategory |
findByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
|
AssetCategory |
findByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
|
AssetCategory[] |
findByP_V_PrevAndNext(long categoryId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
|
List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId)
|
List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end)
|
List<AssetCategory> |
findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
|
AssetCategory |
findByParentCategoryId_First(long parentCategoryId,
OrderByComparator orderByComparator)
|
AssetCategory |
findByParentCategoryId_Last(long parentCategoryId,
OrderByComparator orderByComparator)
|
AssetCategory[] |
findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
OrderByComparator orderByComparator)
|
List<AssetCategory> |
findByParentCategoryId(long parentCategoryId)
|
List<AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end)
|
List<AssetCategory> |
findByParentCategoryId(long parentCategoryId,
int start,
int end,
OrderByComparator orderByComparator)
|
AssetCategory |
findByPrimaryKey(long categoryId)
|
AssetCategory |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
AssetCategory |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
|
AssetCategory |
findByUUID_G(String uuid,
long groupId)
|
AssetCategory |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
|
AssetCategory[] |
findByUuid_PrevAndNext(long categoryId,
String uuid,
OrderByComparator orderByComparator)
|
List<AssetCategory> |
findByUuid(String uuid)
|
List<AssetCategory> |
findByUuid(String uuid,
int start,
int end)
|
List<AssetCategory> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
|
AssetCategory |
findByVocabularyId_First(long vocabularyId,
OrderByComparator orderByComparator)
|
AssetCategory |
findByVocabularyId_Last(long vocabularyId,
OrderByComparator orderByComparator)
|
AssetCategory[] |
findByVocabularyId_PrevAndNext(long categoryId,
long vocabularyId,
OrderByComparator orderByComparator)
|
List<AssetCategory> |
findByVocabularyId(long vocabularyId)
|
List<AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end)
|
List<AssetCategory> |
findByVocabularyId(long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
|
List<AssetEntry> |
getAssetEntries(long pk)
|
List<AssetEntry> |
getAssetEntries(long pk,
int start,
int end)
|
List<AssetEntry> |
getAssetEntries(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getAssetEntriesSize(long pk)
|
protected AssetCategory |
getByGroupId_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByN_V_PrevAndNext(Session session,
AssetCategory assetCategory,
String name,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByP_N_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
String name,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByP_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByParentCategoryId_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByUuid_PrevAndNext(Session session,
AssetCategory assetCategory,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
protected AssetCategory |
getByVocabularyId_PrevAndNext(Session session,
AssetCategory assetCategory,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected long |
getLastRightCategoryId(long groupId,
long parentCategoryId)
|
void |
rebuildTree(long groupId,
boolean force)
|
protected long |
rebuildTree(long groupId,
long parentCategoryId,
long leftCategoryId)
|
AssetCategory |
remove(long categoryId)
|
AssetCategory |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeAssetEntries(long pk,
List<AssetEntry> assetEntries)
|
void |
removeAssetEntries(long pk,
long[] assetEntryPKs)
|
void |
removeAssetEntry(long pk,
AssetEntry assetEntry)
|
void |
removeAssetEntry(long pk,
long assetEntryPK)
|
void |
removeByGroupId(long groupId)
|
void |
removeByN_V(String name,
long vocabularyId)
|
void |
removeByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
|
void |
removeByP_N(long parentCategoryId,
String name)
|
void |
removeByP_V(long parentCategoryId,
long vocabularyId)
|
void |
removeByParentCategoryId(long parentCategoryId)
|
void |
removeByUUID_G(String uuid,
long groupId)
|
void |
removeByUuid(String uuid)
|
void |
removeByVocabularyId(long vocabularyId)
|
protected AssetCategory |
removeImpl(AssetCategory assetCategory)
Removes the model instance from the database. |
void |
setAssetEntries(long pk,
List<AssetEntry> assetEntries)
|
void |
setAssetEntries(long pk,
long[] assetEntryPKs)
|
protected void |
shrinkTree(AssetCategory assetCategory)
|
protected AssetCategory |
toUnwrappedModel(AssetCategory assetCategory)
|
AssetCategory |
updateImpl(AssetCategory assetCategory,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, 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 |
|---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_FIND_BY_PARENTCATEGORYID
public static final FinderPath FINDER_PATH_COUNT_BY_PARENTCATEGORYID
public static final FinderPath FINDER_PATH_FIND_BY_VOCABULARYID
public static final FinderPath FINDER_PATH_COUNT_BY_VOCABULARYID
public static final FinderPath FINDER_PATH_FIND_BY_P_N
public static final FinderPath FINDER_PATH_COUNT_BY_P_N
public static final FinderPath FINDER_PATH_FIND_BY_P_V
public static final FinderPath FINDER_PATH_COUNT_BY_P_V
public static final FinderPath FINDER_PATH_FIND_BY_N_V
public static final FinderPath FINDER_PATH_COUNT_BY_N_V
public static final FinderPath FINDER_PATH_FETCH_BY_P_N_V
public static final FinderPath FINDER_PATH_COUNT_BY_P_N_V
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_GET_ASSETENTRIES
public static final FinderPath FINDER_PATH_GET_ASSETENTRIES_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_ASSETENTRY
@BeanReference(type=AssetCategoryPersistence.class) protected AssetCategoryPersistence assetCategoryPersistence
@BeanReference(type=AssetCategoryPropertyPersistence.class) protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetLinkPersistence.class) protected AssetLinkPersistence assetLinkPersistence
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
@BeanReference(type=AssetTagPropertyPersistence.class) protected AssetTagPropertyPersistence assetTagPropertyPersistence
@BeanReference(type=AssetTagStatsPersistence.class) protected AssetTagStatsPersistence assetTagStatsPersistence
@BeanReference(type=AssetVocabularyPersistence.class) protected AssetVocabularyPersistence assetVocabularyPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
protected AssetCategoryPersistenceImpl.ContainsAssetEntry containsAssetEntry
protected AssetCategoryPersistenceImpl.AddAssetEntry addAssetEntry
protected AssetCategoryPersistenceImpl.ClearAssetEntries clearAssetEntries
protected AssetCategoryPersistenceImpl.RemoveAssetEntry removeAssetEntry
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(AssetCategory assetCategory)
cacheResult in interface AssetCategoryPersistencepublic void cacheResult(List<AssetCategory> assetCategories)
cacheResult in interface AssetCategoryPersistencepublic void clearCache()
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
Caching information and settings can be found in
portal.properties
clearCache in interface BasePersistence<AssetCategory>clearCache in class BasePersistenceImpl<AssetCategory>public void clearCache(AssetCategory assetCategory)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<AssetCategory>clearCache in class BasePersistenceImpl<AssetCategory>assetCategory - the instance of this model to clear the cache forpublic AssetCategory create(long categoryId)
create in interface AssetCategoryPersistence
public AssetCategory remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<AssetCategory>remove in class BasePersistenceImpl<AssetCategory>primaryKey - the primary key of the model instance to remove
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if a system exception occurred
public AssetCategory remove(long categoryId)
throws NoSuchCategoryException,
SystemException
remove in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
protected AssetCategory removeImpl(AssetCategory assetCategory)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<AssetCategory>assetCategory - the model instance to remove
SystemException - if a system exception occurred
public AssetCategory updateImpl(AssetCategory assetCategory,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface AssetCategoryPersistenceupdateImpl in class BasePersistenceImpl<AssetCategory>assetCategory - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected AssetCategory toUnwrappedModel(AssetCategory assetCategory)
public AssetCategory findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<AssetCategory>findByPrimaryKey in class BasePersistenceImpl<AssetCategory>primaryKey - the primary key of the model instance to find
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public AssetCategory findByPrimaryKey(long categoryId)
throws NoSuchCategoryException,
SystemException
findByPrimaryKey in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<AssetCategory>fetchByPrimaryKey in class BasePersistenceImpl<AssetCategory>primaryKey - the primary key of the model instance to find
null if an instance of this
model with the primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public AssetCategory fetchByPrimaryKey(long categoryId)
throws SystemException
fetchByPrimaryKey in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByUuid(String uuid)
throws SystemException
findByUuid in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByUuid(String uuid,
int start,
int end)
throws SystemException
findByUuid in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByUuid in interface AssetCategoryPersistenceSystemException
public AssetCategory findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByUuid_First in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByUuid_Last in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory[] findByUuid_PrevAndNext(long categoryId,
String uuid,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByUuid_PrevAndNext in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
protected AssetCategory getByUuid_PrevAndNext(Session session,
AssetCategory assetCategory,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
public AssetCategory findByUUID_G(String uuid,
long groupId)
throws NoSuchCategoryException,
SystemException
findByUUID_G in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory fetchByUUID_G(String uuid,
long groupId)
throws SystemException
fetchByUUID_G in interface AssetCategoryPersistenceSystemException
public AssetCategory fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
fetchByUUID_G in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByGroupId(long groupId,
int start,
int end)
throws SystemException
findByGroupId in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByGroupId in interface AssetCategoryPersistenceSystemException
public AssetCategory findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByGroupId_First in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByGroupId_Last in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory[] findByGroupId_PrevAndNext(long categoryId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByGroupId_PrevAndNext in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
protected AssetCategory getByGroupId_PrevAndNext(Session session,
AssetCategory assetCategory,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetCategory> filterFindByGroupId(long groupId)
throws SystemException
filterFindByGroupId in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> filterFindByGroupId(long groupId,
int start,
int end)
throws SystemException
filterFindByGroupId in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
filterFindByGroupId in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByParentCategoryId(long parentCategoryId)
throws SystemException
findByParentCategoryId in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByParentCategoryId(long parentCategoryId,
int start,
int end)
throws SystemException
findByParentCategoryId in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByParentCategoryId(long parentCategoryId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByParentCategoryId in interface AssetCategoryPersistenceSystemException
public AssetCategory findByParentCategoryId_First(long parentCategoryId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByParentCategoryId_First in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory findByParentCategoryId_Last(long parentCategoryId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByParentCategoryId_Last in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByParentCategoryId_PrevAndNext in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
protected AssetCategory getByParentCategoryId_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetCategory> findByVocabularyId(long vocabularyId)
throws SystemException
findByVocabularyId in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByVocabularyId(long vocabularyId,
int start,
int end)
throws SystemException
findByVocabularyId in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByVocabularyId(long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByVocabularyId in interface AssetCategoryPersistenceSystemException
public AssetCategory findByVocabularyId_First(long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByVocabularyId_First in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory findByVocabularyId_Last(long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByVocabularyId_Last in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByVocabularyId_PrevAndNext in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
protected AssetCategory getByVocabularyId_PrevAndNext(Session session,
AssetCategory assetCategory,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetCategory> findByP_N(long parentCategoryId,
String name)
throws SystemException
findByP_N in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByP_N(long parentCategoryId,
String name,
int start,
int end)
throws SystemException
findByP_N in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByP_N(long parentCategoryId,
String name,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByP_N in interface AssetCategoryPersistenceSystemException
public AssetCategory findByP_N_First(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByP_N_First in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory findByP_N_Last(long parentCategoryId,
String name,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByP_N_Last in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory[] findByP_N_PrevAndNext(long categoryId,
long parentCategoryId,
String name,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByP_N_PrevAndNext in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
protected AssetCategory getByP_N_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
String name,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId)
throws SystemException
findByP_V in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end)
throws SystemException
findByP_V in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByP_V(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByP_V in interface AssetCategoryPersistenceSystemException
public AssetCategory findByP_V_First(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByP_V_First in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory findByP_V_Last(long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByP_V_Last in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory[] findByP_V_PrevAndNext(long categoryId,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByP_V_PrevAndNext in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
protected AssetCategory getByP_V_PrevAndNext(Session session,
AssetCategory assetCategory,
long parentCategoryId,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetCategory> findByN_V(String name,
long vocabularyId)
throws SystemException
findByN_V in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByN_V(String name,
long vocabularyId,
int start,
int end)
throws SystemException
findByN_V in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findByN_V(String name,
long vocabularyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByN_V in interface AssetCategoryPersistenceSystemException
public AssetCategory findByN_V_First(String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByN_V_First in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory findByN_V_Last(String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByN_V_Last in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory[] findByN_V_PrevAndNext(long categoryId,
String name,
long vocabularyId,
OrderByComparator orderByComparator)
throws NoSuchCategoryException,
SystemException
findByN_V_PrevAndNext in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
protected AssetCategory getByN_V_PrevAndNext(Session session,
AssetCategory assetCategory,
String name,
long vocabularyId,
OrderByComparator orderByComparator,
boolean previous)
public AssetCategory findByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws NoSuchCategoryException,
SystemException
findByP_N_V in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public AssetCategory fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws SystemException
fetchByP_N_V in interface AssetCategoryPersistenceSystemException
public AssetCategory fetchByP_N_V(long parentCategoryId,
String name,
long vocabularyId,
boolean retrieveFromCache)
throws SystemException
fetchByP_N_V in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findAll()
throws SystemException
findAll in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findAll(int start,
int end)
throws SystemException
findAll in interface AssetCategoryPersistenceSystemException
public List<AssetCategory> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface AssetCategoryPersistenceSystemException
public void removeByUuid(String uuid)
throws SystemException
removeByUuid in interface AssetCategoryPersistenceSystemException
public void removeByUUID_G(String uuid,
long groupId)
throws NoSuchCategoryException,
SystemException
removeByUUID_G in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface AssetCategoryPersistenceSystemException
public void removeByParentCategoryId(long parentCategoryId)
throws SystemException
removeByParentCategoryId in interface AssetCategoryPersistenceSystemException
public void removeByVocabularyId(long vocabularyId)
throws SystemException
removeByVocabularyId in interface AssetCategoryPersistenceSystemException
public void removeByP_N(long parentCategoryId,
String name)
throws SystemException
removeByP_N in interface AssetCategoryPersistenceSystemException
public void removeByP_V(long parentCategoryId,
long vocabularyId)
throws SystemException
removeByP_V in interface AssetCategoryPersistenceSystemException
public void removeByN_V(String name,
long vocabularyId)
throws SystemException
removeByN_V in interface AssetCategoryPersistenceSystemException
public void removeByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws NoSuchCategoryException,
SystemException
removeByP_N_V in interface AssetCategoryPersistenceNoSuchCategoryException
SystemException
public void removeAll()
throws SystemException
removeAll in interface AssetCategoryPersistenceSystemException
public int countByUuid(String uuid)
throws SystemException
countByUuid in interface AssetCategoryPersistenceSystemException
public int countByUUID_G(String uuid,
long groupId)
throws SystemException
countByUUID_G in interface AssetCategoryPersistenceSystemException
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface AssetCategoryPersistenceSystemException
public int filterCountByGroupId(long groupId)
throws SystemException
filterCountByGroupId in interface AssetCategoryPersistenceSystemException
public int countByParentCategoryId(long parentCategoryId)
throws SystemException
countByParentCategoryId in interface AssetCategoryPersistenceSystemException
public int countByVocabularyId(long vocabularyId)
throws SystemException
countByVocabularyId in interface AssetCategoryPersistenceSystemException
public int countByP_N(long parentCategoryId,
String name)
throws SystemException
countByP_N in interface AssetCategoryPersistenceSystemException
public int countByP_V(long parentCategoryId,
long vocabularyId)
throws SystemException
countByP_V in interface AssetCategoryPersistenceSystemException
public int countByN_V(String name,
long vocabularyId)
throws SystemException
countByN_V in interface AssetCategoryPersistenceSystemException
public int countByP_N_V(long parentCategoryId,
String name,
long vocabularyId)
throws SystemException
countByP_N_V in interface AssetCategoryPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface AssetCategoryPersistenceSystemException
public List<AssetEntry> getAssetEntries(long pk)
throws SystemException
getAssetEntries in interface AssetCategoryPersistenceSystemException
public List<AssetEntry> getAssetEntries(long pk,
int start,
int end)
throws SystemException
getAssetEntries in interface AssetCategoryPersistenceSystemException
public List<AssetEntry> getAssetEntries(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getAssetEntries in interface AssetCategoryPersistenceSystemException
public int getAssetEntriesSize(long pk)
throws SystemException
getAssetEntriesSize in interface AssetCategoryPersistenceSystemException
public boolean containsAssetEntry(long pk,
long assetEntryPK)
throws SystemException
containsAssetEntry in interface AssetCategoryPersistenceSystemException
public boolean containsAssetEntries(long pk)
throws SystemException
containsAssetEntries in interface AssetCategoryPersistenceSystemException
public void addAssetEntry(long pk,
long assetEntryPK)
throws SystemException
addAssetEntry in interface AssetCategoryPersistenceSystemException
public void addAssetEntry(long pk,
AssetEntry assetEntry)
throws SystemException
addAssetEntry in interface AssetCategoryPersistenceSystemException
public void addAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
addAssetEntries in interface AssetCategoryPersistenceSystemException
public void addAssetEntries(long pk,
List<AssetEntry> assetEntries)
throws SystemException
addAssetEntries in interface AssetCategoryPersistenceSystemException
public void clearAssetEntries(long pk)
throws SystemException
clearAssetEntries in interface AssetCategoryPersistenceSystemException
public void removeAssetEntry(long pk,
long assetEntryPK)
throws SystemException
removeAssetEntry in interface AssetCategoryPersistenceSystemException
public void removeAssetEntry(long pk,
AssetEntry assetEntry)
throws SystemException
removeAssetEntry in interface AssetCategoryPersistenceSystemException
public void removeAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
removeAssetEntries in interface AssetCategoryPersistenceSystemException
public void removeAssetEntries(long pk,
List<AssetEntry> assetEntries)
throws SystemException
removeAssetEntries in interface AssetCategoryPersistenceSystemException
public void setAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
setAssetEntries in interface AssetCategoryPersistenceSystemException
public void setAssetEntries(long pk,
List<AssetEntry> assetEntries)
throws SystemException
setAssetEntries in interface AssetCategoryPersistenceSystemException
public void rebuildTree(long groupId,
boolean force)
throws SystemException
rebuildTree in interface AssetCategoryPersistenceSystemException
protected long countOrphanTreeNodes(long groupId)
throws SystemException
SystemException
protected void expandTree(AssetCategory assetCategory)
throws SystemException
SystemException
protected long getLastRightCategoryId(long groupId,
long parentCategoryId)
throws SystemException
SystemException
protected long rebuildTree(long groupId,
long parentCategoryId,
long leftCategoryId)
throws SystemException
SystemExceptionprotected void shrinkTree(AssetCategory assetCategory)
public void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||