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 |
countByP_V(long parentEntryId,
long vocabularyId)
|
int |
countByVocabularyId(long vocabularyId)
|
TagsEntry |
create(long entryId)
|
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 |
findByP_V_First(long parentEntryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsEntry |
findByP_V_Last(long parentEntryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsEntry[] |
findByP_V_PrevAndNext(long entryId,
long parentEntryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<TagsEntry> |
findByP_V(long parentEntryId,
long vocabularyId)
|
java.util.List<TagsEntry> |
findByP_V(long parentEntryId,
long vocabularyId,
int start,
int end)
|
java.util.List<TagsEntry> |
findByP_V(long parentEntryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsEntry |
findByPrimaryKey(long entryId)
|
TagsEntry |
findByVocabularyId_First(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsEntry |
findByVocabularyId_Last(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsEntry[] |
findByVocabularyId_PrevAndNext(long entryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<TagsEntry> |
findByVocabularyId(long vocabularyId)
|
java.util.List<TagsEntry> |
findByVocabularyId(long vocabularyId,
int start,
int end)
|
java.util.List<TagsEntry> |
findByVocabularyId(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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 |
removeByP_V(long parentEntryId,
long vocabularyId)
|
void |
removeByVocabularyId(long vocabularyId)
|
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()
- Specified by:
clearCache
in interface BasePersistence
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
findByVocabularyId
java.util.List<TagsEntry> findByVocabularyId(long vocabularyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByVocabularyId
java.util.List<TagsEntry> findByVocabularyId(long vocabularyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByVocabularyId
java.util.List<TagsEntry> findByVocabularyId(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByVocabularyId_First
TagsEntry findByVocabularyId_First(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByVocabularyId_Last
TagsEntry findByVocabularyId_Last(long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByVocabularyId_PrevAndNext
TagsEntry[] findByVocabularyId_PrevAndNext(long entryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByP_V
java.util.List<TagsEntry> findByP_V(long parentEntryId,
long vocabularyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_V
java.util.List<TagsEntry> findByP_V(long parentEntryId,
long vocabularyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_V
java.util.List<TagsEntry> findByP_V(long parentEntryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_V_First
TagsEntry findByP_V_First(long parentEntryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByP_V_Last
TagsEntry findByP_V_Last(long parentEntryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
findByP_V_PrevAndNext
TagsEntry[] findByP_V_PrevAndNext(long entryId,
long parentEntryId,
long vocabularyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchEntryException
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
removeByVocabularyId
void removeByVocabularyId(long vocabularyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByP_V
void removeByP_V(long parentEntryId,
long vocabularyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByVocabularyId
int countByVocabularyId(long vocabularyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByP_V
int countByP_V(long parentEntryId,
long vocabularyId)
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