加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
3.puml 15.91 KB
一键复制 编辑 原始数据 按行查看 历史
kongxinyangyu 提交于 2024-06-11 21:19 . 变更
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558
@startuml
class com.timbercld.core.config.SwaggerConfig {
+ Docket createRestApi()
- ApiInfo apiInfo()
- List<SecurityScheme> security()
}
class com.timbercld.core.mongodb.MongoDBUtils {
- MongoTemplate mongoTemplate
+ {static} MongoDBUtils mongoDBUtils
+ void init()
+ {static} void save(Object)
+ {static} void save(Object,String)
+ {static} void remove(Object)
+ {static} void remove(Object,String)
+ {static} void removeById(String,Object,String)
+ {static} void remove(String[],Object[],String)
+ {static} void updateFirst(String,Object,String[],Object[],String)
+ {static} void updateMulti(String,Object,String[],Object[],String)
+ {static} List<? extends Object> find(Object,String[],Object[])
+ {static} List<? extends Object> find(Object,String[],Object[],String)
+ {static} List<? extends Object> find(Object,String[],Object[],String,String)
+ {static} Object findOne(Class<?>,String[],Object[])
+ {static} Object findOne(Class<?>,String[],Object[],String)
+ {static} List<? extends Object> findAll(Object)
+ {static} List<? extends Object> findAll(Object,String)
+ {static} Long count(String[],Object[],String)
+ {static} List<? extends Object> findLimit(Class<?>,String[],Object[],String,Long,Integer,String,Sort.Direction)
+ {static} List<? extends Object> findFieldsLimit(String[],Class<?>,String[],Object[],String,Long,Integer,String,Sort.Direction)
}
class com.timbercld.core.interceptor.DataFilterInterceptor {
+ void beforeQuery(Executor,MappedStatement,Object,RowBounds,ResultHandler,BoundSql)
- DataScope getDataScope(Object)
- String getSelect(String,DataScope)
}
class com.timbercld.core.interceptor.DataScope {
- String sqlFilter
+ String getSqlFilter()
+ void setSqlFilter(String)
+ String toString()
}
class com.timbercld.core.xss.XssHttpServletRequestWrapper {
~ HttpServletRequest orgRequest
+ ServletInputStream getInputStream()
+ String getParameter(String)
+ String[] getParameterValues(String)
+ Map<String,String[]> getParameterMap()
+ String getHeader(String)
- String xssEncode(String)
+ HttpServletRequest getOrgRequest()
+ {static} HttpServletRequest getOrgRequest(HttpServletRequest)
}
class com.timbercld.core.filter.XssFilter {
+ void init(FilterConfig)
+ void doFilter(ServletRequest,ServletResponse,FilterChain)
+ void destroy()
}
class com.timbercld.core.utils.DateUtils {
+ {static} String DATE_PATTERN
+ {static} String DATE_TIME_PATTERN
+ {static} String format(Date)
+ {static} String format(Date,String)
+ {static} Date parse(String,String)
+ {static} Date stringToDate(String,String)
+ {static} Date[] getWeekStartAndEnd(int)
+ {static} Date addDateSeconds(Date,int)
+ {static} Date addDateMinutes(Date,int)
+ {static} Date addDateHours(Date,int)
+ {static} Date addDateDays(Date,int)
+ {static} Date addDateWeeks(Date,int)
+ {static} Date addDateMonths(Date,int)
+ {static} Date addDateYears(Date,int)
+ {static} Long timestamp()
+ {static} String currentDate()
}
interface com.timbercld.core.validator.group.SaveGroup {
}
class com.timbercld.core.utils.ConvertUtils {
- {static} Logger logger
+ {static} T sourceToTarget(Object,Class<T>)
+ {static} List<T> sourceToTarget(Collection<?>,Class<T>)
}
abstract class com.timbercld.core.entity.BasicSubSystemEntity {
- Long subSystemId
}
class com.timbercld.core.utils.SpringContextUtils {
+ {static} ApplicationContext applicationContext
+ void setApplicationContext(ApplicationContext)
+ {static} Object getBean(String)
+ {static} T getBean(Class<T>)
+ {static} T getBean(String,Class<T>)
+ {static} boolean containsBean(String)
+ {static} boolean isSingleton(String)
+ {static} Class<? extends Object> getType(String)
}
abstract class com.timbercld.core.service.impl.BasicServiceImpl {
# M basicDao
# IPage<T> getPage(Map<String,Object>,String,boolean)
# PageData<T> getPageData(List<?>,long,Class<T>)
# PageData<T> getPageData(IPage,Class<T>)
# Map<String,Object> paramsToLike(Map<String,Object>,String)
# {static} boolean retBool(Integer)
# Class<T> currentModelClass()
# SqlSession sqlSessionBatch()
# void closeSqlSession(SqlSession)
# String sqlStatement(SqlMethod)
+ boolean insert(T)
+ boolean insertBatch(Collection<T>)
+ boolean insertBatch(Collection<T>,int)
+ boolean updateById(T)
+ boolean update(T,Wrapper<T>)
+ boolean updateBatchById(Collection<T>)
# boolean executeBatch(Collection<E>,int,BiConsumer<SqlSession,E>)
+ boolean updateBatchById(Collection<T>,int)
+ T selectById(Serializable)
+ boolean deleteById(Serializable)
+ boolean deleteBatchIds(Collection<? extends Serializable>)
}
interface com.timbercld.core.validator.group.DefaultGroup {
}
class com.timbercld.core.xss.TimbercldServletInputStream {
- InputStream inputStream
- String json
+ boolean isFinished()
+ boolean isReady()
+ void setReadListener(ReadListener)
+ int read()
}
class com.timbercld.core.utils.ExcelUtils {
- {static} int totalRows
- {static} int totalCells
- {static} String errorMsg
+ {static} List<String> getExcelSheet(File)
+ {static} Workbook writeExcel(File)
+ {static} Map<String,Object> getExcelInfo(File,int)
+ int getTotalRows()
+ int getTotalCells()
+ String getErrorInfo()
- {static} Object getValueFromCell(Cell)
- {static} Map<String,Object> readExcelValue(Workbook,int)
+ {static} void exportExcel(HttpServletResponse,String,Collection<?>,Class<?>)
+ {static} void exportExcelToTarget(HttpServletResponse,String,Collection<?>,Class<?>)
}
class com.timbercld.core.utils.WDWUtil {
+ {static} boolean isExcel2003(String)
+ {static} boolean isExcel2007(String)
}
class com.timbercld.core.config.FilterConfig {
+ FilterRegistrationBean shiroFilterRegistration()
+ FilterRegistrationBean xssFilterRegistration()
+ FilterRegistrationBean sqlFilterRegistration()
}
interface com.timbercld.core.exception.ErrorCode {
~ {static} int ERR_INTERNAL_SERVER
~ {static} int UNAUTHORIZED
~ {static} int FORBIDDEN
~ {static} int NOT_NULL
~ {static} int DB_RECORD_EXISTS
~ {static} int ERR_PARAMS_GET
~ {static} int INVALID_SYMBOL
~ {static} int ERR_REDIS
~ {static} int ERR_JSON_FORMAT
~ {static} int ERR_SQL_PARAMS
~ {static} int ERR_ACCOUNT_PASSWORD
~ {static} int ACCOUNT_DISABLE
~ {static} int ERR_CAPTCHA
~ {static} int ERR_PASSWORD
~ {static} int IDENTIFIER_NOT_NULL
~ {static} int ACCOUNT_NOT_EXIST
~ {static} int ERR_SUPERIOR_DEPT
~ {static} int ERR_SUPERIOR_MENU
~ {static} int ERR_DATA_SCOPE_PARAMS
~ {static} int ERR_DEPT_SUB_DELETE
~ {static} int ERR_DEPT_USER_DELETE
~ {static} int SUB_MENU_EXIST
~ {static} int TOKEN_NOT_EMPTY
~ {static} int ACCOUNT_LOCK
~ {static} int ACCOUNT_EXIST
~ {static} int TOKEN_INVALID
~ {static} int UPLOAD_FILE_EMPTY
~ {static} int ERR_STORAGE_UPLOAD_FILE
~ {static} int SEND_SMS_ERROR
~ {static} int MAIL_TEMPLATE_NOT_EXISTS
~ {static} int ERR_SMS_CONFIG
~ {static} int ERR_SCHEDULER
}
interface com.timbercld.core.validator.group.Group {
}
class com.timbercld.core.utils.TreeNode {
- {static} long serialVersionUID
- Long id
- Long pid
- List<T> children
+ Long getId()
+ void setId(Long)
+ Long getPid()
+ void setPid(Long)
+ List<T> getChildren()
+ void setChildren(List<T>)
}
enum com.timbercld.core.constant.SchedulerStatusEnum {
+ PAUSE
+ NORMAL
- int value
+ int getValue()
}
class com.timbercld.core.utils.IpUtils {
- {static} Logger logger
+ {static} String getIpAddr(HttpServletRequest)
}
class com.timbercld.core.config.MybatisPlusConfig {
+ MybatisPlusInterceptor mybatisPlusInterceptor()
}
abstract class com.timbercld.core.entity.BasicEntity {
- Long id
- Long creatorId
- Date createDate
- Long updaterId
- Date updateDate
}
class com.timbercld.core.config.KaptchaConfig {
+ DefaultKaptcha producer()
}
interface com.timbercld.core.dao.BasicDao {
}
class com.timbercld.core.utils.Result {
- {static} long serialVersionUID
- int code
- String msg
- T data
+ Result<T> ok(T)
+ boolean success()
+ Result<T> error()
+ Result<T> error(int)
+ Result<T> error(int,String)
+ Result<T> error(String)
+ int getCode()
+ void setCode(int)
+ String getMsg()
+ void setMsg(String)
+ T getData()
+ void setData(T)
}
interface com.timbercld.core.service.CrudService {
~ PageData<D> page(Map<String,Object>)
~ List<D> list(Map<String,Object>)
~ D get(Long)
~ void save(D)
~ void update(D)
~ void delete(Long[])
}
class com.timbercld.core.redis.RedisConfig {
- RedisConnectionFactory factory
+ RedisTemplate<String,Object> redisTemplate()
}
enum com.timbercld.core.constant.CloudAgentEnum {
+ QINIU
+ ALIYUN
+ QCLOUD
+ FASTDFS
+ LOCAL
- int value
+ int getValue()
}
class com.timbercld.core.config.LocalUploadConfig {
- String basicFolder
- String basicDomain
}
class com.timbercld.core.redis.RedisKeys {
+ {static} String getSystemParamsKey()
+ {static} String getCaptchaKey(String)
+ {static} String getAuthorityUserKey(Long)
+ {static} String getSysLogKey()
+ {static} String getSysResourceKey()
+ {static} String getUserMenuNavKey(Long)
+ {static} String getUserPermissionsKey(Long)
}
class com.timbercld.core.mongodb.MongoConfig {
+ MappingMongoConverter mappingMongoConverter(MongoDbFactory,MongoMappingContext,BeanFactory)
}
class com.timbercld.core.redis.RedisUtils {
- RedisTemplate<String,Object> redisTemplate
+ {static} long DEFAULT_EXPIRE
+ {static} long HOUR_ONE_EXPIRE
+ {static} long HOUR_SIX_EXPIRE
+ {static} long NOT_EXPIRE
+ void set(String,Object,long)
+ void set(String,Object)
+ Object get(String,long)
+ Object get(String)
+ void delete(String)
+ void delete(Collection<String>)
+ Object hGet(String,String)
+ Map<String,Object> hGetAll(String)
+ void hMSet(String,Map<String,Object>)
+ void hMSet(String,Map<String,Object>,long)
+ void hSet(String,String,Object)
+ void hSet(String,String,Object,long)
+ void expire(String,long)
+ void hDel(String,Object)
+ void leftPush(String,Object)
+ void leftPush(String,Object,long)
+ Object rightPop(String)
}
class com.timbercld.core.xss.XssUtils {
+ {static} String filter(String)
}
class com.timbercld.core.mongodb.MongoDBSeqInfo {
- String id
- String collectionName
- Long seqId
+ String getId()
+ void setId(String)
+ String getCollectionName()
+ void setCollectionName(String)
+ Long getSeqId()
+ void setSeqId(Long)
}
class com.timbercld.core.page.PageData {
- {static} long serialVersionUID
- int total
- List<T> list
}
interface com.timbercld.core.validator.group.UpdateGroup {
}
interface com.timbercld.core.service.BasicService {
~ boolean insert(T)
~ boolean insertBatch(Collection<T>)
~ boolean insertBatch(Collection<T>,int)
~ boolean updateById(T)
~ boolean update(T,Wrapper<T>)
~ boolean updateBatchById(Collection<T>)
~ boolean updateBatchById(Collection<T>,int)
~ T selectById(Serializable)
~ boolean deleteById(Serializable)
~ boolean deleteBatchIds(Collection<? extends Serializable>)
}
class com.timbercld.core.redis.serializer.JsonRedisSerializer {
- {static} ParserConfig defaultRedisConfig
- Class<T> type
+ byte[] serialize(T)
+ T deserialize(byte[])
}
class com.timbercld.core.exception.ExceptionUtils {
+ {static} String catchErrorStackTrace(Exception)
}
interface com.timbercld.core.constant.Constant {
~ {static} int SUCCESS
~ {static} int FAIL
~ {static} String OK
~ {static} String USER_KEY
~ {static} Long MENU_ROOT
~ {static} Long DEPT_ROOT
~ {static} Long DICT_ROOT
~ {static} Long FORM_GROUP_ROOT
~ {static} String ASC
~ {static} String DESC
~ {static} String CREATE_DATE
~ {static} String ID
~ {static} String SQL_FILTER
~ {static} String PAGE
~ {static} String LIMIT
~ {static} String ORDER_FIELD
~ {static} String ORDER
~ {static} String TOKEN_HEADER
~ {static} String CLOUD_STORAGE_CONFIG_KEY
~ {static} String SMS_CONFIG_KEY
~ {static} String MAIL_CONFIG_KEY
~ {static} String SUB_SYSTEM_ID
~ {static} String UNKNOWN
~ {static} String UPDATE_DATE
}
class com.timbercld.core.validator.ValidatorUtils {
- {static} ResourceBundleMessageSource getMessageSource()
+ {static} void validateEntity(Object,Class<?>)
}
class com.timbercld.core.utils.LocalUploadUtils {
# LocalUploadConfig localUploadConfig
+ String saveLocal(MultipartFile,String,String)
+ void saveExcelLocal(Workbook,String)
}
class com.timbercld.core.utils.MessageUtils {
- {static} MessageSource messageSource
+ {static} String getMessage(int)
+ {static} String getMessage(int,String)
}
class com.timbercld.core.utils.HttpContextUtils {
+ {static} HttpServletRequest getHttpServletRequest()
+ {static} Map<String,String> getParameterMap(HttpServletRequest)
+ {static} String getDomain()
+ {static} String getOrigin()
+ {static} String getLanguage()
}
enum com.timbercld.core.constant.SmsAgentEnum {
+ ALIYUN
+ QCLOUD
- int value
+ int getValue()
}
class com.timbercld.core.convert.DateConverter {
- {static} Logger logger
- {static} List<String> formatList
+ Date convert(String)
+ Date parseDate(String,String)
}
abstract class com.timbercld.core.service.impl.CrudServiceImpl {
# Class<D> currentDtoClass()
+ PageData<D> page(Map<String,Object>)
+ List<D> list(Map<String,Object>)
+ {abstract}QueryWrapper<T> getWrapper(Map<String,Object>)
+ D get(Long)
+ void save(D)
+ void update(D)
+ void delete(Long[])
}
class com.timbercld.core.exception.TimbercldException {
- {static} long serialVersionUID
- int code
- String msg
+ String getMsg()
+ void setMsg(String)
+ int getCode()
+ void setCode(int)
}
class com.timbercld.core.utils.TreeUtils {
+ {static} List<T> build(List<T>,Long)
- {static} T findChildren(List<T>,T)
+ {static} List<T> build(List<T>)
}
class com.timbercld.core.aspect.RedisAspect {
- Logger logger
- boolean open
+ Object around(ProceedingJoinPoint)
}
class com.timbercld.core.mongodb.MongoDBSaveEventListener {
- MongoTemplate mongo
+ void onBeforeConvert(BeforeConvertEvent<Object>)
- Long getNextId(String)
}
class com.timbercld.core.validator.AssertUtils {
+ {static} void isBlank(String,String)
+ {static} void isBlank(String,Integer,String)
+ {static} void isNull(Object,String)
+ {static} void isNull(Object,Integer,String)
+ {static} void isArrayEmpty(Object[],String)
+ {static} void isArrayEmpty(Object[],Integer,String)
+ {static} void isListEmpty(List<?>,String)
+ {static} void isListEmpty(List<?>,Integer,String)
+ {static} void isMapEmpty(Map,String)
+ {static} void isMapEmpty(Map,Integer,String)
}
class com.timbercld.core.filter.SqlFilter {
- {static} String strSql
- {static} String sqlKeyWord
- {static} Pattern sqlPattern
- {static} Pattern sqlKeyWordPattern
+ void doFilter(ServletRequest,ServletResponse,FilterChain)
+ boolean validSQL(HttpServletRequest,HttpServletResponse)
}
com.baomidou.mybatisplus.extension.plugins.inner.InnerInterceptor <|.. com.timbercld.core.interceptor.DataFilterInterceptor
javax.servlet.http.HttpServletRequestWrapper <|-- com.timbercld.core.xss.XssHttpServletRequestWrapper
com.timbercld.core.filter.Filter <|.. com.timbercld.core.filter.XssFilter
com.timbercld.core.entity.BasicEntity <|-- com.timbercld.core.entity.BasicSubSystemEntity
org.springframework.context.ApplicationContextAware <|.. com.timbercld.core.utils.SpringContextUtils
com.timbercld.core.service.BasicService <|.. com.timbercld.core.service.impl.BasicServiceImpl
javax.servlet.ServletInputStream <|-- com.timbercld.core.xss.TimbercldServletInputStream
java.io.Serializable <|.. com.timbercld.core.utils.TreeNode
java.io.Serializable <|.. com.timbercld.core.entity.BasicEntity
com.baomidou.mybatisplus.core.mapper.BaseMapper <|-- com.timbercld.core.dao.BasicDao
java.io.Serializable <|.. com.timbercld.core.utils.Result
com.timbercld.core.service.BasicService <|-- com.timbercld.core.service.CrudService
org.jsoup.safety.Safelist <|-- com.timbercld.core.xss.XssUtils
java.io.Serializable <|.. com.timbercld.core.page.PageData
org.springframework.data.redis.serializer.RedisSerializer <|.. com.timbercld.core.redis.serializer.JsonRedisSerializer
org.springframework.core.convert.converter.Converter <|.. com.timbercld.core.convert.DateConverter
com.timbercld.core.service.CrudService <|.. com.timbercld.core.service.impl.CrudServiceImpl
com.timbercld.core.service.impl.BasicServiceImpl <|-- com.timbercld.core.service.impl.CrudServiceImpl
com.timbercld.core.exception.RuntimeException <|-- com.timbercld.core.exception.TimbercldException
org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener <|-- com.timbercld.core.mongodb.MongoDBSaveEventListener
com.timbercld.core.filter.Filter <|.. com.timbercld.core.filter.SqlFilter
@enduml
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化