@Transactional @Component(value="codegeneration-moduleservice") public class CodeGenerationModuleServiceImpl extends AbstractFlowCentralService implements CodeGenerationModuleService, CodeGenerationProvider
| Constructor and Description |
|---|
CodeGenerationModuleServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearDefinitionsCache() |
protected void |
doInstallModuleFeatures(ModuleInstall moduleInstall) |
int |
generateExtensionModuleFilesTask(com.tcdng.unify.core.task.TaskMonitor taskMonitor,
CodeGenerationItem codeGenerationItem) |
Snapshot |
generateSnapshot(SnapshotMeta meta,
String basePackage)
Generates custom application snapshot.
|
Snapshot |
generateSnapshot(com.tcdng.unify.core.task.TaskMonitor taskMonitor,
SnapshotMeta meta,
String basePackage)
Generates custom application snapshot.
|
int |
generateStudioSnapshotTask(com.tcdng.unify.core.task.TaskMonitor taskMonitor,
CodeGenerationItem codeGenerationItem) |
int |
generateUtilitiesModuleFilesTask(com.tcdng.unify.core.task.TaskMonitor taskMonitor,
CodeGenerationItem codeGenerationItem) |
List<String> |
getCodeGenerationApplets() |
enterSystemRestoreMode, environment, executeEntityPostActionPolicy, executeEntityPreActionPolicy, exitSystemRestoreMode, generateRandomUUID, installFeatures, isEnterprise, isStale, keepThreadAndClusterSafe, resolveApplicationMessageclearRollbackTransactions, clearSavePoint, commitTransactions, db, db, executeBusinessLogic, getExtendedInstance, getNow, getToday, launchTask, onInitialize, onTerminate, rollbackToSavePoint, setOffEntityEvent, setRollbackTransactions, setSavePoint, tmaddTaskMessage, asJson, broadcastToOtherSessions, broadcastToSession, convert, convert, createArrayValueStore, createListValueStore, createParamConfig, createValueStore, createValueStore, createValueStore, findComponentType, fromJson, getAnnotatedClasses, getAnnotatedClassesExcluded, getApplicationAttribute, getApplicationAttribute, getApplicationBanner, getApplicationCode, getApplicationLocale, getApplicationLocaleFormatter, getApplicationMessage, getApplicationMessages, getApplicationName, getApplicationTimeZone, getAuxiliaryVersion, getComponent, getComponent, getComponent, getComponent, getComponent, getComponentConfig, 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, getRequestAttribute, getRequestContext, getRolePrivilegeCodes, getRuntimeId, getSessionAttribute, getSessionAttribute, getSessionContext, getSessionFormatter, getSessionLocale, getSessionLocaleFormatter, getSessionMessage, getSessionMessages, getStaticSettings, getUnifyComponentContext, getUplComponent, getUplComponent, getUserTenantId, getUserToken, getViewDirective, getWidgetDateFormatOverrideFormatter, getWorkingPathFilename, grabLock, grabLock, initialize, isApplicationAttribute, isApplicationIgnoreViewDirective, isClusterMode, isComponent, isCurrentRolePrivilege, isDeploymentMode, isGlobalAccounting, isInitialized, isInterfacesOpen, isLocked, isProductionMode, isRequestAttribute, isRoleAttributes, isSessionAttribute, isTenancyEnabled, isUserLoggedIn, isWidgetDateFormatOverride, logDebug, logDebug, logError, logError, logError, logError, logError, logInfo, logInfo, logSevere, logSevere, logWarn, logWarn, pause, prettyJson, prettyJsonOnDebug, prettyJsonOnError, prettyJsonOnInfo, prettyJsonOnSevere, prettyJsonOnWarn, releaseLock, removeApplicationAttribute, removeRequestAttribute, removeSessionAttribute, removeSessionAttributes, resolveMessage, resolveSessionMessage, resolveUTC, sendCommand, setApplicationAttribute, setRequestAttribute, setRoleAttributes, setSessionAttribute, setSessionStickyAttribute, setUserTokenTenantId, terminate, throwOperationErrorException, throwUnsupportedOperationException, tryGrabLockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtendedInstance, getNow, getToday, tmpublic void clearDefinitionsCache()
throws com.tcdng.unify.core.UnifyException
clearDefinitionsCache in interface SystemDefinitionsCacheclearDefinitionsCache in class AbstractFlowCentralServicecom.tcdng.unify.core.UnifyExceptionpublic List<String> getCodeGenerationApplets() throws com.tcdng.unify.core.UnifyException
getCodeGenerationApplets in interface CodeGenerationProvidercom.tcdng.unify.core.UnifyException@Taskable(name="codegeneration.generateextensionmodulefiles.task",
description="Generate Extension Module Files Task",
parameters=@Parameter(name="codeGenerationItem",description="Code Generation Item",type=CodeGenerationItem.class,mandatory=true),
limit=ALLOW_MULTIPLE,
schedulable=false)
public int generateExtensionModuleFilesTask(com.tcdng.unify.core.task.TaskMonitor taskMonitor,
CodeGenerationItem codeGenerationItem)
throws com.tcdng.unify.core.UnifyException
com.tcdng.unify.core.UnifyException@Taskable(name="codegeneration.generatestudiosnapshot.task",
description="Generate Studio Snapshot Task",
parameters=@Parameter(name="codeGenerationItem",description="Code Generation Item",type=CodeGenerationItem.class,mandatory=true),
limit=ALLOW_MULTIPLE,
schedulable=false)
public int generateStudioSnapshotTask(com.tcdng.unify.core.task.TaskMonitor taskMonitor,
CodeGenerationItem codeGenerationItem)
throws com.tcdng.unify.core.UnifyException
com.tcdng.unify.core.UnifyExceptionpublic Snapshot generateSnapshot(SnapshotMeta meta, String basePackage) throws com.tcdng.unify.core.UnifyException
CodeGenerationModuleServicegenerateSnapshot in interface CodeGenerationModuleServicemeta - snapshot metabasePackage - the base packagecom.tcdng.unify.core.UnifyException - if an error occurspublic Snapshot generateSnapshot(com.tcdng.unify.core.task.TaskMonitor taskMonitor, SnapshotMeta meta, String basePackage) throws com.tcdng.unify.core.UnifyException
CodeGenerationModuleServicegenerateSnapshot in interface CodeGenerationModuleServicemeta - snapshot metabasePackage - the base packagecom.tcdng.unify.core.UnifyException - if an error occurs@Taskable(name="codegeneration.generateutilitiesmodulefiles.task",
description="Generate Utilities Module Files Task",
parameters=@Parameter(name="codeGenerationItem",description="Code Generation Item",type=CodeGenerationItem.class,mandatory=true),
limit=ALLOW_MULTIPLE,
schedulable=false)
public int generateUtilitiesModuleFilesTask(com.tcdng.unify.core.task.TaskMonitor taskMonitor,
CodeGenerationItem codeGenerationItem)
throws com.tcdng.unify.core.UnifyException
com.tcdng.unify.core.UnifyExceptionprotected void doInstallModuleFeatures(ModuleInstall moduleInstall) throws com.tcdng.unify.core.UnifyException
doInstallModuleFeatures in class AbstractFlowCentralServicecom.tcdng.unify.core.UnifyExceptionCopyright © 2024. All rights reserved.