@ProviderType
public class AssetTagPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
implements com.liferay.asset.kernel.service.persistence.AssetTagPersistence
Caching information and settings can be found in portal.properties
AssetTagPersistence
,
AssetTagUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.asset.kernel.service.persistence.AssetEntryPersistence |
assetEntryPersistence |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetTag,com.liferay.asset.kernel.model.AssetEntry> |
assetTagToAssetEntryTableMapper |
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
protected com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_NAME |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_G |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_G_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_UUID_G |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LIKEN |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_NAME |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LIKEN |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_NAME |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_NAME |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
finderCache |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, 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 and Description |
---|
AssetTagPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addAssetEntries(long pk,
List<com.liferay.asset.kernel.model.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,
com.liferay.asset.kernel.model.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(com.liferay.asset.kernel.model.AssetTag assetTag)
Caches the asset tag in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.asset.kernel.model.AssetTag> assetTags)
Caches the asset tags in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(AssetTagModelImpl assetTagModelImpl) |
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(com.liferay.asset.kernel.model.AssetTag assetTag)
Clears the cache for the asset tag.
|
void |
clearCache(List<com.liferay.asset.kernel.model.AssetTag> assetTags) |
protected void |
clearUniqueFindersCache(AssetTagModelImpl assetTagModelImpl,
boolean clearCurrent) |
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 = ?.
|
com.liferay.asset.kernel.model.AssetTag |
create(long tagId)
Creates a new asset tag with the primary key.
|
void |
destroy() |
com.liferay.asset.kernel.model.AssetTag |
fetchByG_LikeN_First(long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where groupId = ? and name LIKE ?.
|
com.liferay.asset.kernel.model.AssetTag |
fetchByG_LikeN_Last(long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where groupId = ? and name LIKE ?.
|
com.liferay.asset.kernel.model.AssetTag |
fetchByG_N(long groupId,
String name)
Returns the asset tag where groupId = ? and name = ? or returns
null if it could not be found. |
com.liferay.asset.kernel.model.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. |
com.liferay.asset.kernel.model.AssetTag |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetTag |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetTag |
fetchByName_First(String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where name = ?.
|
com.liferay.asset.kernel.model.AssetTag |
fetchByName_Last(String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where name = ?.
|
com.liferay.asset.kernel.model.AssetTag |
fetchByPrimaryKey(long tagId)
Returns the asset tag with the primary key or returns
null if it could not be found. |
com.liferay.asset.kernel.model.AssetTag |
fetchByPrimaryKey(Serializable primaryKey)
Returns the asset tag with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.asset.kernel.model.AssetTag> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
com.liferay.asset.kernel.model.AssetTag |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetTag |
fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetTag |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where uuid = ?.
|
com.liferay.asset.kernel.model.AssetTag |
fetchByUUID_G(String uuid,
long groupId)
Returns the asset tag where uuid = ? and groupId = ? or returns
null if it could not be found. |
com.liferay.asset.kernel.model.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. |
com.liferay.asset.kernel.model.AssetTag |
fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 ?.
|
com.liferay.asset.kernel.model.AssetTag[] |
filterFindByG_LikeN_PrevAndNext(long tagId,
long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetTag> |
filterFindByG_LikeN(long[] groupIds,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetTag> |
filterFindByG_LikeN(long groupId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns an ordered range of all the asset tags that the user has permissions to view where groupId = ? and name LIKE ?.
|
com.liferay.asset.kernel.model.AssetTag[] |
filterFindByGroupId_PrevAndNext(long tagId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetTag> |
filterFindByGroupId(long groupId)
Returns all the asset tags that the user has permission to view where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
filterFindByGroupId(long[] groupIds)
Returns all the asset tags that the user has permission to view where groupId = any ?.
|
List<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetTag> |
filterFindByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns an ordered range of all the asset tags that the user has permission to view where groupId = any ?.
|
List<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetTag> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns an ordered range of all the asset tags that the user has permissions to view where groupId = ?.
|
protected com.liferay.asset.kernel.model.AssetTag |
filterGetByG_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetTag assetTag,
long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetTag |
filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetTag assetTag,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean previous) |
List<com.liferay.asset.kernel.model.AssetTag> |
findAll()
Returns all the asset tags.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findAll(int start,
int end)
Returns a range of all the asset tags.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns an ordered range of all the asset tags.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset tags.
|
com.liferay.asset.kernel.model.AssetTag |
findByG_LikeN_First(long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where groupId = ? and name LIKE ?.
|
com.liferay.asset.kernel.model.AssetTag |
findByG_LikeN_Last(long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where groupId = ? and name LIKE ?.
|
com.liferay.asset.kernel.model.AssetTag[] |
findByG_LikeN_PrevAndNext(long tagId,
long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the asset tags before and after the current asset tag in the ordered set where groupId = ? and name LIKE ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByG_LikeN(long[] groupIds,
String name)
Returns all the asset tags where groupId = any ? and name LIKE ?.
|
List<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetTag> |
findByG_LikeN(long[] groupIds,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where groupId = any ? and name LIKE ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByG_LikeN(long[] groupIds,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?, optionally using the finder cache.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByG_LikeN(long groupId,
String name)
Returns all the asset tags where groupId = ? and name LIKE ?.
|
List<com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetTag> |
findByG_LikeN(long groupId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByG_LikeN(long groupId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?.
|
com.liferay.asset.kernel.model.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. |
com.liferay.asset.kernel.model.AssetTag |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetTag |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetTag[] |
findByGroupId_PrevAndNext(long tagId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the asset tags before and after the current asset tag in the ordered set where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByGroupId(long groupId)
Returns all the asset tags where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByGroupId(long[] groupIds)
Returns all the asset tags where groupId = any ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the asset tags where groupId = any ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where groupId = any ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset tags where groupId = ?, optionally using the finder cache.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the asset tags where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset tags where groupId = ?.
|
com.liferay.asset.kernel.model.AssetTag |
findByName_First(String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where name = ?.
|
com.liferay.asset.kernel.model.AssetTag |
findByName_Last(String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where name = ?.
|
com.liferay.asset.kernel.model.AssetTag[] |
findByName_PrevAndNext(long tagId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the asset tags before and after the current asset tag in the ordered set where name = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByName(String name)
Returns all the asset tags where name = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByName(String[] names)
Returns all the asset tags where name = any ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByName(String[] names,
int start,
int end)
Returns a range of all the asset tags where name = any ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByName(String[] names,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where name = any ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByName(String[] names,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset tags where name = ?, optionally using the finder cache.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByName(String name,
int start,
int end)
Returns a range of all the asset tags where name = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByName(String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where name = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByName(String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset tags where name = ?.
|
com.liferay.asset.kernel.model.AssetTag |
findByPrimaryKey(long tagId)
Returns the asset tag with the primary key or throws a
NoSuchTagException if it could not be found. |
com.liferay.asset.kernel.model.AssetTag |
findByPrimaryKey(Serializable primaryKey)
Returns the asset tag with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.asset.kernel.model.AssetTag |
findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetTag |
findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetTag[] |
findByUuid_C_PrevAndNext(long tagId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the asset tags before and after the current asset tag in the ordered set where uuid = ? and companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByUuid_C(String uuid,
long companyId)
Returns all the asset tags where uuid = ? and companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the asset tags where uuid = ? and companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where uuid = ? and companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset tags where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetTag |
findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the first asset tag in the ordered set where uuid = ?.
|
com.liferay.asset.kernel.model.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. |
com.liferay.asset.kernel.model.AssetTag |
findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the last asset tag in the ordered set where uuid = ?.
|
com.liferay.asset.kernel.model.AssetTag[] |
findByUuid_PrevAndNext(long tagId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns the asset tags before and after the current asset tag in the ordered set where uuid = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByUuid(String uuid)
Returns all the asset tags where uuid = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the asset tags where uuid = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns an ordered range of all the asset tags where uuid = ?.
|
List<com.liferay.asset.kernel.model.AssetTag> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset tags where uuid = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
getAssetEntries(long pk)
Returns all the asset entries associated with the asset tag.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
getAssetEntries(long pk,
int start,
int end)
Returns a range of all the asset entries associated with the asset tag.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
getAssetEntries(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.model.AssetTag |
getByG_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetTag assetTag,
long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetTag |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetTag assetTag,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetTag |
getByName_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetTag assetTag,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetTag |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetTag assetTag,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetTag |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetTag assetTag,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator,
boolean previous) |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.asset.kernel.model.AssetTag |
remove(long tagId)
Removes the asset tag with the primary key from the database.
|
com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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,
com.liferay.asset.kernel.model.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.
|
com.liferay.asset.kernel.model.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.
|
com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.model.AssetTag |
removeImpl(com.liferay.asset.kernel.model.AssetTag assetTag) |
void |
setAssetEntries(long pk,
List<com.liferay.asset.kernel.model.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.
|
com.liferay.asset.kernel.model.AssetTag |
updateImpl(com.liferay.asset.kernel.model.AssetTag assetTag) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_NAME
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_NAME
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_NAME
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_NAME
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LIKEN
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LIKEN
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
protected com.liferay.portal.kernel.dao.orm.EntityCache entityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache finderCache
@BeanReference(type=com.liferay.asset.kernel.service.persistence.AssetEntryPersistence.class) protected com.liferay.asset.kernel.service.persistence.AssetEntryPersistence assetEntryPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetTag,com.liferay.asset.kernel.model.AssetEntry> assetTagToAssetEntryTableMapper
public List<com.liferay.asset.kernel.model.AssetTag> findByUuid(String uuid)
findByUuid
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidpublic List<com.liferay.asset.kernel.model.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.
findByUuid
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)public List<com.liferay.asset.kernel.model.AssetTag> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByUuid
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
)public List<com.liferay.asset.kernel.model.AssetTag> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByUuid
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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 cachepublic com.liferay.asset.kernel.model.AssetTag findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByUuid_First
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
fetchByUuid_First
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByUuid_Last
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
fetchByUuid_Last
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag[] findByUuid_PrevAndNext(long tagId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByUuid_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
tagId
- the primary key of the current asset taguuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a asset tag with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetTag getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous)
public void removeByUuid(String uuid)
removeByUuid
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidpublic int countByUuid(String uuid)
countByUuid
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidpublic com.liferay.asset.kernel.model.AssetTag findByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchTagException
NoSuchTagException
if it could not be found.findByUUID_G
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidgroupId
- the group IDcom.liferay.asset.kernel.exception.NoSuchTagException
- if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByUUID_G(String uuid, long groupId)
null
if it could not be found. Uses the finder cache.fetchByUUID_G
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidgroupId
- the group IDnull
if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByUUID_G
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag removeByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchTagException
removeByUUID_G
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidgroupId
- the group IDcom.liferay.asset.kernel.exception.NoSuchTagException
public int countByUUID_G(String uuid, long groupId)
countByUUID_G
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidgroupId
- the group IDpublic List<com.liferay.asset.kernel.model.AssetTag> findByUuid_C(String uuid, long companyId)
findByUuid_C
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.asset.kernel.model.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.
findByUuid_C
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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)public List<com.liferay.asset.kernel.model.AssetTag> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByUuid_C
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
)public List<com.liferay.asset.kernel.model.AssetTag> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByUuid_C
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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 cachepublic com.liferay.asset.kernel.model.AssetTag findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByUuid_C_First
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
fetchByUuid_C_First
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByUuid_C_Last
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
fetchByUuid_C_Last
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag[] findByUuid_C_PrevAndNext(long tagId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByUuid_C_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
tagId
- the primary key of the current asset taguuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a asset tag with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetTag getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous)
public void removeByUuid_C(String uuid, long companyId)
removeByUuid_C
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidcompanyId
- the company IDpublic int countByUuid_C(String uuid, long companyId)
countByUuid_C
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.asset.kernel.model.AssetTag> findByGroupId(long groupId)
findByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDpublic List<com.liferay.asset.kernel.model.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.
findByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)public List<com.liferay.asset.kernel.model.AssetTag> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
)public List<com.liferay.asset.kernel.model.AssetTag> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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 cachepublic com.liferay.asset.kernel.model.AssetTag findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByGroupId_First
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
fetchByGroupId_First
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByGroupId_Last
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
fetchByGroupId_Last
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag[] findByGroupId_PrevAndNext(long tagId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByGroupId_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
tagId
- the primary key of the current asset taggroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a asset tag with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetTag getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous)
public List<com.liferay.asset.kernel.model.AssetTag> filterFindByGroupId(long groupId)
filterFindByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDpublic List<com.liferay.asset.kernel.model.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.
filterFindByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)public List<com.liferay.asset.kernel.model.AssetTag> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
filterFindByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
)public com.liferay.asset.kernel.model.AssetTag[] filterFindByGroupId_PrevAndNext(long tagId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
filterFindByGroupId_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
tagId
- the primary key of the current asset taggroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a asset tag with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetTag filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous)
public List<com.liferay.asset.kernel.model.AssetTag> filterFindByGroupId(long[] groupIds)
filterFindByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupIds
- the group IDspublic List<com.liferay.asset.kernel.model.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.
filterFindByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupIds
- the group IDsstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)public List<com.liferay.asset.kernel.model.AssetTag> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
filterFindByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
)public List<com.liferay.asset.kernel.model.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.
findByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupIds
- the group IDspublic List<com.liferay.asset.kernel.model.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.
findByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupIds
- the group IDsstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)public List<com.liferay.asset.kernel.model.AssetTag> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
)public List<com.liferay.asset.kernel.model.AssetTag> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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 cachepublic void removeByGroupId(long groupId)
removeByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDpublic int countByGroupId(long groupId)
countByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDpublic int countByGroupId(long[] groupIds)
countByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupIds
- the group IDspublic int filterCountByGroupId(long groupId)
filterCountByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDpublic int filterCountByGroupId(long[] groupIds)
filterCountByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupIds
- the group IDspublic List<com.liferay.asset.kernel.model.AssetTag> findByName(String name)
findByName
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
name
- the namepublic List<com.liferay.asset.kernel.model.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.
findByName
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
name
- the namestart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)public List<com.liferay.asset.kernel.model.AssetTag> findByName(String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByName
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
)public List<com.liferay.asset.kernel.model.AssetTag> findByName(String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByName
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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 cachepublic com.liferay.asset.kernel.model.AssetTag findByName_First(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByName_First
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByName_First(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
fetchByName_First
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag findByName_Last(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByName_Last
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByName_Last(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
fetchByName_Last
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag[] findByName_PrevAndNext(long tagId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByName_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
tagId
- the primary key of the current asset tagname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a asset tag with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetTag getByName_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous)
public List<com.liferay.asset.kernel.model.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.
findByName
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
names
- the namespublic List<com.liferay.asset.kernel.model.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.
findByName
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
names
- the namesstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)public List<com.liferay.asset.kernel.model.AssetTag> findByName(String[] names, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByName
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
)public List<com.liferay.asset.kernel.model.AssetTag> findByName(String[] names, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByName
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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 cachepublic void removeByName(String name)
removeByName
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
name
- the namepublic int countByName(String name)
countByName
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
name
- the namepublic int countByName(String[] names)
countByName
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
names
- the namespublic com.liferay.asset.kernel.model.AssetTag findByG_N(long groupId, String name) throws com.liferay.asset.kernel.exception.NoSuchTagException
NoSuchTagException
if it could not be found.findByG_N
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDname
- the namecom.liferay.asset.kernel.exception.NoSuchTagException
- if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByG_N(long groupId, String name)
null
if it could not be found. Uses the finder cache.fetchByG_N
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDname
- the namenull
if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByG_N(long groupId, String name, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByG_N
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDname
- the nameretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag removeByG_N(long groupId, String name) throws com.liferay.asset.kernel.exception.NoSuchTagException
removeByG_N
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDname
- the namecom.liferay.asset.kernel.exception.NoSuchTagException
public int countByG_N(long groupId, String name)
countByG_N
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDname
- the namepublic List<com.liferay.asset.kernel.model.AssetTag> findByG_LikeN(long groupId, String name)
findByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDname
- the namepublic List<com.liferay.asset.kernel.model.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.
findByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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)public List<com.liferay.asset.kernel.model.AssetTag> findByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
)public List<com.liferay.asset.kernel.model.AssetTag> findByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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 cachepublic com.liferay.asset.kernel.model.AssetTag findByG_LikeN_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByG_LikeN_First
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByG_LikeN_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
fetchByG_LikeN_First
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag findByG_LikeN_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByG_LikeN_Last
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByG_LikeN_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
fetchByG_LikeN_Last
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset tag could not be foundpublic com.liferay.asset.kernel.model.AssetTag[] findByG_LikeN_PrevAndNext(long tagId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
findByG_LikeN_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
tagId
- the primary key of the current asset taggroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a asset tag with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetTag getByG_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous)
public List<com.liferay.asset.kernel.model.AssetTag> filterFindByG_LikeN(long groupId, String name)
filterFindByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDname
- the namepublic List<com.liferay.asset.kernel.model.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.
filterFindByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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)public List<com.liferay.asset.kernel.model.AssetTag> filterFindByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
filterFindByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
)public com.liferay.asset.kernel.model.AssetTag[] filterFindByG_LikeN_PrevAndNext(long tagId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException
filterFindByG_LikeN_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
tagId
- the primary key of the current asset taggroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchTagException
- if a asset tag with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetTag filterGetByG_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous)
public List<com.liferay.asset.kernel.model.AssetTag> filterFindByG_LikeN(long[] groupIds, String name)
filterFindByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupIds
- the group IDsname
- the namepublic List<com.liferay.asset.kernel.model.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.
filterFindByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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)public List<com.liferay.asset.kernel.model.AssetTag> filterFindByG_LikeN(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
filterFindByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
)public List<com.liferay.asset.kernel.model.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.
findByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupIds
- the group IDsname
- the namepublic List<com.liferay.asset.kernel.model.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.
findByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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)public List<com.liferay.asset.kernel.model.AssetTag> findByG_LikeN(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
)public List<com.liferay.asset.kernel.model.AssetTag> findByG_LikeN(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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 cachepublic void removeByG_LikeN(long groupId, String name)
removeByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDname
- the namepublic int countByG_LikeN(long groupId, String name)
countByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDname
- the namepublic int countByG_LikeN(long[] groupIds, String name)
countByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupIds
- the group IDsname
- the namepublic int filterCountByG_LikeN(long groupId, String name)
filterCountByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupId
- the group IDname
- the namepublic int filterCountByG_LikeN(long[] groupIds, String name)
filterCountByG_LikeN
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
groupIds
- the group IDsname
- the namepublic void cacheResult(com.liferay.asset.kernel.model.AssetTag assetTag)
cacheResult
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
assetTag
- the asset tagpublic void cacheResult(List<com.liferay.asset.kernel.model.AssetTag> assetTags)
cacheResult
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
assetTags
- the asset tagspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
public void clearCache(com.liferay.asset.kernel.model.AssetTag assetTag)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
public void clearCache(List<com.liferay.asset.kernel.model.AssetTag> assetTags)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
protected void cacheUniqueFindersCache(AssetTagModelImpl assetTagModelImpl)
protected void clearUniqueFindersCache(AssetTagModelImpl assetTagModelImpl, boolean clearCurrent)
public com.liferay.asset.kernel.model.AssetTag create(long tagId)
create
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
tagId
- the primary key for the new asset tagpublic com.liferay.asset.kernel.model.AssetTag remove(long tagId) throws com.liferay.asset.kernel.exception.NoSuchTagException
remove
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
tagId
- the primary key of the asset tagcom.liferay.asset.kernel.exception.NoSuchTagException
- if a asset tag with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetTag remove(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchTagException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
primaryKey
- the primary key of the asset tagcom.liferay.asset.kernel.exception.NoSuchTagException
- if a asset tag with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetTag removeImpl(com.liferay.asset.kernel.model.AssetTag assetTag)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
public com.liferay.asset.kernel.model.AssetTag updateImpl(com.liferay.asset.kernel.model.AssetTag assetTag)
updateImpl
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
public com.liferay.asset.kernel.model.AssetTag findByPrimaryKey(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchTagException
NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
primaryKey
- the primary key of the asset tagcom.liferay.asset.kernel.exception.NoSuchTagException
- if a asset tag with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetTag findByPrimaryKey(long tagId) throws com.liferay.asset.kernel.exception.NoSuchTagException
NoSuchTagException
if it could not be found.findByPrimaryKey
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
tagId
- the primary key of the asset tagcom.liferay.asset.kernel.exception.NoSuchTagException
- if a asset tag with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByPrimaryKey(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
primaryKey
- the primary key of the asset tagnull
if a asset tag with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetTag fetchByPrimaryKey(long tagId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
tagId
- the primary key of the asset tagnull
if a asset tag with the primary key could not be foundpublic Map<Serializable,com.liferay.asset.kernel.model.AssetTag> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
public List<com.liferay.asset.kernel.model.AssetTag> findAll()
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
public List<com.liferay.asset.kernel.model.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.
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
start
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)public List<com.liferay.asset.kernel.model.AssetTag> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
)public List<com.liferay.asset.kernel.model.AssetTag> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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 cachepublic void removeAll()
removeAll
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
public int countAll()
countAll
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
public long[] getAssetEntryPrimaryKeys(long pk)
getAssetEntryPrimaryKeys
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
pk
- the primary key of the asset tagpublic List<com.liferay.asset.kernel.model.AssetEntry> getAssetEntries(long pk)
getAssetEntries
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
pk
- the primary key of the asset tagpublic List<com.liferay.asset.kernel.model.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.
getAssetEntries
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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)public List<com.liferay.asset.kernel.model.AssetEntry> getAssetEntries(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
getAssetEntries
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
)public int getAssetEntriesSize(long pk)
getAssetEntriesSize
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
pk
- the primary key of the asset tagpublic boolean containsAssetEntry(long pk, long assetEntryPK)
true
if the asset entry is associated with the asset tag.containsAssetEntry
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
otherwisepublic boolean containsAssetEntries(long pk)
true
if the asset tag has any asset entries associated with it.containsAssetEntries
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
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
otherwisepublic void addAssetEntry(long pk, long assetEntryPK)
addAssetEntry
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
pk
- the primary key of the asset tagassetEntryPK
- the primary key of the asset entrypublic void addAssetEntry(long pk, com.liferay.asset.kernel.model.AssetEntry assetEntry)
addAssetEntry
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
pk
- the primary key of the asset tagassetEntry
- the asset entrypublic void addAssetEntries(long pk, long[] assetEntryPKs)
addAssetEntries
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
pk
- the primary key of the asset tagassetEntryPKs
- the primary keys of the asset entriespublic void addAssetEntries(long pk, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries)
addAssetEntries
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
pk
- the primary key of the asset tagassetEntries
- the asset entriespublic void clearAssetEntries(long pk)
clearAssetEntries
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
pk
- the primary key of the asset tag to clear the associated asset entries frompublic void removeAssetEntry(long pk, long assetEntryPK)
removeAssetEntry
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
pk
- the primary key of the asset tagassetEntryPK
- the primary key of the asset entrypublic void removeAssetEntry(long pk, com.liferay.asset.kernel.model.AssetEntry assetEntry)
removeAssetEntry
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
pk
- the primary key of the asset tagassetEntry
- the asset entrypublic void removeAssetEntries(long pk, long[] assetEntryPKs)
removeAssetEntries
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
pk
- the primary key of the asset tagassetEntryPKs
- the primary keys of the asset entriespublic void removeAssetEntries(long pk, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries)
removeAssetEntries
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
pk
- the primary key of the asset tagassetEntries
- the asset entriespublic void setAssetEntries(long pk, long[] assetEntryPKs)
setAssetEntries
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
pk
- the primary key of the asset tagassetEntryPKs
- the primary keys of the asset entries to be associated with the asset tagpublic void setAssetEntries(long pk, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries)
setAssetEntries
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
pk
- the primary key of the asset tagassetEntries
- the asset entries to be associated with the asset tagpublic Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
public void afterPropertiesSet()
public void destroy()