Liferay 6.0.3

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

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

public class AssetCategoryPersistenceImpl
extends BasePersistenceImpl<AssetCategory>
implements AssetCategoryPersistence

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

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  AssetCategoryPersistence assetCategoryPersistence
           
protected  AssetCategoryPropertyPersistence assetCategoryPropertyPersistence
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetLinkPersistence assetLinkPersistence
           
protected  AssetTagPersistence assetTagPersistence
           
protected  AssetTagPropertyPersistence assetTagPropertyPersistence
           
protected  AssetTagStatsPersistence assetTagStatsPersistence
           
protected  AssetVocabularyPersistence assetVocabularyPersistence
           
protected  AssetCategoryPersistenceImpl.ClearAssetEntries clearAssetEntries
           
protected  AssetCategoryPersistenceImpl.ContainsAssetEntry containsAssetEntry
           
protected  AssetCategoryPersistenceImpl.ExpandTreeLeftCategoryId expandTreeLeftCategoryId
           
protected  AssetCategoryPersistenceImpl.ExpandTreeRightCategoryId expandTreeRightCategoryId
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_CONTAINS_ASSETENTRY
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_N_V
           
static FinderPath FINDER_PATH_COUNT_BY_P_N
           
static FinderPath FINDER_PATH_COUNT_BY_P_N_V
           
static FinderPath FINDER_PATH_COUNT_BY_P_V
           
static FinderPath FINDER_PATH_COUNT_BY_PARENTCATEGORYID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_COUNT_BY_VOCABULARYID
           
static FinderPath FINDER_PATH_FETCH_BY_P_N_V
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_FIND_BY_N_V
           
static FinderPath FINDER_PATH_FIND_BY_P_N
           
static FinderPath FINDER_PATH_FIND_BY_P_V
           
static FinderPath FINDER_PATH_FIND_BY_PARENTCATEGORYID
           
static FinderPath FINDER_PATH_FIND_BY_UUID
           
static FinderPath FINDER_PATH_FIND_BY_VOCABULARYID
           
static FinderPath FINDER_PATH_GET_ASSETENTRIES
           
static FinderPath FINDER_PATH_GET_ASSETENTRIES_SIZE
           
protected  AssetCategoryPersistenceImpl.RemoveAssetEntry removeAssetEntry
           
protected  ResourcePersistence resourcePersistence
           
protected  AssetCategoryPersistenceImpl.ShrinkTreeLeftCategoryId shrinkTreeLeftCategoryId
           
protected  AssetCategoryPersistenceImpl.ShrinkTreeRightCategoryId shrinkTreeRightCategoryId
           
protected  AssetCategoryPersistenceImpl.UpdateTree updateTree
           
protected  UserPersistence userPersistence
           
 
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

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_UUID

public static final FinderPath FINDER_PATH_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_FIND_BY_PARENTCATEGORYID

public static final FinderPath FINDER_PATH_FIND_BY_PARENTCATEGORYID

FINDER_PATH_COUNT_BY_PARENTCATEGORYID

public static final FinderPath FINDER_PATH_COUNT_BY_PARENTCATEGORYID

FINDER_PATH_FIND_BY_VOCABULARYID

public static final FinderPath FINDER_PATH_FIND_BY_VOCABULARYID

FINDER_PATH_COUNT_BY_VOCABULARYID

public static final FinderPath FINDER_PATH_COUNT_BY_VOCABULARYID

FINDER_PATH_FIND_BY_P_N

public static final FinderPath FINDER_PATH_FIND_BY_P_N

FINDER_PATH_COUNT_BY_P_N

public static final FinderPath FINDER_PATH_COUNT_BY_P_N

FINDER_PATH_FIND_BY_P_V

public static final FinderPath FINDER_PATH_FIND_BY_P_V

FINDER_PATH_COUNT_BY_P_V

public static final FinderPath FINDER_PATH_COUNT_BY_P_V

FINDER_PATH_FIND_BY_N_V

public static final FinderPath FINDER_PATH_FIND_BY_N_V

FINDER_PATH_COUNT_BY_N_V

public static final FinderPath FINDER_PATH_COUNT_BY_N_V

FINDER_PATH_FETCH_BY_P_N_V

