com.liferay.portlet.tags.service.persistence
Interface TagsAssetPersistence
- All Superinterfaces:
- BasePersistence
public interface TagsAssetPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
addTagsEntries(long pk,
java.util.List<TagsEntry> tagsEntries)
|
void |
addTagsEntries(long pk,
long[] tagsEntryPKs)
|
void |
addTagsEntry(long pk,
long tagsEntryPK)
|
void |
addTagsEntry(long pk,
TagsEntry tagsEntry)
|
void |
cacheResult(java.util.List<TagsAsset> tagsAssets)
|
void |
cacheResult(TagsAsset tagsAsset)
|
void |
clearCache()
|
void |
clearTagsEntries(long pk)
|
boolean |
containsTagsEntries(long pk)
|
boolean |
containsTagsEntry(long pk,
long tagsEntryPK)
|
int |
countAll()
|
int |
countByC_C(long classNameId,
long classPK)
|
int |
countByCompanyId(long companyId)
|
TagsAsset |
create(long assetId)
|
TagsAsset |
fetchByC_C(long classNameId,
long classPK)
|
TagsAsset |
fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
|
TagsAsset |
fetchByPrimaryKey(long assetId)
|
java.util.List<TagsAsset> |
findAll()
|
java.util.List<TagsAsset> |
findAll(int start,
int end)
|
java.util.List<TagsAsset> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsAsset |
findByC_C(long classNameId,
long classPK)
|
TagsAsset |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsAsset |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsAsset[] |
findByCompanyId_PrevAndNext(long assetId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<TagsAsset> |
findByCompanyId(long companyId)
|
java.util.List<TagsAsset> |
findByCompanyId(long companyId,
int start,
int end)
|
java.util.List<TagsAsset> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsAsset |
findByPrimaryKey(long assetId)
|
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<TagsEntry> |
getTagsEntries(long pk)
|
java.util.List<TagsEntry> |
getTagsEntries(long pk,
int start,
int end)
|
java.util.List<TagsEntry> |
getTagsEntries(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getTagsEntriesSize(long pk)
|
TagsAsset |
remove(long assetId)
|
TagsAsset |
remove(TagsAsset tagsAsset)
|
void |
removeAll()
|
void |
removeByC_C(long classNameId,
long classPK)
|
void |
removeByCompanyId(long companyId)
|
void |
removeTagsEntries(long pk,
java.util.List<TagsEntry> tagsEntries)
|
void |
removeTagsEntries(long pk,
long[] tagsEntryPKs)
|
void |
removeTagsEntry(long pk,
long tagsEntryPK)
|
void |
removeTagsEntry(long pk,
TagsEntry tagsEntry)
|
void |
setTagsEntries(long pk,
java.util.List<TagsEntry> tagsEntries)
|
void |
setTagsEntries(long pk,
long[] tagsEntryPKs)
|
TagsAsset |
update(TagsAsset tagsAsset)
Deprecated. Use update(TagsAsset tagsAsset, boolean merge) . |
TagsAsset |
update(TagsAsset tagsAsset,
boolean merge)
Add, update, or merge, the entity. |
TagsAsset |
updateImpl(TagsAsset tagsAsset,
boolean merge)
|
cacheResult
void cacheResult(TagsAsset tagsAsset)
cacheResult
void cacheResult(java.util.List<TagsAsset> tagsAssets)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
TagsAsset create(long assetId)
remove
TagsAsset remove(long assetId)
throws com.liferay.portal.SystemException,
NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
NoSuchAssetException
remove
TagsAsset remove(TagsAsset tagsAsset)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
TagsAsset update(TagsAsset tagsAsset)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(TagsAsset tagsAsset, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
TagsAsset update(TagsAsset tagsAsset,
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:
tagsAsset
- 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 tagsAsset 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
TagsAsset updateImpl(TagsAsset tagsAsset,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
TagsAsset findByPrimaryKey(long assetId)
throws com.liferay.portal.SystemException,
NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
NoSuchAssetException
fetchByPrimaryKey
TagsAsset fetchByPrimaryKey(long assetId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
java.util.List<TagsAsset> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
java.util.List<TagsAsset> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
java.util.List<TagsAsset> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
TagsAsset findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
NoSuchAssetException
findByCompanyId_Last
TagsAsset findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
NoSuchAssetException
findByCompanyId_PrevAndNext
TagsAsset[] findByCompanyId_PrevAndNext(long assetId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
NoSuchAssetException
findByC_C
TagsAsset findByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
NoSuchAssetException
fetchByC_C
TagsAsset fetchByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_C
TagsAsset fetchByC_C(long classNameId,
long classPK,
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<TagsAsset> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<TagsAsset> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<TagsAsset> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_C
void removeByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
NoSuchAssetException
- Throws:
com.liferay.portal.SystemException
NoSuchAssetException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C
int countByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsEntries
java.util.List<TagsEntry> getTagsEntries(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsEntries
java.util.List<TagsEntry> getTagsEntries(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsEntries
java.util.List<TagsEntry> getTagsEntries(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsEntriesSize
int getTagsEntriesSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsTagsEntry
boolean containsTagsEntry(long pk,
long tagsEntryPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsTagsEntries
boolean containsTagsEntries(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTagsEntry
void addTagsEntry(long pk,
long tagsEntryPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTagsEntry
void addTagsEntry(long pk,
TagsEntry tagsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTagsEntries
void addTagsEntries(long pk,
long[] tagsEntryPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTagsEntries
void addTagsEntries(long pk,
java.util.List<TagsEntry> tagsEntries)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearTagsEntries
void clearTagsEntries(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeTagsEntry
void removeTagsEntry(long pk,
long tagsEntryPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeTagsEntry
void removeTagsEntry(long pk,
TagsEntry tagsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeTagsEntries
void removeTagsEntries(long pk,
long[] tagsEntryPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeTagsEntries
void removeTagsEntries(long pk,
java.util.List<TagsEntry> tagsEntries)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setTagsEntries
void setTagsEntries(long pk,
long[] tagsEntryPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setTagsEntries
void setTagsEntries(long pk,
java.util.List<TagsEntry> tagsEntries)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException