Liferay 6.0.3

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

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

public class AssetEntryPersistenceImpl
extends BasePersistenceImpl<AssetEntry>
implements AssetEntryPersistence

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

Nested Class Summary
protected  class AssetEntryPersistenceImpl.AddAssetCategory
           
protected  class AssetEntryPersistenceImpl.AddAssetTag
           
protected  class AssetEntryPersistenceImpl.ClearAssetCategories
           
protected  class AssetEntryPersistenceImpl.ClearAssetTags
           
protected  class AssetEntryPersistenceImpl.ContainsAssetCategory
           
protected  class AssetEntryPersistenceImpl.ContainsAssetTag
           
protected  class AssetEntryPersistenceImpl.RemoveAssetCategory
           
protected  class AssetEntryPersistenceImpl.RemoveAssetTag
           
 
Field Summary
protected  AssetEntryPersistenceImpl.AddAssetCategory addAssetCategory
           
protected  AssetEntryPersistenceImpl.AddAssetTag addAssetTag
           
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  BlogsEntryPersistence blogsEntryPersistence
           
protected  BookmarksEntryPersistence bookmarksEntryPersistence
           
protected  AssetEntryPersistenceImpl.ClearAssetCategories clearAssetCategories
           
protected  AssetEntryPersistenceImpl.ClearAssetTags clearAssetTags
           
protected  CompanyPersistence companyPersistence
           
protected  AssetEntryPersistenceImpl.ContainsAssetCategory containsAssetCategory
           
protected  AssetEntryPersistenceImpl.ContainsAssetTag containsAssetTag
           
protected  DLFileEntryPersistence dlFileEntryPersistence
           
protected  DLFolderPersistence dlFolderPersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_CONTAINS_ASSETCATEGORY
           
static FinderPath FINDER_PATH_CONTAINS_ASSETTAG
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_C_C
           
static FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static FinderPath FINDER_PATH_COUNT_BY_G_CU
           
static FinderPath FINDER_PATH_FETCH_BY_C_C
           
static FinderPath FINDER_PATH_FETCH_BY_G_CU
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_GET_ASSETCATEGORIES
           
static FinderPath FINDER_PATH_GET_ASSETCATEGORIES_SIZE
           
static FinderPath FINDER_PATH_GET_ASSETTAGS
           
static FinderPath FINDER_PATH_GET_ASSETTAGS_SIZE
           
protected  GroupPersistence groupPersistence
           
protected  JournalArticlePersistence journalArticlePersistence
           
protected  JournalArticleResourcePersistence journalArticleResourcePersistence
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  AssetEntryPersistenceImpl.RemoveAssetCategory removeAssetCategory
           
protected  AssetEntryPersistenceImpl.RemoveAssetTag removeAssetTag
           
protected  ResourcePersistence resourcePersistence
           
protected  SocialEquityLogPersistence socialEquityLogPersistence
           
protected  UserPersistence userPersistence
           
protected  WikiPagePersistence wikiPagePersistence
           
