|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<AssetTag>
com.liferay.portlet.asset.service.persistence.AssetTagPersistenceImpl
public class AssetTagPersistenceImpl
AssetTagPersistence,
AssetTagUtil| Nested Class Summary | |
|---|---|
protected class |
AssetTagPersistenceImpl.AddAssetEntry
|
protected class |
AssetTagPersistenceImpl.ClearAssetEntries
|
protected class |
AssetTagPersistenceImpl.ContainsAssetEntry
|
protected class |
AssetTagPersistenceImpl.RemoveAssetEntry
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
AssetTagPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
addAssetEntries(long pk,
List<AssetEntry> assetEntries)
|
void |
addAssetEntries(long pk,
long[] assetEntryPKs)
|
void |
addAssetEntry(long pk,
AssetEntry assetEntry)
|
void |
addAssetEntry(long pk,
long assetEntryPK)
|
void |
afterPropertiesSet()
|
void |
cacheResult(AssetTag assetTag)
|
void |
cacheResult(List<AssetTag> assetTags)
|
void |
clearAssetEntries(long pk)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(AssetTag assetTag)
Clears the cache for one instance of this model. |
boolean |
containsAssetEntries(long pk)
|
boolean |
containsAssetEntry(long pk,
long assetEntryPK)
|
int |
countAll()
|
int |
countByGroupId(long groupId)
|
AssetTag |
create(long tagId)
|
AssetTag |
fetchByPrimaryKey(long tagId)
|
AssetTag |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
int |
filterCountByGroupId(long groupId)
|
List<AssetTag> |
filterFindByGroupId(long groupId)
|
List<AssetTag> |
filterFindByGroupId(long groupId,
int start,
int end)
|
List<AssetTag> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
List<AssetTag> |
findAll()
|
List<AssetTag> |
findAll(int start,
int end)
|
List<AssetTag> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
AssetTag |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
|
AssetTag |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
|
AssetTag[] |
findByGroupId_PrevAndNext(long tagId,
long groupId,
OrderByComparator orderByComparator)
|
List<AssetTag> |
findByGroupId(long groupId)
|
List<AssetTag> |
findByGroupId(long groupId,
int start,
int end)
|
List<AssetTag> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
AssetTag |
findByPrimaryKey(long tagId)
|
AssetTag |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
List<AssetEntry> |
getAssetEntries(long pk)
|
List<AssetEntry> |
getAssetEntries(long pk,
int start,
int end)
|
List<AssetEntry> |
getAssetEntries(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getAssetEntriesSize(long pk)
|
protected AssetTag |
getByGroupId_PrevAndNext(Session session,
AssetTag assetTag,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
AssetTag |
remove(long tagId)
|
AssetTag |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeAssetEntries(long pk,
List<AssetEntry> assetEntries)
|
void |
removeAssetEntries(long pk,
long[] assetEntryPKs)
|
void |
removeAssetEntry(long pk,
AssetEntry assetEntry)
|
void |
removeAssetEntry(long pk,
long assetEntryPK)
|
void |
removeByGroupId(long groupId)
|
protected AssetTag |
removeImpl(AssetTag assetTag)
Removes the model instance from the database. |
void |
setAssetEntries(long pk,
List<AssetEntry> assetEntries)
|
void |
setAssetEntries(long pk,
long[] assetEntryPKs)
|
protected AssetTag |
toUnwrappedModel(AssetTag assetTag)
|
AssetTag |
updateImpl(AssetTag assetTag,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_GET_ASSETENTRIES
public static final FinderPath FINDER_PATH_GET_ASSETENTRIES_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_ASSETENTRY
@BeanReference(type=AssetCategoryPersistence.class) protected AssetCategoryPersistence assetCategoryPersistence
@BeanReference(type=AssetCategoryPropertyPersistence.class) protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetLinkPersistence.class) protected AssetLinkPersistence assetLinkPersistence
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
@BeanReference(type=AssetTagPropertyPersistence.class) protected AssetTagPropertyPersistence assetTagPropertyPersistence
@BeanReference(type=AssetTagStatsPersistence.class) protected AssetTagStatsPersistence assetTagStatsPersistence
@BeanReference(type=AssetVocabularyPersistence.class) protected AssetVocabularyPersistence assetVocabularyPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
protected AssetTagPersistenceImpl.ContainsAssetEntry containsAssetEntry
protected AssetTagPersistenceImpl.AddAssetEntry addAssetEntry
protected AssetTagPersistenceImpl.ClearAssetEntries clearAssetEntries
protected AssetTagPersistenceImpl.RemoveAssetEntry removeAssetEntry
| Constructor Detail |
|---|
public AssetTagPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(AssetTag assetTag)
cacheResult in interface AssetTagPersistencepublic void cacheResult(List<AssetTag> assetTags)
cacheResult in interface AssetTagPersistencepublic void clearCache()
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
Caching information and settings can be found in
portal.properties
clearCache in interface BasePersistence<AssetTag>clearCache in class BasePersistenceImpl<AssetTag>public void clearCache(AssetTag assetTag)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<AssetTag>clearCache in class BasePersistenceImpl<AssetTag>assetTag - the instance of this model to clear the cache forpublic AssetTag create(long tagId)
create in interface AssetTagPersistence
public AssetTag remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<AssetTag>remove in class BasePersistenceImpl<AssetTag>primaryKey - the primary key of the model instance to remove
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if a system exception occurred
public AssetTag remove(long tagId)
throws NoSuchTagException,
SystemException
remove in interface AssetTagPersistenceNoSuchTagException
SystemException
protected AssetTag removeImpl(AssetTag assetTag)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<AssetTag>assetTag - the model instance to remove
SystemException - if a system exception occurred
public AssetTag updateImpl(AssetTag assetTag,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface AssetTagPersistenceupdateImpl in class BasePersistenceImpl<AssetTag>assetTag - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected AssetTag toUnwrappedModel(AssetTag assetTag)
public AssetTag findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<AssetTag>findByPrimaryKey in class BasePersistenceImpl<AssetTag>primaryKey - the primary key of the model instance to find
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public AssetTag findByPrimaryKey(long tagId)
throws NoSuchTagException,
SystemException
findByPrimaryKey in interface AssetTagPersistenceNoSuchTagException
SystemException
public AssetTag fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<AssetTag>fetchByPrimaryKey in class BasePersistenceImpl<AssetTag>primaryKey - the primary key of the model instance to find
null if an instance of this
model with the primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public AssetTag fetchByPrimaryKey(long tagId)
throws SystemException
fetchByPrimaryKey in interface AssetTagPersistenceSystemException
public List<AssetTag> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface AssetTagPersistenceSystemException
public List<AssetTag> findByGroupId(long groupId,
int start,
int end)
throws SystemException
findByGroupId in interface AssetTagPersistenceSystemException
public List<AssetTag> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByGroupId in interface AssetTagPersistenceSystemException
public AssetTag findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchTagException,
SystemException
findByGroupId_First in interface AssetTagPersistenceNoSuchTagException
SystemException
public AssetTag findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchTagException,
SystemException
findByGroupId_Last in interface AssetTagPersistenceNoSuchTagException
SystemException
public AssetTag[] findByGroupId_PrevAndNext(long tagId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchTagException,
SystemException
findByGroupId_PrevAndNext in interface AssetTagPersistenceNoSuchTagException
SystemException
protected AssetTag getByGroupId_PrevAndNext(Session session,
AssetTag assetTag,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetTag> filterFindByGroupId(long groupId)
throws SystemException
filterFindByGroupId in interface AssetTagPersistenceSystemException
public List<AssetTag> filterFindByGroupId(long groupId,
int start,
int end)
throws SystemException
filterFindByGroupId in interface AssetTagPersistenceSystemException
public List<AssetTag> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
filterFindByGroupId in interface AssetTagPersistenceSystemException
public List<AssetTag> findAll()
throws SystemException
findAll in interface AssetTagPersistenceSystemException
public List<AssetTag> findAll(int start,
int end)
throws SystemException
findAll in interface AssetTagPersistenceSystemException
public List<AssetTag> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface AssetTagPersistenceSystemException
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface AssetTagPersistenceSystemException
public void removeAll()
throws SystemException
removeAll in interface AssetTagPersistenceSystemException
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface AssetTagPersistenceSystemException
public int filterCountByGroupId(long groupId)
throws SystemException
filterCountByGroupId in interface AssetTagPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface AssetTagPersistenceSystemException
public List<AssetEntry> getAssetEntries(long pk)
throws SystemException
getAssetEntries in interface AssetTagPersistenceSystemException
public List<AssetEntry> getAssetEntries(long pk,
int start,
int end)
throws SystemException
getAssetEntries in interface AssetTagPersistenceSystemException
public List<AssetEntry> getAssetEntries(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getAssetEntries in interface AssetTagPersistenceSystemException
public int getAssetEntriesSize(long pk)
throws SystemException
getAssetEntriesSize in interface AssetTagPersistenceSystemException
public boolean containsAssetEntry(long pk,
long assetEntryPK)
throws SystemException
containsAssetEntry in interface AssetTagPersistenceSystemException
public boolean containsAssetEntries(long pk)
throws SystemException
containsAssetEntries in interface AssetTagPersistenceSystemException
public void addAssetEntry(long pk,
long assetEntryPK)
throws SystemException
addAssetEntry in interface AssetTagPersistenceSystemException
public void addAssetEntry(long pk,
AssetEntry assetEntry)
throws SystemException
addAssetEntry in interface AssetTagPersistenceSystemException
public void addAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
addAssetEntries in interface AssetTagPersistenceSystemException
public void addAssetEntries(long pk,
List<AssetEntry> assetEntries)
throws SystemException
addAssetEntries in interface AssetTagPersistenceSystemException
public void clearAssetEntries(long pk)
throws SystemException
clearAssetEntries in interface AssetTagPersistenceSystemException
public void removeAssetEntry(long pk,
long assetEntryPK)
throws SystemException
removeAssetEntry in interface AssetTagPersistenceSystemException
public void removeAssetEntry(long pk,
AssetEntry assetEntry)
throws SystemException
removeAssetEntry in interface AssetTagPersistenceSystemException
public void removeAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
removeAssetEntries in interface AssetTagPersistenceSystemException
public void removeAssetEntries(long pk,
List<AssetEntry> assetEntries)
throws SystemException
removeAssetEntries in interface AssetTagPersistenceSystemException
public void setAssetEntries(long pk,
long[] assetEntryPKs)
throws SystemException
setAssetEntries in interface AssetTagPersistenceSystemException
public void setAssetEntries(long pk,
List<AssetEntry> assetEntries)
throws SystemException
setAssetEntries in interface AssetTagPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||