public static final FinderPath FINDER_PATH_FETCH_BY_P_N_V

FINDER_PATH_COUNT_BY_P_N_V

public static final FinderPath FINDER_PATH_COUNT_BY_P_N_V

FINDER_PATH_FIND_ALL

public static final FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_GET_ASSETENTRIES

public static final FinderPath FINDER_PATH_GET_ASSETENTRIES

FINDER_PATH_GET_ASSETENTRIES_SIZE

public static final FinderPath FINDER_PATH_GET_ASSETENTRIES_SIZE

FINDER_PATH_CONTAINS_ASSETENTRY

public static final FinderPath FINDER_PATH_CONTAINS_ASSETENTRY

assetCategoryPersistence

@BeanReference(type=AssetCategoryPersistence.class)
protected AssetCategoryPersistence assetCategoryPersistence

assetCategoryPropertyPersistence

@BeanReference(type=AssetCategoryPropertyPersistence.class)
protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence

assetEntryPersistence

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

assetLinkPersistence

@BeanReference(type=AssetLinkPersistence.class)
protected AssetLinkPersistence assetLinkPersistence

assetTagPersistence

@BeanReference(type=AssetTagPersistence.class)
protected AssetTagPersistence assetTagPersistence

assetTagPropertyPersistence

@BeanReference(type=AssetTagPropertyPersistence.class)
protected AssetTagPropertyPersistence assetTagPropertyPersistence

assetTagStatsPersistence

@BeanReference(type=AssetTagStatsPersistence.class)
protected AssetTagStatsPersistence assetTagStatsPersistence

assetVocabularyPersistence

@BeanReference(type=AssetVocabularyPersistence.class)
protected AssetVocabularyPersistence assetVocabularyPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

containsAssetEntry

protected AssetCategoryPersistenceImpl.ContainsAssetEntry containsAssetEntry

addAssetEntry

protected AssetCategoryPersistenceImpl.AddAssetEntry addAssetEntry

clearAssetEntries

protected AssetCategoryPersistenceImpl.ClearAssetEntries clearAssetEntries

removeAssetEntry

protected AssetCategoryPersistenceImpl.RemoveAssetEntry removeAssetEntry

expandTreeLeftCategoryId

protected AssetCategoryPersistenceImpl.ExpandTreeLeftCategoryId expandTreeLeftCategoryId

expandTreeRightCategoryId

protected AssetCategoryPersistenceImpl.ExpandTreeRightCategoryId expandTreeRightCategoryId

shrinkTreeLeftCategoryId

protected AssetCategoryPersistenceImpl.ShrinkTreeLeftCategoryId shrinkTreeLeftCategoryId

shrinkTreeRightCategoryId

protected AssetCategoryPersistenceImpl.ShrinkTreeRightCategoryId shrinkTreeRightCategoryId

updateTree

protected AssetCategoryPersistenceImpl.UpdateTree updateTree
Constructor Detail

AssetCategoryPersistenceImpl

public AssetCategoryPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(AssetCategory assetCategory)
Specified by:
cacheResult in interface AssetCategoryPersistence

cacheResult

public void cacheResult(List<AssetCategory> assetCategories)
Specified by:
cacheResult in interface AssetCategoryPersistence

clearCache

public void clearCache()
Description copied from interface: BasePersistence
Clears the cache for all instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Caching information and settings can be found in portal.properties

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

clearCache

public void clearCache(AssetCategory assetCategory)
Description copied from interface: BasePersistence
Clears the cache for one instance of this model.

The EntityCache and FinderCache are both cleared by this method.

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

create

public AssetCategory create(long categoryId)
Specified by:
create in interface AssetCategoryPersistence

remove

public AssetCategory remove(Serializable primaryKey)
                     throws NoSuchModelException,
                            SystemException
Description copied from interface: BasePersistence
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<AssetCategory>
Overrides:
remove in class BasePersistenceImpl<AssetCategory>
Parameters:
primaryKey - the primary key of the model instance to remove
Returns:
the model instance that was removed
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if a system exception occurred

remove

public AssetCategory remove(long categoryId)
                     throws NoSuchCategoryException,
                            SystemException
Specified by:
remove in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

removeImpl

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

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

