com.liferay.asset.category.property.service.impl.AssetCategoryPropertyLocalServiceImpl
@Deprecated public class AssetCategoryPropertyLocalServiceWrapper extends Object implements AssetCategoryPropertyLocalService, ServiceWrapper<AssetCategoryPropertyLocalService>
AssetCategoryPropertyLocalService
.AssetCategoryPropertyLocalService
Constructor and Description |
---|
AssetCategoryPropertyLocalServiceWrapper(AssetCategoryPropertyLocalService assetCategoryPropertyLocalService)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AssetCategoryProperty |
addAssetCategoryProperty(AssetCategoryProperty assetCategoryProperty)
Deprecated.
Adds the asset category property to the database.
|
AssetCategoryProperty |
addCategoryProperty(long userId,
long categoryId,
String key,
String value)
Deprecated.
|
AssetCategoryProperty |
createAssetCategoryProperty(long categoryPropertyId)
Deprecated.
Creates a new asset category property with the primary key.
|
PersistedModel |
createPersistedModel(Serializable primaryKeyObj)
Deprecated.
|
AssetCategoryProperty |
deleteAssetCategoryProperty(AssetCategoryProperty assetCategoryProperty)
Deprecated.
Deletes the asset category property from the database.
|
AssetCategoryProperty |
deleteAssetCategoryProperty(long categoryPropertyId)
Deprecated.
Deletes the asset category property with the primary key from the database.
|
void |
deleteCategoryProperties(long entryId)
Deprecated.
|
void |
deleteCategoryProperty(AssetCategoryProperty categoryProperty)
Deprecated.
|
void |
deleteCategoryProperty(long categoryPropertyId)
Deprecated.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
Deprecated.
|
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
Deprecated.
|
DynamicQuery |
dynamicQuery()
Deprecated.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Deprecated.
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Deprecated.
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Deprecated.
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Deprecated.
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Deprecated.
Returns the number of rows matching the dynamic query.
|
AssetCategoryProperty |
fetchAssetCategoryProperty(long categoryPropertyId)
Deprecated.
|
ActionableDynamicQuery |
getActionableDynamicQuery()
Deprecated.
|
List<AssetCategoryProperty> |
getAssetCategoryProperties(int start,
int end)
Deprecated.
Returns a range of all the asset category properties.
|
int |
getAssetCategoryPropertiesCount()
Deprecated.
Returns the number of asset category properties.
|
AssetCategoryProperty |
getAssetCategoryProperty(long categoryPropertyId)
Deprecated.
Returns the asset category property with the primary key.
|
List<AssetCategoryProperty> |
getCategoryProperties()
Deprecated.
|
List<AssetCategoryProperty> |
getCategoryProperties(long entryId)
Deprecated.
|
AssetCategoryProperty |
getCategoryProperty(long categoryPropertyId)
Deprecated.
|
AssetCategoryProperty |
getCategoryProperty(long categoryId,
String key)
Deprecated.
|
List<AssetCategoryProperty> |
getCategoryPropertyValues(long groupId,
String key)
Deprecated.
|
CTPersistence<AssetCategoryProperty> |
getCTPersistence()
Deprecated.
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
Deprecated.
|
Class<AssetCategoryProperty> |
getModelClass()
Deprecated.
|
String |
getOSGiServiceIdentifier()
Deprecated.
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
Deprecated.
|
AssetCategoryPropertyLocalService |
getWrappedService()
Deprecated.
|
void |
setWrappedService(AssetCategoryPropertyLocalService assetCategoryPropertyLocalService)
Deprecated.
|
AssetCategoryProperty |
updateAssetCategoryProperty(AssetCategoryProperty assetCategoryProperty)
Deprecated.
Updates the asset category property in the database or adds it if it does not yet exist.
|
AssetCategoryProperty |
updateCategoryProperty(long userId,
long categoryPropertyId,
String key,
String value)
Deprecated.
|
AssetCategoryProperty |
updateCategoryProperty(long categoryPropertyId,
String key,
String value)
Deprecated.
|
<R,E extends Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<AssetCategoryProperty>,R,E> updateUnsafeFunction)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBasePersistence
public AssetCategoryPropertyLocalServiceWrapper(AssetCategoryPropertyLocalService assetCategoryPropertyLocalService)
public AssetCategoryProperty addAssetCategoryProperty(AssetCategoryProperty assetCategoryProperty)
Important: Inspect AssetCategoryPropertyLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addAssetCategoryProperty
in interface AssetCategoryPropertyLocalService
assetCategoryProperty
- the asset category propertypublic AssetCategoryProperty addCategoryProperty(long userId, long categoryId, String key, String value) throws PortalException
addCategoryProperty
in interface AssetCategoryPropertyLocalService
PortalException
public AssetCategoryProperty createAssetCategoryProperty(long categoryPropertyId)
createAssetCategoryProperty
in interface AssetCategoryPropertyLocalService
categoryPropertyId
- the primary key for the new asset category propertypublic PersistedModel createPersistedModel(Serializable primaryKeyObj) throws PortalException
createPersistedModel
in interface AssetCategoryPropertyLocalService
createPersistedModel
in interface PersistedModelLocalService
PortalException
public AssetCategoryProperty deleteAssetCategoryProperty(AssetCategoryProperty assetCategoryProperty)
Important: Inspect AssetCategoryPropertyLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteAssetCategoryProperty
in interface AssetCategoryPropertyLocalService
assetCategoryProperty
- the asset category propertypublic AssetCategoryProperty deleteAssetCategoryProperty(long categoryPropertyId) throws PortalException
Important: Inspect AssetCategoryPropertyLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteAssetCategoryProperty
in interface AssetCategoryPropertyLocalService
categoryPropertyId
- the primary key of the asset category propertyPortalException
- if a asset category property with the primary key could not be foundpublic void deleteCategoryProperties(long entryId)
deleteCategoryProperties
in interface AssetCategoryPropertyLocalService
public void deleteCategoryProperty(AssetCategoryProperty categoryProperty)
deleteCategoryProperty
in interface AssetCategoryPropertyLocalService
public void deleteCategoryProperty(long categoryPropertyId) throws PortalException
deleteCategoryProperty
in interface AssetCategoryPropertyLocalService
PortalException
public PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface AssetCategoryPropertyLocalService
deletePersistedModel
in interface PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface AssetCategoryPropertyLocalService
public DynamicQuery dynamicQuery()
dynamicQuery
in interface AssetCategoryPropertyLocalService
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
in interface AssetCategoryPropertyLocalService
dynamicQuery
- the dynamic querypublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portlet.asset.model.impl.AssetCategoryPropertyModelImpl
.
dynamicQuery
in interface AssetCategoryPropertyLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portlet.asset.model.impl.AssetCategoryPropertyModelImpl
.
dynamicQuery
in interface AssetCategoryPropertyLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount
in interface AssetCategoryPropertyLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount
in interface AssetCategoryPropertyLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic AssetCategoryProperty fetchAssetCategoryProperty(long categoryPropertyId)
fetchAssetCategoryProperty
in interface AssetCategoryPropertyLocalService
public ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface AssetCategoryPropertyLocalService
public List<AssetCategoryProperty> getAssetCategoryProperties(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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portlet.asset.model.impl.AssetCategoryPropertyModelImpl
.
getAssetCategoryProperties
in interface AssetCategoryPropertyLocalService
start
- the lower bound of the range of asset category propertiesend
- the upper bound of the range of asset category properties (not inclusive)public int getAssetCategoryPropertiesCount()
getAssetCategoryPropertiesCount
in interface AssetCategoryPropertyLocalService
public AssetCategoryProperty getAssetCategoryProperty(long categoryPropertyId) throws PortalException
getAssetCategoryProperty
in interface AssetCategoryPropertyLocalService
categoryPropertyId
- the primary key of the asset category propertyPortalException
- if a asset category property with the primary key could not be foundpublic List<AssetCategoryProperty> getCategoryProperties()
getCategoryProperties
in interface AssetCategoryPropertyLocalService
public List<AssetCategoryProperty> getCategoryProperties(long entryId)
getCategoryProperties
in interface AssetCategoryPropertyLocalService
public AssetCategoryProperty getCategoryProperty(long categoryPropertyId) throws PortalException
getCategoryProperty
in interface AssetCategoryPropertyLocalService
PortalException
public AssetCategoryProperty getCategoryProperty(long categoryId, String key) throws PortalException
getCategoryProperty
in interface AssetCategoryPropertyLocalService
PortalException
public List<AssetCategoryProperty> getCategoryPropertyValues(long groupId, String key)
getCategoryPropertyValues
in interface AssetCategoryPropertyLocalService
public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface AssetCategoryPropertyLocalService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface AssetCategoryPropertyLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface AssetCategoryPropertyLocalService
getPersistedModel
in interface PersistedModelLocalService
PortalException
public AssetCategoryProperty updateAssetCategoryProperty(AssetCategoryProperty assetCategoryProperty)
Important: Inspect AssetCategoryPropertyLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateAssetCategoryProperty
in interface AssetCategoryPropertyLocalService
assetCategoryProperty
- the asset category propertypublic AssetCategoryProperty updateCategoryProperty(long userId, long categoryPropertyId, String key, String value) throws PortalException
updateCategoryProperty
in interface AssetCategoryPropertyLocalService
PortalException
public AssetCategoryProperty updateCategoryProperty(long categoryPropertyId, String key, String value) throws PortalException
updateCategoryProperty
in interface AssetCategoryPropertyLocalService
PortalException
public CTPersistence<AssetCategoryProperty> getCTPersistence()
getCTPersistence
in interface AssetCategoryPropertyLocalService
getCTPersistence
in interface CTService<AssetCategoryProperty>
public Class<AssetCategoryProperty> getModelClass()
getModelClass
in interface AssetCategoryPropertyLocalService
getModelClass
in interface CTService<AssetCategoryProperty>
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<AssetCategoryProperty>,R,E> updateUnsafeFunction) throws E extends Throwable
updateWithUnsafeFunction
in interface AssetCategoryPropertyLocalService
updateWithUnsafeFunction
in interface CTService<AssetCategoryProperty>
E extends Throwable
public AssetCategoryPropertyLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<AssetCategoryPropertyLocalService>
public void setWrappedService(AssetCategoryPropertyLocalService assetCategoryPropertyLocalService)
setWrappedService
in interface ServiceWrapper<AssetCategoryPropertyLocalService>