Liferay 7.0-ce-b4

com.liferay.portlet.asset.service.persistence.impl
Class AssetTagPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AssetTag>
      extended by com.liferay.portlet.asset.service.persistence.impl.AssetTagPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<AssetTag>, AssetTagPersistence

@ProviderType
public class AssetTagPersistenceImpl
extends BasePersistenceImpl<AssetTag>
implements AssetTagPersistence

The persistence implementation for the asset tag service.

Caching information and settings can be found in portal.properties

See Also:
AssetTagPersistence, AssetTagUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  AssetEntryPersistence assetEntryPersistence
           
protected  TableMapper<AssetTag,AssetEntry> assetTagToAssetEntryTableMapper
           
protected  CompanyProvider companyProvider
           
protected  EntityCache entityCache
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_G_N
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_C
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_G_N
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LIKEN
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LIKEN
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
           
protected  FinderCache finderCache
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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.
protected  void cacheUniqueFindersCache(AssetTagModelImpl assetTagModelImpl, boolean isNew)
           
 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.
 void clearCache(List<AssetTag> assetTags)
          Clears the cache for a List instances of this model.
protected  void clearUniqueFindersCache(AssetTagModelImpl assetTagModelImpl)
           
 boolean containsAssetEntries(long pk)
          Returns true if the asset tag has any asset entries associated with it.
 boolean containsAssetEntry(long pk, long assetEntryPK)
          Returns true if the asset entry is associated with the asset tag.
 int countAll()
          Returns the number of asset tags.
 int countByG_LikeN(long[] groupIds, String name)
          Returns the number of asset tags where groupId = any ? and name LIKE ?.
 int countByG_LikeN(long groupId, String name)
          Returns the number of asset tags where groupId = ? and name LIKE ?.
 int countByG_N(long groupId, String name)
          Returns the number of asset tags where groupId = ? and name = ?.
 int countByGroupId(long groupId)
          Returns the number of asset tags where groupId = ?.
 int countByGroupId(long[] groupIds)
          Returns the number of asset tags where groupId = any ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of asset tags where uuid = ? and companyId = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of asset tags where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of asset tags where uuid = ?.
 AssetTag create(long tagId)
          Creates a new asset tag with the primary key.
 void destroy()
           
 AssetTag fetchByG_LikeN_First(long groupId, String name, OrderByComparator<AssetTag> orderByComparator)
          Returns the first asset tag in the ordered set where groupId = ? and name LIKE ?.
 AssetTag fetchByG_LikeN_Last(long groupId, String name, OrderByComparator<AssetTag> orderByComparator)
          Returns the last asset tag in the ordered set where groupId = ? and name LIKE ?.
 AssetTag fetchByG_N(long groupId, String name)
          Returns the asset tag where groupId = ? and name = ? or returns null if it could not be found.
 AssetTag fetchByG_N(long groupId, String name, boolean retrieveFromCache)
          Returns the asset tag where groupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
 AssetTag fetchByGroupId_First(long groupId, OrderByComparator<AssetTag> orderByComparator)
          Returns the first asset tag in the ordered set where groupId = ?.
 AssetTag fetchByGroupId_Last(long groupId, OrderByComparator<AssetTag> orderByComparator)
          Returns the last asset tag in the ordered set where groupId = ?.
 AssetTag fetchByPrimaryKey(long tagId)
          Returns the asset tag with the primary key or returns null if it could not be found.
 AssetTag fetchByPrimaryKey(Serializable primaryKey)
          Returns the asset tag with the primary key or returns null if it could not be found.
 Map<Serializable,AssetTag> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 AssetTag fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetTag> orderByComparator)
          Returns the first asset tag in the ordered set where uuid = ? and companyId = ?.
 AssetTag fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetTag> orderByComparator)
          Returns the last asset tag in the ordered set where uuid = ? and companyId = ?.
 AssetTag fetchByUuid_First(String uuid, OrderByComparator<AssetTag> orderByComparator)
          Returns the first asset tag in the ordered set where uuid = ?.
 AssetTag fetchByUUID_G(String uuid, long groupId)
          Returns the asset tag where uuid = ? and groupId = ? or returns null if it could not be found.
 AssetTag fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the asset tag where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 AssetTag fetchByUuid_Last(String uuid, OrderByComparator<AssetTag> orderByComparator)
          Returns the last asset tag in the ordered set where uuid = ?.
 int filterCountByG_LikeN(long[] groupIds, String name)
          Returns the number of asset tags that the user has permission to view where groupId = any ? and name LIKE ?.
 int filterCountByG_LikeN(long groupId, String name)
          Returns the number of asset tags that the user has permission to view where groupId = ? and name LIKE ?.
 int filterCountByGroupId(long groupId)
          Returns the number of asset tags that the user has permission to view where groupId = ?.
 int filterCountByGroupId(long[] groupIds)
          Returns the number of asset tags that the user has permission to view where groupId = any ?.
 AssetTag[] filterFindByG_LikeN_PrevAndNext(long tagId, long groupId, String name, OrderByComparator<AssetTag> orderByComparator)
          Returns the asset tags before and after the current asset tag in the ordered set of asset tags that the user has permission to view where groupId = ? and name LIKE ?.
 List<AssetTag> filterFindByG_LikeN(long[] groupIds, String name)
          Returns all the asset tags that the user has permission to view where groupId = any ? and name LIKE ?.
 List<AssetTag> filterFindByG_LikeN(long[] groupIds, String name, int start, int end)
          Returns a range of all the asset tags that the user has permission to view where groupId = any ? and name LIKE ?.
 List<AssetTag> filterFindByG_LikeN(long[] groupIds, String name, int start, int end, OrderByComparator<AssetTag> orderByComparator)
          Returns an ordered range of all the asset tags that the user has permission to view where groupId = any ? and name LIKE ?.
 List<AssetTag> filterFindByG_LikeN(long groupId, String name)
          Returns all the asset tags that the user has permission to view where groupId = ? and name LIKE ?.
 List<AssetTag> filterFindByG_LikeN(long groupId, String name, int start, int end)
          Returns a range of all the asset tags that the user has permission to view where groupId = ? and name LIKE ?.
 List<AssetTag> filterFindByG_LikeN(long groupId, String name, int start, int end, OrderByComparator<AssetTag> orderByComparator)
          Returns an ordered range of all the asset tags that the user has permissions to view where groupId = ? and name LIKE ?.
 AssetTag[] filterFindByGroupId_PrevAndNext(long tagId, long groupId, OrderByComparator<AssetTag> orderByComparator)
          Returns the asset tags before and after the current asset tag in the ordered set of asset tags that the user has permission to view where groupId = ?.
 List<AssetTag> filterFindByGroupId(long groupId)
          Returns all the asset tags that the user has permission to view where groupId = ?.
 List<AssetTag> filterFindByGroupId(long[] groupIds)
          Returns all the asset tags that the user has permission to view where groupId = any ?.
 List<AssetTag> filterFindByGroupId(long[] groupIds, int start, int end)
          Returns a range of all the asset tags that the user has permission to view where groupId = any ?.
 List<AssetTag> filterFindByGroupId(long[] groupIds, int start, int end, OrderByComparator<AssetTag> orderByComparator)
          Returns an ordered range of all the asset tags that the user has permission to view where groupId = any ?.
 List<AssetTag> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the asset tags that the user has permission to view where groupId = ?.
 List<AssetTag> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<AssetTag> orderByComparator)
          Returns an ordered range of all the asset tags that the user has permissions to view where groupId = ?.
