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

java.lang.Object
  extended by com.liferay.portlet.asset.service.persistence.AssetCategoryUtil

public class AssetCategoryUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
AssetCategoryPersistence, AssetCategoryPersistenceImpl
Generated:

Constructor Summary
AssetCategoryUtil()
           
 
Method Summary
static void addAssetEntries(long pk, java.util.List<AssetEntry> assetEntries)
           
static void addAssetEntries(long pk, long[] assetEntryPKs)
           
static void addAssetEntry(long pk, AssetEntry assetEntry)
           
static void addAssetEntry(long pk, long assetEntryPK)
           
static void cacheResult(AssetCategory assetCategory)
           
static void cacheResult(java.util.List<AssetCategory> assetCategories)
           
static void clearAssetEntries(long pk)
           
static void clearCache()
           
static boolean containsAssetEntries(long pk)
           
static boolean containsAssetEntry(long pk, long assetEntryPK)
           
static int countAll()
           
static int countByN_V(java.lang.String name, long vocabularyId)
           
static int countByP_N(long parentCategoryId, java.lang.String name)
           
static int countByP_V(long parentCategoryId, long vocabularyId)
           
static int countByParentCategoryId(long parentCategoryId)
           
static int countByUUID_G(java.lang.String uuid, long groupId)
           
static int countByUuid(java.lang.String uuid)
           
static int countByVocabularyId(long vocabularyId)
           
static AssetCategory create(long categoryId)
           
static AssetCategory fetchByPrimaryKey(long categoryId)
           
static AssetCategory fetchByUUID_G(java.lang.String uuid, long groupId)
           
static AssetCategory fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
static java.util.List<AssetCategory> findAll()
           
static java.util.List<AssetCategory> findAll(int start, int end)
           
