com.liferay.portlet.asset.service.persistence
Class AssetEntryUtil
java.lang.Object
com.liferay.portlet.asset.service.persistence.AssetEntryUtil
public class AssetEntryUtil
- extends Object
- See Also:
AssetEntryPersistence,
AssetEntryPersistenceImpl- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static void |
addAssetCategories(long pk,
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,
List<AssetTag> assetTags)
|
static void |
addAssetTags(long pk,
long[] assetTagPKs)
|
static void |
cacheResult(AssetEntry assetEntry)
|
static void |
cacheResult(List<AssetEntry> assetEntries)
|
static void |
clearAssetCategories(long pk)
|
static void |
clearAssetTags(long pk)
|
static void |
clearCache()
|
static void |
clearCache(AssetEntry assetEntry)
|
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 int |
countByG_CU(long groupId,
String classUuid)
|
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
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 |
fetchByG_CU(long groupId,
String classUuid)
|
static AssetEntry |
fetchByG_CU(long groupId,
String classUuid,
boolean retrieveFromCache)
|
static AssetEntry |
fetchByPrimaryKey(long entryId)
|
static List<AssetEntry> |
findAll()
|
static List<AssetEntry> |
findAll(int start,
int end)
|
static List<AssetEntry> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
static AssetEntry |
findByC_C(long classNameId,
long classPK)
|
static AssetEntry |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
|
static AssetEntry |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
|
static AssetEntry[] |
findByCompanyId_PrevAndNext(long entryId,
long companyId,
OrderByComparator orderByComparator)
|
static List<AssetEntry> |
findByCompanyId(long companyId)
|
static List<AssetEntry> |
findByCompanyId(long companyId,
int start,
int end)
|
static List<AssetEntry> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
|
static AssetEntry |
findByG_CU(long groupId,
String classUuid)
|
static AssetEntry |
findByPrimaryKey(long entryId)
|
static List<AssetEntry> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<AssetEntry> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<AssetEntry> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static List<AssetCategory> |
getAssetCategories(long pk)
|
static List<AssetCategory> |
getAssetCategories(long pk,
int start,
int end)
|
static List<AssetCategory> |
getAssetCategories(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
static int |
getAssetCategoriesSize(long pk)
|
static List<AssetTag> |
getAssetTags(long pk)
|
static List<AssetTag> |
getAssetTags(long pk,
int start,
int end)
|
static List<AssetTag> |
getAssetTags(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
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,
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,
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 |
removeByG_CU(long groupId,
String classUuid)
|
static void |
setAssetCategories(long pk,
List<AssetCategory> assetCategories)
|
static void |
setAssetCategories(long pk,
long[] assetCategoryPKs)
|
static void |
setAssetTags(long pk,
List<AssetTag> assetTags)
|
static void |
setAssetTags(long pk,
long[] assetTagPKs)
|
void |
setPersistence(AssetEntryPersistence persistence)
|
static AssetEntry |
update(AssetEntry assetEntry,
boolean merge)
|
static AssetEntry |
update(AssetEntry assetEntry,
boolean merge,
ServiceContext serviceContext)
|
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()
clearCache
public static void clearCache(AssetEntry assetEntry)
- See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
countWithDynamicQuery
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static List<AssetEntry> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static List<AssetEntry> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
findWithDynamicQuery
public static List<AssetEntry> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
remove
public static AssetEntry remove(AssetEntry assetEntry)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static AssetEntry update(AssetEntry assetEntry,
boolean merge)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
update
public static AssetEntry update(AssetEntry assetEntry,
boolean merge,
ServiceContext serviceContext)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
cacheResult
public static void cacheResult(AssetEntry assetEntry)
cacheResult
public static void cacheResult(List<AssetEntry> assetEntries)
create
public static AssetEntry create(long entryId)
remove
public static AssetEntry remove(long entryId)
throws SystemException,
NoSuchEntryException
- Throws:
SystemException
NoSuchEntryException
updateImpl
public static AssetEntry updateImpl(AssetEntry assetEntry,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
public static AssetEntry findByPrimaryKey(long entryId)
throws SystemException,
NoSuchEntryException
- Throws:
SystemException
NoSuchEntryException
fetchByPrimaryKey
public static AssetEntry fetchByPrimaryKey(long entryId)
throws SystemException
- Throws:
SystemException
findByCompanyId
public static List<AssetEntry> findByCompanyId(long companyId)
throws SystemException
- Throws:
SystemException
findByCompanyId
public static List<AssetEntry> findByCompanyId(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByCompanyId
public static List<AssetEntry> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByCompanyId_First
public static AssetEntry findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEntryException
- Throws:
SystemException
NoSuchEntryException
findByCompanyId_Last
public static AssetEntry findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEntryException
- Throws:
SystemException
NoSuchEntryException
findByCompanyId_PrevAndNext
public static AssetEntry[] findByCompanyId_PrevAndNext(long entryId,
long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEntryException
- Throws:
SystemException
NoSuchEntryException
findByG_CU
public static AssetEntry findByG_CU(long groupId,
String classUuid)
throws SystemException,
NoSuchEntryException
- Throws:
SystemException
NoSuchEntryException
fetchByG_CU
public static AssetEntry fetchByG_CU(long groupId,
String classUuid)
throws SystemException
- Throws:
SystemException
fetchByG_CU
public static AssetEntry fetchByG_CU(long groupId,
String classUuid,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findByC_C
public static AssetEntry findByC_C(long classNameId,
long classPK)
throws SystemException,
NoSuchEntryException
- Throws:
SystemException
NoSuchEntryException
fetchByC_C
public static AssetEntry fetchByC_C(long classNameId,
long classPK)
throws SystemException
- Throws:
SystemException
fetchByC_C
public static AssetEntry fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findAll
public static List<AssetEntry> findAll()
throws SystemException
- Throws:
SystemException
findAll
public static List<AssetEntry> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
public static List<AssetEntry> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws SystemException
- Throws:
SystemException
removeByG_CU
public static void removeByG_CU(long groupId,
String classUuid)
throws SystemException,
NoSuchEntryException
- Throws:
SystemException
NoSuchEntryException
removeByC_C
public static void removeByC_C(long classNameId,
long classPK)
throws SystemException,
NoSuchEntryException
- Throws:
SystemException
NoSuchEntryException
removeAll
public static void removeAll()
throws SystemException
- Throws:
SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws SystemException
- Throws:
SystemException
countByG_CU
public static int countByG_CU(long groupId,
String classUuid)
throws SystemException
- Throws:
SystemException
countByC_C
public static int countByC_C(long classNameId,
long classPK)
throws SystemException
- Throws:
SystemException
countAll
public static int countAll()
throws SystemException
- Throws:
SystemException
getAssetCategories
public static List<AssetCategory> getAssetCategories(long pk)
throws SystemException
- Throws:
SystemException
getAssetCategories
public static List<AssetCategory> getAssetCategories(long pk,
int start,
int end)
throws SystemException
- Throws:
SystemException
getAssetCategories
public static List<AssetCategory> getAssetCategories(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
getAssetCategoriesSize
public static int getAssetCategoriesSize(long pk)
throws SystemException
- Throws:
SystemException
containsAssetCategory
public static boolean containsAssetCategory(long pk,
long assetCategoryPK)
throws SystemException
- Throws:
SystemException
containsAssetCategories
public static boolean containsAssetCategories(long pk)
throws SystemException
- Throws:
SystemException
addAssetCategory
public static void addAssetCategory(long pk,
long assetCategoryPK)
throws SystemException
- Throws:
SystemException
addAssetCategory
public static void addAssetCategory(long pk,
AssetCategory assetCategory)
throws SystemException
- Throws:
SystemException
addAssetCategories
public static void addAssetCategories(long pk,
long[] assetCategoryPKs)
throws SystemException
- Throws:
SystemException
addAssetCategories
public static void addAssetCategories(long pk,
List<AssetCategory> assetCategories)
throws SystemException
- Throws:
SystemException
clearAssetCategories
public static void clearAssetCategories(long pk)
throws SystemException
- Throws:
SystemException
removeAssetCategory
public static void removeAssetCategory(long pk,
long assetCategoryPK)
throws SystemException
- Throws:
SystemException
removeAssetCategory
public static void removeAssetCategory(long pk,
AssetCategory assetCategory)
throws SystemException
- Throws:
SystemException
removeAssetCategories
public static void removeAssetCategories(long pk,
long[] assetCategoryPKs)
throws SystemException
- Throws:
SystemException
removeAssetCategories
public static void removeAssetCategories(long pk,
List<AssetCategory> assetCategories)
throws SystemException
- Throws:
SystemException
setAssetCategories
public static void setAssetCategories(long pk,
long[] assetCategoryPKs)
throws SystemException
- Throws:
SystemException
setAssetCategories
public static void setAssetCategories(long pk,
List<AssetCategory> assetCategories)
throws SystemException
- Throws:
SystemException
getAssetTags
public static List<AssetTag> getAssetTags(long pk)
throws SystemException
- Throws:
SystemException
getAssetTags
public static List<AssetTag> getAssetTags(long pk,
int start,
int end)
throws SystemException
- Throws:
SystemException
getAssetTags
public static List<AssetTag> getAssetTags(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
getAssetTagsSize
public static int getAssetTagsSize(long pk)
throws SystemException
- Throws:
SystemException
containsAssetTag
public static boolean containsAssetTag(long pk,
long assetTagPK)
throws SystemException
- Throws:
SystemException
containsAssetTags
public static boolean containsAssetTags(long pk)
throws SystemException
- Throws:
SystemException
addAssetTag
public static void addAssetTag(long pk,
long assetTagPK)
throws SystemException
- Throws:
SystemException
addAssetTag
public static void addAssetTag(long pk,
AssetTag assetTag)
throws SystemException
- Throws:
SystemException
addAssetTags
public static void addAssetTags(long pk,
long[] assetTagPKs)
throws SystemException
- Throws:
SystemException
addAssetTags
public static void addAssetTags(long pk,
List<AssetTag> assetTags)
throws SystemException
- Throws:
SystemException
clearAssetTags
public static void clearAssetTags(long pk)
throws SystemException
- Throws:
SystemException
removeAssetTag
public static void removeAssetTag(long pk,
long assetTagPK)
throws SystemException
- Throws:
SystemException
removeAssetTag
public static void removeAssetTag(long pk,
AssetTag assetTag)
throws SystemException
- Throws:
SystemException
removeAssetTags
public static void removeAssetTags(long pk,
long[] assetTagPKs)
throws SystemException
- Throws:
SystemException
removeAssetTags
public static void removeAssetTags(long pk,
List<AssetTag> assetTags)
throws SystemException
- Throws:
SystemException
setAssetTags
public static void setAssetTags(long pk,
long[] assetTagPKs)
throws SystemException
- Throws:
SystemException
setAssetTags
public static void setAssetTags(long pk,
List<AssetTag> assetTags)
throws SystemException
- Throws:
SystemException
getPersistence
public static AssetEntryPersistence getPersistence()
setPersistence
public void setPersistence(AssetEntryPersistence persistence)