public class AssetVocabularyPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>
implements com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistence
Caching information and settings can be found in portal.properties
| Modifier and Type | Field and Description |
|---|---|
static String |
FINDER_CLASS_NAME_ENTITY
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, 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 |
|---|
AssetVocabularyPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the asset vocabulary persistence.
|
void |
cacheResult(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary)
Caches the asset vocabulary in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.asset.kernel.model.AssetVocabulary> assetVocabularies)
Caches the asset vocabularies in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(AssetVocabularyModelImpl assetVocabularyModelImpl) |
void |
clearCache()
Clears the cache for all asset vocabularies.
|
void |
clearCache(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary)
Clears the cache for the asset vocabulary.
|
void |
clearCache(List<com.liferay.asset.kernel.model.AssetVocabulary> assetVocabularies) |
protected void |
clearUniqueFindersCache(AssetVocabularyModelImpl assetVocabularyModelImpl,
boolean clearCurrent) |
int |
countAll()
Returns the number of asset vocabularies.
|
int |
countByC_ERC(long companyId,
String externalReferenceCode)
Returns the number of asset vocabularies where companyId = ? and externalReferenceCode = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of asset vocabularies where companyId = ?.
|
int |
countByG_LikeN(long groupId,
String name)
Returns the number of asset vocabularies where groupId = ? and name LIKE ?.
|
int |
countByG_N(long groupId,
String name)
Returns the number of asset vocabularies where groupId = ? and name = ?.
|
int |
countByGroupId(long groupId)
Returns the number of asset vocabularies where groupId = ?.
|
int |
countByGroupId(long[] groupIds)
Returns the number of asset vocabularies where groupId = any ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of asset vocabularies where uuid = ? and companyId = ?.
|
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of asset vocabularies where uuid = ? and groupId = ?.
|
int |
countByUuid(String uuid)
Returns the number of asset vocabularies where uuid = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
create(long vocabularyId)
Creates a new asset vocabulary with the primary key.
|
void |
destroy() |
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByC_ERC(long companyId,
String externalReferenceCode)
Returns the asset vocabulary where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByC_ERC(long companyId,
String externalReferenceCode,
boolean useFinderCache)
Returns the asset vocabulary where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where companyId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where companyId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByG_LikeN_First(long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where groupId = ? and name LIKE ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByG_LikeN_Last(long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where groupId = ? and name LIKE ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByG_N(long groupId,
String name)
Returns the asset vocabulary where groupId = ? and name = ? or returns
null if it could not be found. |
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByG_N(long groupId,
String name,
boolean useFinderCache)
Returns the asset vocabulary where groupId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByPrimaryKey(long vocabularyId)
Returns the asset vocabulary with the primary key or returns
null if it could not be found. |
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where uuid = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByUUID_G(String uuid,
long groupId)
Returns the asset vocabulary where uuid = ? and groupId = ? or returns
null if it could not be found. |
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByUUID_G(String uuid,
long groupId,
boolean useFinderCache)
Returns the asset vocabulary where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.asset.kernel.model.AssetVocabulary |
fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where uuid = ?.
|
int |
filterCountByG_LikeN(long groupId,
String name)
Returns the number of asset vocabularies that the user has permission to view where groupId = ? and name LIKE ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of asset vocabularies that the user has permission to view where groupId = ?.
|
int |
filterCountByGroupId(long[] groupIds)
Returns the number of asset vocabularies that the user has permission to view where groupId = any ?.
|
com.liferay.asset.kernel.model.AssetVocabulary[] |
filterFindByG_LikeN_PrevAndNext(long vocabularyId,
long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the asset vocabularies before and after the current asset vocabulary in the ordered set of asset vocabularies that the user has permission to view where groupId = ? and name LIKE ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
filterFindByG_LikeN(long groupId,
String name)
Returns all the asset vocabularies that the user has permission to view where groupId = ? and name LIKE ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
filterFindByG_LikeN(long groupId,
String name,
int start,
int end)
Returns a range of all the asset vocabularies that the user has permission to view where groupId = ? and name LIKE ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
filterFindByG_LikeN(long groupId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies that the user has permissions to view where groupId = ? and name LIKE ?.
|
com.liferay.asset.kernel.model.AssetVocabulary[] |
filterFindByGroupId_PrevAndNext(long vocabularyId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the asset vocabularies before and after the current asset vocabulary in the ordered set of asset vocabularies that the user has permission to view where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
filterFindByGroupId(long groupId)
Returns all the asset vocabularies that the user has permission to view where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
filterFindByGroupId(long[] groupIds)
Returns all the asset vocabularies that the user has permission to view where groupId = any ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
filterFindByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the asset vocabularies that the user has permission to view where groupId = any ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
filterFindByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies that the user has permission to view where groupId = any ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the asset vocabularies that the user has permission to view where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies that the user has permissions to view where groupId = ?.
|
protected com.liferay.asset.kernel.model.AssetVocabulary |
filterGetByG_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary,
long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetVocabulary |
filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean previous) |
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findAll()
Returns all the asset vocabularies.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findAll(int start,
int end)
Returns a range of all the asset vocabularies.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset vocabularies.
|
com.liferay.asset.kernel.model.AssetVocabulary |
findByC_ERC(long companyId,
String externalReferenceCode)
Returns the asset vocabulary where companyId = ? and externalReferenceCode = ? or throws a
NoSuchVocabularyException if it could not be found. |
com.liferay.asset.kernel.model.AssetVocabulary |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where companyId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where companyId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary[] |
findByCompanyId_PrevAndNext(long vocabularyId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByCompanyId(long companyId)
Returns all the asset vocabularies where companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the asset vocabularies where companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies where companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset vocabularies where companyId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
findByG_LikeN_First(long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where groupId = ? and name LIKE ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
findByG_LikeN_Last(long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where groupId = ? and name LIKE ?.
|
com.liferay.asset.kernel.model.AssetVocabulary[] |
findByG_LikeN_PrevAndNext(long vocabularyId,
long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where groupId = ? and name LIKE ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByG_LikeN(long groupId,
String name)
Returns all the asset vocabularies where groupId = ? and name LIKE ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByG_LikeN(long groupId,
String name,
int start,
int end)
Returns a range of all the asset vocabularies where groupId = ? and name LIKE ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByG_LikeN(long groupId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies where groupId = ? and name LIKE ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByG_LikeN(long groupId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset vocabularies where groupId = ? and name LIKE ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
findByG_N(long groupId,
String name)
Returns the asset vocabulary where groupId = ? and name = ? or throws a
NoSuchVocabularyException if it could not be found. |
com.liferay.asset.kernel.model.AssetVocabulary |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary[] |
findByGroupId_PrevAndNext(long vocabularyId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByGroupId(long groupId)
Returns all the asset vocabularies where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByGroupId(long[] groupIds)
Returns all the asset vocabularies where groupId = any ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the asset vocabularies where groupId = any ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies where groupId = any ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset vocabularies where groupId = ?, optionally using the finder cache.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the asset vocabularies where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset vocabularies where groupId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
findByPrimaryKey(long vocabularyId)
Returns the asset vocabulary with the primary key or throws a
NoSuchVocabularyException if it could not be found. |
com.liferay.asset.kernel.model.AssetVocabulary |
findByPrimaryKey(Serializable primaryKey)
Returns the asset vocabulary with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
com.liferay.asset.kernel.model.AssetVocabulary |
findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary[] |
findByUuid_C_PrevAndNext(long vocabularyId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where uuid = ? and companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByUuid_C(String uuid,
long companyId)
Returns all the asset vocabularies where uuid = ? and companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the asset vocabularies where uuid = ? and companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies where uuid = ? and companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset vocabularies where uuid = ? and companyId = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where uuid = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary |
findByUUID_G(String uuid,
long groupId)
Returns the asset vocabulary where uuid = ? and groupId = ? or throws a
NoSuchVocabularyException if it could not be found. |
com.liferay.asset.kernel.model.AssetVocabulary |
findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where uuid = ?.
|
com.liferay.asset.kernel.model.AssetVocabulary[] |
findByUuid_PrevAndNext(long vocabularyId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where uuid = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByUuid(String uuid)
Returns all the asset vocabularies where uuid = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the asset vocabularies where uuid = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies where uuid = ?.
|
List<com.liferay.asset.kernel.model.AssetVocabulary> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset vocabularies where uuid = ?.
|
Set<String> |
getBadColumnNames() |
protected com.liferay.asset.kernel.model.AssetVocabulary |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetVocabulary |
getByG_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary,
long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetVocabulary |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetVocabulary |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetVocabulary |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.asset.kernel.model.AssetVocabulary |
remove(long vocabularyId)
Removes the asset vocabulary with the primary key from the database.
|
com.liferay.asset.kernel.model.AssetVocabulary |
remove(Serializable primaryKey)
Removes the asset vocabulary with the primary key from the database.
|
void |
removeAll()
Removes all the asset vocabularies from the database.
|
com.liferay.asset.kernel.model.AssetVocabulary |
removeByC_ERC(long companyId,
String externalReferenceCode)
Removes the asset vocabulary where companyId = ? and externalReferenceCode = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the asset vocabularies where companyId = ? from the database.
|
void |
removeByG_LikeN(long groupId,
String name)
Removes all the asset vocabularies where groupId = ? and name LIKE ? from the database.
|
com.liferay.asset.kernel.model.AssetVocabulary |
removeByG_N(long groupId,
String name)
Removes the asset vocabulary where groupId = ? and name = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the asset vocabularies where groupId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the asset vocabularies where uuid = ? and companyId = ? from the database.
|
com.liferay.asset.kernel.model.AssetVocabulary |
removeByUUID_G(String uuid,
long groupId)
Removes the asset vocabulary where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the asset vocabularies where uuid = ? from the database.
|
protected com.liferay.asset.kernel.model.AssetVocabulary |
removeImpl(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary) |
com.liferay.asset.kernel.model.AssetVocabulary |
updateImpl(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary) |
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final String FINDER_CLASS_NAME_ENTITY
AssetVocabularyUtil to access the asset vocabulary persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public List<com.liferay.asset.kernel.model.AssetVocabulary> findByUuid(String uuid)
findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidpublic List<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)public List<com.liferay.asset.kernel.model.AssetVocabulary> findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.asset.kernel.model.AssetVocabulary> findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.asset.kernel.model.AssetVocabulary findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByUuid_First in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
fetchByUuid_First in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByUuid_Last in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
fetchByUuid_Last in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary[] findByUuid_PrevAndNext(long vocabularyId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByUuid_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencevocabularyId - the primary key of the current asset vocabularyuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a asset vocabulary with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetVocabulary getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidpublic com.liferay.asset.kernel.model.AssetVocabulary findByUUID_G(String uuid,
long groupId)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
NoSuchVocabularyException if it could not be found.findByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidgroupId - the group IDcom.liferay.asset.kernel.exception.NoSuchVocabularyException - if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary 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.AssetVocabularyPersistenceuuid - the uuidgroupId - the group IDnull if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByUUID_G(String uuid,
long groupId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidgroupId - the group IDuseFinderCache - whether to use the finder cachenull if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary removeByUUID_G(String uuid,
long groupId)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
removeByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidgroupId - the group IDcom.liferay.asset.kernel.exception.NoSuchVocabularyExceptionpublic int countByUUID_G(String uuid,
long groupId)
countByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidgroupId - the group IDpublic List<com.liferay.asset.kernel.model.AssetVocabulary> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)public List<com.liferay.asset.kernel.model.AssetVocabulary> findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.asset.kernel.model.AssetVocabulary> findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.asset.kernel.model.AssetVocabulary findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByUuid_C_First in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
fetchByUuid_C_First in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByUuid_C_Last in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
fetchByUuid_C_Last in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary[] findByUuid_C_PrevAndNext(long vocabularyId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByUuid_C_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencevocabularyId - the primary key of the current asset vocabularyuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a asset vocabulary with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetVocabulary getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidcompanyId - the company IDpublic int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.asset.kernel.model.AssetVocabulary> findByGroupId(long groupId)
findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDpublic List<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)public List<com.liferay.asset.kernel.model.AssetVocabulary> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.asset.kernel.model.AssetVocabulary> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.asset.kernel.model.AssetVocabulary findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByGroupId_First in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
fetchByGroupId_First in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByGroupId_Last in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
fetchByGroupId_Last in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary[] findByGroupId_PrevAndNext(long vocabularyId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByGroupId_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencevocabularyId - the primary key of the current asset vocabularygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a asset vocabulary with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetVocabulary getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean previous)
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByGroupId(long groupId)
filterFindByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDpublic List<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
filterFindByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
filterFindByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public com.liferay.asset.kernel.model.AssetVocabulary[] filterFindByGroupId_PrevAndNext(long vocabularyId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
filterFindByGroupId_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencevocabularyId - the primary key of the current asset vocabularygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a asset vocabulary with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetVocabulary filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean previous)
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByGroupId(long[] groupIds)
filterFindByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupIds - the group IDspublic List<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
filterFindByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupIds - the group IDsstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
filterFindByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupIds - the group IDsstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupIds - the group IDspublic List<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupIds - the group IDsstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)public List<com.liferay.asset.kernel.model.AssetVocabulary> findByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupIds - the group IDsstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.asset.kernel.model.AssetVocabulary> findByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic void removeByGroupId(long groupId)
removeByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDpublic int countByGroupId(long[] groupIds)
countByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupIds - the group IDspublic int filterCountByGroupId(long groupId)
filterCountByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDpublic int filterCountByGroupId(long[] groupIds)
filterCountByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupIds - the group IDspublic List<com.liferay.asset.kernel.model.AssetVocabulary> findByCompanyId(long companyId)
findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDpublic List<com.liferay.asset.kernel.model.AssetVocabulary> findByCompanyId(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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)public List<com.liferay.asset.kernel.model.AssetVocabulary> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.asset.kernel.model.AssetVocabulary> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDstart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.asset.kernel.model.AssetVocabulary findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByCompanyId_First in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
fetchByCompanyId_First in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByCompanyId_Last in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
fetchByCompanyId_Last in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary[] findByCompanyId_PrevAndNext(long vocabularyId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByCompanyId_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencevocabularyId - the primary key of the current asset vocabularycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a asset vocabulary with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetVocabulary getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDpublic com.liferay.asset.kernel.model.AssetVocabulary findByG_N(long groupId,
String name)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
NoSuchVocabularyException if it could not be found.findByG_N in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the namecom.liferay.asset.kernel.exception.NoSuchVocabularyException - if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary 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.AssetVocabularyPersistencegroupId - the group IDname - the namenull if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByG_N(long groupId,
String name,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByG_N in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the nameuseFinderCache - whether to use the finder cachenull if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary removeByG_N(long groupId,
String name)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
removeByG_N in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the namecom.liferay.asset.kernel.exception.NoSuchVocabularyExceptionpublic int countByG_N(long groupId,
String name)
countByG_N in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the namepublic List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_LikeN(long groupId,
String name)
findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the namepublic List<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the namestart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)public List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_LikeN(long groupId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the namestart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.asset.kernel.model.AssetVocabulary> findByG_LikeN(long groupId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the namestart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.asset.kernel.model.AssetVocabulary findByG_LikeN_First(long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByG_LikeN_First in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByG_LikeN_First(long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
fetchByG_LikeN_First in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)null if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary findByG_LikeN_Last(long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByG_LikeN_Last in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByG_LikeN_Last(long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
fetchByG_LikeN_Last in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)null if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary[] findByG_LikeN_PrevAndNext(long vocabularyId,
long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
findByG_LikeN_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencevocabularyId - the primary key of the current asset vocabularygroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a asset vocabulary with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetVocabulary getByG_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary,
long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean previous)
public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByG_LikeN(long groupId,
String name)
filterFindByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the namepublic List<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
filterFindByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the namestart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)public List<com.liferay.asset.kernel.model.AssetVocabulary> filterFindByG_LikeN(long groupId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
filterFindByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the namestart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public com.liferay.asset.kernel.model.AssetVocabulary[] filterFindByG_LikeN_PrevAndNext(long vocabularyId,
long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
filterFindByG_LikeN_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencevocabularyId - the primary key of the current asset vocabularygroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchVocabularyException - if a asset vocabulary with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetVocabulary filterGetByG_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary,
long groupId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean previous)
public void removeByG_LikeN(long groupId,
String name)
removeByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the namepublic int countByG_LikeN(long groupId,
String name)
countByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the namepublic int filterCountByG_LikeN(long groupId,
String name)
filterCountByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencegroupId - the group IDname - the namepublic com.liferay.asset.kernel.model.AssetVocabulary findByC_ERC(long companyId,
String externalReferenceCode)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
NoSuchVocabularyException if it could not be found.findByC_ERC in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDexternalReferenceCode - the external reference codecom.liferay.asset.kernel.exception.NoSuchVocabularyException - if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByC_ERC(long companyId,
String externalReferenceCode)
null if it could not be found. Uses the finder cache.fetchByC_ERC in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDexternalReferenceCode - the external reference codenull if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByC_ERC(long companyId,
String externalReferenceCode,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_ERC in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDexternalReferenceCode - the external reference codeuseFinderCache - whether to use the finder cachenull if a matching asset vocabulary could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary removeByC_ERC(long companyId,
String externalReferenceCode)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
removeByC_ERC in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDexternalReferenceCode - the external reference codecom.liferay.asset.kernel.exception.NoSuchVocabularyExceptionpublic int countByC_ERC(long companyId,
String externalReferenceCode)
countByC_ERC in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecompanyId - the company IDexternalReferenceCode - the external reference codepublic void cacheResult(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary)
cacheResult in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>assetVocabulary - the asset vocabularypublic void cacheResult(List<com.liferay.asset.kernel.model.AssetVocabulary> assetVocabularies)
cacheResult in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceassetVocabularies - the asset vocabulariespublic void clearCache()
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>public void clearCache(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary)
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>public void clearCache(List<com.liferay.asset.kernel.model.AssetVocabulary> assetVocabularies)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>protected void cacheUniqueFindersCache(AssetVocabularyModelImpl assetVocabularyModelImpl)
protected void clearUniqueFindersCache(AssetVocabularyModelImpl assetVocabularyModelImpl, boolean clearCurrent)
public com.liferay.asset.kernel.model.AssetVocabulary create(long vocabularyId)
create in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencevocabularyId - the primary key for the new asset vocabularypublic com.liferay.asset.kernel.model.AssetVocabulary remove(long vocabularyId)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
remove in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencevocabularyId - the primary key of the asset vocabularycom.liferay.asset.kernel.exception.NoSuchVocabularyException - if a asset vocabulary with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary remove(Serializable primaryKey)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>primaryKey - the primary key of the asset vocabularycom.liferay.asset.kernel.exception.NoSuchVocabularyException - if a asset vocabulary with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetVocabulary removeImpl(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>public com.liferay.asset.kernel.model.AssetVocabulary updateImpl(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary)
updateImpl in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>public com.liferay.asset.kernel.model.AssetVocabulary findByPrimaryKey(Serializable primaryKey)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>primaryKey - the primary key of the asset vocabularycom.liferay.asset.kernel.exception.NoSuchVocabularyException - if a asset vocabulary with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary findByPrimaryKey(long vocabularyId)
throws com.liferay.asset.kernel.exception.NoSuchVocabularyException
NoSuchVocabularyException if it could not be found.findByPrimaryKey in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencevocabularyId - the primary key of the asset vocabularycom.liferay.asset.kernel.exception.NoSuchVocabularyException - if a asset vocabulary with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetVocabulary fetchByPrimaryKey(long vocabularyId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencevocabularyId - the primary key of the asset vocabularynull if a asset vocabulary with the primary key could not be foundpublic List<com.liferay.asset.kernel.model.AssetVocabulary> findAll()
findAll in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencepublic List<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findAll in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencestart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)public List<com.liferay.asset.kernel.model.AssetVocabulary> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> 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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findAll in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencestart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.asset.kernel.model.AssetVocabulary> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from AssetVocabularyModelImpl.
findAll in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencestart - the lower bound of the range of asset vocabulariesend - the upper bound of the range of asset vocabularies (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic void removeAll()
removeAll in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencepublic int countAll()
countAll in interface com.liferay.asset.kernel.service.persistence.AssetVocabularyPersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetVocabulary>getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetVocabulary>public void afterPropertiesSet()
public void destroy()