@ProviderType public interface AssetTagPersistence extends BasePersistence<AssetTag>
Caching information and settings can be found in portal.properties
AssetTagPersistenceImpl
,
AssetTagUtil
Modifier and Type | Method and Description |
---|---|
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 |
cacheResult(AssetTag assetTag)
Caches the asset tag in the entity cache if it is enabled.
|
void |
cacheResult(List<AssetTag> assetTags)
Caches the asset tags in the entity cache if it is enabled.
|
void |
clearAssetEntries(long pk)
Clears all associations between the asset tag and its asset entries.
|
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 |
countByName(String name)
Returns the number of asset tags where name = ?.
|
int |
countByName(String[] names)
Returns the number of asset tags where name = 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.
|
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 |
fetchByName_First(String name,
OrderByComparator<AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where name = ?.
|
AssetTag |
fetchByName_Last(String name,
OrderByComparator<AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where name = ?.
|
AssetTag |
fetchByPrimaryKey(long tagId)
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 = ?.
|
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 |
findByName_First(String name,
OrderByComparator<AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where name = ?.
|
AssetTag |
findByName_Last(String name,
OrderByComparator<AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where name = ?.
|
AssetTag[] |
findByName_PrevAndNext(long tagId,
String name,
OrderByComparator<AssetTag> orderByComparator)
Returns the asset tags before and after the current asset tag in the ordered set where name = ?.
|
List<AssetTag> |
findByName(String name)
Returns all the asset tags where name = ?.
|
List<AssetTag> |
findByName(String[] names)
Returns all the asset tags where name = any ?.
|
List<AssetTag> |
findByName(String[] names,
int start,
int end)
Returns a range of all the asset tags where name = any ?.
|
List<AssetTag> |
findByName(String[] names,
int start,
int end,
OrderByComparator<AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where name = any ?.
|
List<AssetTag> |
findByName(String[] names,
int start,
int end,
OrderByComparator<AssetTag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset tags where name = ?, optionally using the finder cache.
|
List<AssetTag> |
findByName(String name,
int start,
int end)
Returns a range of all the asset tags where name = ?.
|
List<AssetTag> |
findByName(String name,
int start,
int end,
OrderByComparator<AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where name = ?.
|
List<AssetTag> |
findByName(String name,
int start,
int end,
OrderByComparator<AssetTag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset tags where name = ?.
|
AssetTag |
findByPrimaryKey(long tagId)
Returns the asset tag with the primary key or throws a
NoSuchTagException 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() |
AssetTag |
remove(long tagId)
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 |
removeByName(String name)
Removes all the asset tags where name = ? 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.
|
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.
|
AssetTag |
updateImpl(AssetTag assetTag) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<AssetTag> findByUuid(String uuid)
uuid
- the uuidList<AssetTag> findByUuid(String uuid, int start, int end)
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.
uuid
- the uuidstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)List<AssetTag> findByUuid(String uuid, int start, int end, OrderByComparator<AssetTag> orderByComparator)
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.
uuid
- the uuidstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetTag> findByUuid(String uuid, int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
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.
uuid
- the uuidstart
- the lower bound of the range of asset tagsend
- 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 cacheAssetTag findByUuid_First(String uuid, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a matching asset tag could not be foundAssetTag fetchByUuid_First(String uuid, OrderByComparator<AssetTag> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundAssetTag findByUuid_Last(String uuid, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a matching asset tag could not be foundAssetTag fetchByUuid_Last(String uuid, OrderByComparator<AssetTag> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundAssetTag[] findByUuid_PrevAndNext(long tagId, String uuid, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
tagId
- the primary key of the current asset taguuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a asset tag with the primary key could not be foundvoid removeByUuid(String uuid)
uuid
- the uuidint countByUuid(String uuid)
uuid
- the uuidAssetTag findByUUID_G(String uuid, long groupId) throws NoSuchTagException
NoSuchTagException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchTagException
- if a matching asset tag could not be foundAssetTag fetchByUUID_G(String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching asset tag could not be foundAssetTag fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching asset tag could not be foundAssetTag removeByUUID_G(String uuid, long groupId) throws NoSuchTagException
uuid
- the uuidgroupId
- the group IDNoSuchTagException
int countByUUID_G(String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDList<AssetTag> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<AssetTag> findByUuid_C(String uuid, long companyId, int start, int end)
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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)List<AssetTag> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetTag> orderByComparator)
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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetTag> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset tagsend
- 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 cacheAssetTag findByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a matching asset tag could not be foundAssetTag fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetTag> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundAssetTag findByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a matching asset tag could not be foundAssetTag fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetTag> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundAssetTag[] findByUuid_C_PrevAndNext(long tagId, String uuid, long companyId, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
tagId
- the primary key of the current asset taguuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a asset tag with the primary key could not be foundvoid removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<AssetTag> findByGroupId(long groupId)
groupId
- the group IDList<AssetTag> findByGroupId(long groupId, int start, int end)
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.
groupId
- the group IDstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)List<AssetTag> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetTag> orderByComparator)
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.
groupId
- the group IDstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetTag> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDstart
- the lower bound of the range of asset tagsend
- 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 cacheAssetTag findByGroupId_First(long groupId, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a matching asset tag could not be foundAssetTag fetchByGroupId_First(long groupId, OrderByComparator<AssetTag> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundAssetTag findByGroupId_Last(long groupId, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a matching asset tag could not be foundAssetTag fetchByGroupId_Last(long groupId, OrderByComparator<AssetTag> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundAssetTag[] findByGroupId_PrevAndNext(long tagId, long groupId, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
tagId
- the primary key of the current asset taggroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a asset tag with the primary key could not be foundList<AssetTag> filterFindByGroupId(long groupId)
groupId
- the group IDList<AssetTag> filterFindByGroupId(long groupId, int start, int end)
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.
groupId
- the group IDstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)List<AssetTag> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<AssetTag> orderByComparator)
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.
groupId
- the group IDstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)AssetTag[] filterFindByGroupId_PrevAndNext(long tagId, long groupId, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
tagId
- the primary key of the current asset taggroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a asset tag with the primary key could not be foundList<AssetTag> filterFindByGroupId(long[] groupIds)
groupIds
- the group IDsList<AssetTag> filterFindByGroupId(long[] groupIds, int start, int end)
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.
groupIds
- the group IDsstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)List<AssetTag> filterFindByGroupId(long[] groupIds, int start, int end, OrderByComparator<AssetTag> orderByComparator)
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.
groupIds
- the group IDsstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetTag> findByGroupId(long[] groupIds)
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.
groupIds
- the group IDsList<AssetTag> findByGroupId(long[] groupIds, int start, int end)
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.
groupIds
- the group IDsstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)List<AssetTag> findByGroupId(long[] groupIds, int start, int end, OrderByComparator<AssetTag> orderByComparator)
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.
groupIds
- the group IDsstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetTag> findByGroupId(long[] groupIds, int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDstart
- the lower bound of the range of asset tagsend
- 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 cachevoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long[] groupIds)
groupIds
- the group IDsint filterCountByGroupId(long groupId)
groupId
- the group IDint filterCountByGroupId(long[] groupIds)
groupIds
- the group IDsList<AssetTag> findByName(String name)
name
- the nameList<AssetTag> findByName(String name, int start, int end)
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.
name
- the namestart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)List<AssetTag> findByName(String name, int start, int end, OrderByComparator<AssetTag> orderByComparator)
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.
name
- the namestart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetTag> findByName(String name, int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
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.
name
- the namestart
- the lower bound of the range of asset tagsend
- 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 cacheAssetTag findByName_First(String name, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a matching asset tag could not be foundAssetTag fetchByName_First(String name, OrderByComparator<AssetTag> orderByComparator)
name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundAssetTag findByName_Last(String name, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a matching asset tag could not be foundAssetTag fetchByName_Last(String name, OrderByComparator<AssetTag> orderByComparator)
name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundAssetTag[] findByName_PrevAndNext(long tagId, String name, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
tagId
- the primary key of the current asset tagname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a asset tag with the primary key could not be foundList<AssetTag> findByName(String[] names)
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.
names
- the namesList<AssetTag> findByName(String[] names, int start, int end)
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.
names
- the namesstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)List<AssetTag> findByName(String[] names, int start, int end, OrderByComparator<AssetTag> orderByComparator)
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.
names
- the namesstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetTag> findByName(String[] names, int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
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.
name
- the namestart
- the lower bound of the range of asset tagsend
- 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 cachevoid removeByName(String name)
name
- the nameint countByName(String name)
name
- the nameint countByName(String[] names)
names
- the namesAssetTag findByG_N(long groupId, String name) throws NoSuchTagException
NoSuchTagException
if it could not be found.groupId
- the group IDname
- the nameNoSuchTagException
- if a matching asset tag could not be foundAssetTag fetchByG_N(long groupId, String name)
null
if it could not be found. Uses the finder cache.groupId
- the group IDname
- the namenull
if a matching asset tag could not be foundAssetTag fetchByG_N(long groupId, String name, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDname
- the nameretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching asset tag could not be foundAssetTag removeByG_N(long groupId, String name) throws NoSuchTagException
groupId
- the group IDname
- the nameNoSuchTagException
int countByG_N(long groupId, String name)
groupId
- the group IDname
- the nameList<AssetTag> findByG_LikeN(long groupId, String name)
groupId
- the group IDname
- the nameList<AssetTag> findByG_LikeN(long groupId, String name, int start, int end)
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.
groupId
- the group IDname
- the namestart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)List<AssetTag> findByG_LikeN(long groupId, String name, int start, int end, OrderByComparator<AssetTag> orderByComparator)
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.
groupId
- the group IDname
- the namestart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetTag> findByG_LikeN(long groupId, String name, int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDname
- the namestart
- the lower bound of the range of asset tagsend
- 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 cacheAssetTag findByG_LikeN_First(long groupId, String name, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a matching asset tag could not be foundAssetTag fetchByG_LikeN_First(long groupId, String name, OrderByComparator<AssetTag> orderByComparator)
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundAssetTag findByG_LikeN_Last(long groupId, String name, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a matching asset tag could not be foundAssetTag fetchByG_LikeN_Last(long groupId, String name, OrderByComparator<AssetTag> orderByComparator)
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundAssetTag[] findByG_LikeN_PrevAndNext(long tagId, long groupId, String name, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
tagId
- the primary key of the current asset taggroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a asset tag with the primary key could not be foundList<AssetTag> filterFindByG_LikeN(long groupId, String name)
groupId
- the group IDname
- the nameList<AssetTag> filterFindByG_LikeN(long groupId, String name, int start, int end)
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.
groupId
- the group IDname
- the namestart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)List<AssetTag> filterFindByG_LikeN(long groupId, String name, int start, int end, OrderByComparator<AssetTag> orderByComparator)
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.
groupId
- the group IDname
- the namestart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)AssetTag[] filterFindByG_LikeN_PrevAndNext(long tagId, long groupId, String name, OrderByComparator<AssetTag> orderByComparator) throws NoSuchTagException
tagId
- the primary key of the current asset taggroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTagException
- if a asset tag with the primary key could not be foundList<AssetTag> filterFindByG_LikeN(long[] groupIds, String name)
groupIds
- the group IDsname
- the nameList<AssetTag> filterFindByG_LikeN(long[] groupIds, String name, int start, int end)
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.
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)List<AssetTag> filterFindByG_LikeN(long[] groupIds, String name, int start, int end, OrderByComparator<AssetTag> orderByComparator)
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.
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetTag> findByG_LikeN(long[] groupIds, String name)
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.
groupIds
- the group IDsname
- the nameList<AssetTag> findByG_LikeN(long[] groupIds, String name, int start, int end)
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.
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)List<AssetTag> findByG_LikeN(long[] groupIds, String name, int start, int end, OrderByComparator<AssetTag> orderByComparator)
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.
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetTag> findByG_LikeN(long[] groupIds, String name, int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDname
- the namestart
- the lower bound of the range of asset tagsend
- 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 cachevoid removeByG_LikeN(long groupId, String name)
groupId
- the group IDname
- the nameint countByG_LikeN(long groupId, String name)
groupId
- the group IDname
- the nameint countByG_LikeN(long[] groupIds, String name)
groupIds
- the group IDsname
- the nameint filterCountByG_LikeN(long groupId, String name)
groupId
- the group IDname
- the nameint filterCountByG_LikeN(long[] groupIds, String name)
groupIds
- the group IDsname
- the namevoid cacheResult(AssetTag assetTag)
assetTag
- the asset tagvoid cacheResult(List<AssetTag> assetTags)
assetTags
- the asset tagsAssetTag create(long tagId)
tagId
- the primary key for the new asset tagAssetTag remove(long tagId) throws NoSuchTagException
tagId
- the primary key of the asset tagNoSuchTagException
- if a asset tag with the primary key could not be foundAssetTag findByPrimaryKey(long tagId) throws NoSuchTagException
NoSuchTagException
if it could not be found.tagId
- the primary key of the asset tagNoSuchTagException
- if a asset tag with the primary key could not be foundAssetTag fetchByPrimaryKey(long tagId)
null
if it could not be found.tagId
- the primary key of the asset tagnull
if a asset tag with the primary key could not be foundMap<Serializable,AssetTag> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface BasePersistence<AssetTag>
List<AssetTag> findAll()
List<AssetTag> findAll(int start, int end)
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.
start
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)List<AssetTag> findAll(int start, int end, OrderByComparator<AssetTag> orderByComparator)
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.
start
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetTag> findAll(int start, int end, OrderByComparator<AssetTag> orderByComparator, boolean retrieveFromCache)
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.
start
- the lower bound of the range of asset tagsend
- 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 cachevoid removeAll()
int countAll()
long[] getAssetEntryPrimaryKeys(long pk)
pk
- the primary key of the asset tagList<AssetEntry> getAssetEntries(long pk)
pk
- the primary key of the asset tagList<AssetEntry> getAssetEntries(long pk, int start, int end)
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.
pk
- the primary key of the asset tagstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)List<AssetEntry> getAssetEntries(long pk, int start, int end, OrderByComparator<AssetEntry> orderByComparator)
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.
pk
- the primary key of the asset tagstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)int getAssetEntriesSize(long pk)
pk
- the primary key of the asset tagboolean containsAssetEntry(long pk, long assetEntryPK)
true
if the asset entry is associated with the asset tag.pk
- the primary key of the asset tagassetEntryPK
- the primary key of the asset entrytrue
if the asset entry is associated with the asset tag; false
otherwiseboolean containsAssetEntries(long pk)
true
if the asset tag has any asset entries associated with it.pk
- the primary key of the asset tag to check for associations with asset entriestrue
if the asset tag has any asset entries associated with it; false
otherwisevoid addAssetEntry(long pk, long assetEntryPK)
pk
- the primary key of the asset tagassetEntryPK
- the primary key of the asset entryvoid addAssetEntry(long pk, AssetEntry assetEntry)
pk
- the primary key of the asset tagassetEntry
- the asset entryvoid addAssetEntries(long pk, long[] assetEntryPKs)
pk
- the primary key of the asset tagassetEntryPKs
- the primary keys of the asset entriesvoid addAssetEntries(long pk, List<AssetEntry> assetEntries)
pk
- the primary key of the asset tagassetEntries
- the asset entriesvoid clearAssetEntries(long pk)
pk
- the primary key of the asset tag to clear the associated asset entries fromvoid removeAssetEntry(long pk, long assetEntryPK)
pk
- the primary key of the asset tagassetEntryPK
- the primary key of the asset entryvoid removeAssetEntry(long pk, AssetEntry assetEntry)
pk
- the primary key of the asset tagassetEntry
- the asset entryvoid removeAssetEntries(long pk, long[] assetEntryPKs)
pk
- the primary key of the asset tagassetEntryPKs
- the primary keys of the asset entriesvoid removeAssetEntries(long pk, List<AssetEntry> assetEntries)
pk
- the primary key of the asset tagassetEntries
- the asset entriesvoid setAssetEntries(long pk, long[] assetEntryPKs)
pk
- the primary key of the asset tagassetEntryPKs
- the primary keys of the asset entries to be associated with the asset tagvoid setAssetEntries(long pk, List<AssetEntry> assetEntries)
pk
- the primary key of the asset tagassetEntries
- the asset entries to be associated with the asset tagSet<String> getBadColumnNames()
getBadColumnNames
in interface BasePersistence<AssetTag>