protected  AssetTag filterGetByG_LikeN_PrevAndNext(Session session, AssetTag assetTag, long groupId, String name, OrderByComparator<AssetTag> orderByComparator, boolean previous)
           
protected  AssetTag filterGetByGroupId_PrevAndNext(Session session, AssetTag assetTag, long groupId, OrderByComparator<AssetTag> orderByComparator, boolean previous)
           
 List<AssetTag> findAll()
          Returns all the asset tags.
 List<AssetTag> findAll(int start, int end)
          Returns a range of all the asset tags.
 List<AssetTag> findAll(int start, int end, OrderByComparator<AssetTag> orderByComparator)
          Returns an ordered range of all the asset tags.
 List<AssetTag> findAll(int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the asset tags.
 AssetTag findByG_LikeN_First(long groupId, String name, OrderByComparator<AssetTag> orderByComparator)
          Returns the first asset tag in the ordered set where groupId = ? and name LIKE ?.
 AssetTag findByG_LikeN_Last(long groupId, String name, OrderByComparator<AssetTag> orderByComparator)
          Returns the last asset tag in the ordered set where groupId = ? and name LIKE ?.
 AssetTag[] findByG_LikeN_PrevAndNext(long tagId, long groupId, String name, OrderByComparator<AssetTag> orderByComparator)
          Returns the asset tags before and after the current asset tag in the ordered set where groupId = ? and name LIKE ?.
 List<AssetTag> findByG_LikeN(long[] groupIds, String name)
          Returns all the asset tags where groupId = any ? and name LIKE ?.
 List<AssetTag> findByG_LikeN(long[] groupIds, String name, int start, int end)
          Returns a range of all the asset tags where groupId = any ? and name LIKE ?.
 List<AssetTag> findByG_LikeN(long[] groupIds, String name, int start, int end, OrderByComparator<AssetTag> orderByComparator)
          Returns an ordered range of all the asset tags where groupId = any ? and name LIKE ?.
 List<AssetTag> findByG_LikeN(long[] groupIds, String name, int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?, optionally using the finder cache.
 List<AssetTag> findByG_LikeN(long groupId, String name)
          Returns all the asset tags where groupId = ? and name LIKE ?.
 List<AssetTag> findByG_LikeN(long groupId, String name, int start, int end)
          Returns a range of all the asset tags where groupId = ? and name LIKE ?.
 List<AssetTag> findByG_LikeN(long groupId, String name, int start, int end, OrderByComparator<AssetTag> orderByComparator)
          Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?.
 List<AssetTag> findByG_LikeN(long groupId, String name, int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?.
 AssetTag findByG_N(long groupId, String name)
          Returns the asset tag where groupId = ? and name = ? or throws a NoSuchTagException if it could not be found.
 AssetTag findByGroupId_First(long groupId, OrderByComparator<AssetTag> orderByComparator)
          Returns the first asset tag in the ordered set where groupId = ?.
 AssetTag findByGroupId_Last(long groupId, OrderByComparator<AssetTag> orderByComparator)
          Returns the last asset tag in the ordered set where groupId = ?.
 AssetTag[] findByGroupId_PrevAndNext(long tagId, long groupId, OrderByComparator<AssetTag> orderByComparator)
          Returns the asset tags before and after the current asset tag in the ordered set where groupId = ?.
 List<AssetTag> findByGroupId(long groupId)
          Returns all the asset tags where groupId = ?.
 List<AssetTag> findByGroupId(long[] groupIds)
          Returns all the asset tags where groupId = any ?.
 List<AssetTag> findByGroupId(long[] groupIds, int start, int end)
          Returns a range of all the asset tags where groupId = any ?.
 List<AssetTag> findByGroupId(long[] groupIds, int start, int end, OrderByComparator<AssetTag> orderByComparator)
          Returns an ordered range of all the asset tags where groupId = any ?.
 List<AssetTag> findByGroupId(long[] groupIds, int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the asset tags where groupId = ?, optionally using the finder cache.
 List<AssetTag> findByGroupId(long groupId, int start, int end)
          Returns a range of all the asset tags where groupId = ?.
 List<AssetTag> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetTag> orderByComparator)
          Returns an ordered range of all the asset tags where groupId = ?.
 List<AssetTag> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the asset tags where groupId = ?.
 AssetTag findByPrimaryKey(long tagId)
          Returns the asset tag with the primary key or throws a NoSuchTagException if it could not be found.
 AssetTag findByPrimaryKey(Serializable primaryKey)
          Returns the asset tag with the primary key or throws a NoSuchModelException if it could not be found.
 AssetTag findByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetTag> orderByComparator)
          Returns the first asset tag in the ordered set where uuid = ? and companyId = ?.
 AssetTag findByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetTag> orderByComparator)
          Returns the last asset tag in the ordered set where uuid = ? and companyId = ?.
 AssetTag[] findByUuid_C_PrevAndNext(long tagId, String uuid, long companyId, OrderByComparator<AssetTag> orderByComparator)
          Returns the asset tags before and after the current asset tag in the ordered set where uuid = ? and companyId = ?.
 List<AssetTag> findByUuid_C(String uuid, long companyId)
          Returns all the asset tags where uuid = ? and companyId = ?.
 List<AssetTag> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the asset tags where uuid = ? and companyId = ?.
 List<AssetTag> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetTag> orderByComparator)
          Returns an ordered range of all the asset tags where uuid = ? and companyId = ?.
 List<AssetTag> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the asset tags where uuid = ? and companyId = ?.
 AssetTag findByUuid_First(String uuid, OrderByComparator<AssetTag> orderByComparator)
          Returns the first asset tag in the ordered set where uuid = ?.
 AssetTag findByUUID_G(String uuid, long groupId)
          Returns the asset tag where uuid = ? and groupId = ? or throws a NoSuchTagException if it could not be found.
 AssetTag findByUuid_Last(String uuid, OrderByComparator<AssetTag> orderByComparator)
          Returns the last asset tag in the ordered set where uuid = ?.
 AssetTag[] findByUuid_PrevAndNext(long tagId, String uuid, OrderByComparator<AssetTag> orderByComparator)
          Returns the asset tags before and after the current asset tag in the ordered set where uuid = ?.
 List<AssetTag> findByUuid(String uuid)
          Returns all the asset tags where uuid = ?.
 List<AssetTag> findByUuid(String uuid, int start, int end)
          Returns a range of all the asset tags where uuid = ?.
 List<AssetTag> findByUuid(String uuid, int start, int end, OrderByComparator<AssetTag> orderByComparator)
          Returns an ordered range of all the asset tags where uuid = ?.
 List<AssetTag> findByUuid(String uuid, int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the asset tags where uuid = ?.
 List<AssetEntry> getAssetEntries(long pk)
          Returns all the asset entries associated with the asset tag.
 List<AssetEntry> getAssetEntries(long pk, int start, int end)
          Returns a range of all the asset entries associated with the asset tag.
 List<AssetEntry> getAssetEntries(long pk, int start, int end, OrderByComparator<AssetEntry> orderByComparator)
          Returns an ordered range of all the asset entries associated with the asset tag.
 int getAssetEntriesSize(long pk)
          Returns the number of asset entries associated with the asset tag.
 long[] getAssetEntryPrimaryKeys(long pk)
          Returns the primaryKeys of asset entries associated with the asset tag.
 Set<String> getBadColumnNames()
           
protected  AssetTag getByG_LikeN_PrevAndNext(Session session, AssetTag assetTag, long groupId, String name, OrderByComparator<AssetTag> orderByComparator, boolean previous)
           
protected  AssetTag getByGroupId_PrevAndNext(Session session, AssetTag assetTag, long groupId, OrderByComparator<AssetTag> orderByComparator, boolean previous)
           
protected  AssetTag getByUuid_C_PrevAndNext(Session session, AssetTag assetTag, String uuid, long companyId, OrderByComparator<AssetTag> orderByComparator, boolean previous)
           
protected  AssetTag getByUuid_PrevAndNext(Session session, AssetTag assetTag, String uuid, OrderByComparator<AssetTag> orderByComparator, boolean previous)
           
protected  Map<String,Integer> getTableColumnsMap()
           
 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 removeByG_LikeN(long groupId, String name)
          Removes all the asset tags where groupId = ? and name LIKE ? from the database.
 AssetTag removeByG_N(long groupId, String name)
          Removes the asset tag where groupId = ? and name = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the asset tags where groupId = ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the asset tags where uuid = ? and companyId = ? from the database.
 AssetTag removeByUUID_G(String uuid, long groupId)
          Removes the asset tag where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the asset tags where uuid = ? 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)
          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, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
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
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_COUNT_BY_UUID_C

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_WITH_PAGINATION_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_GROUPID

