com.liferay.portlet.tags.service.persistence
Class TagsAssetUtil
java.lang.Object
com.liferay.portlet.tags.service.persistence.TagsAssetUtil
public class TagsAssetUtil
- 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:
TagsAssetPersistence
,
TagsAssetPersistenceImpl
- Generated:
Method Summary |
static void |
addTagsEntries(long pk,
java.util.List<TagsEntry> tagsEntries)
|
static void |
addTagsEntries(long pk,
long[] tagsEntryPKs)
|
static void |
addTagsEntry(long pk,
long tagsEntryPK)
|
static void |
addTagsEntry(long pk,
TagsEntry tagsEntry)
|
static void |
cacheResult(java.util.List<TagsAsset> tagsAssets)
|
static void |
cacheResult(TagsAsset tagsAsset)
|
static void |
clearCache()
|
static void |
clearCache(TagsAsset tagsAsset)
|
static void |
clearTagsEntries(long pk)
|
static boolean |
containsTagsEntries(long pk)
|
static boolean |
containsTagsEntry(long pk,
long tagsEntryPK)
|
static int |
countAll()
|
static int |
countByC_C(long classNameId,
long classPK)
|
static int |
countByCompanyId(long companyId)
|
int |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static TagsAsset |
create(long assetId)
|
static TagsAsset |
fetchByC_C(long classNameId,
long classPK)
|
static TagsAsset |
fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
|
static TagsAsset |
fetchByPrimaryKey(long assetId)
|
static java.util.List<TagsAsset> |
findAll()
|
static java.util.List<TagsAsset> |
findAll(int start,
int end)
|
static java.util.List<TagsAsset> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static TagsAsset |
findByC_C(long classNameId,
long classPK)
|
static TagsAsset |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static TagsAsset |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static TagsAsset[] |
findByCompanyId_PrevAndNext(long assetId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<TagsAsset> |
findByCompanyId(long companyId)
|
static java.util.List<TagsAsset> |
findByCompanyId(long companyId,
int start,
int end)
|
static java.util.List<TagsAsset> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static TagsAsset |
findByPrimaryKey(long assetId)
|
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 TagsAssetPersistence |
getPersistence()
|
static java.util.List<TagsEntry> |
getTagsEntries(long pk)
|
static java.util.List<TagsEntry> |
getTagsEntries(long pk,
int start,
int end)
|
static java.util.List<TagsEntry> |
getTagsEntries(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
getTagsEntriesSize(long pk)
|
static TagsAsset |
remove(long assetId)
|
static TagsAsset |
remove(TagsAsset tagsAsset)
|
static void |
removeAll()
|
static void |
removeByC_C(long classNameId,
long classPK)
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeTagsEntries(long pk,
java.util.List<TagsEntry> tagsEntries)
|
static void |
removeTagsEntries(long pk,
long[] tagsEntryPKs)
|
static void |
removeTagsEntry(long pk,
long tagsEntryPK)
|
static void |
removeTagsEntry(long pk,
TagsEntry tagsEntry)
|
void |
setPersistence(TagsAssetPersistence persistence)
|
static void |
setTagsEntries(long pk,
java.util.List<TagsEntry> tagsEntries)
|
static void |
setTagsEntries(long pk,
long[] tagsEntryPKs)
|
static TagsAsset |
update(TagsAsset tagsAsset)
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean) . |
static TagsAsset |
update(TagsAsset tagsAsset,
boolean merge)
|
static TagsAsset |
updateImpl(TagsAsset tagsAsset,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagsAssetUtil
public TagsAssetUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(TagsAsset tagsAsset)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(TagsAsset)
countWithDynamicQuery
public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.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.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static TagsAsset remove(TagsAsset tagsAsset)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static TagsAsset update(TagsAsset tagsAsset,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(TagsAsset tagsAsset)
cacheResult
public static void cacheResult(java.util.List<TagsAsset> tagsAssets)
create
public static TagsAsset create(long assetId)
remove
public static TagsAsset remove(long assetId)
throws com.liferay.portal.SystemException,
NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
NoSuchAssetException
update
public static TagsAsset update(TagsAsset tagsAsset)
throws com.liferay.portal.SystemException
- Deprecated. Use
com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
public static TagsAsset updateImpl(TagsAsset tagsAsset,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static TagsAsset findByPrimaryKey(long assetId)
throws com.liferay.portal.SystemException,
NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
NoSuchAssetException
fetchByPrimaryKey
public static TagsAsset fetchByPrimaryKey(long assetId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<TagsAsset> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<TagsAsset> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<TagsAsset> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public static TagsAsset findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
NoSuchAssetException
findByCompanyId_Last
public static TagsAsset findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
NoSuchAssetException
findByCompanyId_PrevAndNext
public static TagsAsset[] findByCompanyId_PrevAndNext(long assetId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
NoSuchAssetException
findByC_C
public static TagsAsset findByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
NoSuchAssetException
fetchByC_C
public static TagsAsset fetchByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_C
public static TagsAsset fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<TagsAsset> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<TagsAsset> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<TagsAsset> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_C
public static void removeByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
NoSuchAssetException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C
public static int countByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsEntries
public static java.util.List<TagsEntry> getTagsEntries(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsEntries
public static java.util.List<TagsEntry> getTagsEntries(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsEntries
public static java.util.List<TagsEntry> getTagsEntries(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsEntriesSize
public static int getTagsEntriesSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsTagsEntry
public static boolean containsTagsEntry(long pk,
long tagsEntryPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsTagsEntries
public static boolean containsTagsEntries(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTagsEntry
public static void addTagsEntry(long pk,
long tagsEntryPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTagsEntry
public static void addTagsEntry(long pk,
TagsEntry tagsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTagsEntries
public static void addTagsEntries(long pk,
long[] tagsEntryPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTagsEntries
public static void addTagsEntries(long pk,
java.util.List<TagsEntry> tagsEntries)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearTagsEntries
public static void clearTagsEntries(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeTagsEntry
public static void removeTagsEntry(long pk,
long tagsEntryPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeTagsEntry
public static void removeTagsEntry(long pk,
TagsEntry tagsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeTagsEntries
public static void removeTagsEntries(long pk,
long[] tagsEntryPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeTagsEntries
public static void removeTagsEntries(long pk,
java.util.List<TagsEntry> tagsEntries)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setTagsEntries
public static void setTagsEntries(long pk,
long[] tagsEntryPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setTagsEntries
public static void setTagsEntries(long pk,
java.util.List<TagsEntry> tagsEntries)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static TagsAssetPersistence getPersistence()
setPersistence
public void setPersistence(TagsAssetPersistence persistence)