updateImpl

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

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

toUnwrappedModel

protected AssetCategory toUnwrappedModel(AssetCategory assetCategory)

findByPrimaryKey

public AssetCategory findByPrimaryKey(Serializable primaryKey)
                               throws NoSuchModelException,
                                      SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or throw an exception if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<AssetCategory>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<AssetCategory>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance
Throws:
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

findByPrimaryKey

public AssetCategory findByPrimaryKey(long categoryId)
                               throws NoSuchCategoryException,
                                      SystemException
Specified by:
findByPrimaryKey in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

fetchByPrimaryKey

public AssetCategory fetchByPrimaryKey(Serializable primaryKey)
                                throws SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or return null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<AssetCategory>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<AssetCategory>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance, or null if an instance of this model with the primary key does not exist
Throws:
SystemException - if the primary key is null, or if a system exception occurred

fetchByPrimaryKey

public AssetCategory fetchByPrimaryKey(long categoryId)
                                throws SystemException
Specified by:
fetchByPrimaryKey in interface AssetCategoryPersistence
Throws:
SystemException

findByUuid

public List<AssetCategory> findByUuid(String uuid)
                               throws SystemException
Specified by:
findByUuid in interface AssetCategoryPersistence
Throws:
SystemException

findByUuid

public List<AssetCategory> findByUuid(String uuid,
                                      int start,
                                      int end)
                               throws SystemException
Specified by:
findByUuid in interface AssetCategoryPersistence
Throws:
SystemException

findByUuid

