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
- Author:
- Brian Wing Shun Chan
Method Summary |
static void |
addTagsEntries(long pk,
java.util.List tagsEntries)
|
static void |
addTagsEntries(long pk,
long[] tagsEntryPKs)
|
static void |
addTagsEntry(long pk,
long tagsEntryPK)
|
static void |
addTagsEntry(long pk,
com.liferay.portlet.tags.model.TagsEntry tagsEntry)
|
static void |
clearTagsEntries(long pk)
|
static boolean |
containsTagsEntry(long pk,
long tagsEntryPK)
|
static boolean |
containsTagsEntrys(long pk)
|
static int |
countAll()
|
static int |
countByC_C(long classNameId,
long classPK)
|
static int |
countByCompanyId(long companyId)
|
static com.liferay.portlet.tags.model.TagsAsset |
create(long assetId)
|
static com.liferay.portlet.tags.model.TagsAsset |
fetchByC_C(long classNameId,
long classPK)
|
static com.liferay.portlet.tags.model.TagsAsset |
fetchByPrimaryKey(long assetId)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.tags.model.TagsAsset |
findByC_C(long classNameId,
long classPK)
|
static com.liferay.portlet.tags.model.TagsAsset |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.tags.model.TagsAsset |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.tags.model.TagsAsset[] |
findByCompanyId_PrevAndNext(long assetId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByCompanyId(long companyId)
|
static java.util.List |
findByCompanyId(long companyId,
int begin,
int end)
|
static java.util.List |
findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.tags.model.TagsAsset |
findByPrimaryKey(long assetId)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static TagsAssetPersistence |
getPersistence()
|
static java.util.List |
getTagsEntries(long pk)
|
static java.util.List |
getTagsEntries(long pk,
int begin,
int end)
|
static java.util.List |
getTagsEntries(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getTagsEntriesSize(long pk)
|
static com.liferay.portlet.tags.model.TagsAsset |
remove(long assetId)
|
static com.liferay.portlet.tags.model.TagsAsset |
remove(com.liferay.portlet.tags.model.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 tagsEntries)
|
static void |
removeTagsEntries(long pk,
long[] tagsEntryPKs)
|
static void |
removeTagsEntry(long pk,
long tagsEntryPK)
|
static void |
removeTagsEntry(long pk,
com.liferay.portlet.tags.model.TagsEntry tagsEntry)
|
void |
setPersistence(TagsAssetPersistence persistence)
|
static void |
setTagsEntries(long pk,
java.util.List tagsEntries)
|
static void |
setTagsEntries(long pk,
long[] tagsEntryPKs)
|
static com.liferay.portlet.tags.model.TagsAsset |
update(com.liferay.portlet.tags.model.TagsAsset tagsAsset)
|
static com.liferay.portlet.tags.model.TagsAsset |
update(com.liferay.portlet.tags.model.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()
create
public static com.liferay.portlet.tags.model.TagsAsset create(long assetId)
remove
public static com.liferay.portlet.tags.model.TagsAsset remove(long assetId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
remove
public static com.liferay.portlet.tags.model.TagsAsset remove(com.liferay.portlet.tags.model.TagsAsset tagsAsset)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.tags.model.TagsAsset update(com.liferay.portlet.tags.model.TagsAsset tagsAsset)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.tags.model.TagsAsset update(com.liferay.portlet.tags.model.TagsAsset tagsAsset,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static com.liferay.portlet.tags.model.TagsAsset findByPrimaryKey(long assetId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
fetchByPrimaryKey
public static com.liferay.portlet.tags.model.TagsAsset fetchByPrimaryKey(long assetId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public static com.liferay.portlet.tags.model.TagsAsset findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
findByCompanyId_Last
public static com.liferay.portlet.tags.model.TagsAsset findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
findByCompanyId_PrevAndNext
public static com.liferay.portlet.tags.model.TagsAsset[] findByCompanyId_PrevAndNext(long assetId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
findByC_C
public static com.liferay.portlet.tags.model.TagsAsset findByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
fetchByC_C
public static com.liferay.portlet.tags.model.TagsAsset fetchByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
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,
com.liferay.portlet.tags.NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.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 getTagsEntries(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
getTagsEntries
public static java.util.List getTagsEntries(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
getTagsEntries
public static java.util.List getTagsEntries(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
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
containsTagsEntrys
public static boolean containsTagsEntrys(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,
com.liferay.portlet.tags.NoSuchAssetException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
addTagsEntry
public static void addTagsEntry(long pk,
com.liferay.portlet.tags.model.TagsEntry tagsEntry)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
addTagsEntries
public static void addTagsEntries(long pk,
long[] tagsEntryPKs)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
addTagsEntries
public static void addTagsEntries(long pk,
java.util.List tagsEntries)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
clearTagsEntries
public static void clearTagsEntries(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
removeTagsEntry
public static void removeTagsEntry(long pk,
long tagsEntryPK)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
removeTagsEntry
public static void removeTagsEntry(long pk,
com.liferay.portlet.tags.model.TagsEntry tagsEntry)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
removeTagsEntries
public static void removeTagsEntries(long pk,
long[] tagsEntryPKs)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
removeTagsEntries
public static void removeTagsEntries(long pk,
java.util.List tagsEntries)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
setTagsEntries
public static void setTagsEntries(long pk,
long[] tagsEntryPKs)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
setTagsEntries
public static void setTagsEntries(long pk,
java.util.List tagsEntries)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchAssetException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
getPersistence
public static TagsAssetPersistence getPersistence()
setPersistence
public void setPersistence(TagsAssetPersistence persistence)