@ProviderType public interface AssetVocabularyPersistence extends BasePersistence<AssetVocabulary>
Caching information and settings can be found in portal.properties
AssetVocabularyUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(AssetVocabulary assetVocabulary)
Caches the asset vocabulary in the entity cache if it is enabled.
|
void |
cacheResult(List<AssetVocabulary> assetVocabularies)
Caches the asset vocabularies in the entity cache if it is enabled.
|
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 = ?.
|
AssetVocabulary |
create(long vocabularyId)
Creates a new asset vocabulary with the primary key.
|
AssetVocabulary |
fetchByC_ERC(long companyId,
String externalReferenceCode)
Returns the asset vocabulary where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
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. |
AssetVocabulary |
fetchByCompanyId_First(long companyId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where companyId = ?.
|
AssetVocabulary |
fetchByCompanyId_Last(long companyId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where companyId = ?.
|
AssetVocabulary |
fetchByG_LikeN_First(long groupId,
String name,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where groupId = ? and name LIKE ?.
|
AssetVocabulary |
fetchByG_LikeN_Last(long groupId,
String name,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where groupId = ? and name LIKE ?.
|
AssetVocabulary |
fetchByG_N(long groupId,
String name)
Returns the asset vocabulary where groupId = ? and name = ? or returns
null if it could not be found. |
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. |
AssetVocabulary |
fetchByGroupId_First(long groupId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where groupId = ?.
|
AssetVocabulary |
fetchByGroupId_Last(long groupId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where groupId = ?.
|
AssetVocabulary |
fetchByPrimaryKey(long vocabularyId)
Returns the asset vocabulary with the primary key or returns
null if it could not be found. |
AssetVocabulary |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where uuid = ? and companyId = ?.
|
AssetVocabulary |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where uuid = ? and companyId = ?.
|
AssetVocabulary |
fetchByUuid_First(String uuid,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where uuid = ?.
|
AssetVocabulary |
fetchByUUID_G(String uuid,
long groupId)
Returns the asset vocabulary where uuid = ? and groupId = ? or returns
null if it could not be found. |
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. |
AssetVocabulary |
fetchByUuid_Last(String uuid,
OrderByComparator<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 ?.
|
AssetVocabulary[] |
filterFindByG_LikeN_PrevAndNext(long vocabularyId,
long groupId,
String name,
OrderByComparator<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<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<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<AssetVocabulary> |
filterFindByG_LikeN(long groupId,
String name,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies that the user has permissions to view where groupId = ? and name LIKE ?.
|
AssetVocabulary[] |
filterFindByGroupId_PrevAndNext(long vocabularyId,
long groupId,
OrderByComparator<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<AssetVocabulary> |
filterFindByGroupId(long groupId)
Returns all the asset vocabularies that the user has permission to view where groupId = ?.
|
List<AssetVocabulary> |
filterFindByGroupId(long[] groupIds)
Returns all the asset vocabularies that the user has permission to view where groupId = any ?.
|
List<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<AssetVocabulary> |
filterFindByGroupId(long[] groupIds,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies that the user has permission to view where groupId = any ?.
|
List<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<AssetVocabulary> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies that the user has permissions to view where groupId = ?.
|
List<AssetVocabulary> |
findAll()
Returns all the asset vocabularies.
|
List<AssetVocabulary> |
findAll(int start,
int end)
Returns a range of all the asset vocabularies.
|
List<AssetVocabulary> |
findAll(int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies.
|
List<AssetVocabulary> |
findAll(int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset vocabularies.
|
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. |
AssetVocabulary |
findByCompanyId_First(long companyId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where companyId = ?.
|
AssetVocabulary |
findByCompanyId_Last(long companyId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where companyId = ?.
|
AssetVocabulary[] |
findByCompanyId_PrevAndNext(long vocabularyId,
long companyId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where companyId = ?.
|
List<AssetVocabulary> |
findByCompanyId(long companyId)
Returns all the asset vocabularies where companyId = ?.
|
List<AssetVocabulary> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the asset vocabularies where companyId = ?.
|
List<AssetVocabulary> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies where companyId = ?.
|
List<AssetVocabulary> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset vocabularies where companyId = ?.
|
AssetVocabulary |
findByG_LikeN_First(long groupId,
String name,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where groupId = ? and name LIKE ?.
|
AssetVocabulary |
findByG_LikeN_Last(long groupId,
String name,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where groupId = ? and name LIKE ?.
|
AssetVocabulary[] |
findByG_LikeN_PrevAndNext(long vocabularyId,
long groupId,
String name,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where groupId = ? and name LIKE ?.
|
List<AssetVocabulary> |
findByG_LikeN(long groupId,
String name)
Returns all the asset vocabularies where groupId = ? and name LIKE ?.
|
List<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<AssetVocabulary> |
findByG_LikeN(long groupId,
String name,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies where groupId = ? and name LIKE ?.
|
List<AssetVocabulary> |
findByG_LikeN(long groupId,
String name,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset vocabularies where groupId = ? and name LIKE ?.
|
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. |
AssetVocabulary |
findByGroupId_First(long groupId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where groupId = ?.
|
AssetVocabulary |
findByGroupId_Last(long groupId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where groupId = ?.
|
AssetVocabulary[] |
findByGroupId_PrevAndNext(long vocabularyId,
long groupId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where groupId = ?.
|
List<AssetVocabulary> |
findByGroupId(long groupId)
Returns all the asset vocabularies where groupId = ?.
|
List<AssetVocabulary> |
findByGroupId(long[] groupIds)
Returns all the asset vocabularies where groupId = any ?.
|
List<AssetVocabulary> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the asset vocabularies where groupId = any ?.
|
List<AssetVocabulary> |
findByGroupId(long[] groupIds,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies where groupId = any ?.
|
List<AssetVocabulary> |
findByGroupId(long[] groupIds,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset vocabularies where groupId = ?, optionally using the finder cache.
|
List<AssetVocabulary> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the asset vocabularies where groupId = ?.
|
List<AssetVocabulary> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies where groupId = ?.
|
List<AssetVocabulary> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset vocabularies where groupId = ?.
|
AssetVocabulary |
findByPrimaryKey(long vocabularyId)
Returns the asset vocabulary with the primary key or throws a
NoSuchVocabularyException if it could not be found. |
AssetVocabulary |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where uuid = ? and companyId = ?.
|
AssetVocabulary |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where uuid = ? and companyId = ?.
|
AssetVocabulary[] |
findByUuid_C_PrevAndNext(long vocabularyId,
String uuid,
long companyId,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where uuid = ? and companyId = ?.
|
List<AssetVocabulary> |
findByUuid_C(String uuid,
long companyId)
Returns all the asset vocabularies where uuid = ? and companyId = ?.
|
List<AssetVocabulary> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the asset vocabularies where uuid = ? and companyId = ?.
|
List<AssetVocabulary> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies where uuid = ? and companyId = ?.
|
List<AssetVocabulary> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset vocabularies where uuid = ? and companyId = ?.
|
AssetVocabulary |
findByUuid_First(String uuid,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the first asset vocabulary in the ordered set where uuid = ?.
|
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. |
AssetVocabulary |
findByUuid_Last(String uuid,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the last asset vocabulary in the ordered set where uuid = ?.
|
AssetVocabulary[] |
findByUuid_PrevAndNext(long vocabularyId,
String uuid,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns the asset vocabularies before and after the current asset vocabulary in the ordered set where uuid = ?.
|
List<AssetVocabulary> |
findByUuid(String uuid)
Returns all the asset vocabularies where uuid = ?.
|
List<AssetVocabulary> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the asset vocabularies where uuid = ?.
|
List<AssetVocabulary> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator)
Returns an ordered range of all the asset vocabularies where uuid = ?.
|
List<AssetVocabulary> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<AssetVocabulary> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset vocabularies where uuid = ?.
|
AssetVocabulary |
remove(long vocabularyId)
Removes the asset vocabulary with the primary key from the database.
|
void |
removeAll()
Removes all the asset vocabularies from the database.
|
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.
|
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.
|
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.
|
AssetVocabulary |
updateImpl(AssetVocabulary assetVocabulary) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<AssetVocabulary> findByUuid(String uuid)
uuid
- the uuidList<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
.
uuid
- the uuidstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)List<AssetVocabulary> findByUuid(String uuid, int start, int end, OrderByComparator<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
.
uuid
- 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
)List<AssetVocabulary> findByUuid(String uuid, int start, int end, OrderByComparator<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
.
uuid
- 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 cacheAssetVocabulary findByUuid_First(String uuid, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a matching asset vocabulary could not be foundAssetVocabulary fetchByUuid_First(String uuid, OrderByComparator<AssetVocabulary> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset vocabulary could not be foundAssetVocabulary findByUuid_Last(String uuid, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a matching asset vocabulary could not be foundAssetVocabulary fetchByUuid_Last(String uuid, OrderByComparator<AssetVocabulary> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset vocabulary could not be foundAssetVocabulary[] findByUuid_PrevAndNext(long vocabularyId, String uuid, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
vocabularyId
- the primary key of the current asset vocabularyuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be foundvoid removeByUuid(String uuid)
uuid
- the uuidint countByUuid(String uuid)
uuid
- the uuidAssetVocabulary findByUUID_G(String uuid, long groupId) throws NoSuchVocabularyException
NoSuchVocabularyException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchVocabularyException
- if a matching asset vocabulary could not be foundAssetVocabulary fetchByUUID_G(String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching asset vocabulary could not be foundAssetVocabulary fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching asset vocabulary could not be foundAssetVocabulary removeByUUID_G(String uuid, long groupId) throws NoSuchVocabularyException
uuid
- the uuidgroupId
- the group IDNoSuchVocabularyException
int countByUUID_G(String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDList<AssetVocabulary> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<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
.
uuid
- 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)List<AssetVocabulary> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<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
.
uuid
- 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
)List<AssetVocabulary> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<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
.
uuid
- 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 cacheAssetVocabulary findByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a matching asset vocabulary could not be foundAssetVocabulary fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<AssetVocabulary> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset vocabulary could not be foundAssetVocabulary findByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a matching asset vocabulary could not be foundAssetVocabulary fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<AssetVocabulary> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset vocabulary could not be foundAssetVocabulary[] findByUuid_C_PrevAndNext(long vocabularyId, String uuid, long companyId, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
vocabularyId
- the primary key of the current asset vocabularyuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be foundvoid removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<AssetVocabulary> findByGroupId(long groupId)
groupId
- the group IDList<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
.
groupId
- the group IDstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)List<AssetVocabulary> findByGroupId(long groupId, int start, int end, OrderByComparator<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
.
groupId
- 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
)List<AssetVocabulary> findByGroupId(long groupId, int start, int end, OrderByComparator<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
.
groupId
- 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 cacheAssetVocabulary findByGroupId_First(long groupId, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a matching asset vocabulary could not be foundAssetVocabulary fetchByGroupId_First(long groupId, OrderByComparator<AssetVocabulary> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset vocabulary could not be foundAssetVocabulary findByGroupId_Last(long groupId, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a matching asset vocabulary could not be foundAssetVocabulary fetchByGroupId_Last(long groupId, OrderByComparator<AssetVocabulary> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset vocabulary could not be foundAssetVocabulary[] findByGroupId_PrevAndNext(long vocabularyId, long groupId, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
vocabularyId
- the primary key of the current asset vocabularygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be foundList<AssetVocabulary> filterFindByGroupId(long groupId)
groupId
- the group IDList<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
.
groupId
- the group IDstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)List<AssetVocabulary> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<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
.
groupId
- 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
)AssetVocabulary[] filterFindByGroupId_PrevAndNext(long vocabularyId, long groupId, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
vocabularyId
- the primary key of the current asset vocabularygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be foundList<AssetVocabulary> filterFindByGroupId(long[] groupIds)
groupIds
- the group IDsList<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
.
groupIds
- the group IDsstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)List<AssetVocabulary> filterFindByGroupId(long[] groupIds, int start, int end, OrderByComparator<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
.
groupIds
- 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
)List<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
.
groupIds
- the group IDsList<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
.
groupIds
- the group IDsstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)List<AssetVocabulary> findByGroupId(long[] groupIds, int start, int end, OrderByComparator<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
.
groupIds
- 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
)List<AssetVocabulary> findByGroupId(long[] groupIds, int start, int end, OrderByComparator<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
.
groupId
- 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 cachevoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long[] groupIds)
groupIds
- the group IDsint filterCountByGroupId(long groupId)
groupId
- the group IDint filterCountByGroupId(long[] groupIds)
groupIds
- the group IDsList<AssetVocabulary> findByCompanyId(long companyId)
companyId
- the company IDList<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
.
companyId
- the company IDstart
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)List<AssetVocabulary> findByCompanyId(long companyId, int start, int end, OrderByComparator<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
.
companyId
- 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
)List<AssetVocabulary> findByCompanyId(long companyId, int start, int end, OrderByComparator<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
.
companyId
- 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 cacheAssetVocabulary findByCompanyId_First(long companyId, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a matching asset vocabulary could not be foundAssetVocabulary fetchByCompanyId_First(long companyId, OrderByComparator<AssetVocabulary> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset vocabulary could not be foundAssetVocabulary findByCompanyId_Last(long companyId, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a matching asset vocabulary could not be foundAssetVocabulary fetchByCompanyId_Last(long companyId, OrderByComparator<AssetVocabulary> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset vocabulary could not be foundAssetVocabulary[] findByCompanyId_PrevAndNext(long vocabularyId, long companyId, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
vocabularyId
- the primary key of the current asset vocabularycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDAssetVocabulary findByG_N(long groupId, String name) throws NoSuchVocabularyException
NoSuchVocabularyException
if it could not be found.groupId
- the group IDname
- the nameNoSuchVocabularyException
- if a matching asset vocabulary could not be foundAssetVocabulary fetchByG_N(long groupId, String name)
null
if it could not be found. Uses the finder cache.groupId
- the group IDname
- the namenull
if a matching asset vocabulary could not be foundAssetVocabulary fetchByG_N(long groupId, String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching asset vocabulary could not be foundAssetVocabulary removeByG_N(long groupId, String name) throws NoSuchVocabularyException
groupId
- the group IDname
- the nameNoSuchVocabularyException
int countByG_N(long groupId, String name)
groupId
- the group IDname
- the nameList<AssetVocabulary> findByG_LikeN(long groupId, String name)
groupId
- the group IDname
- the nameList<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
.
groupId
- 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)List<AssetVocabulary> findByG_LikeN(long groupId, String name, int start, int end, OrderByComparator<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
.
groupId
- 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
)List<AssetVocabulary> findByG_LikeN(long groupId, String name, int start, int end, OrderByComparator<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
.
groupId
- 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 cacheAssetVocabulary findByG_LikeN_First(long groupId, String name, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a matching asset vocabulary could not be foundAssetVocabulary fetchByG_LikeN_First(long groupId, String name, OrderByComparator<AssetVocabulary> orderByComparator)
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset vocabulary could not be foundAssetVocabulary findByG_LikeN_Last(long groupId, String name, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a matching asset vocabulary could not be foundAssetVocabulary fetchByG_LikeN_Last(long groupId, String name, OrderByComparator<AssetVocabulary> orderByComparator)
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset vocabulary could not be foundAssetVocabulary[] findByG_LikeN_PrevAndNext(long vocabularyId, long groupId, String name, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
vocabularyId
- the primary key of the current asset vocabularygroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be foundList<AssetVocabulary> filterFindByG_LikeN(long groupId, String name)
groupId
- the group IDname
- the nameList<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
.
groupId
- 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)List<AssetVocabulary> filterFindByG_LikeN(long groupId, String name, int start, int end, OrderByComparator<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
.
groupId
- 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
)AssetVocabulary[] filterFindByG_LikeN_PrevAndNext(long vocabularyId, long groupId, String name, OrderByComparator<AssetVocabulary> orderByComparator) throws NoSuchVocabularyException
vocabularyId
- the primary key of the current asset vocabularygroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchVocabularyException
- if a asset vocabulary with the primary key could not be foundvoid removeByG_LikeN(long groupId, String name)
groupId
- the group IDname
- the nameint countByG_LikeN(long groupId, String name)
groupId
- the group IDname
- the nameint filterCountByG_LikeN(long groupId, String name)
groupId
- the group IDname
- the nameAssetVocabulary findByC_ERC(long companyId, String externalReferenceCode) throws NoSuchVocabularyException
NoSuchVocabularyException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchVocabularyException
- if a matching asset vocabulary could not be foundAssetVocabulary fetchByC_ERC(long companyId, String externalReferenceCode)
null
if it could not be found. Uses the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codenull
if a matching asset vocabulary could not be foundAssetVocabulary fetchByC_ERC(long companyId, String externalReferenceCode, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codeuseFinderCache
- whether to use the finder cachenull
if a matching asset vocabulary could not be foundAssetVocabulary removeByC_ERC(long companyId, String externalReferenceCode) throws NoSuchVocabularyException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchVocabularyException
int countByC_ERC(long companyId, String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codevoid cacheResult(AssetVocabulary assetVocabulary)
assetVocabulary
- the asset vocabularyvoid cacheResult(List<AssetVocabulary> assetVocabularies)
assetVocabularies
- the asset vocabulariesAssetVocabulary create(long vocabularyId)
vocabularyId
- the primary key for the new asset vocabularyAssetVocabulary remove(long vocabularyId) throws NoSuchVocabularyException
vocabularyId
- the primary key of the asset vocabularyNoSuchVocabularyException
- if a asset vocabulary with the primary key could not be foundAssetVocabulary updateImpl(AssetVocabulary assetVocabulary)
AssetVocabulary findByPrimaryKey(long vocabularyId) throws NoSuchVocabularyException
NoSuchVocabularyException
if it could not be found.vocabularyId
- the primary key of the asset vocabularyNoSuchVocabularyException
- if a asset vocabulary with the primary key could not be foundAssetVocabulary fetchByPrimaryKey(long vocabularyId)
null
if it could not be found.vocabularyId
- the primary key of the asset vocabularynull
if a asset vocabulary with the primary key could not be foundList<AssetVocabulary> findAll()
List<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
.
start
- the lower bound of the range of asset vocabulariesend
- the upper bound of the range of asset vocabularies (not inclusive)List<AssetVocabulary> findAll(int start, int end, OrderByComparator<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
.
start
- 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
)List<AssetVocabulary> findAll(int start, int end, OrderByComparator<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
.
start
- 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 cachevoid removeAll()
int countAll()