public List<AssetCategory> findByUuid(String uuid,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Specified by:
findByUuid in interface AssetCategoryPersistence
Throws:
SystemException

findByUuid_First

public AssetCategory findByUuid_First(String uuid,
                                      OrderByComparator orderByComparator)
                               throws NoSuchCategoryException,
                                      SystemException
Specified by:
findByUuid_First in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

findByUuid_Last

public AssetCategory findByUuid_Last(String uuid,
                                     OrderByComparator orderByComparator)
                              throws NoSuchCategoryException,
                                     SystemException
Specified by:
findByUuid_Last in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

findByUuid_PrevAndNext

public AssetCategory[] findByUuid_PrevAndNext(long categoryId,
                                              String uuid,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchCategoryException,
                                              SystemException
Specified by:
findByUuid_PrevAndNext in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

getByUuid_PrevAndNext

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

findByUUID_G

public AssetCategory findByUUID_G(String uuid,
                                  long groupId)
                           throws NoSuchCategoryException,
                                  SystemException
Specified by:
findByUUID_G in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

fetchByUUID_G

public AssetCategory fetchByUUID_G(String uuid,
                                   long groupId)
                            throws SystemException
Specified by:
fetchByUUID_G in interface AssetCategoryPersistence
Throws:
SystemException

fetchByUUID_G

public AssetCategory fetchByUUID_G(String uuid,
                                   long groupId,
                                   boolean retrieveFromCache)
                            throws SystemException
Specified by:
fetchByUUID_G in interface AssetCategoryPersistence
Throws:
SystemException

findByGroupId

public List<AssetCategory> findByGroupId(long groupId)
                                  throws SystemException
Specified by:
findByGroupId in interface AssetCategoryPersistence
Throws:
SystemException

findByGroupId

public List<AssetCategory> findByGroupId(long groupId,
                                         int start,
                                         int end)
                                  throws SystemException
Specified by:
findByGroupId in interface AssetCategoryPersistence
Throws:
SystemException

findByGroupId

public List<AssetCategory> findByGroupId(long groupId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Specified by:
findByGroupId in interface AssetCategoryPersistence
Throws:
SystemException

findByGroupId_First

public AssetCategory findByGroupId_First(long groupId,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchCategoryException,
                                         SystemException
Specified by:
findByGroupId_First in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

findByGroupId_Last

public AssetCategory findByGroupId_Last(long groupId,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchCategoryException,
                                        SystemException
Specified by:
findByGroupId_Last in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

findByGroupId_PrevAndNext

public AssetCategory[] findByGroupId_PrevAndNext(long categoryId,
                                                 long groupId,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchCategoryException,
                                                 SystemException
Specified by:
findByGroupId_PrevAndNext in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

getByGroupId_PrevAndNext

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

filterFindByGroupId

public List<AssetCategory> filterFindByGroupId(long groupId)
                                        throws SystemException
Specified by:
filterFindByGroupId in interface AssetCategoryPersistence
Throws:
SystemException

filterFindByGroupId

public List<AssetCategory> filterFindByGroupId(long groupId,
                                               int start,
                                               int end)
                                        throws SystemException
Specified by:
filterFindByGroupId in interface AssetCategoryPersistence
Throws:
SystemException

filterFindByGroupId

public List<AssetCategory> filterFindByGroupId(long groupId,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Specified by:
filterFindByGroupId in interface AssetCategoryPersistence
Throws:
SystemException

findByParentCategoryId

public List<AssetCategory> findByParentCategoryId(long parentCategoryId)
                                           throws SystemException
Specified by:
findByParentCategoryId in interface AssetCategoryPersistence
Throws:
SystemException

findByParentCategoryId

public List<AssetCategory> findByParentCategoryId(long parentCategoryId,
                                                  int start,
                                                  int end)
                                           throws SystemException
Specified by:
findByParentCategoryId in interface AssetCategoryPersistence
Throws:
SystemException

findByParentCategoryId

public List<AssetCategory> findByParentCategoryId(long parentCategoryId,
                                                  int start,
                                                  int end,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
Specified by:
findByParentCategoryId in interface AssetCategoryPersistence
Throws:
SystemException

findByParentCategoryId_First

public AssetCategory findByParentCategoryId_First(long parentCategoryId,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchCategoryException,
                                                  SystemException
Specified by:
findByParentCategoryId_First in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

findByParentCategoryId_Last

public AssetCategory findByParentCategoryId_Last(long parentCategoryId,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchCategoryException,
                                                 SystemException
Specified by:
findByParentCategoryId_Last in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

findByParentCategoryId_PrevAndNext

public AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId,
                                                          long parentCategoryId,
                                                          OrderByComparator orderByComparator)
                                                   throws NoSuchCategoryException,
                                                          SystemException
Specified by:
findByParentCategoryId_PrevAndNext in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

getByParentCategoryId_PrevAndNext

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

findByVocabularyId

public List<AssetCategory> findByVocabularyId(long vocabularyId)
                                       throws SystemException
Specified by:
findByVocabularyId in interface AssetCategoryPersistence
Throws:
SystemException

findByVocabularyId

public List<AssetCategory> findByVocabularyId(long vocabularyId,
                                              int start,
                                              int end)
                                       throws SystemException
Specified by:
findByVocabularyId in interface AssetCategoryPersistence
Throws:
SystemException

findByVocabularyId

public List<AssetCategory> findByVocabularyId(long vocabularyId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Specified by:
findByVocabularyId in interface AssetCategoryPersistence
Throws:
SystemException

findByVocabularyId_First

public AssetCategory findByVocabularyId_First(long vocabularyId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchCategoryException,
                                              SystemException
Specified by:
findByVocabularyId_First in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

findByVocabularyId_Last

public AssetCategory findByVocabularyId_Last(long vocabularyId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchCategoryException,
                                             SystemException
Specified by:
findByVocabularyId_Last in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

findByVocabularyId_PrevAndNext

public AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId,
                                                      long vocabularyId,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchCategoryException,
                                                      SystemException
Specified by:
findByVocabularyId_PrevAndNext in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

getByVocabularyId_PrevAndNext

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

findByP_N

public List<AssetCategory> findByP_N(long parentCategoryId,
                                     String name)
                              throws SystemException
Specified by:
findByP_N in interface AssetCategoryPersistence
Throws:
SystemException

findByP_N

public List<AssetCategory> findByP_N(long parentCategoryId,
                                     String name,
                                     int start,
                                     int end)
                              throws SystemException
Specified by:
findByP_N in interface AssetCategoryPersistence
Throws:
SystemException

findByP_N

public List<AssetCategory> findByP_N(long parentCategoryId,
                                     String name,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Specified by:
findByP_N in interface AssetCategoryPersistence
Throws:
SystemException

findByP_N_First

public AssetCategory findByP_N_First(long parentCategoryId,
                                     String name,
                                     OrderByComparator orderByComparator)
                              throws NoSuchCategoryException,
                                     SystemException
Specified by:
findByP_N_First in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

findByP_N_Last

public AssetCategory findByP_N_Last(long parentCategoryId,
                                    String name,
                                    OrderByComparator orderByComparator)
                             throws NoSuchCategoryException,
                                    SystemException
Specified by:
findByP_N_Last in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

findByP_N_PrevAndNext

public AssetCategory[] findByP_N_PrevAndNext(long categoryId,
                                             long parentCategoryId,
                                             String name,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchCategoryException,
                                             SystemException
Specified by:
findByP_N_PrevAndNext in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

getByP_N_PrevAndNext

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

findByP_V

public List<AssetCategory> findByP_V(long parentCategoryId,
                                     long vocabularyId)
                              throws SystemException
Specified by:
findByP_V in interface AssetCategoryPersistence
Throws:
SystemException

findByP_V

public List<AssetCategory> findByP_V(long parentCategoryId,
                                     long vocabularyId,
                                     int start,
                                     int end)
                              throws SystemException
Specified by:
findByP_V in interface AssetCategoryPersistence
Throws:
SystemException

findByP_V

public List<AssetCategory> findByP_V(long parentCategoryId,
                                     long vocabularyId,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Specified by:
findByP_V in interface AssetCategoryPersistence
Throws:
SystemException

findByP_V_First

public AssetCategory findByP_V_First(long parentCategoryId,
                                     long vocabularyId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchCategoryException,
                                     SystemException
Specified by:
findByP_V_First in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

findByP_V_Last

public AssetCategory findByP_V_Last(long parentCategoryId,
                                    long vocabularyId,
                                    OrderByComparator orderByComparator)
                             throws NoSuchCategoryException,
                                    SystemException
Specified by:
findByP_V_Last in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

findByP_V_PrevAndNext

public AssetCategory[] findByP_V_PrevAndNext(long categoryId,
                                             long parentCategoryId,
                                             long vocabularyId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchCategoryException,
                                             SystemException
Specified by:
findByP_V_PrevAndNext in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

getByP_V_PrevAndNext

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

findByN_V

public List<AssetCategory> findByN_V(String name,
                                     long vocabularyId)
                              throws SystemException
Specified by:
findByN_V in interface AssetCategoryPersistence
Throws:
SystemException

findByN_V

public List<AssetCategory> findByN_V(String name,
                                     long vocabularyId,
                                     int start,
                                     int end)
                              throws SystemException
Specified by:
findByN_V in interface AssetCategoryPersistence
Throws:
SystemException

findByN_V

public List<AssetCategory> findByN_V(String name,
                                     long vocabularyId,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Specified by:
findByN_V in interface AssetCategoryPersistence
Throws:
SystemException

findByN_V_First

public AssetCategory findByN_V_First(String name,
                                     long vocabularyId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchCategoryException,
                                     SystemException
Specified by:
findByN_V_First in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

findByN_V_Last

public AssetCategory findByN_V_Last(String name,
                                    long vocabularyId,
                                    OrderByComparator orderByComparator)
                             throws NoSuchCategoryException,
                                    SystemException
Specified by:
findByN_V_Last in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

findByN_V_PrevAndNext

public AssetCategory[] findByN_V_PrevAndNext(long categoryId,
                                             String name,
                                             long vocabularyId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchCategoryException,
                                             SystemException
Specified by:
findByN_V_PrevAndNext in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

getByN_V_PrevAndNext

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

findByP_N_V

public AssetCategory findByP_N_V(long parentCategoryId,
                                 String name,
                                 long vocabularyId)
                          throws NoSuchCategoryException,
                                 SystemException
Specified by:
findByP_N_V in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

fetchByP_N_V

public AssetCategory fetchByP_N_V(long parentCategoryId,
                                  String name,
                                  long vocabularyId)
                           throws SystemException
Specified by:
fetchByP_N_V in interface AssetCategoryPersistence
Throws:
SystemException

fetchByP_N_V

public AssetCategory fetchByP_N_V(long parentCategoryId,
                                  String name,
                                  long vocabularyId,
                                  boolean retrieveFromCache)
                           throws SystemException
Specified by:
fetchByP_N_V in interface AssetCategoryPersistence
Throws:
SystemException

findAll

public List<AssetCategory> findAll()
                            throws SystemException
Specified by:
findAll in interface AssetCategoryPersistence
Throws:
SystemException

findAll

public List<AssetCategory> findAll(int start,
                                   int end)
                            throws SystemException
Specified by:
findAll in interface AssetCategoryPersistence
Throws:
SystemException

findAll

public List<AssetCategory> findAll(int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
findAll in interface AssetCategoryPersistence
Throws:
SystemException

removeByUuid

public void removeByUuid(String uuid)
                  throws SystemException
Specified by:
removeByUuid in interface AssetCategoryPersistence
Throws:
SystemException

removeByUUID_G

public void removeByUUID_G(String uuid,
                           long groupId)
                    throws NoSuchCategoryException,
                           SystemException
Specified by:
removeByUUID_G in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws SystemException
Specified by:
removeByGroupId in interface AssetCategoryPersistence
Throws:
SystemException

removeByParentCategoryId

public void removeByParentCategoryId(long parentCategoryId)
                              throws SystemException
Specified by:
removeByParentCategoryId in interface AssetCategoryPersistence
Throws:
SystemException

removeByVocabularyId

public void removeByVocabularyId(long vocabularyId)
                          throws SystemException
Specified by:
removeByVocabularyId in interface AssetCategoryPersistence
Throws:
SystemException

removeByP_N

public void removeByP_N(long parentCategoryId,
                        String name)
                 throws SystemException
Specified by:
removeByP_N in interface AssetCategoryPersistence
Throws:
SystemException

removeByP_V

public void removeByP_V(long parentCategoryId,
                        long vocabularyId)
                 throws SystemException
Specified by:
removeByP_V in interface AssetCategoryPersistence
Throws:
SystemException

removeByN_V

public void removeByN_V(String name,
                        long vocabularyId)
                 throws SystemException
Specified by:
removeByN_V in interface AssetCategoryPersistence
Throws:
SystemException

removeByP_N_V

public void removeByP_N_V(long parentCategoryId,
                          String name,
                          long vocabularyId)
                   throws NoSuchCategoryException,
                          SystemException
Specified by:
removeByP_N_V in interface AssetCategoryPersistence
Throws:
NoSuchCategoryException
SystemException

removeAll

public void removeAll()
               throws SystemException
Specified by:
removeAll in interface AssetCategoryPersistence
Throws:
SystemException

countByUuid

public int countByUuid(String uuid)
                throws SystemException
Specified by:
countByUuid in interface AssetCategoryPersistence
Throws:
SystemException

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
Specified by:
countByUUID_G in interface AssetCategoryPersistence
Throws:
SystemException

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Specified by:
countByGroupId in interface AssetCategoryPersistence
Throws:
SystemException

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws SystemException
Specified by:
filterCountByGroupId in interface AssetCategoryPersistence
Throws:
SystemException

countByParentCategoryId

public int countByParentCategoryId(long parentCategoryId)
                            throws SystemException
Specified by:
countByParentCategoryId in interface AssetCategoryPersistence
Throws:
SystemException

countByVocabularyId

public int countByVocabularyId(long vocabularyId)
                        throws SystemException
Specified by:
countByVocabularyId in interface AssetCategoryPersistence
Throws:
SystemException

countByP_N

public int countByP_N(long parentCategoryId,
                      String name)
               throws SystemException
Specified by:
countByP_N in interface AssetCategoryPersistence
Throws:
SystemException

countByP_V

public int countByP_V(long parentCategoryId,
                      long vocabularyId)
               throws SystemException
Specified by:
countByP_V in interface AssetCategoryPersistence
Throws:
SystemException

countByN_V

public int countByN_V(String name,
                      long vocabularyId)
               throws SystemException
Specified by:
countByN_V in interface AssetCategoryPersistence
Throws:
SystemException

countByP_N_V

public int countByP_N_V(long parentCategoryId,
                        String name,
                        long vocabularyId)
                 throws SystemException
Specified by:
countByP_N_V in interface AssetCategoryPersistence
Throws:
SystemException

countAll

public int countAll()
             throws SystemException
Specified by:
countAll in interface AssetCategoryPersistence
Throws:
SystemException

getAssetEntries

public List<AssetEntry> getAssetEntries(long pk)
                                 throws SystemException
Specified by:
getAssetEntries in interface AssetCategoryPersistence
Throws:
SystemException

getAssetEntries

public List<AssetEntry> getAssetEntries(long pk,
                                        int start,
                                        int end)
                                 throws SystemException
Specified by:
getAssetEntries in interface AssetCategoryPersistence
Throws:
SystemException

getAssetEntries

public List<AssetEntry> getAssetEntries(long pk,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Specified by:
getAssetEntries in interface AssetCategoryPersistence
Throws:
SystemException

getAssetEntriesSize

public int getAssetEntriesSize(long pk)
                        throws SystemException
Specified by:
getAssetEntriesSize in interface AssetCategoryPersistence
Throws:
SystemException

containsAssetEntry

public boolean containsAssetEntry(long pk,
                                  long assetEntryPK)
                           throws SystemException
Specified by:
containsAssetEntry in interface AssetCategoryPersistence
Throws:
SystemException

containsAssetEntries

public boolean containsAssetEntries(long pk)
                             throws SystemException
Specified by:
containsAssetEntries in interface AssetCategoryPersistence
Throws:
SystemException

addAssetEntry

public void addAssetEntry(long pk,
                          long assetEntryPK)
                   throws SystemException
Specified by:
addAssetEntry in interface AssetCategoryPersistence
Throws:
SystemException

addAssetEntry

public void addAssetEntry(long pk,
                          AssetEntry assetEntry)
                   throws SystemException
Specified by:
addAssetEntry in interface AssetCategoryPersistence
Throws:
SystemException

addAssetEntries

public void addAssetEntries(long pk,
                            long[] assetEntryPKs)
                     throws SystemException
Specified by:
addAssetEntries in interface AssetCategoryPersistence
Throws:
SystemException

addAssetEntries

public void addAssetEntries(long pk,
                            List<AssetEntry> assetEntries)
                     throws SystemException
Specified by:
addAssetEntries in interface AssetCategoryPersistence
Throws:
SystemException

clearAssetEntries

public void clearAssetEntries(long pk)
                       throws SystemException
Specified by:
clearAssetEntries in interface AssetCategoryPersistence
Throws:
SystemException

removeAssetEntry

public void removeAssetEntry(long pk,
                             long assetEntryPK)
                      throws SystemException
Specified by:
removeAssetEntry in interface AssetCategoryPersistence
Throws:
SystemException

removeAssetEntry

public void removeAssetEntry(long pk,
                             AssetEntry assetEntry)
                      throws SystemException
Specified by:
removeAssetEntry in interface AssetCategoryPersistence
Throws:
SystemException

removeAssetEntries

public void removeAssetEntries(long pk,
                               long[] assetEntryPKs)
                        throws SystemException
Specified by:
removeAssetEntries in interface AssetCategoryPersistence
Throws:
SystemException

removeAssetEntries

public void removeAssetEntries(long pk,
                               List<AssetEntry> assetEntries)
                        throws SystemException
Specified by:
removeAssetEntries in interface AssetCategoryPersistence
Throws:
SystemException

setAssetEntries

public void setAssetEntries(long pk,
                            long[] assetEntryPKs)
                     throws SystemException
Specified by:
setAssetEntries in interface AssetCategoryPersistence
Throws:
SystemException

setAssetEntries

public void setAssetEntries(long pk,
                            List<AssetEntry> assetEntries)
                     throws SystemException
Specified by:
setAssetEntries in interface AssetCategoryPersistence
Throws:
SystemException

rebuildTree

public void rebuildTree(long groupId,
                        boolean force)
                 throws SystemException
Specified by:
rebuildTree in interface AssetCategoryPersistence
Throws:
SystemException

countOrphanTreeNodes

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

expandTree

protected void expandTree(AssetCategory assetCategory)
                   throws SystemException
Throws:
SystemException

getLastRightCategoryId

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

rebuildTree

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

shrinkTree

protected void shrinkTree(AssetCategory assetCategory)

afterPropertiesSet

public void afterPropertiesSet()

Liferay 6.0.3