com.liferay.portlet.asset.service.persistence
Class AssetEntryUtil
java.lang.Object
com.liferay.portlet.asset.service.persistence.AssetEntryUtil
public class AssetEntryUtil
- 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:
AssetEntryPersistence
,
AssetEntryPersistenceImpl
- Generated:
Method Summary |
static void |
addAssetCategories(long pk,
java.util.List<AssetCategory> assetCategories)
|
static void |
addAssetCategories(long pk,
long[] assetCategoryPKs)
|
static void |
addAssetCategory(long pk,
AssetCategory assetCategory)
|
static void |
addAssetCategory(long pk,
long assetCategoryPK)
|
static void |
addAssetTag(long pk,
AssetTag assetTag)
|
static void |
addAssetTag(long pk,
long assetTagPK)
|
static void |
addAssetTags(long pk,
java.util.List<AssetTag> assetTags)
|
static void |
addAssetTags(long pk,
long[] assetTagPKs)
|
static void |
cacheResult(AssetEntry assetEntry)
|
static void |
cacheResult(java.util.List<AssetEntry> assetEntries)
|
static void |
clearAssetCategories(long pk)
|
static void |
clearAssetTags(long pk)
|
static void |
clearCache()
|
static boolean |
containsAssetCategories(long pk)
|
static boolean |
containsAssetCategory(long pk,
long assetCategoryPK)
|
static boolean |
containsAssetTag(long pk,
long assetTagPK)
|
static boolean |
containsAssetTags(long pk)
|
static int |
countAll()
|
static int |
countByC_C(long classNameId,
long classPK)
|
static int |
countByCompanyId(long companyId)
|
static AssetEntry |
create(long entryId)
|
static AssetEntry |
fetchByC_C(long classNameId,
long classPK)
|
static AssetEntry |
fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
|
static AssetEntry |
fetchByPrimaryKey(long entryId)
|
static java.util.List<AssetEntry> |
findAll()
|
static java.util.List<AssetEntry> |
findAll(int start,
int end)
|
static java.util.List<AssetEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static AssetEntry |
findByC_C(long classNameId,
long classPK)
|
static AssetEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static AssetEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static AssetEntry[] |
findByCompanyId_PrevAndNext(long entryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<AssetEntry> |
findByCompanyId(long companyId)
|
static java.util.List<AssetEntry> |
findByCompanyId(long companyId,
int start,
int end)
|
static java.util.List<AssetEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static AssetEntry |
findByPrimaryKey(long entryId)
|
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<AssetCategory> |
getAssetCategories(long pk)
|
static java.util.List<AssetCategory> |
getAssetCategories(long pk,
int start,
int end)
|
static java.util.List<AssetCategory> |
getAssetCategories(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getAssetCategoriesSize(long pk)
|
static java.util.List<AssetTag> |
getAssetTags(long pk)
|
static java.util.List<AssetTag> |
getAssetTags(long pk,
int start,
int end)
|
static java.util.List<AssetTag> |
getAssetTags(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getAssetTagsSize(long pk)
|
static AssetEntryPersistence |
getPersistence()
|
static AssetEntry |
remove(AssetEntry assetEntry)
|
static AssetEntry |
remove(long entryId)
|
static void |
removeAll()
|
static void |
removeAssetCategories(long pk,
java.util.List<AssetCategory> assetCategories)
|
static void |
removeAssetCategories(long pk,
long[] assetCategoryPKs)
|
static void |
removeAssetCategory(long pk,
AssetCategory assetCategory)
|
static void |
removeAssetCategory(long pk,
long assetCategoryPK)
|
static void |
removeAssetTag(long pk,
AssetTag assetTag)
|
static void |
removeAssetTag(long pk,
long assetTagPK)
|
static void |
removeAssetTags(long pk,
java.util.List<AssetTag> assetTags)
|
static void |
removeAssetTags(long pk,
long[] assetTagPKs)
|
static void |
removeByC_C(long classNameId,
long classPK)
|
static void |
removeByCompanyId(long companyId)
|
static void |
setAssetCategories(long pk,
java.util.List<AssetCategory> assetCategories)
|
static void |
setAssetCategories(long pk,
long[] assetCategoryPKs)
|
static void |
setAssetTags(long pk,
java.util.List<AssetTag> assetTags)
|
static void |
setAssetTags(long pk,
long[] assetTagPKs)
|
void |
setPersistence(AssetEntryPersistence persistence)
|
static AssetEntry |
update(AssetEntry assetEntry,
boolean merge)
|
static AssetEntry |
updateImpl(AssetEntry assetEntry,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetEntryUtil
public AssetEntryUtil()
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 AssetEntry remove(AssetEntry assetEntry)
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 AssetEntry update(AssetEntry assetEntry,
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(AssetEntry assetEntry)
cacheResult
public static void cacheResult(java.util.List<AssetEntry> assetEntries)
create
public static AssetEntry create(long entryId)
remove
public static AssetEntry remove(long entryId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException
updateImpl
public static AssetEntry updateImpl(AssetEntry assetEntry,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public static AssetEntry findByPrimaryKey(long entryId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException
fetchByPrimaryKey
public static AssetEntry fetchByPrimaryKey(long entryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByCompanyId
public static java.util.List<AssetEntry> findByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByCompanyId
public static java.util.List<AssetEntry> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByCompanyId
public static java.util.List<AssetEntry> findByCompanyId(long companyId,
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
findByCompanyId_First
public static AssetEntry findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException
findByCompanyId_Last
public static AssetEntry findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException
findByCompanyId_PrevAndNext
public static AssetEntry[] findByCompanyId_PrevAndNext(long entryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException
findByC_C
public static AssetEntry findByC_C(long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException
fetchByC_C
public static AssetEntry fetchByC_C(long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByC_C
public static AssetEntry fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<AssetEntry> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<AssetEntry> 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<AssetEntry> 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
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByC_C
public static void removeByC_C(long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException
removeAll
public static void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByC_C
public static int countByC_C(long classNameId,
long classPK)
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
getAssetCategories
public static java.util.List<AssetCategory> getAssetCategories(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAssetCategories
public static java.util.List<AssetCategory> getAssetCategories(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAssetCategories
public static java.util.List<AssetCategory> getAssetCategories(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
getAssetCategoriesSize
public static int getAssetCategoriesSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsAssetCategory
public static boolean containsAssetCategory(long pk,
long assetCategoryPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsAssetCategories
public static boolean containsAssetCategories(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addAssetCategory
public static void addAssetCategory(long pk,
long assetCategoryPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addAssetCategory
public static void addAssetCategory(long pk,
AssetCategory assetCategory)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addAssetCategories
public static void addAssetCategories(long pk,
long[] assetCategoryPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addAssetCategories
public static void addAssetCategories(long pk,
java.util.List<AssetCategory> assetCategories)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
clearAssetCategories
public static void clearAssetCategories(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAssetCategory
public static void removeAssetCategory(long pk,
long assetCategoryPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAssetCategory
public static void removeAssetCategory(long pk,
AssetCategory assetCategory)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAssetCategories
public static void removeAssetCategories(long pk,
long[] assetCategoryPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAssetCategories
public static void removeAssetCategories(long pk,
java.util.List<AssetCategory> assetCategories)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setAssetCategories
public static void setAssetCategories(long pk,
long[] assetCategoryPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setAssetCategories
public static void setAssetCategories(long pk,
java.util.List<AssetCategory> assetCategories)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAssetTags
public static java.util.List<AssetTag> getAssetTags(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAssetTags
public static java.util.List<AssetTag> getAssetTags(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAssetTags
public static java.util.List<AssetTag> getAssetTags(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
getAssetTagsSize
public static int getAssetTagsSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsAssetTag
public static boolean containsAssetTag(long pk,
long assetTagPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsAssetTags
public static boolean containsAssetTags(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addAssetTag
public static void addAssetTag(long pk,
long assetTagPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addAssetTag
public static void addAssetTag(long pk,
AssetTag assetTag)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addAssetTags
public static void addAssetTags(long pk,
long[] assetTagPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addAssetTags
public static void addAssetTags(long pk,
java.util.List<AssetTag> assetTags)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
clearAssetTags
public static void clearAssetTags(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAssetTag
public static void removeAssetTag(long pk,
long assetTagPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAssetTag
public static void removeAssetTag(long pk,
AssetTag assetTag)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAssetTags
public static void removeAssetTags(long pk,
long[] assetTagPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAssetTags
public static void removeAssetTags(long pk,
java.util.List<AssetTag> assetTags)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setAssetTags
public static void setAssetTags(long pk,
long[] assetTagPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setAssetTags
public static void setAssetTags(long pk,
java.util.List<AssetTag> assetTags)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPersistence
public static AssetEntryPersistence getPersistence()
setPersistence
public void setPersistence(AssetEntryPersistence persistence)