com.liferay.portlet.tags.service.persistence
Class TagsEntryUtil
java.lang.Object
com.liferay.portlet.tags.service.persistence.TagsEntryUtil
- public class TagsEntryUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static void |
addTagsAsset(long pk,
long tagsAssetPK)
|
static void |
addTagsAsset(long pk,
com.liferay.portlet.tags.model.TagsAsset tagsAsset)
|
static void |
addTagsAssets(long pk,
java.util.List tagsAssets)
|
static void |
addTagsAssets(long pk,
long[] tagsAssetPKs)
|
static void |
clearTagsAssets(long pk)
|
static boolean |
containsTagsAsset(long pk,
long tagsAssetPK)
|
static boolean |
containsTagsAssets(long pk)
|
static int |
countAll()
|
static int |
countByC_N(long companyId,
java.lang.String name)
|
static com.liferay.portlet.tags.model.TagsEntry |
create(long entryId)
|
static com.liferay.portlet.tags.model.TagsEntry |
fetchByC_N(long companyId,
java.lang.String name)
|
static com.liferay.portlet.tags.model.TagsEntry |
fetchByPrimaryKey(long entryId)
|
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.TagsEntry |
findByC_N(long companyId,
java.lang.String name)
|
static com.liferay.portlet.tags.model.TagsEntry |
findByPrimaryKey(long entryId)
|
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 TagsEntryPersistence |
getPersistence()
|
static java.util.List |
getTagsAssets(long pk)
|
static java.util.List |
getTagsAssets(long pk,
int begin,
int end)
|
static java.util.List |
getTagsAssets(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getTagsAssetsSize(long pk)
|
static com.liferay.portlet.tags.model.TagsEntry |
remove(long entryId)
|
static com.liferay.portlet.tags.model.TagsEntry |
remove(com.liferay.portlet.tags.model.TagsEntry tagsEntry)
|
static void |
removeAll()
|
static void |
removeByC_N(long companyId,
java.lang.String name)
|
static void |
removeTagsAsset(long pk,
long tagsAssetPK)
|
static void |
removeTagsAsset(long pk,
com.liferay.portlet.tags.model.TagsAsset tagsAsset)
|
static void |
removeTagsAssets(long pk,
java.util.List tagsAssets)
|
static void |
removeTagsAssets(long pk,
long[] tagsAssetPKs)
|
void |
setPersistence(TagsEntryPersistence persistence)
|
static void |
setTagsAssets(long pk,
java.util.List tagsAssets)
|
static void |
setTagsAssets(long pk,
long[] tagsAssetPKs)
|
static com.liferay.portlet.tags.model.TagsEntry |
update(com.liferay.portlet.tags.model.TagsEntry tagsEntry)
|
static com.liferay.portlet.tags.model.TagsEntry |
update(com.liferay.portlet.tags.model.TagsEntry tagsEntry,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagsEntryUtil
public TagsEntryUtil()
create
public static com.liferay.portlet.tags.model.TagsEntry create(long entryId)
remove
public static com.liferay.portlet.tags.model.TagsEntry remove(long entryId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchEntryException
remove
public static com.liferay.portlet.tags.model.TagsEntry remove(com.liferay.portlet.tags.model.TagsEntry tagsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.tags.model.TagsEntry update(com.liferay.portlet.tags.model.TagsEntry tagsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.tags.model.TagsEntry update(com.liferay.portlet.tags.model.TagsEntry tagsEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static com.liferay.portlet.tags.model.TagsEntry findByPrimaryKey(long entryId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchEntryException
fetchByPrimaryKey
public static com.liferay.portlet.tags.model.TagsEntry fetchByPrimaryKey(long entryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_N
public static com.liferay.portlet.tags.model.TagsEntry findByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchEntryException
fetchByC_N
public static com.liferay.portlet.tags.model.TagsEntry fetchByC_N(long companyId,
java.lang.String name)
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
removeByC_N
public static void removeByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchEntryException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_N
public static int countByC_N(long companyId,
java.lang.String name)
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
getTagsAssets
public static java.util.List getTagsAssets(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchEntryException
getTagsAssets
public static java.util.List getTagsAssets(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchEntryException
getTagsAssets
public static java.util.List getTagsAssets(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchEntryException
getTagsAssetsSize
public static int getTagsAssetsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsTagsAsset
public static boolean containsTagsAsset(long pk,
long tagsAssetPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsTagsAssets
public static boolean containsTagsAssets(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTagsAsset
public static void addTagsAsset(long pk,
long tagsAssetPK)
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
addTagsAsset
public static void addTagsAsset(long pk,
com.liferay.portlet.tags.model.TagsAsset tagsAsset)
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
addTagsAssets
public static void addTagsAssets(long pk,
long[] tagsAssetPKs)
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
addTagsAssets
public static void addTagsAssets(long pk,
java.util.List tagsAssets)
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
clearTagsAssets
public static void clearTagsAssets(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portlet.tags.NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchEntryException
removeTagsAsset
public static void removeTagsAsset(long pk,
long tagsAssetPK)
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
removeTagsAsset
public static void removeTagsAsset(long pk,
com.liferay.portlet.tags.model.TagsAsset tagsAsset)
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
removeTagsAssets
public static void removeTagsAssets(long pk,
long[] tagsAssetPKs)
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
removeTagsAssets
public static void removeTagsAssets(long pk,
java.util.List tagsAssets)
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
setTagsAssets
public static void setTagsAssets(long pk,
long[] tagsAssetPKs)
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
setTagsAssets
public static void setTagsAssets(long pk,
java.util.List tagsAssets)
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 TagsEntryPersistence getPersistence()
setPersistence
public void setPersistence(TagsEntryPersistence persistence)