|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AssetTag> com.liferay.portlet.asset.service.persistence.AssetTagPersistenceImpl
public class AssetTagPersistenceImpl
The persistence implementation for the asset tag service.
Never modify or reference this class directly. Always use AssetTagUtil
to access the asset tag persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
Caching information and settings can be found in portal.properties
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)
Adds an association between the asset tag and the asset entries. |
void |
addAssetEntries(long pk,
long[] assetEntryPKs)
Adds an association between the asset tag and the asset entries. |
void |
addAssetEntry(long pk,
AssetEntry assetEntry)
Adds an association between the asset tag and the asset entry. |
void |
addAssetEntry(long pk,
long assetEntryPK)
Adds an association between the asset tag and the asset entry. |
void |
afterPropertiesSet()
Initializes the asset tag persistence. |
void |
cacheResult(AssetTag assetTag)
Caches the asset tag in the entity cache if it is enabled. |
void |
cacheResult(List<AssetTag> assetTags)
Caches the asset tags in the entity cache if it is enabled. |
void |
clearAssetEntries(long pk)
Clears all associations between the asset tag and its asset entries. |
void |
clearCache()
Clears the cache for all asset tags. |
void |
clearCache(AssetTag assetTag)
Clears the cache for the asset tag. |
boolean |
containsAssetEntries(long pk)
Determines whether the asset tag has any asset entries associated with it. |
boolean |
containsAssetEntry(long pk,
long assetEntryPK)
Determines whether the asset entry is associated with the asset tag. |
int |
countAll()
Counts all the asset tags. |
int |
countByGroupId(long groupId)
Counts all the asset tags where groupId = ?. |
AssetTag |
create(long tagId)
Creates a new asset tag with the primary key. |
AssetTag |
fetchByPrimaryKey(long tagId)
Finds the asset tag with the primary key or returns null if it could not be found. |
AssetTag |
fetchByPrimaryKey(Serializable primaryKey)
Finds the asset tag with the primary key or returns null if it could not be found. |
int |
filterCountByGroupId(long groupId)
Filters by the user's permissions and counts all the asset tags where groupId = ?. |
List<AssetTag> |
filterFindByGroupId(long groupId)
Filters by the user's permissions and finds all the asset tags where groupId = ?. |
List<AssetTag> |
filterFindByGroupId(long groupId,
int start,
int end)
Filters by the user's permissions and finds a range of all the asset tags where groupId = ?. |
List<AssetTag> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the asset tags where groupId = ?. |
List<AssetTag> |
findAll()
Finds all the asset tags. |
List<AssetTag> |
findAll(int start,
int end)
Finds a range of all the asset tags. |
List<AssetTag> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset tags. |
AssetTag |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Finds the first asset tag in the ordered set where groupId = ?. |
AssetTag |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last asset tag in the ordered set where groupId = ?. |
AssetTag[] |
findByGroupId_PrevAndNext(long tagId,
long groupId,
OrderByComparator orderByComparator)
Finds the asset tags before and after the current asset tag in the ordered set where groupId = ?. |
List<AssetTag> |
findByGroupId(long groupId)
Finds all the asset tags where groupId = ?. |
List<AssetTag> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the asset tags where groupId = ?. |
List<AssetTag> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset tags where groupId = ?. |
AssetTag |
findByPrimaryKey(long tagId)
Finds the asset tag with the primary key or throws a NoSuchTagException if it could not be found. |
AssetTag |
findByPrimaryKey(Serializable primaryKey)
Finds the asset tag with the primary key or throws a NoSuchModelException if it could not be found. |
List<AssetEntry> |
getAssetEntries(long pk)
Gets all the asset entries associated with the asset tag. |
List<AssetEntry> |
getAssetEntries(long pk,
int start,
int end)
Gets a range of all the asset entries associated with the asset tag. |
List<AssetEntry> |
getAssetEntries(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Gets an ordered range of all the asset entries associated with the asset tag. |
int |
getAssetEntriesSize(long pk)
Gets the number of asset entries associated with the asset tag. |
protected AssetTag |
getByGroupId_PrevAndNext(Session session,
AssetTag assetTag,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
AssetTag |
remove(long tagId)
Removes the asset tag with the primary key from the database. |
AssetTag |
remove(Serializable primaryKey)
Removes the asset tag with the primary key from the database. |
void |
removeAll()
Removes all the asset tags from the database. |
void |
removeAssetEntries(long pk,
List<AssetEntry> assetEntries)
Removes the association between the asset tag and the asset entries. |
void |
removeAssetEntries(long pk,
long[] assetEntryPKs)
Removes the association between the asset tag and the asset entries. |
void |
removeAssetEntry(long pk,
AssetEntry assetEntry)
Removes the association between the asset tag and the asset entry. |
void |
removeAssetEntry(long pk,
long assetEntryPK)
Removes the association between the asset tag and the asset entry. |
void |
removeByGroupId(long groupId)
Removes all the asset tags where groupId = ? from the database. |
protected AssetTag |
removeImpl(AssetTag assetTag)
Removes the model instance from the database. |
void |
setAssetEntries(long pk,
List<AssetEntry> assetEntries)
Sets the asset entries associated with the asset tag, removing and adding associations as necessary. |
void |
setAssetEntries(long pk,
long[] assetEntryPKs)
Sets the asset entries associated with the asset tag, removing and adding associations as necessary. |
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 AssetTagPersistence
assetTag
- the asset tag to cachepublic void cacheResult(List<AssetTag> assetTags)
cacheResult
in interface AssetTagPersistence
assetTags
- the asset tags to cachepublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<AssetTag>
clearCache
in class BasePersistenceImpl<AssetTag>
public void clearCache(AssetTag assetTag)
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
tagId
- the primary key for the new asset tag
public AssetTag remove(Serializable primaryKey) throws NoSuchModelException, SystemException
remove
in interface BasePersistence<AssetTag>
remove
in class BasePersistenceImpl<AssetTag>
primaryKey
- the primary key of the asset tag to remove
NoSuchModelException
- if a asset tag with the primary key could not be found
SystemException
- if a system exception occurredpublic AssetTag remove(long tagId) throws NoSuchTagException, SystemException
remove
in interface AssetTagPersistence
tagId
- the primary key of the asset tag to remove
NoSuchTagException
- if a asset tag with the primary key could not be found
SystemException
- if a system exception occurredprotected AssetTag removeImpl(AssetTag assetTag) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.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 occurredpublic AssetTag updateImpl(AssetTag assetTag, boolean merge) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface AssetTagPersistence
updateImpl
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
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<AssetTag>
findByPrimaryKey
in class BasePersistenceImpl<AssetTag>
primaryKey
- the primary key of the asset tag to find
NoSuchModelException
- if a asset tag with the primary key could not be found
SystemException
- if a system exception occurredpublic AssetTag findByPrimaryKey(long tagId) throws NoSuchTagException, SystemException
NoSuchTagException
if it could not be found.
findByPrimaryKey
in interface AssetTagPersistence
tagId
- the primary key of the asset tag to find
NoSuchTagException
- if a asset tag with the primary key could not be found
SystemException
- if a system exception occurredpublic AssetTag fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<AssetTag>
fetchByPrimaryKey
in class BasePersistenceImpl<AssetTag>
primaryKey
- the primary key of the asset tag to find
null
if a asset tag with the primary key could not be found
SystemException
- if a system exception occurredpublic AssetTag fetchByPrimaryKey(long tagId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface AssetTagPersistence
tagId
- the primary key of the asset tag to find
null
if a asset tag with the primary key could not be found
SystemException
- if a system exception occurredpublic List<AssetTag> findByGroupId(long groupId) throws SystemException
findByGroupId
in interface AssetTagPersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic List<AssetTag> findByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId
in interface AssetTagPersistence
groupId
- the group id to search withstart
- the lower bound of the range of asset tags to returnend
- the upper bound of the range of asset tags to return (not inclusive)
SystemException
- if a system exception occurredpublic List<AssetTag> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId
in interface AssetTagPersistence
groupId
- the group id to search withstart
- the lower bound of the range of asset tags to returnend
- the upper bound of the range of asset tags to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic AssetTag findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchTagException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId_First
in interface AssetTagPersistence
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchTagException
- if a matching asset tag could not be found
SystemException
- if a system exception occurredpublic AssetTag findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchTagException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId_Last
in interface AssetTagPersistence
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchTagException
- if a matching asset tag could not be found
SystemException
- if a system exception occurredpublic AssetTag[] findByGroupId_PrevAndNext(long tagId, long groupId, OrderByComparator orderByComparator) throws NoSuchTagException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId_PrevAndNext
in interface AssetTagPersistence
tagId
- the primary key of the current asset taggroupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchTagException
- if a asset tag with the primary key could not be found
SystemException
- if a system exception occurredprotected AssetTag getByGroupId_PrevAndNext(Session session, AssetTag assetTag, long groupId, OrderByComparator orderByComparator, boolean previous)
public List<AssetTag> filterFindByGroupId(long groupId) throws SystemException
filterFindByGroupId
in interface AssetTagPersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic List<AssetTag> filterFindByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByGroupId
in interface AssetTagPersistence
groupId
- the group id to search withstart
- the lower bound of the range of asset tags to returnend
- the upper bound of the range of asset tags to return (not inclusive)
SystemException
- if a system exception occurredpublic List<AssetTag> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByGroupId
in interface AssetTagPersistence
groupId
- the group id to search withstart
- the lower bound of the range of asset tags to returnend
- the upper bound of the range of asset tags to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<AssetTag> findAll() throws SystemException
findAll
in interface AssetTagPersistence
SystemException
- if a system exception occurredpublic List<AssetTag> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findAll
in interface AssetTagPersistence
start
- the lower bound of the range of asset tags to returnend
- the upper bound of the range of asset tags to return (not inclusive)
SystemException
- if a system exception occurredpublic List<AssetTag> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findAll
in interface AssetTagPersistence
start
- the lower bound of the range of asset tags to returnend
- the upper bound of the range of asset tags to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic void removeByGroupId(long groupId) throws SystemException
removeByGroupId
in interface AssetTagPersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic void removeAll() throws SystemException
removeAll
in interface AssetTagPersistence
SystemException
- if a system exception occurredpublic int countByGroupId(long groupId) throws SystemException
countByGroupId
in interface AssetTagPersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic int filterCountByGroupId(long groupId) throws SystemException
filterCountByGroupId
in interface AssetTagPersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface AssetTagPersistence
SystemException
- if a system exception occurredpublic List<AssetEntry> getAssetEntries(long pk) throws SystemException
getAssetEntries
in interface AssetTagPersistence
pk
- the primary key of the asset tag to get the associated asset entries for
SystemException
- if a system exception occurredpublic List<AssetEntry> getAssetEntries(long pk, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
getAssetEntries
in interface AssetTagPersistence
pk
- the primary key of the asset tag to get the associated asset entries forstart
- the lower bound of the range of asset tags to returnend
- the upper bound of the range of asset tags to return (not inclusive)
SystemException
- if a system exception occurredpublic List<AssetEntry> getAssetEntries(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
getAssetEntries
in interface AssetTagPersistence
pk
- the primary key of the asset tag to get the associated asset entries forstart
- the lower bound of the range of asset tags to returnend
- the upper bound of the range of asset tags to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic int getAssetEntriesSize(long pk) throws SystemException
getAssetEntriesSize
in interface AssetTagPersistence
pk
- the primary key of the asset tag to get the number of associated asset entries for
SystemException
- if a system exception occurredpublic boolean containsAssetEntry(long pk, long assetEntryPK) throws SystemException
containsAssetEntry
in interface AssetTagPersistence
pk
- the primary key of the asset tagassetEntryPK
- the primary key of the asset entry
SystemException
- if a system exception occurredpublic boolean containsAssetEntries(long pk) throws SystemException
containsAssetEntries
in interface AssetTagPersistence
pk
- the primary key of the asset tag to check for associations with asset entries
SystemException
- if a system exception occurredpublic void addAssetEntry(long pk, long assetEntryPK) throws SystemException
addAssetEntry
in interface AssetTagPersistence
pk
- the primary key of the asset tagassetEntryPK
- the primary key of the asset entry
SystemException
- if a system exception occurredpublic void addAssetEntry(long pk, AssetEntry assetEntry) throws SystemException
addAssetEntry
in interface AssetTagPersistence
pk
- the primary key of the asset tagassetEntry
- the asset entry
SystemException
- if a system exception occurredpublic void addAssetEntries(long pk, long[] assetEntryPKs) throws SystemException
addAssetEntries
in interface AssetTagPersistence
pk
- the primary key of the asset tagassetEntryPKs
- the primary keys of the asset entries
SystemException
- if a system exception occurredpublic void addAssetEntries(long pk, List<AssetEntry> assetEntries) throws SystemException
addAssetEntries
in interface AssetTagPersistence
pk
- the primary key of the asset tagassetEntries
- the asset entries
SystemException
- if a system exception occurredpublic void clearAssetEntries(long pk) throws SystemException
clearAssetEntries
in interface AssetTagPersistence
pk
- the primary key of the asset tag to clear the associated asset entries from
SystemException
- if a system exception occurredpublic void removeAssetEntry(long pk, long assetEntryPK) throws SystemException
removeAssetEntry
in interface AssetTagPersistence
pk
- the primary key of the asset tagassetEntryPK
- the primary key of the asset entry
SystemException
- if a system exception occurredpublic void removeAssetEntry(long pk, AssetEntry assetEntry) throws SystemException
removeAssetEntry
in interface AssetTagPersistence
pk
- the primary key of the asset tagassetEntry
- the asset entry
SystemException
- if a system exception occurredpublic void removeAssetEntries(long pk, long[] assetEntryPKs) throws SystemException
removeAssetEntries
in interface AssetTagPersistence
pk
- the primary key of the asset tagassetEntryPKs
- the primary keys of the asset entries
SystemException
- if a system exception occurredpublic void removeAssetEntries(long pk, List<AssetEntry> assetEntries) throws SystemException
removeAssetEntries
in interface AssetTagPersistence
pk
- the primary key of the asset tagassetEntries
- the asset entries
SystemException
- if a system exception occurredpublic void setAssetEntries(long pk, long[] assetEntryPKs) throws SystemException
setAssetEntries
in interface AssetTagPersistence
pk
- the primary key of the asset tag to set the associations forassetEntryPKs
- the primary keys of the asset entries to be associated with the asset tag
SystemException
- if a system exception occurredpublic void setAssetEntries(long pk, List<AssetEntry> assetEntries) throws SystemException
setAssetEntries
in interface AssetTagPersistence
pk
- the primary key of the asset tag to set the associations forassetEntries
- the asset entries to be associated with the asset tag
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |