com.liferay.portlet.tags.service.persistence
Interface TagsEntryPersistence
- All Superinterfaces:
- BasePersistence
public interface TagsEntryPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
addTagsAsset(long pk,
long tagsAssetPK)
|
void |
addTagsAsset(long pk,
TagsAsset tagsAsset)
|
void |
addTagsAssets(long pk,
java.util.List<TagsAsset> tagsAssets)
|
void |
addTagsAssets(long pk,
long[] tagsAssetPKs)
|
void |
cacheResult(java.util.List<TagsEntry> tagsEntries)
|
void |
cacheResult(TagsEntry tagsEntry)
|
void |
clearCache()
|
void |
clearTagsAssets(long pk)
|
boolean |
containsTagsAsset(long pk,
long tagsAssetPK)
|
boolean |
containsTagsAssets(long pk)
|
int |
countAll()
|
int |
countByC_N(long companyId,
java.lang.String name)
|
TagsEntry |
create(long entryId)
|
TagsEntry |
fetchByC_N(long companyId,
java.lang.String name)
|
TagsEntry |
fetchByC_N(long companyId,
java.lang.String name,
boolean retrieveFromCache)
|
TagsEntry |
fetchByPrimaryKey(long entryId)
|
java.util.List<TagsEntry> |
findAll()
|
java.util.List<TagsEntry> |
findAll(int start,
int end)
|
java.util.List<TagsEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsEntry |
findByC_N(long companyId,
java.lang.String name)
|
TagsEntry |
findByPrimaryKey(long entryId)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List<TagsAsset> |
getTagsAssets(long pk)
|
java.util.List<TagsAsset> |
getTagsAssets(long pk,
int start,
int end)
|
java.util.List<TagsAsset> |
getTagsAssets(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getTagsAssetsSize(long pk)
|
TagsEntry |
remove(long entryId)
|
TagsEntry |
remove(TagsEntry tagsEntry)
|
void |
removeAll()
|
void |
removeByC_N(long companyId,
java.lang.String name)
|
void |
removeTagsAsset(long pk,
long tagsAssetPK)
|
void |
removeTagsAsset(long pk,
TagsAsset tagsAsset)
|
void |
removeTagsAssets(long pk,
java.util.List<TagsAsset> tagsAssets)
|
void |
removeTagsAssets(long pk,
long[] tagsAssetPKs)
|
void |
setTagsAssets(long pk,
java.util.List<TagsAsset> tagsAssets)
|
void |
setTagsAssets(long pk,
long[] tagsAssetPKs)
|
TagsEntry |
update(TagsEntry tagsEntry)
Deprecated. Use update(TagsEntry tagsEntry, boolean merge) . |
TagsEntry |
update(TagsEntry tagsEntry,
boolean merge)
Add, update, or merge, the entity. |
TagsEntry |
updateImpl(TagsEntry tagsEntry,
boolean merge)
|
cacheResult
void cacheResult(TagsEntry tagsEntry)
cacheResult
void cacheResult(java.util.List<TagsEntry> tagsEntries)
clearCache
void clearCache()
create
TagsEntry create(long entryId)
remove
TagsEntry remove(long entryId)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
remove
TagsEntry remove(TagsEntry tagsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
TagsEntry update(TagsEntry tagsEntry)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(TagsEntry tagsEntry, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
TagsEntry update(TagsEntry tagsEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
tagsEntry
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when tagsEntry is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
TagsEntry updateImpl(TagsEntry tagsEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
TagsEntry findByPrimaryKey(long entryId)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
fetchByPrimaryKey
TagsEntry fetchByPrimaryKey(long entryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_N
TagsEntry findByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
fetchByC_N
TagsEntry fetchByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_N
TagsEntry fetchByC_N(long companyId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
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
findWithDynamicQuery
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
findAll
java.util.List<TagsEntry> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<TagsEntry> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<TagsEntry> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_N
void removeByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_N
int countByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsAssets
java.util.List<TagsAsset> getTagsAssets(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsAssets
java.util.List<TagsAsset> getTagsAssets(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsAssets
java.util.List<TagsAsset> getTagsAssets(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsAssetsSize
int getTagsAssetsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsTagsAsset
boolean containsTagsAsset(long pk,
long tagsAssetPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsTagsAssets
boolean containsTagsAssets(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTagsAsset
void addTagsAsset(long pk,
long tagsAssetPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTagsAsset
void addTagsAsset(long pk,
TagsAsset tagsAsset)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTagsAssets
void addTagsAssets(long pk,
long[] tagsAssetPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTagsAssets
void addTagsAssets(long pk,
java.util.List<TagsAsset> tagsAssets)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearTagsAssets
void clearTagsAssets(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeTagsAsset
void removeTagsAsset(long pk,
long tagsAssetPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeTagsAsset
void removeTagsAsset(long pk,
TagsAsset tagsAsset)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeTagsAssets
void removeTagsAssets(long pk,
long[] tagsAssetPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeTagsAssets
void removeTagsAssets(long pk,
java.util.List<TagsAsset> tagsAssets)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setTagsAssets
void setTagsAssets(long pk,
long[] tagsAssetPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setTagsAssets
void setTagsAssets(long pk,
java.util.List<TagsAsset> tagsAssets)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException