com.liferay.asset.category.property.service.impl.AssetCategoryPropertyLocalServiceImpl
@Deprecated
@ProviderType
public class AssetCategoryPropertyLocalServiceUtil
extends Object
AssetCategoryPropertyLocalServiceImpl
and is the
primary access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.AssetCategoryPropertyLocalService
,
AssetCategoryPropertyLocalServiceBaseImpl
,
AssetCategoryPropertyLocalServiceImpl
Constructor and Description |
---|
AssetCategoryPropertyLocalServiceUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AssetCategoryProperty |
addAssetCategoryProperty(AssetCategoryProperty assetCategoryProperty)
Deprecated.
Adds the asset category property to the database.
|
static AssetCategoryProperty |
addCategoryProperty(long userId,
long categoryId,
String key,
String value)
Deprecated.
|
static AssetCategoryProperty |
createAssetCategoryProperty(long categoryPropertyId)
Deprecated.
Creates a new asset category property with the primary key.
|
static AssetCategoryProperty |
deleteAssetCategoryProperty(AssetCategoryProperty assetCategoryProperty)
Deprecated.
Deletes the asset category property from the database.
|
static AssetCategoryProperty |
deleteAssetCategoryProperty(long categoryPropertyId)
Deprecated.
Deletes the asset category property with the primary key from the database.
|
static void |
deleteCategoryProperties(long entryId)
Deprecated.
|
static void |
deleteCategoryProperty(AssetCategoryProperty categoryProperty)
Deprecated.
|
static void |
deleteCategoryProperty(long categoryPropertyId)
Deprecated.
|
static PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
Deprecated.
|
static DynamicQuery |
dynamicQuery()
Deprecated.
|
static <T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Deprecated.
Performs a dynamic query on the database and returns the matching rows.
|
static <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.
|
static <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.
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Deprecated.
Returns the number of rows matching the dynamic query.
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Deprecated.
Returns the number of rows matching the dynamic query.
|
static AssetCategoryProperty |
fetchAssetCategoryProperty(long categoryPropertyId)
Deprecated.
|
static ActionableDynamicQuery |
getActionableDynamicQuery()
Deprecated.
|
static List<AssetCategoryProperty> |
getAssetCategoryProperties(int start,
int end)
Deprecated.
Returns a range of all the asset category properties.
|
static int |
getAssetCategoryPropertiesCount()
Deprecated.
Returns the number of asset category properties.
|
static AssetCategoryProperty |
getAssetCategoryProperty(long categoryPropertyId)
Deprecated.
Returns the asset category property with the primary key.
|
static List<AssetCategoryProperty> |
getCategoryProperties()
Deprecated.
|
static List<AssetCategoryProperty> |
getCategoryProperties(long entryId)
Deprecated.
|
static AssetCategoryProperty |
getCategoryProperty(long categoryPropertyId)
Deprecated.
|
static AssetCategoryProperty |
getCategoryProperty(long categoryId,
String key)
Deprecated.
|
static List<AssetCategoryProperty> |
getCategoryPropertyValues(long groupId,
String key)
Deprecated.
|
static IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
Deprecated.
|
static String |
getOSGiServiceIdentifier()
Deprecated.
Returns the OSGi service identifier.
|
static PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
Deprecated.
|
static AssetCategoryPropertyLocalService |
getService()
Deprecated.
|
static AssetCategoryProperty |
updateAssetCategoryProperty(AssetCategoryProperty assetCategoryProperty)
Deprecated.
Updates the asset category property in the database or adds it if it does not yet exist.
|
static AssetCategoryProperty |
updateCategoryProperty(long userId,
long categoryPropertyId,
String key,
String value)
Deprecated.
|
static AssetCategoryProperty |
updateCategoryProperty(long categoryPropertyId,
String key,
String value)
Deprecated.
|
public AssetCategoryPropertyLocalServiceUtil()
public static AssetCategoryProperty addAssetCategoryProperty(AssetCategoryProperty assetCategoryProperty)
assetCategoryProperty
- the asset category propertypublic static AssetCategoryProperty addCategoryProperty(long userId, long categoryId, String key, String value) throws PortalException
PortalException
public static AssetCategoryProperty createAssetCategoryProperty(long categoryPropertyId)
categoryPropertyId
- the primary key for the new asset category propertypublic static AssetCategoryProperty deleteAssetCategoryProperty(AssetCategoryProperty assetCategoryProperty)
assetCategoryProperty
- the asset category propertypublic static AssetCategoryProperty deleteAssetCategoryProperty(long categoryPropertyId) throws PortalException
categoryPropertyId
- the primary key of the asset category propertyPortalException
- if a asset category property with the primary key could not be foundpublic static void deleteCategoryProperties(long entryId)
public static void deleteCategoryProperty(AssetCategoryProperty categoryProperty)
public static void deleteCategoryProperty(long categoryPropertyId) throws PortalException
PortalException
public static PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
PortalException
public static DynamicQuery dynamicQuery()
public static <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querypublic static <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 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 AssetCategoryPropertyModelImpl
. 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.
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 static <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 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 AssetCategoryPropertyModelImpl
. 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.
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 static long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querypublic static long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic static AssetCategoryProperty fetchAssetCategoryProperty(long categoryPropertyId)
public static ActionableDynamicQuery getActionableDynamicQuery()
public static 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 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 AssetCategoryPropertyModelImpl
. 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 category propertiesend
- the upper bound of the range of asset category properties (not inclusive)public static int getAssetCategoryPropertiesCount()
public static AssetCategoryProperty getAssetCategoryProperty(long categoryPropertyId) throws PortalException
categoryPropertyId
- the primary key of the asset category propertyPortalException
- if a asset category property with the primary key could not be foundpublic static List<AssetCategoryProperty> getCategoryProperties()
public static List<AssetCategoryProperty> getCategoryProperties(long entryId)
public static AssetCategoryProperty getCategoryProperty(long categoryPropertyId) throws PortalException
PortalException
public static AssetCategoryProperty getCategoryProperty(long categoryId, String key) throws PortalException
PortalException
public static List<AssetCategoryProperty> getCategoryPropertyValues(long groupId, String key)
public static IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
public static String getOSGiServiceIdentifier()
public static PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
PortalException
public static AssetCategoryProperty updateAssetCategoryProperty(AssetCategoryProperty assetCategoryProperty)
assetCategoryProperty
- the asset category propertypublic static AssetCategoryProperty updateCategoryProperty(long userId, long categoryPropertyId, String key, String value) throws PortalException
PortalException
public static AssetCategoryProperty updateCategoryProperty(long categoryPropertyId, String key, String value) throws PortalException
PortalException
public static AssetCategoryPropertyLocalService getService()