com.liferay.layout.service.impl.LayoutClassedModelUsageLocalServiceImpl
@Deprecated
public class AssetEntryUsageLocalServiceUtil
extends java.lang.Object
com.liferay.asset.service.impl.AssetEntryUsageLocalServiceImpl
and
is an 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.AssetEntryUsageLocalService
Constructor and Description |
---|
AssetEntryUsageLocalServiceUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AssetEntryUsage |
addAssetEntryUsage(AssetEntryUsage assetEntryUsage)
Deprecated.
Adds the asset entry usage to the database.
|
static AssetEntryUsage |
addAssetEntryUsage(long groupId,
long assetEntryId,
long containerType,
java.lang.String containerKey,
long plid,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
|
static AssetEntryUsage |
addDefaultAssetEntryUsage(long groupId,
long assetEntryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
|
static AssetEntryUsage |
createAssetEntryUsage(long assetEntryUsageId)
Deprecated.
Creates a new asset entry usage with the primary key.
|
static com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj)
Deprecated.
|
static AssetEntryUsage |
deleteAssetEntryUsage(AssetEntryUsage assetEntryUsage)
Deprecated.
Deletes the asset entry usage from the database.
|
static AssetEntryUsage |
deleteAssetEntryUsage(long assetEntryUsageId)
Deprecated.
Deletes the asset entry usage with the primary key from the database.
|
static void |
deleteAssetEntryUsages(long assetEntryId)
Deprecated.
|
static void |
deleteAssetEntryUsages(long containerType,
java.lang.String containerKey,
long plid)
Deprecated.
|
static void |
deleteAssetEntryUsagesByPlid(long plid)
Deprecated.
|
static com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
Deprecated.
|
static <T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
Deprecated.
|
static com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery()
Deprecated.
|
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Deprecated.
Performs a dynamic query on the database and returns the matching rows.
|
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Deprecated.
Performs a dynamic query on the database and returns a range of the matching rows.
|
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Deprecated.
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
static long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Deprecated.
Returns the number of rows matching the dynamic query.
|
static long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Deprecated.
Returns the number of rows matching the dynamic query.
|
static AssetEntryUsage |
fetchAssetEntryUsage(long assetEntryUsageId)
Deprecated.
|
static AssetEntryUsage |
fetchAssetEntryUsage(long assetEntryId,
long containerType,
java.lang.String containerKey,
long plid)
Deprecated.
|
static AssetEntryUsage |
fetchAssetEntryUsageByUuidAndGroupId(java.lang.String uuid,
long groupId)
Deprecated.
Returns the asset entry usage matching the UUID and group.
|
static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery()
Deprecated.
|
static AssetEntryUsage |
getAssetEntryUsage(long assetEntryUsageId)
Deprecated.
Returns the asset entry usage with the primary key.
|
static AssetEntryUsage |
getAssetEntryUsageByUuidAndGroupId(java.lang.String uuid,
long groupId)
Deprecated.
Returns the asset entry usage matching the UUID and group.
|
static java.util.List<AssetEntryUsage> |
getAssetEntryUsages(int start,
int end)
Deprecated.
Returns a range of all the asset entry usages.
|
static java.util.List<AssetEntryUsage> |
getAssetEntryUsages(long assetEntryId)
Deprecated.
|
static java.util.List<AssetEntryUsage> |
getAssetEntryUsages(long assetEntryId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetEntryUsage> orderByComparator)
Deprecated.
|
static java.util.List<AssetEntryUsage> |
getAssetEntryUsages(long assetEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetEntryUsage> orderByComparator)
Deprecated.
|
static java.util.List<AssetEntryUsage> |
getAssetEntryUsagesByPlid(long plid)
Deprecated.
|
static java.util.List<AssetEntryUsage> |
getAssetEntryUsagesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Deprecated.
Returns all the asset entry usages matching the UUID and company.
|
static java.util.List<AssetEntryUsage> |
getAssetEntryUsagesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetEntryUsage> orderByComparator)
Deprecated.
Returns a range of asset entry usages matching the UUID and company.
|
static int |
getAssetEntryUsagesCount()
Deprecated.
Returns the number of asset entry usages.
|
static int |
getAssetEntryUsagesCount(long assetEntryId)
Deprecated.
|
static int |
getAssetEntryUsagesCount(long assetEntryId,
int type)
Deprecated.
|
static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
Deprecated.
|
static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
Deprecated.
|
static java.lang.String |
getOSGiServiceIdentifier()
Deprecated.
Returns the OSGi service identifier.
|
static com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj)
Deprecated.
|
static AssetEntryUsageLocalService |
getService()
Deprecated.
|
static int |
getUniqueAssetEntryUsagesCount(long assetEntryId)
Deprecated.
|
static boolean |
hasDefaultAssetEntryUsage(long assetEntryId)
Deprecated.
|
static AssetEntryUsage |
updateAssetEntryUsage(AssetEntryUsage assetEntryUsage)
Deprecated.
Updates the asset entry usage in the database or adds it if it does not yet exist.
|
public AssetEntryUsageLocalServiceUtil()
public static AssetEntryUsage addAssetEntryUsage(AssetEntryUsage assetEntryUsage)
Important: Inspect AssetEntryUsageLocalServiceImpl 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.
assetEntryUsage
- the asset entry usagepublic static AssetEntryUsage addAssetEntryUsage(long groupId, long assetEntryId, long containerType, java.lang.String containerKey, long plid, com.liferay.portal.kernel.service.ServiceContext serviceContext)
public static AssetEntryUsage addDefaultAssetEntryUsage(long groupId, long assetEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
public static AssetEntryUsage createAssetEntryUsage(long assetEntryUsageId)
assetEntryUsageId
- the primary key for the new asset entry usagepublic static com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
PortalException
public static AssetEntryUsage deleteAssetEntryUsage(AssetEntryUsage assetEntryUsage)
Important: Inspect AssetEntryUsageLocalServiceImpl 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.
assetEntryUsage
- the asset entry usagepublic static AssetEntryUsage deleteAssetEntryUsage(long assetEntryUsageId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect AssetEntryUsageLocalServiceImpl 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.
assetEntryUsageId
- the primary key of the asset entry usagePortalException
- if a asset entry usage with the primary key could not be foundpublic static void deleteAssetEntryUsages(long assetEntryId)
public static void deleteAssetEntryUsages(long containerType, java.lang.String containerKey, long plid)
public static void deleteAssetEntryUsagesByPlid(long plid)
public static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
PortalException
public static <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
public static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querypublic static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.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.asset.model.impl.AssetEntryUsageModelImpl
.
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> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.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.asset.model.impl.AssetEntryUsageModelImpl
.
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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querypublic static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic static AssetEntryUsage fetchAssetEntryUsage(long assetEntryUsageId)
public static AssetEntryUsage fetchAssetEntryUsage(long assetEntryId, long containerType, java.lang.String containerKey, long plid)
public static AssetEntryUsage fetchAssetEntryUsageByUuidAndGroupId(java.lang.String uuid, long groupId)
uuid
- the asset entry usage's UUIDgroupId
- the primary key of the groupnull
if a matching asset entry usage could not be foundpublic static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
public static AssetEntryUsage getAssetEntryUsage(long assetEntryUsageId) throws com.liferay.portal.kernel.exception.PortalException
assetEntryUsageId
- the primary key of the asset entry usagePortalException
- if a asset entry usage with the primary key could not be foundpublic static AssetEntryUsage getAssetEntryUsageByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
uuid
- the asset entry usage's UUIDgroupId
- the primary key of the groupPortalException
- if a matching asset entry usage could not be foundpublic static java.util.List<AssetEntryUsage> getAssetEntryUsages(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.asset.model.impl.AssetEntryUsageModelImpl
.
start
- the lower bound of the range of asset entry usagesend
- the upper bound of the range of asset entry usages (not inclusive)public static java.util.List<AssetEntryUsage> getAssetEntryUsages(long assetEntryId)
public static java.util.List<AssetEntryUsage> getAssetEntryUsages(long assetEntryId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryUsage> orderByComparator)
public static java.util.List<AssetEntryUsage> getAssetEntryUsages(long assetEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryUsage> orderByComparator)
public static java.util.List<AssetEntryUsage> getAssetEntryUsagesByPlid(long plid)
public static java.util.List<AssetEntryUsage> getAssetEntryUsagesByUuidAndCompanyId(java.lang.String uuid, long companyId)
uuid
- the UUID of the asset entry usagescompanyId
- the primary key of the companypublic static java.util.List<AssetEntryUsage> getAssetEntryUsagesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetEntryUsage> orderByComparator)
uuid
- the UUID of the asset entry usagescompanyId
- the primary key of the companystart
- the lower bound of the range of asset entry usagesend
- the upper bound of the range of asset entry usages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static int getAssetEntryUsagesCount()
public static int getAssetEntryUsagesCount(long assetEntryId)
public static int getAssetEntryUsagesCount(long assetEntryId, int type)
public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
public static java.lang.String getOSGiServiceIdentifier()
public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
PortalException
public static int getUniqueAssetEntryUsagesCount(long assetEntryId)
public static boolean hasDefaultAssetEntryUsage(long assetEntryId)
public static AssetEntryUsage updateAssetEntryUsage(AssetEntryUsage assetEntryUsage)
Important: Inspect AssetEntryUsageLocalServiceImpl 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.
assetEntryUsage
- the asset entry usagepublic static AssetEntryUsageLocalService getService()