static java.util.List<AssetCategory> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory findByN_V_First(java.lang.String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory findByN_V_Last(java.lang.String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory[] findByN_V_PrevAndNext(long categoryId, java.lang.String name, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<AssetCategory> findByN_V(java.lang.String name, long vocabularyId)
           
static java.util.List<AssetCategory> findByN_V(java.lang.String name, long vocabularyId, int start, int end)
           
static java.util.List<AssetCategory> findByN_V(java.lang.String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory findByP_N_First(long parentCategoryId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory findByP_N_Last(long parentCategoryId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory[] findByP_N_PrevAndNext(long categoryId, long parentCategoryId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<AssetCategory> findByP_N(long parentCategoryId, java.lang.String name)
           
static java.util.List<AssetCategory> findByP_N(long parentCategoryId, java.lang.String name, int start, int end)
           
static java.util.List<AssetCategory> findByP_N(long parentCategoryId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory findByP_V_First(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory findByP_V_Last(long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory[] findByP_V_PrevAndNext(long categoryId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId)
           
static java.util.List<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end)
           
static java.util.List<AssetCategory> findByP_V(long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory findByParentCategoryId_First(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory findByParentCategoryId_Last(long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<AssetCategory> findByParentCategoryId(long parentCategoryId)
           
static java.util.List<AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end)
           
static java.util.List<AssetCategory> findByParentCategoryId(long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory findByPrimaryKey(long categoryId)
           
static AssetCategory findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory findByUUID_G(java.lang.String uuid, long groupId)
           
static AssetCategory findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory[] findByUuid_PrevAndNext(long categoryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<AssetCategory> findByUuid(java.lang.String uuid)
           
static java.util.List<AssetCategory> findByUuid(java.lang.String uuid, int start, int end)
           
static java.util.List<AssetCategory> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory findByVocabularyId_First(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory findByVocabularyId_Last(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<AssetCategory> findByVocabularyId(long vocabularyId)
           
static java.util.List<AssetCategory> findByVocabularyId(long vocabularyId, int start, int end)
           
static java.util.List<AssetCategory> findByVocabularyId(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static java.util.List<AssetEntry> getAssetEntries(long pk)
           
static java.util.List<AssetEntry> getAssetEntries(long pk, int start, int end)
           
static java.util.List<AssetEntry> getAssetEntries(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static int getAssetEntriesSize(long pk)
           
static AssetCategoryPersistence getPersistence()
           
static void rebuildTree(long groupId, boolean force)
           
static AssetCategory remove(AssetCategory assetCategory)
           
static AssetCategory remove(long categoryId)
           
static void removeAll()
           
static void removeAssetEntries(long pk, java.util.List<AssetEntry> assetEntries)
           
static void removeAssetEntries(long pk, long[] assetEntryPKs)
           
static void removeAssetEntry(long pk, AssetEntry assetEntry)
           
static void removeAssetEntry(long pk, long assetEntryPK)
           
static void removeByN_V(java.lang.String name, long vocabularyId)
           
static void removeByP_N(long parentCategoryId, java.lang.String name)
           
static void removeByP_V(long parentCategoryId, long vocabularyId)
           
static void removeByParentCategoryId(long parentCategoryId)
           
static void removeByUUID_G(java.lang.String uuid, long groupId)
           
static void removeByUuid(java.lang.String uuid)
           
static void removeByVocabularyId(long vocabularyId)
           
static void setAssetEntries(long pk, java.util.List<AssetEntry> assetEntries)
           
static void setAssetEntries(long pk, long[] assetEntryPKs)
           
 void setPersistence(AssetCategoryPersistence persistence)
           
static AssetCategory update(AssetCategory assetCategory, boolean merge)
           
static AssetCategory updateImpl(AssetCategory assetCategory, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetCategoryUtil

public AssetCategoryUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static AssetCategory remove(AssetCategory assetCategory)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static AssetCategory update(AssetCategory assetCategory,
                                   boolean merge)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(AssetCategory assetCategory)

cacheResult

public static void cacheResult(java.util.List<AssetCategory> assetCategories)

create

public static AssetCategory create(long categoryId)

remove

public static AssetCategory remove(long categoryId)
                            throws com.liferay.portal.kernel.exception.SystemException,
                                   NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

updateImpl

public static AssetCategory updateImpl(AssetCategory assetCategory,
                                       boolean merge)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

public static AssetCategory findByPrimaryKey(long categoryId)
                                      throws com.liferay.portal.kernel.exception.SystemException,
                                             NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

fetchByPrimaryKey

public static AssetCategory fetchByPrimaryKey(long categoryId)
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

public static java.util.List<AssetCategory> findByUuid(java.lang.String uuid)
                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

public static java.util.List<AssetCategory> findByUuid(java.lang.String uuid,
                                                       int start,
                                                       int end)
                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

public static java.util.List<AssetCategory> findByUuid(java.lang.String uuid,
                                                       int start,
                                                       int end,
                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid_First

public static AssetCategory findByUuid_First(java.lang.String uuid,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.kernel.exception.SystemException,
                                             NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByUuid_Last

public static AssetCategory findByUuid_Last(java.lang.String uuid,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.kernel.exception.SystemException,
                                            NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByUuid_PrevAndNext

public static AssetCategory[] findByUuid_PrevAndNext(long categoryId,
                                                     java.lang.String uuid,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.kernel.exception.SystemException,
                                                     NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByUUID_G

public static AssetCategory findByUUID_G(java.lang.String uuid,
                                         long groupId)
                                  throws com.liferay.portal.kernel.exception.SystemException,
                                         NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

fetchByUUID_G

public static AssetCategory fetchByUUID_G(java.lang.String uuid,
                                          long groupId)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByUUID_G

public static AssetCategory fetchByUUID_G(java.lang.String uuid,
                                          long groupId,
                                          boolean retrieveFromCache)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByParentCategoryId

public static java.util.List<AssetCategory> findByParentCategoryId(long parentCategoryId)
                                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByParentCategoryId

public static java.util.List<AssetCategory> findByParentCategoryId(long parentCategoryId,
                                                                   int start,
                                                                   int end)
                                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByParentCategoryId

public static java.util.List<AssetCategory> findByParentCategoryId(long parentCategoryId,
                                                                   int start,
                                                                   int end,
                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByParentCategoryId_First

public static AssetCategory findByParentCategoryId_First(long parentCategoryId,
                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                  throws com.liferay.portal.kernel.exception.SystemException,
                                                         NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByParentCategoryId_Last

public static AssetCategory findByParentCategoryId_Last(long parentCategoryId,
                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                 throws com.liferay.portal.kernel.exception.SystemException,
                                                        NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByParentCategoryId_PrevAndNext

public static AssetCategory[] findByParentCategoryId_PrevAndNext(long categoryId,
                                                                 long parentCategoryId,
                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                          throws com.liferay.portal.kernel.exception.SystemException,
                                                                 NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByVocabularyId

public static java.util.List<AssetCategory> findByVocabularyId(long vocabularyId)
                                                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByVocabularyId

public static java.util.List<AssetCategory> findByVocabularyId(long vocabularyId,
                                                               int start,
                                                               int end)
                                                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByVocabularyId

public static java.util.List<AssetCategory> findByVocabularyId(long vocabularyId,
                                                               int start,
                                                               int end,
                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByVocabularyId_First

public static AssetCategory findByVocabularyId_First(long vocabularyId,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.kernel.exception.SystemException,
                                                     NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByVocabularyId_Last

public static AssetCategory findByVocabularyId_Last(long vocabularyId,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.kernel.exception.SystemException,
                                                    NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByVocabularyId_PrevAndNext

public static AssetCategory[] findByVocabularyId_PrevAndNext(long categoryId,
                                                             long vocabularyId,
                                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                                      throws com.liferay.portal.kernel.exception.SystemException,
                                                             NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByP_N

public static java.util.List<AssetCategory> findByP_N(long parentCategoryId,
                                                      java.lang.String name)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByP_N

public static java.util.List<AssetCategory> findByP_N(long parentCategoryId,
                                                      java.lang.String name,
                                                      int start,
                                                      int end)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByP_N

public static java.util.List<AssetCategory> findByP_N(long parentCategoryId,
                                                      java.lang.String name,
                                                      int start,
                                                      int end,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByP_N_First

public static AssetCategory findByP_N_First(long parentCategoryId,
                                            java.lang.String name,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.kernel.exception.SystemException,
                                            NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByP_N_Last

public static AssetCategory findByP_N_Last(long parentCategoryId,
                                           java.lang.String name,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.kernel.exception.SystemException,
                                           NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByP_N_PrevAndNext

public static AssetCategory[] findByP_N_PrevAndNext(long categoryId,
                                                    long parentCategoryId,
                                                    java.lang.String name,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.kernel.exception.SystemException,
                                                    NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByP_V

public static java.util.List<AssetCategory> findByP_V(long parentCategoryId,
                                                      long vocabularyId)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByP_V

public static java.util.List<AssetCategory> findByP_V(long parentCategoryId,
                                                      long vocabularyId,
                                                      int start,
                                                      int end)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByP_V

public static java.util.List<AssetCategory> findByP_V(long parentCategoryId,
                                                      long vocabularyId,
                                                      int start,
                                                      int end,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByP_V_First

public static AssetCategory findByP_V_First(long parentCategoryId,
                                            long vocabularyId,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.kernel.exception.SystemException,
                                            NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByP_V_Last

public static AssetCategory findByP_V_Last(long parentCategoryId,
                                           long vocabularyId,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.kernel.exception.SystemException,
                                           NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByP_V_PrevAndNext

public static AssetCategory[] findByP_V_PrevAndNext(long categoryId,
                                                    long parentCategoryId,
                                                    long vocabularyId,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.kernel.exception.SystemException,
                                                    NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByN_V

public static java.util.List<AssetCategory> findByN_V(java.lang.String name,
                                                      long vocabularyId)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByN_V

public static java.util.List<AssetCategory> findByN_V(java.lang.String name,
                                                      long vocabularyId,
                                                      int start,
                                                      int end)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByN_V

public static java.util.List<AssetCategory> findByN_V(java.lang.String name,
                                                      long vocabularyId,
                                                      int start,
                                                      int end,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByN_V_First

public static AssetCategory findByN_V_First(java.lang.String name,
                                            long vocabularyId,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.kernel.exception.SystemException,
                                            NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByN_V_Last

public static AssetCategory findByN_V_Last(java.lang.String name,
                                           long vocabularyId,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.kernel.exception.SystemException,
                                           NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByN_V_PrevAndNext

public static AssetCategory[] findByN_V_PrevAndNext(long categoryId,
                                                    java.lang.String name,
                                                    long vocabularyId,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.kernel.exception.SystemException,
                                                    NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findAll

public static java.util.List<AssetCategory> findAll()
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

public static java.util.List<AssetCategory> findAll(int start,
                                                    int end)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

public static java.util.List<AssetCategory> findAll(int start,
                                                    int end,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByUuid

public static void removeByUuid(java.lang.String uuid)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByUUID_G

public static void removeByUUID_G(java.lang.String uuid,
                                  long groupId)
                           throws com.liferay.portal.kernel.exception.SystemException,
                                  NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

removeByParentCategoryId

public static void removeByParentCategoryId(long parentCategoryId)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByVocabularyId

public static void removeByVocabularyId(long vocabularyId)
                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByP_N

public static void removeByP_N(long parentCategoryId,
                               java.lang.String name)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByP_V

public static void removeByP_V(long parentCategoryId,
                               long vocabularyId)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByN_V

public static void removeByN_V(java.lang.String name,
                               long vocabularyId)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAll

public static void removeAll()
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByUuid

public static int countByUuid(java.lang.String uuid)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByUUID_G

public static int countByUUID_G(java.lang.String uuid,
                                long groupId)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByParentCategoryId

public static int countByParentCategoryId(long parentCategoryId)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByVocabularyId

public static int countByVocabularyId(long vocabularyId)
                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByP_N

public static int countByP_N(long parentCategoryId,
                             java.lang.String name)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByP_V

public static int countByP_V(long parentCategoryId,
                             long vocabularyId)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByN_V

public static int countByN_V(java.lang.String name,
                             long vocabularyId)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

public static int countAll()
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetEntries

public static java.util.List<AssetEntry> getAssetEntries(long pk)
                                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetEntries

public static java.util.List<AssetEntry> getAssetEntries(long pk,
                                                         int start,
                                                         int end)
                                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetEntries

public static java.util.List<AssetEntry> getAssetEntries(long pk,
                                                         int start,
                                                         int end,
                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetEntriesSize

public static int getAssetEntriesSize(long pk)
                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

containsAssetEntry

public static boolean containsAssetEntry(long pk,
                                         long assetEntryPK)
                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

containsAssetEntries

public static boolean containsAssetEntries(long pk)
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetEntry

public static void addAssetEntry(long pk,
                                 long assetEntryPK)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetEntry

public static void addAssetEntry(long pk,
                                 AssetEntry assetEntry)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetEntries

public static void addAssetEntries(long pk,
                                   long[] assetEntryPKs)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetEntries

public static void addAssetEntries(long pk,
                                   java.util.List<AssetEntry> assetEntries)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

clearAssetEntries

public static void clearAssetEntries(long pk)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetEntry

public static void removeAssetEntry(long pk,
                                    long assetEntryPK)
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetEntry

public static void removeAssetEntry(long pk,
                                    AssetEntry assetEntry)
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetEntries

public static void removeAssetEntries(long pk,
                                      long[] assetEntryPKs)
                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetEntries

public static void removeAssetEntries(long pk,
                                      java.util.List<AssetEntry> assetEntries)
                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

setAssetEntries

public static void setAssetEntries(long pk,
                                   long[] assetEntryPKs)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

setAssetEntries

public static void setAssetEntries(long pk,
                                   java.util.List<AssetEntry> assetEntries)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

rebuildTree

public static void rebuildTree(long groupId,
                               boolean force)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getPersistence

public static AssetCategoryPersistence getPersistence()

setPersistence

public void setPersistence(AssetCategoryPersistence persistence)