protected  WikiPageResourcePersistence wikiPageResourcePersistence
           
 
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
AssetEntryPersistenceImpl()
           
 
Method Summary
 void addAssetCategories(long pk, List<AssetCategory> assetCategories)
           
 void addAssetCategories(long pk, long[] assetCategoryPKs)
           
 void addAssetCategory(long pk, AssetCategory assetCategory)
           
 void addAssetCategory(long pk, long assetCategoryPK)
           
 void addAssetTag(long pk, AssetTag assetTag)
           
 void addAssetTag(long pk, long assetTagPK)
           
 void addAssetTags(long pk, List<AssetTag> assetTags)
           
 void addAssetTags(long pk, long[] assetTagPKs)
           
 void afterPropertiesSet()
           
 void cacheResult(AssetEntry assetEntry)
           
 void cacheResult(List<AssetEntry> assetEntries)
           
 void clearAssetCategories(long pk)
           
 void clearAssetTags(long pk)
           
 void clearCache()
          Clears the cache for all instances of this model.
 void clearCache(AssetEntry assetEntry)
          Clears the cache for one instance of this model.
 boolean containsAssetCategories(long pk)
           
 boolean containsAssetCategory(long pk, long assetCategoryPK)
           
 boolean containsAssetTag(long pk, long assetTagPK)
           
 boolean containsAssetTags(long pk)
           
 int countAll()
           
 int countByC_C(long classNameId, long classPK)
           
 int countByCompanyId(long companyId)
           
 int countByG_CU(long groupId, String classUuid)
           
 AssetEntry create(long entryId)
           
 AssetEntry fetchByC_C(long classNameId, long classPK)
           
 AssetEntry fetchByC_C(long classNameId, long classPK, boolean retrieveFromCache)
           
 AssetEntry fetchByG_CU(long groupId, String classUuid)
           
 AssetEntry fetchByG_CU(long groupId, String classUuid, boolean retrieveFromCache)
           
 AssetEntry fetchByPrimaryKey(long entryId)
           
 AssetEntry fetchByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or return null if it could not be found.
 List<AssetEntry> findAll()
           
 List<AssetEntry> findAll(int start, int end)
           
 List<AssetEntry> findAll(int start, int end, OrderByComparator orderByComparator)
           
 AssetEntry findByC_C(long classNameId, long classPK)
           
 AssetEntry findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 AssetEntry findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 AssetEntry[] findByCompanyId_PrevAndNext(long entryId, long companyId, OrderByComparator orderByComparator)
           
 List<AssetEntry> findByCompanyId(long companyId)
           
 List<AssetEntry> findByCompanyId(long companyId, int start, int end)
           
 List<AssetEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 AssetEntry findByG_CU(long groupId, String classUuid)
           
 AssetEntry findByPrimaryKey(long entryId)
           
 AssetEntry findByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or throw an exception if it could not be found.
 List<AssetCategory> getAssetCategories(long pk)
           
 List<AssetCategory> getAssetCategories(long pk, int start, int end)
           
 List<AssetCategory> getAssetCategories(long pk, int start, int end, OrderByComparator orderByComparator)
           
 int getAssetCategoriesSize(long pk)
           
 List<AssetTag> getAssetTags(long pk)
           
 List<AssetTag> getAssetTags(long pk, int start, int end)
           
 List<AssetTag> getAssetTags(long pk, int start, int end, OrderByComparator orderByComparator)
           
 int getAssetTagsSize(long pk)
           
protected  AssetEntry getByCompanyId_PrevAndNext(Session session, AssetEntry assetEntry, long companyId, OrderByComparator orderByComparator, boolean previous)
           
 AssetEntry remove(long entryId)
           
 AssetEntry remove(Serializable primaryKey)
          Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.
 void removeAll()
           
 void removeAssetCategories(long pk, List<AssetCategory> assetCategories)
           
 void removeAssetCategories(long pk, long[] assetCategoryPKs)
           
 void removeAssetCategory(long pk, AssetCategory assetCategory)
           
 void removeAssetCategory(long pk, long assetCategoryPK)
           
 void removeAssetTag(long pk, AssetTag assetTag)
           
 void removeAssetTag(long pk, long assetTagPK)
           
 void removeAssetTags(long pk, List<AssetTag> assetTags)
           
 void removeAssetTags(long pk, long[] assetTagPKs)
           
 void removeByC_C(long classNameId, long classPK)
           
 void removeByCompanyId(long companyId)
           
 void removeByG_CU(long groupId, String classUuid)
           
protected  AssetEntry removeImpl(AssetEntry assetEntry)
          Removes the model instance from the database.
 void setAssetCategories(long pk, List<AssetCategory> assetCategories)
           
 void setAssetCategories(long pk, long[] assetCategoryPKs)
           
 void setAssetTags(long pk, List<AssetTag> assetTags)
           
 void setAssetTags(long pk, long[] assetTagPKs)
           
