com.liferay.portlet.asset.service.persistence
Class AssetTagUtil
java.lang.Object
com.liferay.portlet.asset.service.persistence.AssetTagUtil
public class AssetTagUtil
- 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:
AssetTagPersistence
,
AssetTagPersistenceImpl
- Generated:
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(AssetTag assetTag)
|
static void |
cacheResult(java.util.List<AssetTag> assetTags)
|
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 |
countByGroupId(long groupId)
|
static AssetTag |
create(long tagId)
|
static AssetTag |
fetchByPrimaryKey(long tagId)
|
static java.util.List<AssetTag> |
findAll()
|
static java.util.List<AssetTag> |
findAll(int start,
int end)
|
static java.util.List<AssetTag> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static AssetTag |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static AssetTag |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static AssetTag[] |
findByGroupId_PrevAndNext(long tagId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<AssetTag> |
findByGroupId(long groupId)
|
static java.util.List<AssetTag> |
findByGroupId(long groupId,
int start,
int end)
|
static java.util.List<AssetTag> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static AssetTag |
findByPrimaryKey(long tagId)
|
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 AssetTagPersistence |
getPersistence()
|
static AssetTag |
remove(AssetTag assetTag)
|
static AssetTag |
remove(long tagId)
|
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 |
removeByGroupId(long groupId)
|
static void |
setAssetEntries(long pk,
java.util.List<AssetEntry> assetEntries)
|
static void |
setAssetEntries(long pk,
long[] assetEntryPKs)
|
void |
setPersistence(AssetTagPersistence persistence)
|
static AssetTag |
update(AssetTag assetTag,
boolean merge)
|
static AssetTag |
updateImpl(AssetTag assetTag,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetTagUtil
public AssetTagUtil()
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 AssetTag remove(AssetTag assetTag)
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 AssetTag update(AssetTag assetTag,
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(AssetTag assetTag)
cacheResult
public static void cacheResult(java.util.List<AssetTag> assetTags)
create
public static AssetTag create(long tagId)
remove
public static AssetTag remove(long tagId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchTagException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagException
updateImpl
public static AssetTag updateImpl(AssetTag assetTag,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public static AssetTag findByPrimaryKey(long tagId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchTagException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagException
fetchByPrimaryKey
public static AssetTag fetchByPrimaryKey(long tagId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<AssetTag> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<AssetTag> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<AssetTag> findByGroupId(long groupId,
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
findByGroupId_First
public static AssetTag findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchTagException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagException
findByGroupId_Last
public static AssetTag findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchTagException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagException
findByGroupId_PrevAndNext
public static AssetTag[] findByGroupId_PrevAndNext(long tagId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchTagException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagException
findAll
public static java.util.List<AssetTag> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<AssetTag> 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<AssetTag> 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
removeByGroupId
public static void removeByGroupId(long groupId)
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
countByGroupId
public static int countByGroupId(long groupId)
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
getPersistence
public static AssetTagPersistence getPersistence()
setPersistence
public void setPersistence(AssetTagPersistence persistence)