@Transactional @Component(value="chart-moduleservice") public class ChartModuleServiceImpl extends AbstractFlowCentralService implements ChartModuleService
| Constructor and Description |
|---|
ChartModuleServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInstallModuleFeatures(ModuleInstall moduleInstall) |
Chart |
findChart(Long chartId)
Finds chart by ID.
|
List<Long> |
findChartIdList(String applicationName)
Finds chart ID list for application.
|
List<Chart> |
findCharts(ChartQuery query)
Finds charts by criteria.
|
List<ChartSnapshot> |
findChartSnapshots(ChartSnapshotQuery query)
Finds snapshots by criteria.
|
ChartDef |
getChartDef(String chartName)
Gets a chart definition.
|
ChartSnapshotDef |
getChartSnapshotDef(String snapshotName)
Gets a chart snapshot definition.
|
boolean |
isChartSnapshotExist(String snapshotName)
Checks if chart snapshot exists.
|
void |
saveChartSnapshot(ChartSnapshot chartSnapshot)
Saves a chart snapshot.
|
environment, executeEntityPostActionPolicy, executeEntityPreActionPolicy, installFeatures, setEnvironmentServiceclearRollbackTransactions, clearSavePoint, commitTransactions, db, db, executeBusinessLogic, getExtendedInstance, getNow, getToday, launchTask, onInitialize, onTerminate, rollbackToSavePoint, setDatabaseTransactionManager, setDb, setDynamicSqlDatabaseManager, setRollbackTransactions, setSavePoint, setTaskLauncher, tmaddTaskMessage, beginClusterLock, broadcastToOtherSessions, broadcastToSession, convert, convert, createArrayValueStore, createListValueStore, createParamConfig, createValueStore, createValueStore, createValueStore, endClusterLock, findComponentType, getAnnotatedClasses, getAnnotatedClassesExcluded, getApplicationAttribute, getApplicationBanner, getApplicationCode, getApplicationLocale, getApplicationLocaleFormatter, getApplicationMessage, getApplicationMessages, getApplicationName, getApplicationTimeZone, getAuxiliaryVersion, getComponent, getComponent, getComponent, getComponentConfig, getComponentConfigs, getComponentNames, getComponentParamConfigs, getComponents, getComponentType, getComponentType, getContainerInfo, getContainerSetting, getContainerSetting, getCurrentRolePrivilegeCodes, getCurrentUserRoleStepCodes, getDeploymentVersion, getErrorMessage, getExceptionMessage, getExceptionMessage, getLineSeparator, getList, getList, getListItemByDescription, getListItemByKey, getListMap, getListMap, getMessage, getName, getNodeId, getPreferredPort, getPrintableStackTrace, getPrintableStackTraceWithMessageHeader, getRequestAttribute, getRequestContext, getRolePrivilegeCodes, getSessionAttribute, getSessionContext, getSessionLocale, getSessionLocaleFormatter, getSessionMessage, getSessionMessages, getStaticSettings, getUnifyComponentContext, getUplComponent, getUplComponent, getUserToken, getViewDirective, grabClusterLock, grabClusterMasterLock, initialize, isApplicationAttribute, isApplicationIgnoreViewDirective, isClusterMode, isComponent, isCurrentRolePrivilege, isDeploymentMode, isInitialized, isProductionMode, isRequestAttribute, isRoleAttributes, isSessionAttribute, isUserLoggedIn, isWithClusterLock, logDebug, logDebug, logError, logError, logError, logError, logInfo, logInfo, logSevere, logSevere, logWarn, logWarn, releaseClusterLock, removeApplicationAttribute, removeRequestAttribute, removeSessionAttribute, removeSessionAttributes, resolveApplicationMessage, resolveMessage, resolveSessionMessage, resolveUTC, sendCommand, setApplicationAttribute, setRequestAttribute, setRoleAttributes, setSessionAttribute, setSessionStickyAttribute, terminate, throwOperationErrorException, throwUnsupportedOperationExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic List<Chart> findCharts(ChartQuery query) throws com.tcdng.unify.core.UnifyException
ChartModuleServicefindCharts in interface ChartModuleServicequery - the query objectcom.tcdng.unify.core.UnifyException - if an error occurspublic Chart findChart(Long chartId) throws com.tcdng.unify.core.UnifyException
ChartModuleServicefindChart in interface ChartModuleServicechartId - the chart IDcom.tcdng.unify.core.UnifyException - if chart with ID is not found. If an error occurspublic List<Long> findChartIdList(String applicationName) throws com.tcdng.unify.core.UnifyException
ChartModuleServicefindChartIdList in interface ChartModuleServiceapplicationName - the application namecom.tcdng.unify.core.UnifyException - if an error occurspublic List<ChartSnapshot> findChartSnapshots(ChartSnapshotQuery query) throws com.tcdng.unify.core.UnifyException
ChartModuleServicefindChartSnapshots in interface ChartModuleServicequery - the query objectcom.tcdng.unify.core.UnifyException - if an error occurspublic ChartDef getChartDef(String chartName) throws com.tcdng.unify.core.UnifyException
ChartModuleServicegetChartDef in interface ChartModuleServicechartName - the chart long namecom.tcdng.unify.core.UnifyException - if an error occurspublic ChartSnapshotDef getChartSnapshotDef(String snapshotName) throws com.tcdng.unify.core.UnifyException
ChartModuleServicegetChartSnapshotDef in interface ChartModuleServicesnapshotName - the snapshot namecom.tcdng.unify.core.UnifyException - if an error occurspublic boolean isChartSnapshotExist(String snapshotName) throws com.tcdng.unify.core.UnifyException
ChartModuleServiceisChartSnapshotExist in interface ChartModuleServicesnapshotName - the snapshot namecom.tcdng.unify.core.UnifyException - if an error occurspublic void saveChartSnapshot(ChartSnapshot chartSnapshot) throws com.tcdng.unify.core.UnifyException
ChartModuleServicesaveChartSnapshot in interface ChartModuleServicechartSnapshot - the snapshot to savecom.tcdng.unify.core.UnifyException - if an error occursprotected void doInstallModuleFeatures(ModuleInstall moduleInstall) throws com.tcdng.unify.core.UnifyException
doInstallModuleFeatures in class AbstractFlowCentralServicecom.tcdng.unify.core.UnifyExceptionCopyright © 2022. All rights reserved.