@Service public class ScriptServer extends BaseWorkspaceService<ScriptModel> implements ICron<ScriptModel>, ITriggerToken
key, tableName, tClass| Constructor and Description |
|---|
ScriptServer() |
| Modifier and Type | Method and Description |
|---|---|
List<cn.hutool.db.Entity> |
allEntityTokens()
当前数据所有 的 token
|
boolean |
checkCron(ScriptModel scriptModel)
检查定时任务 状态
|
int |
delByKey(String keyValue,
javax.servlet.http.HttpServletRequest request)
删除
|
void |
insert(ScriptModel scriptModel)
插入数据
|
List<ScriptModel> |
queryStartingList()
查询启动中的 所有定时任务 列表
|
void |
syncToWorkspace(String ids,
String nowWorkspaceId,
String workspaceId)
将服务端 脚本信息同步到其他工作空间
|
String |
typeName()
类型 名称
|
int |
updateById(ScriptModel info,
javax.servlet.http.HttpServletRequest request)
更新数据,根据ID+工作空间ID
|
checkUserWorkspace, checkUserWorkspace, defaultOrders, delByWorkspace, fillInsert, getByKey, getByKey, getCheckUserWorkspace, getWorkspaceId, listById, listByWorkspace, listPage, sortMoveDown, sortMoveUp, sortToTopautoClear, autoLoopClear, clearTimeColumns, count, count, covetTableName, executeClearImpl, getData, getLastTimeValue, insert, insertNotFill, list, listById, listById, listPage, listPage, parsePage, update, updateById, updateById, upsertcount, count, dataBeanToEntity, del, delByKey, delByKey, entityToBean, entityToBean, entityToBeanList, execute, exists, exists, fillSelectResult, findByCondition, getByKey, getByKey, getByKey, getKey, getTableName, insert, listByBean, listByEntity, listPageOnlyResult, query, query, queryByBean, queryList, queryList, queryList, update, warpExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallTokenspublic List<ScriptModel> queryStartingList()
ICronqueryStartingList in interface ICron<ScriptModel>public void insert(ScriptModel scriptModel)
BaseDbCommonServiceinsert in class BaseDbService<ScriptModel>scriptModel - 数据public int updateById(ScriptModel info, javax.servlet.http.HttpServletRequest request)
BaseWorkspaceServiceupdateById in class BaseWorkspaceService<ScriptModel>info - 更新的数据request - 请求public int delByKey(String keyValue, javax.servlet.http.HttpServletRequest request)
BaseWorkspaceServicedelByKey in class BaseWorkspaceService<ScriptModel>keyValue - 主键request - 请求信息public boolean checkCron(ScriptModel scriptModel)
checkCron in interface ICron<ScriptModel>scriptModel - 构建信息public void syncToWorkspace(String ids, String nowWorkspaceId, String workspaceId)
ids - 多给节点IDnowWorkspaceId - 当前的工作空间IDworkspaceId - 同步到哪个工作空间public String typeName()
ITriggerTokentypeName in interface ITriggerTokenpublic List<cn.hutool.db.Entity> allEntityTokens()
ITriggerTokenallEntityTokens in interface ITriggerTokenCopyright © 2017–2022. All rights reserved.