|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface AssetTagPropertyPersistence
The persistence interface for the asset tag property service.
Caching information and settings can be found in portal.properties
AssetTagPropertyPersistenceImpl,
AssetTagPropertyUtil| Method Summary | |
|---|---|
void |
cacheResult(AssetTagProperty assetTagProperty)
Caches the asset tag property in the entity cache if it is enabled. |
void |
cacheResult(List<AssetTagProperty> assetTagProperties)
Caches the asset tag properties in the entity cache if it is enabled. |
int |
countAll()
Returns the number of asset tag properties. |
int |
countByC_K(long companyId,
String key)
Returns the number of asset tag properties where companyId = ? and key = ?. |
int |
countByCompanyId(long companyId)
Returns the number of asset tag properties where companyId = ?. |
int |
countByT_K(long tagId,
String key)
Returns the number of asset tag properties where tagId = ? and key = ?. |
int |
countByTagId(long tagId)
Returns the number of asset tag properties where tagId = ?. |
AssetTagProperty |
create(long tagPropertyId)
Creates a new asset tag property with the primary key. |
AssetTagProperty |
fetchByC_K_First(long companyId,
String key,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the first asset tag property in the ordered set where companyId = ? and key = ?. |
AssetTagProperty |
fetchByC_K_Last(long companyId,
String key,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the last asset tag property in the ordered set where companyId = ? and key = ?. |
AssetTagProperty |
fetchByCompanyId_First(long companyId,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the first asset tag property in the ordered set where companyId = ?. |
AssetTagProperty |
fetchByCompanyId_Last(long companyId,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the last asset tag property in the ordered set where companyId = ?. |
AssetTagProperty |
fetchByPrimaryKey(long tagPropertyId)
Returns the asset tag property with the primary key or returns null if it could not be found. |
Map<Serializable,AssetTagProperty> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
AssetTagProperty |
fetchByT_K(long tagId,
String key)
Returns the asset tag property where tagId = ? and key = ? or returns null if it could not be found. |
AssetTagProperty |
fetchByT_K(long tagId,
String key,
boolean retrieveFromCache)
Returns the asset tag property where tagId = ? and key = ? or returns null if it could not be found, optionally using the finder cache. |
AssetTagProperty |
fetchByTagId_First(long tagId,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the first asset tag property in the ordered set where tagId = ?. |
AssetTagProperty |
fetchByTagId_Last(long tagId,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the last asset tag property in the ordered set where tagId = ?. |
List<AssetTagProperty> |
findAll()
Returns all the asset tag properties. |
List<AssetTagProperty> |
findAll(int start,
int end)
Returns a range of all the asset tag properties. |
List<AssetTagProperty> |
findAll(int start,
int end,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns an ordered range of all the asset tag properties. |
AssetTagProperty |
findByC_K_First(long companyId,
String key,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the first asset tag property in the ordered set where companyId = ? and key = ?. |
AssetTagProperty |
findByC_K_Last(long companyId,
String key,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the last asset tag property in the ordered set where companyId = ? and key = ?. |
AssetTagProperty[] |
findByC_K_PrevAndNext(long tagPropertyId,
long companyId,
String key,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the asset tag properties before and after the current asset tag property in the ordered set where companyId = ? and key = ?. |
List<AssetTagProperty> |
findByC_K(long companyId,
String key)
Returns all the asset tag properties where companyId = ? and key = ?. |
List<AssetTagProperty> |
findByC_K(long companyId,
String key,
int start,
int end)
Returns a range of all the asset tag properties where companyId = ? and key = ?. |
List<AssetTagProperty> |
findByC_K(long companyId,
String key,
int start,
int end,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns an ordered range of all the asset tag properties where companyId = ? and key = ?. |
AssetTagProperty |
findByCompanyId_First(long companyId,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the first asset tag property in the ordered set where companyId = ?. |
AssetTagProperty |
findByCompanyId_Last(long companyId,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the last asset tag property in the ordered set where companyId = ?. |
AssetTagProperty[] |
findByCompanyId_PrevAndNext(long tagPropertyId,
long companyId,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the asset tag properties before and after the current asset tag property in the ordered set where companyId = ?. |
List<AssetTagProperty> |
findByCompanyId(long companyId)
Returns all the asset tag properties where companyId = ?. |
List<AssetTagProperty> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the asset tag properties where companyId = ?. |
List<AssetTagProperty> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns an ordered range of all the asset tag properties where companyId = ?. |
AssetTagProperty |
findByPrimaryKey(long tagPropertyId)
Returns the asset tag property with the primary key or throws a NoSuchTagPropertyException if it could not be found. |
AssetTagProperty |
findByT_K(long tagId,
String key)
Returns the asset tag property where tagId = ? and key = ? or throws a NoSuchTagPropertyException if it could not be found. |
AssetTagProperty |
findByTagId_First(long tagId,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the first asset tag property in the ordered set where tagId = ?. |
AssetTagProperty |
findByTagId_Last(long tagId,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the last asset tag property in the ordered set where tagId = ?. |
AssetTagProperty[] |
findByTagId_PrevAndNext(long tagPropertyId,
long tagId,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns the asset tag properties before and after the current asset tag property in the ordered set where tagId = ?. |
List<AssetTagProperty> |
findByTagId(long tagId)
Returns all the asset tag properties where tagId = ?. |
List<AssetTagProperty> |
findByTagId(long tagId,
int start,
int end)
Returns a range of all the asset tag properties where tagId = ?. |
List<AssetTagProperty> |
findByTagId(long tagId,
int start,
int end,
OrderByComparator<AssetTagProperty> orderByComparator)
Returns an ordered range of all the asset tag properties where tagId = ?. |
AssetTagProperty |
remove(long tagPropertyId)
Removes the asset tag property with the primary key from the database. |
void |
removeAll()
Removes all the asset tag properties from the database. |
void |
removeByC_K(long companyId,
String key)
Removes all the asset tag properties where companyId = ? and key = ? from the database. |
void |
removeByCompanyId(long companyId)
Removes all the asset tag properties where companyId = ? from the database. |
AssetTagProperty |
removeByT_K(long tagId,
String key)
Removes the asset tag property where tagId = ? and key = ? from the database. |
void |
removeByTagId(long tagId)
Removes all the asset tag properties where tagId = ? from the database. |
AssetTagProperty |
updateImpl(AssetTagProperty assetTagProperty)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update |
| Method Detail |
|---|
List<AssetTagProperty> findByCompanyId(long companyId)
companyId - the company ID
List<AssetTagProperty> 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagPropertyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId - the company IDstart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)
List<AssetTagProperty> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<AssetTagProperty> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagPropertyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId - the company IDstart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
AssetTagProperty findByCompanyId_First(long companyId,
OrderByComparator<AssetTagProperty> orderByComparator)
throws NoSuchTagPropertyException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagPropertyException - if a matching asset tag property could not be found
AssetTagProperty fetchByCompanyId_First(long companyId,
OrderByComparator<AssetTagProperty> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset tag property could not be found
AssetTagProperty findByCompanyId_Last(long companyId,
OrderByComparator<AssetTagProperty> orderByComparator)
throws NoSuchTagPropertyException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagPropertyException - if a matching asset tag property could not be found
AssetTagProperty fetchByCompanyId_Last(long companyId,
OrderByComparator<AssetTagProperty> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset tag property could not be found
AssetTagProperty[] findByCompanyId_PrevAndNext(long tagPropertyId,
long companyId,
OrderByComparator<AssetTagProperty> orderByComparator)
throws NoSuchTagPropertyException
tagPropertyId - the primary key of the current asset tag propertycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagPropertyException - if a asset tag property with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId - the company IDint countByCompanyId(long companyId)
companyId - the company ID
List<AssetTagProperty> findByTagId(long tagId)
tagId - the tag ID
List<AssetTagProperty> findByTagId(long tagId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagPropertyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tagId - the tag IDstart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)
List<AssetTagProperty> findByTagId(long tagId,
int start,
int end,
OrderByComparator<AssetTagProperty> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagPropertyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tagId - the tag IDstart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
AssetTagProperty findByTagId_First(long tagId,
OrderByComparator<AssetTagProperty> orderByComparator)
throws NoSuchTagPropertyException
tagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagPropertyException - if a matching asset tag property could not be found
AssetTagProperty fetchByTagId_First(long tagId,
OrderByComparator<AssetTagProperty> orderByComparator)
tagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset tag property could not be found
AssetTagProperty findByTagId_Last(long tagId,
OrderByComparator<AssetTagProperty> orderByComparator)
throws NoSuchTagPropertyException
tagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagPropertyException - if a matching asset tag property could not be found
AssetTagProperty fetchByTagId_Last(long tagId,
OrderByComparator<AssetTagProperty> orderByComparator)
tagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset tag property could not be found
AssetTagProperty[] findByTagId_PrevAndNext(long tagPropertyId,
long tagId,
OrderByComparator<AssetTagProperty> orderByComparator)
throws NoSuchTagPropertyException
tagPropertyId - the primary key of the current asset tag propertytagId - the tag IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagPropertyException - if a asset tag property with the primary key could not be foundvoid removeByTagId(long tagId)
tagId - the tag IDint countByTagId(long tagId)
tagId - the tag ID
List<AssetTagProperty> findByC_K(long companyId,
String key)
companyId - the company IDkey - the key
List<AssetTagProperty> findByC_K(long companyId,
String key,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagPropertyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId - the company IDkey - the keystart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)
List<AssetTagProperty> findByC_K(long companyId,
String key,
int start,
int end,
OrderByComparator<AssetTagProperty> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagPropertyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId - the company IDkey - the keystart - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
AssetTagProperty findByC_K_First(long companyId,
String key,
OrderByComparator<AssetTagProperty> orderByComparator)
throws NoSuchTagPropertyException
companyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagPropertyException - if a matching asset tag property could not be found
AssetTagProperty fetchByC_K_First(long companyId,
String key,
OrderByComparator<AssetTagProperty> orderByComparator)
companyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset tag property could not be found
AssetTagProperty findByC_K_Last(long companyId,
String key,
OrderByComparator<AssetTagProperty> orderByComparator)
throws NoSuchTagPropertyException
companyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagPropertyException - if a matching asset tag property could not be found
AssetTagProperty fetchByC_K_Last(long companyId,
String key,
OrderByComparator<AssetTagProperty> orderByComparator)
companyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset tag property could not be found
AssetTagProperty[] findByC_K_PrevAndNext(long tagPropertyId,
long companyId,
String key,
OrderByComparator<AssetTagProperty> orderByComparator)
throws NoSuchTagPropertyException
tagPropertyId - the primary key of the current asset tag propertycompanyId - the company IDkey - the keyorderByComparator - the comparator to order the set by (optionally null)
NoSuchTagPropertyException - if a asset tag property with the primary key could not be found
void removeByC_K(long companyId,
String key)
companyId - the company IDkey - the key
int countByC_K(long companyId,
String key)
companyId - the company IDkey - the key
AssetTagProperty findByT_K(long tagId,
String key)
throws NoSuchTagPropertyException
NoSuchTagPropertyException if it could not be found.
tagId - the tag IDkey - the key
NoSuchTagPropertyException - if a matching asset tag property could not be found
AssetTagProperty fetchByT_K(long tagId,
String key)
null if it could not be found. Uses the finder cache.
tagId - the tag IDkey - the key
null if a matching asset tag property could not be found
AssetTagProperty fetchByT_K(long tagId,
String key,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
tagId - the tag IDkey - the keyretrieveFromCache - whether to use the finder cache
null if a matching asset tag property could not be found
AssetTagProperty removeByT_K(long tagId,
String key)
throws NoSuchTagPropertyException
tagId - the tag IDkey - the key
NoSuchTagPropertyException
int countByT_K(long tagId,
String key)
tagId - the tag IDkey - the key
void cacheResult(AssetTagProperty assetTagProperty)
assetTagProperty - the asset tag propertyvoid cacheResult(List<AssetTagProperty> assetTagProperties)
assetTagProperties - the asset tag propertiesAssetTagProperty create(long tagPropertyId)
tagPropertyId - the primary key for the new asset tag property
AssetTagProperty remove(long tagPropertyId)
throws NoSuchTagPropertyException
tagPropertyId - the primary key of the asset tag property
NoSuchTagPropertyException - if a asset tag property with the primary key could not be foundAssetTagProperty updateImpl(AssetTagProperty assetTagProperty)
AssetTagProperty findByPrimaryKey(long tagPropertyId)
throws NoSuchTagPropertyException
NoSuchTagPropertyException if it could not be found.
tagPropertyId - the primary key of the asset tag property
NoSuchTagPropertyException - if a asset tag property with the primary key could not be foundAssetTagProperty fetchByPrimaryKey(long tagPropertyId)
null if it could not be found.
tagPropertyId - the primary key of the asset tag property
null if a asset tag property with the primary key could not be foundMap<Serializable,AssetTagProperty> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<AssetTagProperty>List<AssetTagProperty> findAll()
List<AssetTagProperty> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagPropertyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)
List<AssetTagProperty> findAll(int start,
int end,
OrderByComparator<AssetTagProperty> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagPropertyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of asset tag propertiesend - the upper bound of the range of asset tag properties (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
void removeAll()
int countAll()
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||