FINDER_PATH_FETCH_BY_G_N

public static final FinderPath FINDER_PATH_FETCH_BY_G_N

FINDER_PATH_COUNT_BY_G_N

public static final FinderPath FINDER_PATH_COUNT_BY_G_N

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LIKEN

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LIKEN

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LIKEN

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LIKEN

companyProvider

@BeanReference(type=CompanyProviderWrapper.class)
protected CompanyProvider companyProvider

entityCache

protected EntityCache entityCache

finderCache

protected FinderCache finderCache

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetTagToAssetEntryTableMapper

protected TableMapper<AssetTag,AssetEntry> assetTagToAssetEntryTableMapper
Constructor Detail

AssetTagPersistenceImpl

public AssetTagPersistenceImpl()
Method Detail

findByUuid

public List<AssetTag> findByUuid(String uuid)
Returns all the asset tags where uuid = ?.

Specified by:
findByUuid in interface AssetTagPersistence
Parameters:
uuid - the uuid
Returns:
the matching asset tags

findByUuid

public List<AssetTag> findByUuid(String uuid,
                                 int start,
                                 int end)
Returns a range of all the asset tags where uuid = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid in interface AssetTagPersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
Returns:
the range of matching asset tags

findByUuid

public List<AssetTag> findByUuid(String uuid,
                                 int start,
                                 int end,
                                 OrderByComparator<AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where uuid = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid in interface AssetTagPersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tags

findByUuid

public List<AssetTag> findByUuid(String uuid,
                                 int start,
                                 int end,
                                 OrderByComparator<AssetTag> orderByComparator,
                                 boolean retrieveFromCache)
Returns an ordered range of all the asset tags where uuid = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid in interface AssetTagPersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching asset tags

findByUuid_First

public AssetTag findByUuid_First(String uuid,
                                 OrderByComparator<AssetTag> orderByComparator)
                          throws NoSuchTagException
Returns the first asset tag in the ordered set where uuid = ?.

Specified by:
findByUuid_First in interface AssetTagPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag
Throws:
NoSuchTagException - if a matching asset tag could not be found

fetchByUuid_First

public AssetTag fetchByUuid_First(String uuid,
                                  OrderByComparator<AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where uuid = ?.

Specified by:
fetchByUuid_First in interface AssetTagPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag, or null if a matching asset tag could not be found

findByUuid_Last

public AssetTag findByUuid_Last(String uuid,
                                OrderByComparator<AssetTag> orderByComparator)
                         throws NoSuchTagException
Returns the last asset tag in the ordered set where uuid = ?.

Specified by:
findByUuid_Last in interface AssetTagPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag
Throws:
NoSuchTagException - if a matching asset tag could not be found

fetchByUuid_Last

public AssetTag fetchByUuid_Last(String uuid,
                                 OrderByComparator<AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where uuid = ?.

Specified by:
fetchByUuid_Last in interface AssetTagPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag, or null if a matching asset tag could not be found

findByUuid_PrevAndNext

public AssetTag[] findByUuid_PrevAndNext(long tagId,
                                         String uuid,
                                         OrderByComparator<AssetTag> orderByComparator)
                                  throws NoSuchTagException
Returns the asset tags before and after the current asset tag in the ordered set where uuid = ?.

Specified by:
findByUuid_PrevAndNext in interface AssetTagPersistence
Parameters:
tagId - the primary key of the current asset tag
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset tag
Throws:
NoSuchTagException - if a asset tag with the primary key could not be found

getByUuid_PrevAndNext

protected AssetTag getByUuid_PrevAndNext(Session session,
                                         AssetTag assetTag,
                                         String uuid,
                                         OrderByComparator<AssetTag> orderByComparator,
                                         boolean previous)

removeByUuid

public void removeByUuid(String uuid)
Removes all the asset tags where uuid = ? from the database.

Specified by:
removeByUuid in interface AssetTagPersistence
Parameters:
uuid - the uuid

countByUuid

public int countByUuid(String uuid)
Returns the number of asset tags where uuid = ?.

Specified by:
countByUuid in interface AssetTagPersistence
Parameters:
uuid - the uuid
Returns:
the number of matching asset tags

findByUUID_G

public AssetTag findByUUID_G(String uuid,
                             long groupId)
                      throws NoSuchTagException
Returns the asset tag where uuid = ? and groupId = ? or throws a NoSuchTagException if it could not be found.

Specified by:
findByUUID_G in interface AssetTagPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching asset tag
Throws:
NoSuchTagException - if a matching asset tag could not be found

fetchByUUID_G

public AssetTag fetchByUUID_G(String uuid,
                              long groupId)
Returns the asset tag where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByUUID_G in interface AssetTagPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching asset tag, or null if a matching asset tag could not be found

fetchByUUID_G

public AssetTag fetchByUUID_G(String uuid,
                              long groupId,
                              boolean retrieveFromCache)
Returns the asset tag where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByUUID_G in interface AssetTagPersistence
Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching asset tag, or null if a matching asset tag could not be found

removeByUUID_G

public AssetTag removeByUUID_G(String uuid,
                               long groupId)
                        throws NoSuchTagException
Removes the asset tag where uuid = ? and groupId = ? from the database.

Specified by:
removeByUUID_G in interface AssetTagPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the asset tag that was removed
Throws:
NoSuchTagException

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
Returns the number of asset tags where uuid = ? and groupId = ?.

Specified by:
countByUUID_G in interface AssetTagPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching asset tags

findByUuid_C

public List<AssetTag> findByUuid_C(String uuid,
                                   long companyId)
Returns all the asset tags where uuid = ? and companyId = ?.

Specified by:
findByUuid_C in interface AssetTagPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching asset tags

findByUuid_C

public List<AssetTag> findByUuid_C(String uuid,
                                   long companyId,
                                   int start,
                                   int end)
Returns a range of all the asset tags where uuid = ? and companyId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid_C in interface AssetTagPersistence
Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
Returns:
the range of matching asset tags

findByUuid_C

public List<AssetTag> findByUuid_C(String uuid,
                                   long companyId,
                                   int start,
                                   int end,
                                   OrderByComparator<AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where uuid = ? and companyId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid_C in interface AssetTagPersistence
Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tags

findByUuid_C

public List<AssetTag> findByUuid_C(String uuid,
                                   long companyId,
                                   int start,
                                   int end,
                                   OrderByComparator<AssetTag> orderByComparator,
                                   boolean retrieveFromCache)
Returns an ordered range of all the asset tags where uuid = ? and companyId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid_C in interface AssetTagPersistence
Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching asset tags

findByUuid_C_First

public AssetTag findByUuid_C_First(String uuid,
                                   long companyId,
                                   OrderByComparator<AssetTag> orderByComparator)
                            throws NoSuchTagException
Returns the first asset tag in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_First in interface AssetTagPersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag
Throws:
NoSuchTagException - if a matching asset tag could not be found

fetchByUuid_C_First

public AssetTag fetchByUuid_C_First(String uuid,
                                    long companyId,
                                    OrderByComparator<AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where uuid = ? and companyId = ?.

Specified by:
fetchByUuid_C_First in interface AssetTagPersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag, or null if a matching asset tag could not be found

findByUuid_C_Last

public AssetTag findByUuid_C_Last(String uuid,
                                  long companyId,
                                  OrderByComparator<AssetTag> orderByComparator)
                           throws NoSuchTagException
Returns the last asset tag in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_Last in interface AssetTagPersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag
Throws:
NoSuchTagException - if a matching asset tag could not be found

fetchByUuid_C_Last

public AssetTag fetchByUuid_C_Last(String uuid,
                                   long companyId,
                                   OrderByComparator<AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where uuid = ? and companyId = ?.

Specified by:
fetchByUuid_C_Last in interface AssetTagPersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag, or null if a matching asset tag could not be found

findByUuid_C_PrevAndNext

public AssetTag[] findByUuid_C_PrevAndNext(long tagId,
                                           String uuid,
                                           long companyId,
                                           OrderByComparator<AssetTag> orderByComparator)
                                    throws NoSuchTagException
Returns the asset tags before and after the current asset tag in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_PrevAndNext in interface AssetTagPersistence
Parameters:
tagId - the primary key of the current asset tag
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset tag
Throws:
NoSuchTagException - if a asset tag with the primary key could not be found

getByUuid_C_PrevAndNext

protected AssetTag getByUuid_C_PrevAndNext(Session session,
                                           AssetTag assetTag,
                                           String uuid,
                                           long companyId,
                                           OrderByComparator<AssetTag> orderByComparator,
                                           boolean previous)

removeByUuid_C

public void removeByUuid_C(String uuid,
                           long companyId)
Removes all the asset tags where uuid = ? and companyId = ? from the database.

Specified by:
removeByUuid_C in interface AssetTagPersistence
Parameters:
uuid - the uuid
companyId - the company ID

countByUuid_C

public int countByUuid_C(String uuid,
                         long companyId)
Returns the number of asset tags where uuid = ? and companyId = ?.

Specified by:
countByUuid_C in interface AssetTagPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching asset tags

findByGroupId

public List<AssetTag> findByGroupId(long groupId)
Returns all the asset tags where groupId = ?.

Specified by:
findByGroupId in interface AssetTagPersistence
Parameters:
groupId - the group ID
Returns:
the matching asset tags

findByGroupId

public List<AssetTag> findByGroupId(long groupId,
                                    int start,
                                    int end)
Returns a range of all the asset tags where groupId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface AssetTagPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
Returns:
the range of matching asset tags

findByGroupId

public List<AssetTag> findByGroupId(long groupId,
                                    int start,
                                    int end,
                                    OrderByComparator<AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where groupId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface AssetTagPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tags

findByGroupId

public List<AssetTag> findByGroupId(long groupId,
                                    int start,
                                    int end,
                                    OrderByComparator<AssetTag> orderByComparator,
                                    boolean retrieveFromCache)
Returns an ordered range of all the asset tags where groupId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface AssetTagPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching asset tags

findByGroupId_First

public AssetTag findByGroupId_First(long groupId,
                                    OrderByComparator<AssetTag> orderByComparator)
                             throws NoSuchTagException
Returns the first asset tag in the ordered set where groupId = ?.

Specified by:
findByGroupId_First in interface AssetTagPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag
Throws:
NoSuchTagException - if a matching asset tag could not be found

fetchByGroupId_First

public AssetTag fetchByGroupId_First(long groupId,
                                     OrderByComparator<AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_First in interface AssetTagPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag, or null if a matching asset tag could not be found

findByGroupId_Last

public AssetTag findByGroupId_Last(long groupId,
                                   OrderByComparator<AssetTag> orderByComparator)
                            throws NoSuchTagException
Returns the last asset tag in the ordered set where groupId = ?.

Specified by:
findByGroupId_Last in interface AssetTagPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag
Throws:
NoSuchTagException - if a matching asset tag could not be found

fetchByGroupId_Last

public AssetTag fetchByGroupId_Last(long groupId,
                                    OrderByComparator<AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_Last in interface AssetTagPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag, or null if a matching asset tag could not be found

findByGroupId_PrevAndNext

public AssetTag[] findByGroupId_PrevAndNext(long tagId,
                                            long groupId,
                                            OrderByComparator<AssetTag> orderByComparator)
                                     throws NoSuchTagException
Returns the asset tags before and after the current asset tag in the ordered set where groupId = ?.

Specified by:
findByGroupId_PrevAndNext in interface AssetTagPersistence
Parameters:
tagId - the primary key of the current asset tag
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset tag
Throws:
NoSuchTagException - if a asset tag with the primary key could not be found

getByGroupId_PrevAndNext

protected AssetTag getByGroupId_PrevAndNext(Session session,
                                            AssetTag assetTag,
                                            long groupId,
                                            OrderByComparator<AssetTag> orderByComparator,
                                            boolean previous)

filterFindByGroupId

public List<AssetTag> filterFindByGroupId(long groupId)
Returns all the asset tags that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId in interface AssetTagPersistence
Parameters:
groupId - the group ID
Returns:
the matching asset tags that the user has permission to view

filterFindByGroupId

public List<AssetTag> filterFindByGroupId(long groupId,
                                          int start,
                                          int end)
Returns a range of all the asset tags that the user has permission to view where groupId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByGroupId in interface AssetTagPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
Returns:
the range of matching asset tags that the user has permission to view

filterFindByGroupId

public List<AssetTag> filterFindByGroupId(long groupId,
                                          int start,
                                          int end,
                                          OrderByComparator<AssetTag> orderByComparator)
Returns an ordered range of all the asset tags that the user has permissions to view where groupId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByGroupId in interface AssetTagPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tags that the user has permission to view

filterFindByGroupId_PrevAndNext

public AssetTag[] filterFindByGroupId_PrevAndNext(long tagId,
                                                  long groupId,
                                                  OrderByComparator<AssetTag> orderByComparator)
                                           throws NoSuchTagException
Returns the asset tags before and after the current asset tag in the ordered set of asset tags that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId_PrevAndNext in interface AssetTagPersistence
Parameters:
tagId - the primary key of the current asset tag
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset tag
Throws:
NoSuchTagException - if a asset tag with the primary key could not be found

filterGetByGroupId_PrevAndNext

protected AssetTag filterGetByGroupId_PrevAndNext(Session session,
                                                  AssetTag assetTag,
                                                  long groupId,
                                                  OrderByComparator<AssetTag> orderByComparator,
                                                  boolean previous)

filterFindByGroupId

public List<AssetTag> filterFindByGroupId(long[] groupIds)
Returns all the asset tags that the user has permission to view where groupId = any ?.

Specified by:
filterFindByGroupId in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
Returns:
the matching asset tags that the user has permission to view

filterFindByGroupId

public List<AssetTag> filterFindByGroupId(long[] groupIds,
                                          int start,
                                          int end)
Returns a range of all the asset tags that the user has permission to view where groupId = any ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByGroupId in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
Returns:
the range of matching asset tags that the user has permission to view

filterFindByGroupId

public List<AssetTag> filterFindByGroupId(long[] groupIds,
                                          int start,
                                          int end,
                                          OrderByComparator<AssetTag> orderByComparator)
Returns an ordered range of all the asset tags that the user has permission to view where groupId = any ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByGroupId in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tags that the user has permission to view

findByGroupId

public List<AssetTag> findByGroupId(long[] groupIds)
Returns all the asset tags where groupId = any ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
Returns:
the matching asset tags

findByGroupId

public List<AssetTag> findByGroupId(long[] groupIds,
                                    int start,
                                    int end)
Returns a range of all the asset tags where groupId = any ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
Returns:
the range of matching asset tags

findByGroupId

public List<AssetTag> findByGroupId(long[] groupIds,
                                    int start,
                                    int end,
                                    OrderByComparator<AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where groupId = any ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tags

findByGroupId

public List<AssetTag> findByGroupId(long[] groupIds,
                                    int start,
                                    int end,
                                    OrderByComparator<AssetTag> orderByComparator,
                                    boolean retrieveFromCache)
Returns an ordered range of all the asset tags where groupId = ?, optionally using the finder cache.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface AssetTagPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching asset tags

removeByGroupId

public void removeByGroupId(long groupId)
Removes all the asset tags where groupId = ? from the database.

Specified by:
removeByGroupId in interface AssetTagPersistence
Parameters:
groupId - the group ID

countByGroupId

public int countByGroupId(long groupId)
Returns the number of asset tags where groupId = ?.

Specified by:
countByGroupId in interface AssetTagPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching asset tags

countByGroupId

public int countByGroupId(long[] groupIds)
Returns the number of asset tags where groupId = any ?.

Specified by:
countByGroupId in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
Returns:
the number of matching asset tags

filterCountByGroupId

public int filterCountByGroupId(long groupId)
Returns the number of asset tags that the user has permission to view where groupId = ?.

Specified by:
filterCountByGroupId in interface AssetTagPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching asset tags that the user has permission to view

filterCountByGroupId

public int filterCountByGroupId(long[] groupIds)
Returns the number of asset tags that the user has permission to view where groupId = any ?.

Specified by:
filterCountByGroupId in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
Returns:
the number of matching asset tags that the user has permission to view

findByG_N

public AssetTag findByG_N(long groupId,
                          String name)
                   throws NoSuchTagException
Returns the asset tag where groupId = ? and name = ? or throws a NoSuchTagException if it could not be found.

Specified by:
findByG_N in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
Returns:
the matching asset tag
Throws:
NoSuchTagException - if a matching asset tag could not be found

fetchByG_N

public AssetTag fetchByG_N(long groupId,
                           String name)
Returns the asset tag where groupId = ? and name = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByG_N in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
Returns:
the matching asset tag, or null if a matching asset tag could not be found

fetchByG_N

public AssetTag fetchByG_N(long groupId,
                           String name,
                           boolean retrieveFromCache)
Returns the asset tag where groupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByG_N in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching asset tag, or null if a matching asset tag could not be found

removeByG_N

public AssetTag removeByG_N(long groupId,
                            String name)
                     throws NoSuchTagException
Removes the asset tag where groupId = ? and name = ? from the database.

Specified by:
removeByG_N in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
Returns:
the asset tag that was removed
Throws:
NoSuchTagException

countByG_N

public int countByG_N(long groupId,
                      String name)
Returns the number of asset tags where groupId = ? and name = ?.

Specified by:
countByG_N in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
Returns:
the number of matching asset tags

findByG_LikeN

public List<AssetTag> findByG_LikeN(long groupId,
                                    String name)
Returns all the asset tags where groupId = ? and name LIKE ?.

Specified by:
findByG_LikeN in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
Returns:
the matching asset tags

findByG_LikeN

public List<AssetTag> findByG_LikeN(long groupId,
                                    String name,
                                    int start,
                                    int end)
Returns a range of all the asset tags where groupId = ? and name LIKE ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_LikeN in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
Returns:
the range of matching asset tags

findByG_LikeN

public List<AssetTag> findByG_LikeN(long groupId,
                                    String name,
                                    int start,
                                    int end,
                                    OrderByComparator<AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_LikeN in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tags

findByG_LikeN

public List<AssetTag> findByG_LikeN(long groupId,
                                    String name,
                                    int start,
                                    int end,
                                    OrderByComparator<AssetTag> orderByComparator,
                                    boolean retrieveFromCache)
Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_LikeN in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching asset tags

findByG_LikeN_First

public AssetTag findByG_LikeN_First(long groupId,
                                    String name,
                                    OrderByComparator<AssetTag> orderByComparator)
                             throws NoSuchTagException
Returns the first asset tag in the ordered set where groupId = ? and name LIKE ?.

Specified by:
findByG_LikeN_First in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag
Throws:
NoSuchTagException - if a matching asset tag could not be found

fetchByG_LikeN_First

public AssetTag fetchByG_LikeN_First(long groupId,
                                     String name,
                                     OrderByComparator<AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where groupId = ? and name LIKE ?.

Specified by:
fetchByG_LikeN_First in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset tag, or null if a matching asset tag could not be found

findByG_LikeN_Last

public AssetTag findByG_LikeN_Last(long groupId,
                                   String name,
                                   OrderByComparator<AssetTag> orderByComparator)
                            throws NoSuchTagException
Returns the last asset tag in the ordered set where groupId = ? and name LIKE ?.

Specified by:
findByG_LikeN_Last in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag
Throws:
NoSuchTagException - if a matching asset tag could not be found

fetchByG_LikeN_Last

public AssetTag fetchByG_LikeN_Last(long groupId,
                                    String name,
                                    OrderByComparator<AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where groupId = ? and name LIKE ?.

Specified by:
fetchByG_LikeN_Last in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset tag, or null if a matching asset tag could not be found

findByG_LikeN_PrevAndNext

public AssetTag[] findByG_LikeN_PrevAndNext(long tagId,
                                            long groupId,
                                            String name,
                                            OrderByComparator<AssetTag> orderByComparator)
                                     throws NoSuchTagException
Returns the asset tags before and after the current asset tag in the ordered set where groupId = ? and name LIKE ?.

Specified by:
findByG_LikeN_PrevAndNext in interface AssetTagPersistence
Parameters:
tagId - the primary key of the current asset tag
groupId - the group ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset tag
Throws:
NoSuchTagException - if a asset tag with the primary key could not be found

getByG_LikeN_PrevAndNext

protected AssetTag getByG_LikeN_PrevAndNext(Session session,
                                            AssetTag assetTag,
                                            long groupId,
                                            String name,
                                            OrderByComparator<AssetTag> orderByComparator,
                                            boolean previous)

filterFindByG_LikeN

public List<AssetTag> filterFindByG_LikeN(long groupId,
                                          String name)
Returns all the asset tags that the user has permission to view where groupId = ? and name LIKE ?.

Specified by:
filterFindByG_LikeN in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
Returns:
the matching asset tags that the user has permission to view

filterFindByG_LikeN

public List<AssetTag> filterFindByG_LikeN(long groupId,
                                          String name,
                                          int start,
                                          int end)
Returns a range of all the asset tags that the user has permission to view where groupId = ? and name LIKE ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_LikeN in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
Returns:
the range of matching asset tags that the user has permission to view

filterFindByG_LikeN

public List<AssetTag> filterFindByG_LikeN(long groupId,
                                          String name,
                                          int start,
                                          int end,
                                          OrderByComparator<AssetTag> orderByComparator)
Returns an ordered range of all the asset tags that the user has permissions to view where groupId = ? and name LIKE ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_LikeN in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tags that the user has permission to view

filterFindByG_LikeN_PrevAndNext

public AssetTag[] filterFindByG_LikeN_PrevAndNext(long tagId,
                                                  long groupId,
                                                  String name,
                                                  OrderByComparator<AssetTag> orderByComparator)
                                           throws NoSuchTagException
Returns the asset tags before and after the current asset tag in the ordered set of asset tags that the user has permission to view where groupId = ? and name LIKE ?.

Specified by:
filterFindByG_LikeN_PrevAndNext in interface AssetTagPersistence
Parameters:
tagId - the primary key of the current asset tag
groupId - the group ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset tag
Throws:
NoSuchTagException - if a asset tag with the primary key could not be found

filterGetByG_LikeN_PrevAndNext

protected AssetTag filterGetByG_LikeN_PrevAndNext(Session session,
                                                  AssetTag assetTag,
                                                  long groupId,
                                                  String name,
                                                  OrderByComparator<AssetTag> orderByComparator,
                                                  boolean previous)

filterFindByG_LikeN

public List<AssetTag> filterFindByG_LikeN(long[] groupIds,
                                          String name)
Returns all the asset tags that the user has permission to view where groupId = any ? and name LIKE ?.

Specified by:
filterFindByG_LikeN in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
name - the name
Returns:
the matching asset tags that the user has permission to view

filterFindByG_LikeN

public List<AssetTag> filterFindByG_LikeN(long[] groupIds,
                                          String name,
                                          int start,
                                          int end)
Returns a range of all the asset tags that the user has permission to view where groupId = any ? and name LIKE ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_LikeN in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
name - the name
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
Returns:
the range of matching asset tags that the user has permission to view

filterFindByG_LikeN

public List<AssetTag> filterFindByG_LikeN(long[] groupIds,
                                          String name,
                                          int start,
                                          int end,
                                          OrderByComparator<AssetTag> orderByComparator)
Returns an ordered range of all the asset tags that the user has permission to view where groupId = any ? and name LIKE ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_LikeN in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
name - the name
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tags that the user has permission to view

findByG_LikeN

public List<AssetTag> findByG_LikeN(long[] groupIds,
                                    String name)
Returns all the asset tags where groupId = any ? and name LIKE ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_LikeN in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
name - the name
Returns:
the matching asset tags

findByG_LikeN

public List<AssetTag> findByG_LikeN(long[] groupIds,
                                    String name,
                                    int start,
                                    int end)
Returns a range of all the asset tags where groupId = any ? and name LIKE ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_LikeN in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
name - the name
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
Returns:
the range of matching asset tags

findByG_LikeN

public List<AssetTag> findByG_LikeN(long[] groupIds,
                                    String name,
                                    int start,
                                    int end,
                                    OrderByComparator<AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where groupId = any ? and name LIKE ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_LikeN in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
name - the name
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset tags

findByG_LikeN

public List<AssetTag> findByG_LikeN(long[] groupIds,
                                    String name,
                                    int start,
                                    int end,
                                    OrderByComparator<AssetTag> orderByComparator,
                                    boolean retrieveFromCache)
Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?, optionally using the finder cache.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_LikeN in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching asset tags

removeByG_LikeN

public void removeByG_LikeN(long groupId,
                            String name)
Removes all the asset tags where groupId = ? and name LIKE ? from the database.

Specified by:
removeByG_LikeN in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name

countByG_LikeN

public int countByG_LikeN(long groupId,
                          String name)
Returns the number of asset tags where groupId = ? and name LIKE ?.

Specified by:
countByG_LikeN in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
Returns:
the number of matching asset tags

countByG_LikeN

public int countByG_LikeN(long[] groupIds,
                          String name)
Returns the number of asset tags where groupId = any ? and name LIKE ?.

Specified by:
countByG_LikeN in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
name - the name
Returns:
the number of matching asset tags

filterCountByG_LikeN

public int filterCountByG_LikeN(long groupId,
                                String name)
Returns the number of asset tags that the user has permission to view where groupId = ? and name LIKE ?.

Specified by:
filterCountByG_LikeN in interface AssetTagPersistence
Parameters:
groupId - the group ID
name - the name
Returns:
the number of matching asset tags that the user has permission to view

filterCountByG_LikeN

public int filterCountByG_LikeN(long[] groupIds,
                                String name)
Returns the number of asset tags that the user has permission to view where groupId = any ? and name LIKE ?.

Specified by:
filterCountByG_LikeN in interface AssetTagPersistence
Parameters:
groupIds - the group IDs
name - the name
Returns:
the number of matching asset tags that the user has permission to view

cacheResult

public void cacheResult(AssetTag assetTag)
Caches the asset tag in the entity cache if it is enabled.

Specified by:
cacheResult in interface AssetTagPersistence
Parameters:
assetTag - the asset tag

cacheResult

public void cacheResult(List<AssetTag> assetTags)
Caches the asset tags in the entity cache if it is enabled.

Specified by:
cacheResult in interface AssetTagPersistence
Parameters:
assetTags - the asset tags

clearCache

public void clearCache()
Clears the cache for all asset tags.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<AssetTag>
Overrides:
clearCache in class BasePersistenceImpl<AssetTag>

clearCache

public void clearCache(AssetTag assetTag)
Clears the cache for the asset tag.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<AssetTag>
Overrides:
clearCache in class BasePersistenceImpl<AssetTag>
Parameters:
assetTag - the instance of this model to clear the cache for

clearCache

public void clearCache(List<AssetTag> assetTags)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<AssetTag>
Overrides:
clearCache in class BasePersistenceImpl<AssetTag>
Parameters:
assetTags - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(AssetTagModelImpl assetTagModelImpl,
                                       boolean isNew)

clearUniqueFindersCache

protected void clearUniqueFindersCache(AssetTagModelImpl assetTagModelImpl)

create

public AssetTag create(long tagId)
Creates a new asset tag with the primary key. Does not add the asset tag to the database.

Specified by:
create in interface AssetTagPersistence
Parameters:
tagId - the primary key for the new asset tag
Returns:
the new asset tag

remove

public AssetTag remove(long tagId)
                throws NoSuchTagException
Removes the asset tag with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface AssetTagPersistence
Parameters:
tagId - the primary key of the asset tag
Returns:
the asset tag that was removed
Throws:
NoSuchTagException - if a asset tag with the primary key could not be found

remove

public AssetTag remove(Serializable primaryKey)
                throws NoSuchTagException
Removes the asset tag with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<AssetTag>
Overrides:
remove in class BasePersistenceImpl<AssetTag>
Parameters:
primaryKey - the primary key of the asset tag
Returns:
the asset tag that was removed
Throws:
NoSuchTagException - if a asset tag with the primary key could not be found

removeImpl

protected AssetTag removeImpl(AssetTag assetTag)
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<AssetTag>
Parameters:
assetTag - the model instance to remove
Returns:
the model instance that was removed

updateImpl

public AssetTag updateImpl(AssetTag assetTag)
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface AssetTagPersistence
Overrides:
updateImpl in class BasePersistenceImpl<AssetTag>
Parameters:
assetTag - the model instance to update
Returns:
the model instance that was updated

toUnwrappedModel

protected AssetTag toUnwrappedModel(AssetTag assetTag)

findByPrimaryKey

public AssetTag findByPrimaryKey(Serializable primaryKey)
                          throws NoSuchTagException
Returns the asset tag with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<AssetTag>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<AssetTag>
Parameters:
primaryKey - the primary key of the asset tag
Returns:
the asset tag
Throws:
NoSuchTagException - if a asset tag with the primary key could not be found

findByPrimaryKey

public AssetTag findByPrimaryKey(long tagId)
                          throws NoSuchTagException
Returns the asset tag with the primary key or throws a NoSuchTagException if it could not be found.

Specified by:
findByPrimaryKey in interface AssetTagPersistence
Parameters:
tagId - the primary key of the asset tag
Returns:
the asset tag
Throws:
NoSuchTagException - if a asset tag with the primary key could not be found

fetchByPrimaryKey

public AssetTag fetchByPrimaryKey(Serializable primaryKey)
Returns the asset tag with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<AssetTag>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<AssetTag>
Parameters:
primaryKey - the primary key of the asset tag
Returns:
the asset tag, or null if a asset tag with the primary key could not be found

fetchByPrimaryKey

public AssetTag fetchByPrimaryKey(long tagId)
Returns the asset tag with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface AssetTagPersistence
Parameters:
tagId - the primary key of the asset tag
Returns:
the asset tag, or null if a asset tag with the primary key could not be found

fetchByPrimaryKeys

public Map<Serializable,AssetTag> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface BasePersistence<AssetTag>
Specified by:
fetchByPrimaryKeys in interface AssetTagPersistence
Overrides:
fetchByPrimaryKeys in class BasePersistenceImpl<AssetTag>

findAll

public List<AssetTag> findAll()
Returns all the asset tags.

Specified by:
findAll in interface AssetTagPersistence
Returns:
the asset tags

findAll

public List<AssetTag> findAll(int start,
                              int end)
Returns a range of all the asset tags.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface AssetTagPersistence
Parameters:
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
Returns:
the range of asset tags

findAll

public List<AssetTag> findAll(int start,
                              int end,
                              OrderByComparator<AssetTag> orderByComparator)
Returns an ordered range of all the asset tags.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface AssetTagPersistence
Parameters:
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of asset tags

findAll

public List<AssetTag> findAll(int start,
                              int end,
                              OrderByComparator<AssetTag> orderByComparator,
                              boolean retrieveFromCache)
Returns an ordered range of all the asset tags.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface AssetTagPersistence
Parameters:
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of asset tags

removeAll

public void removeAll()
Removes all the asset tags from the database.

Specified by:
removeAll in interface AssetTagPersistence

countAll

public int countAll()
Returns the number of asset tags.

Specified by:
countAll in interface AssetTagPersistence
Returns:
the number of asset tags

getAssetEntryPrimaryKeys

public long[] getAssetEntryPrimaryKeys(long pk)
Returns the primaryKeys of asset entries associated with the asset tag.

Specified by:
getAssetEntryPrimaryKeys in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
Returns:
long[] of the primaryKeys of asset entries associated with the asset tag

getAssetEntries

public List<AssetEntry> getAssetEntries(long pk)
Returns all the asset entries associated with the asset tag.

Specified by:
getAssetEntries in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
Returns:
the asset entries associated with the asset tag

getAssetEntries

public List<AssetEntry> getAssetEntries(long pk,
                                        int start,
                                        int end)
Returns a range of all the asset entries associated with the asset tag.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
getAssetEntries in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
Returns:
the range of asset entries associated with the asset tag

getAssetEntries

public List<AssetEntry> getAssetEntries(long pk,
                                        int start,
                                        int end,
                                        OrderByComparator<AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries associated with the asset tag.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
getAssetEntries in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of asset entries associated with the asset tag

getAssetEntriesSize

public int getAssetEntriesSize(long pk)
Returns the number of asset entries associated with the asset tag.

Specified by:
getAssetEntriesSize in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
Returns:
the number of asset entries associated with the asset tag

containsAssetEntry

public boolean containsAssetEntry(long pk,
                                  long assetEntryPK)
Returns true if the asset entry is associated with the asset tag.

Specified by:
containsAssetEntry in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
assetEntryPK - the primary key of the asset entry
Returns:
true if the asset entry is associated with the asset tag; false otherwise

containsAssetEntries

public boolean containsAssetEntries(long pk)
Returns true if the asset tag has any asset entries associated with it.

Specified by:
containsAssetEntries in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag to check for associations with asset entries
Returns:
true if the asset tag has any asset entries associated with it; false otherwise

addAssetEntry

public void addAssetEntry(long pk,
                          long assetEntryPK)
Adds an association between the asset tag and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addAssetEntry in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
assetEntryPK - the primary key of the asset entry

addAssetEntry

public void addAssetEntry(long pk,
                          AssetEntry assetEntry)
Adds an association between the asset tag and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addAssetEntry in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
assetEntry - the asset entry

addAssetEntries

public void addAssetEntries(long pk,
                            long[] assetEntryPKs)
Adds an association between the asset tag and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addAssetEntries in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
assetEntryPKs - the primary keys of the asset entries

addAssetEntries

public void addAssetEntries(long pk,
                            List<AssetEntry> assetEntries)
Adds an association between the asset tag and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addAssetEntries in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
assetEntries - the asset entries

clearAssetEntries

public void clearAssetEntries(long pk)
Clears all associations between the asset tag and its asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
clearAssetEntries in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag to clear the associated asset entries from

removeAssetEntry

public void removeAssetEntry(long pk,
                             long assetEntryPK)
Removes the association between the asset tag and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeAssetEntry in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
assetEntryPK - the primary key of the asset entry

removeAssetEntry

public void removeAssetEntry(long pk,
                             AssetEntry assetEntry)
Removes the association between the asset tag and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeAssetEntry in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
assetEntry - the asset entry

removeAssetEntries

public void removeAssetEntries(long pk,
                               long[] assetEntryPKs)
Removes the association between the asset tag and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeAssetEntries in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
assetEntryPKs - the primary keys of the asset entries

removeAssetEntries

public void removeAssetEntries(long pk,
                               List<AssetEntry> assetEntries)
Removes the association between the asset tag and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeAssetEntries in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
assetEntries - the asset entries

setAssetEntries

public void setAssetEntries(long pk,
                            long[] assetEntryPKs)
Sets the asset entries associated with the asset tag, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setAssetEntries in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
assetEntryPKs - the primary keys of the asset entries to be associated with the asset tag

setAssetEntries

public void setAssetEntries(long pk,
                            List<AssetEntry> assetEntries)
Sets the asset entries associated with the asset tag, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setAssetEntries in interface AssetTagPersistence
Parameters:
pk - the primary key of the asset tag
assetEntries - the asset entries to be associated with the asset tag

getBadColumnNames

public Set<String> getBadColumnNames()
Specified by:
getBadColumnNames in interface BasePersistence<AssetTag>
Specified by:
getBadColumnNames in interface AssetTagPersistence
Overrides:
getBadColumnNames in class BasePersistenceImpl<AssetTag>

getTableColumnsMap

protected Map<String,Integer> getTableColumnsMap()
Overrides:
getTableColumnsMap in class BasePersistenceImpl<AssetTag>

afterPropertiesSet

public void afterPropertiesSet()
Initializes the asset tag persistence.


destroy

public void destroy()

Liferay 7.0-ce-b4