protected  AssetEntry toUnwrappedModel(AssetEntry assetEntry)
           
 AssetEntry updateImpl(AssetEntry assetEntry, 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_COMPANYID

public static final FinderPath FINDER_PATH_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_FETCH_BY_G_CU

public static final FinderPath FINDER_PATH_FETCH_BY_G_CU

FINDER_PATH_COUNT_BY_G_CU

public static final FinderPath FINDER_PATH_COUNT_BY_G_CU

FINDER_PATH_FETCH_BY_C_C

public static final FinderPath FINDER_PATH_FETCH_BY_C_C

FINDER_PATH_COUNT_BY_C_C

public static final FinderPath FINDER_PATH_COUNT_BY_C_C

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_ASSETCATEGORIES

public static final FinderPath FINDER_PATH_GET_ASSETCATEGORIES

FINDER_PATH_GET_ASSETCATEGORIES_SIZE

public static final FinderPath FINDER_PATH_GET_ASSETCATEGORIES_SIZE

FINDER_PATH_CONTAINS_ASSETCATEGORY

public static final FinderPath FINDER_PATH_CONTAINS_ASSETCATEGORY

FINDER_PATH_GET_ASSETTAGS

public static final FinderPath FINDER_PATH_GET_ASSETTAGS

FINDER_PATH_GET_ASSETTAGS_SIZE

public static final FinderPath FINDER_PATH_GET_ASSETTAGS_SIZE

FINDER_PATH_CONTAINS_ASSETTAG

public static final FinderPath FINDER_PATH_CONTAINS_ASSETTAG

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

companyPersistence

@BeanReference(type=CompanyPersistence.class)
protected CompanyPersistence companyPersistence

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

resourcePersistence

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

userPersistence

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

blogsEntryPersistence

@BeanReference(type=BlogsEntryPersistence.class)
protected BlogsEntryPersistence blogsEntryPersistence

bookmarksEntryPersistence

@BeanReference(type=BookmarksEntryPersistence.class)
protected BookmarksEntryPersistence bookmarksEntryPersistence

dlFileEntryPersistence

@BeanReference(type=DLFileEntryPersistence.class)
protected DLFileEntryPersistence dlFileEntryPersistence

dlFolderPersistence

@BeanReference(type=DLFolderPersistence.class)
protected DLFolderPersistence dlFolderPersistence

journalArticlePersistence

@BeanReference(type=JournalArticlePersistence.class)
protected JournalArticlePersistence journalArticlePersistence

journalArticleResourcePersistence

@BeanReference(type=JournalArticleResourcePersistence.class)
protected JournalArticleResourcePersistence journalArticleResourcePersistence

mbMessagePersistence

@BeanReference(type=MBMessagePersistence.class)
protected MBMessagePersistence mbMessagePersistence

socialEquityLogPersistence

@BeanReference(type=SocialEquityLogPersistence.class)
protected SocialEquityLogPersistence socialEquityLogPersistence

wikiPagePersistence

@BeanReference(type=WikiPagePersistence.class)
protected WikiPagePersistence wikiPagePersistence

wikiPageResourcePersistence

@BeanReference(type=WikiPageResourcePersistence.class)
protected WikiPageResourcePersistence wikiPageResourcePersistence

containsAssetCategory

protected AssetEntryPersistenceImpl.ContainsAssetCategory containsAssetCategory

addAssetCategory

protected AssetEntryPersistenceImpl.AddAssetCategory addAssetCategory

clearAssetCategories

protected AssetEntryPersistenceImpl.ClearAssetCategories clearAssetCategories

removeAssetCategory

protected AssetEntryPersistenceImpl.RemoveAssetCategory removeAssetCategory

containsAssetTag

protected AssetEntryPersistenceImpl.ContainsAssetTag containsAssetTag

addAssetTag

protected AssetEntryPersistenceImpl.AddAssetTag addAssetTag

clearAssetTags

protected AssetEntryPersistenceImpl.ClearAssetTags clearAssetTags

removeAssetTag

protected AssetEntryPersistenceImpl.RemoveAssetTag removeAssetTag
Constructor Detail

AssetEntryPersistenceImpl

public AssetEntryPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(AssetEntry assetEntry)
Specified by:
cacheResult in interface AssetEntryPersistence

cacheResult

public void cacheResult(List<AssetEntry> assetEntries)
Specified by:
cacheResult in interface AssetEntryPersistence

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<AssetEntry>
Overrides:
clearCache in class BasePersistenceImpl<AssetEntry>

clearCache

public void clearCache(AssetEntry assetEntry)
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<AssetEntry>
Overrides:
clearCache in class BasePersistenceImpl<AssetEntry>
Parameters:
assetEntry - the instance of this model to clear the cache for

create

public AssetEntry create(long entryId)
Specified by:
create in interface AssetEntryPersistence

remove

public AssetEntry 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<AssetEntry>
Overrides:
remove in class BasePersistenceImpl<AssetEntry>
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 AssetEntry remove(long entryId)
                  throws NoSuchEntryException,
                         SystemException
Specified by:
remove in interface AssetEntryPersistence
Throws:
NoSuchEntryException
SystemException

removeImpl

protected AssetEntry removeImpl(AssetEntry assetEntry)
                         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<AssetEntry>
Parameters:
assetEntry - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public AssetEntry updateImpl(AssetEntry assetEntry,
                             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 AssetEntryPersistence
Overrides:
updateImpl in class BasePersistenceImpl<AssetEntry>
Parameters:
assetEntry - 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 AssetEntry toUnwrappedModel(AssetEntry assetEntry)

findByPrimaryKey

public AssetEntry 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<AssetEntry>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<AssetEntry>
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 AssetEntry findByPrimaryKey(long entryId)
                            throws NoSuchEntryException,
                                   SystemException
Specified by:
findByPrimaryKey in interface AssetEntryPersistence
Throws:
NoSuchEntryException
SystemException

fetchByPrimaryKey

public AssetEntry 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<AssetEntry>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<AssetEntry>
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 AssetEntry fetchByPrimaryKey(long entryId)
                             throws SystemException
Specified by:
fetchByPrimaryKey in interface AssetEntryPersistence
Throws:
SystemException

findByCompanyId

public List<AssetEntry> findByCompanyId(long companyId)
                                 throws SystemException
Specified by:
findByCompanyId in interface AssetEntryPersistence
Throws:
SystemException

findByCompanyId

public List<AssetEntry> findByCompanyId(long companyId,
                                        int start,
                                        int end)
                                 throws SystemException
Specified by:
findByCompanyId in interface AssetEntryPersistence
Throws:
SystemException

findByCompanyId

public List<AssetEntry> findByCompanyId(long companyId,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Specified by:
findByCompanyId in interface AssetEntryPersistence
Throws:
SystemException

findByCompanyId_First

public AssetEntry findByCompanyId_First(long companyId,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchEntryException,
                                        SystemException
Specified by:
findByCompanyId_First in interface AssetEntryPersistence
Throws:
NoSuchEntryException
SystemException

findByCompanyId_Last

public AssetEntry findByCompanyId_Last(long companyId,
                                       OrderByComparator orderByComparator)
                                throws NoSuchEntryException,
                                       SystemException
Specified by:
findByCompanyId_Last in interface AssetEntryPersistence
Throws:
NoSuchEntryException
SystemException

findByCompanyId_PrevAndNext

public AssetEntry[] findByCompanyId_PrevAndNext(long entryId,
                                                long companyId,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchEntryException,
                                                SystemException
Specified by:
findByCompanyId_PrevAndNext in interface AssetEntryPersistence
Throws:
NoSuchEntryException
SystemException

getByCompanyId_PrevAndNext

protected AssetEntry getByCompanyId_PrevAndNext(Session session,
                                                AssetEntry assetEntry,
                                                long companyId,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

findByG_CU

public AssetEntry findByG_CU(long groupId,
                             String classUuid)
                      throws NoSuchEntryException,
                             SystemException
Specified by:
findByG_CU in interface AssetEntryPersistence
Throws:
NoSuchEntryException
SystemException

fetchByG_CU

public AssetEntry fetchByG_CU(long groupId,
                              String classUuid)
                       throws SystemException
Specified by:
fetchByG_CU in interface AssetEntryPersistence
Throws:
SystemException

fetchByG_CU

public AssetEntry fetchByG_CU(long groupId,
                              String classUuid,
                              boolean retrieveFromCache)
                       throws SystemException
Specified by:
fetchByG_CU in interface AssetEntryPersistence
Throws:
SystemException

findByC_C

public AssetEntry findByC_C(long classNameId,
                            long classPK)
                     throws NoSuchEntryException,
                            SystemException
Specified by:
findByC_C in interface AssetEntryPersistence
Throws:
NoSuchEntryException
SystemException

fetchByC_C

public AssetEntry fetchByC_C(long classNameId,
                             long classPK)
                      throws SystemException
Specified by:
fetchByC_C in interface AssetEntryPersistence
Throws:
SystemException

fetchByC_C

public AssetEntry fetchByC_C(long classNameId,
                             long classPK,
                             boolean retrieveFromCache)
                      throws SystemException
Specified by:
fetchByC_C in interface AssetEntryPersistence
Throws:
SystemException

findAll

public List<AssetEntry> findAll()
                         throws SystemException
Specified by:
findAll in interface AssetEntryPersistence
Throws:
SystemException

findAll

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

findAll

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

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws SystemException
Specified by:
removeByCompanyId in interface AssetEntryPersistence
Throws:
SystemException

removeByG_CU

public void removeByG_CU(long groupId,
                         String classUuid)
                  throws NoSuchEntryException,
                         SystemException
Specified by:
removeByG_CU in interface AssetEntryPersistence
Throws:
NoSuchEntryException
SystemException

removeByC_C

public void removeByC_C(long classNameId,
                        long classPK)
                 throws NoSuchEntryException,
                        SystemException
Specified by:
removeByC_C in interface AssetEntryPersistence
Throws:
NoSuchEntryException
SystemException

removeAll

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

countByCompanyId

public int countByCompanyId(long companyId)
                     throws SystemException
Specified by:
countByCompanyId in interface AssetEntryPersistence
Throws:
SystemException

countByG_CU

public int countByG_CU(long groupId,
                       String classUuid)
                throws SystemException
Specified by:
countByG_CU in interface AssetEntryPersistence
Throws:
SystemException

countByC_C

public int countByC_C(long classNameId,
                      long classPK)
               throws SystemException
Specified by:
countByC_C in interface AssetEntryPersistence
Throws:
SystemException

countAll

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

getAssetCategories

public List<AssetCategory> getAssetCategories(long pk)
                                       throws SystemException
Specified by:
getAssetCategories in interface AssetEntryPersistence
Throws:
SystemException

getAssetCategories

public List<AssetCategory> getAssetCategories(long pk,
                                              int start,
                                              int end)
                                       throws SystemException
Specified by:
getAssetCategories in interface AssetEntryPersistence
Throws:
SystemException

getAssetCategories

public List<AssetCategory> getAssetCategories(long pk,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Specified by:
getAssetCategories in interface AssetEntryPersistence
Throws:
SystemException

getAssetCategoriesSize

public int getAssetCategoriesSize(long pk)
                           throws SystemException
Specified by:
getAssetCategoriesSize in interface AssetEntryPersistence
Throws:
SystemException

containsAssetCategory

public boolean containsAssetCategory(long pk,
                                     long assetCategoryPK)
                              throws SystemException
Specified by:
containsAssetCategory in interface AssetEntryPersistence
Throws:
SystemException

containsAssetCategories

public boolean containsAssetCategories(long pk)
                                throws SystemException
Specified by:
containsAssetCategories in interface AssetEntryPersistence
Throws:
SystemException

addAssetCategory

public void addAssetCategory(long pk,
                             long assetCategoryPK)
                      throws SystemException
Specified by:
addAssetCategory in interface AssetEntryPersistence
Throws:
SystemException

addAssetCategory

public void addAssetCategory(long pk,
                             AssetCategory assetCategory)
                      throws SystemException
Specified by:
addAssetCategory in interface AssetEntryPersistence
Throws:
SystemException

addAssetCategories

public void addAssetCategories(long pk,
                               long[] assetCategoryPKs)
                        throws SystemException
Specified by:
addAssetCategories in interface AssetEntryPersistence
Throws:
SystemException

addAssetCategories

public void addAssetCategories(long pk,
                               List<AssetCategory> assetCategories)
                        throws SystemException
Specified by:
addAssetCategories in interface AssetEntryPersistence
Throws:
SystemException

clearAssetCategories

public void clearAssetCategories(long pk)
                          throws SystemException
Specified by:
clearAssetCategories in interface AssetEntryPersistence
Throws:
SystemException

removeAssetCategory

public void removeAssetCategory(long pk,
                                long assetCategoryPK)
                         throws SystemException
Specified by:
removeAssetCategory in interface AssetEntryPersistence
Throws:
SystemException

removeAssetCategory

public void removeAssetCategory(long pk,
                                AssetCategory assetCategory)
                         throws SystemException
Specified by:
removeAssetCategory in interface AssetEntryPersistence
Throws:
SystemException

removeAssetCategories

public void removeAssetCategories(long pk,
                                  long[] assetCategoryPKs)
                           throws SystemException
Specified by:
removeAssetCategories in interface AssetEntryPersistence
Throws:
SystemException

removeAssetCategories

public void removeAssetCategories(long pk,
                                  List<AssetCategory> assetCategories)
                           throws SystemException
Specified by:
removeAssetCategories in interface AssetEntryPersistence
Throws:
SystemException

setAssetCategories

public void setAssetCategories(long pk,
                               long[] assetCategoryPKs)
                        throws SystemException
Specified by:
setAssetCategories in interface AssetEntryPersistence
Throws:
SystemException

setAssetCategories

public void setAssetCategories(long pk,
                               List<AssetCategory> assetCategories)
                        throws SystemException
Specified by:
setAssetCategories in interface AssetEntryPersistence
Throws:
SystemException

getAssetTags

public List<AssetTag> getAssetTags(long pk)
                            throws SystemException
Specified by:
getAssetTags in interface AssetEntryPersistence
Throws:
SystemException

getAssetTags

public List<AssetTag> getAssetTags(long pk,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
getAssetTags in interface AssetEntryPersistence
Throws:
SystemException

getAssetTags

public List<AssetTag> getAssetTags(long pk,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
getAssetTags in interface AssetEntryPersistence
Throws:
SystemException

getAssetTagsSize

public int getAssetTagsSize(long pk)
                     throws SystemException
Specified by:
getAssetTagsSize in interface AssetEntryPersistence
Throws:
SystemException

containsAssetTag

public boolean containsAssetTag(long pk,
                                long assetTagPK)
                         throws SystemException
Specified by:
containsAssetTag in interface AssetEntryPersistence
Throws:
SystemException

containsAssetTags

public boolean containsAssetTags(long pk)
                          throws SystemException
Specified by:
containsAssetTags in interface AssetEntryPersistence
Throws:
SystemException

addAssetTag

public void addAssetTag(long pk,
                        long assetTagPK)
                 throws SystemException
Specified by:
addAssetTag in interface AssetEntryPersistence
Throws:
SystemException

addAssetTag

public void addAssetTag(long pk,
                        AssetTag assetTag)
                 throws SystemException
Specified by:
addAssetTag in interface AssetEntryPersistence
Throws:
SystemException

addAssetTags

public void addAssetTags(long pk,
                         long[] assetTagPKs)
                  throws SystemException
Specified by:
addAssetTags in interface AssetEntryPersistence
Throws:
SystemException

addAssetTags

public void addAssetTags(long pk,
                         List<AssetTag> assetTags)
                  throws SystemException
Specified by:
addAssetTags in interface AssetEntryPersistence
Throws:
SystemException

clearAssetTags

public void clearAssetTags(long pk)
                    throws SystemException
Specified by:
clearAssetTags in interface AssetEntryPersistence
Throws:
SystemException

removeAssetTag

public void removeAssetTag(long pk,
                           long assetTagPK)
                    throws SystemException
Specified by:
removeAssetTag in interface AssetEntryPersistence
Throws:
SystemException

removeAssetTag

public void removeAssetTag(long pk,
                           AssetTag assetTag)
                    throws SystemException
Specified by:
removeAssetTag in interface AssetEntryPersistence
Throws:
SystemException

removeAssetTags

public void removeAssetTags(long pk,
                            long[] assetTagPKs)
                     throws SystemException
Specified by:
removeAssetTags in interface AssetEntryPersistence
Throws:
SystemException

removeAssetTags

public void removeAssetTags(long pk,
                            List<AssetTag> assetTags)
                     throws SystemException
Specified by:
removeAssetTags in interface AssetEntryPersistence
Throws:
SystemException

setAssetTags

public void setAssetTags(long pk,
                         long[] assetTagPKs)
                  throws SystemException
Specified by:
setAssetTags in interface AssetEntryPersistence
Throws:
SystemException

setAssetTags

public void setAssetTags(long pk,
                         List<AssetTag> assetTags)
                  throws SystemException
Specified by:
setAssetTags in interface AssetEntryPersistence
Throws:
SystemException

afterPropertiesSet

public void afterPropertiesSet()

Liferay 6.0.3