public class CSDiagramSettingLocalServiceUtil
extends java.lang.Object
com.liferay.commerce.shop.by.diagram.service.impl.CSDiagramSettingLocalServiceImpl
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.CSDiagramSettingLocalService
Constructor and Description |
---|
CSDiagramSettingLocalServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CSDiagramSetting |
addCSDiagramSetting(CSDiagramSetting csDiagramSetting)
Adds the cs diagram setting to the database.
|
static CSDiagramSetting |
addCSDiagramSetting(long userId,
long cpDefinitionId,
long cpAttachmentFileEntryId,
java.lang.String color,
double radius,
java.lang.String type) |
static CSDiagramSetting |
createCSDiagramSetting(long CSDiagramSettingId)
Creates a new cs diagram setting with the primary key.
|
static com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
static CSDiagramSetting |
deleteCSDiagramSetting(CSDiagramSetting csDiagramSetting)
Deletes the cs diagram setting from the database.
|
static CSDiagramSetting |
deleteCSDiagramSetting(long CSDiagramSettingId)
Deletes the cs diagram setting with the primary key from the database.
|
static CSDiagramSetting |
deleteCSDiagramSettingByCPDefinitionId(long cpDefinitionId) |
static com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
static <T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
static int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
static com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
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)
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)
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)
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)
Returns the number of rows matching the dynamic query.
|
static CSDiagramSetting |
fetchCSDiagramSetting(long CSDiagramSettingId) |
static CSDiagramSetting |
fetchCSDiagramSettingByCPDefinitionId(long cpDefinitionId) |
static CSDiagramSetting |
fetchCSDiagramSettingByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the cs diagram setting with the matching UUID and company.
|
static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
static CSDiagramSetting |
getCSDiagramSetting(long CSDiagramSettingId)
Returns the cs diagram setting with the primary key.
|
static CSDiagramSetting |
getCSDiagramSettingByCPDefinitionId(long cpDefinitionId) |
static CSDiagramSetting |
getCSDiagramSettingByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the cs diagram setting with the matching UUID and company.
|
static java.util.List<CSDiagramSetting> |
getCSDiagramSettings(int start,
int end)
Returns a range of all the cs diagram settings.
|
static int |
getCSDiagramSettingsCount()
Returns the number of cs diagram settings.
|
static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
static CSDiagramSettingLocalService |
getService() |
static CSDiagramSetting |
updateCSDiagramSetting(CSDiagramSetting csDiagramSetting)
Updates the cs diagram setting in the database or adds it if it does not yet exist.
|
static CSDiagramSetting |
updateCSDiagramSetting(long csDiagramSettingId,
long cpAttachmentFileEntryId,
java.lang.String color,
double radius,
java.lang.String type) |
public static CSDiagramSetting addCSDiagramSetting(CSDiagramSetting csDiagramSetting)
Important: Inspect CSDiagramSettingLocalServiceImpl 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.
csDiagramSetting
- the cs diagram settingpublic static CSDiagramSetting addCSDiagramSetting(long userId, long cpDefinitionId, long cpAttachmentFileEntryId, java.lang.String color, double radius, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CSDiagramSetting createCSDiagramSetting(long CSDiagramSettingId)
CSDiagramSettingId
- the primary key for the new cs diagram settingpublic static com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CSDiagramSetting deleteCSDiagramSetting(CSDiagramSetting csDiagramSetting)
Important: Inspect CSDiagramSettingLocalServiceImpl 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.
csDiagramSetting
- the cs diagram settingpublic static CSDiagramSetting deleteCSDiagramSetting(long CSDiagramSettingId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CSDiagramSettingLocalServiceImpl 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.
CSDiagramSettingId
- the primary key of the cs diagram settingcom.liferay.portal.kernel.exception.PortalException
- if a cs diagram setting with the primary key could not be foundpublic static CSDiagramSetting deleteCSDiagramSettingByCPDefinitionId(long cpDefinitionId)
public static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
public static int dslQueryCount(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.commerce.shop.by.diagram.model.impl.CSDiagramSettingModelImpl
.
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.commerce.shop.by.diagram.model.impl.CSDiagramSettingModelImpl
.
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 CSDiagramSetting fetchCSDiagramSetting(long CSDiagramSettingId)
public static CSDiagramSetting fetchCSDiagramSettingByCPDefinitionId(long cpDefinitionId)
public static CSDiagramSetting fetchCSDiagramSettingByUuidAndCompanyId(java.lang.String uuid, long companyId)
uuid
- the cs diagram setting's UUIDcompanyId
- the primary key of the companynull
if a matching cs diagram setting could not be foundpublic static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
public static CSDiagramSetting getCSDiagramSetting(long CSDiagramSettingId) throws com.liferay.portal.kernel.exception.PortalException
CSDiagramSettingId
- the primary key of the cs diagram settingcom.liferay.portal.kernel.exception.PortalException
- if a cs diagram setting with the primary key could not be foundpublic static CSDiagramSetting getCSDiagramSettingByCPDefinitionId(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CSDiagramSetting getCSDiagramSettingByUuidAndCompanyId(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
uuid
- the cs diagram setting's UUIDcompanyId
- the primary key of the companycom.liferay.portal.kernel.exception.PortalException
- if a matching cs diagram setting could not be foundpublic static java.util.List<CSDiagramSetting> getCSDiagramSettings(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.commerce.shop.by.diagram.model.impl.CSDiagramSettingModelImpl
.
start
- the lower bound of the range of cs diagram settingsend
- the upper bound of the range of cs diagram settings (not inclusive)public static int getCSDiagramSettingsCount()
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
com.liferay.portal.kernel.exception.PortalException
public static CSDiagramSetting updateCSDiagramSetting(CSDiagramSetting csDiagramSetting)
Important: Inspect CSDiagramSettingLocalServiceImpl 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.
csDiagramSetting
- the cs diagram settingpublic static CSDiagramSetting updateCSDiagramSetting(long csDiagramSettingId, long cpAttachmentFileEntryId, java.lang.String color, double radius, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CSDiagramSettingLocalService getService()