Index

A B C D E F G H I L M N P Q R S T U W 
All Classes and Interfaces|All Packages|Serialized Form

A

add(Map<String, Object>) - Method in class cool.scx.ext.crud.BaseCRUDController
 

B

BaseCRUDController<T> - Class in cool.scx.ext.crud
继承方式的 CRUD 的 controller (推荐使用)
BaseCRUDController() - Constructor for class cool.scx.ext.crud.BaseCRUDController
 
BaseCRUDController(T) - Constructor for class cool.scx.ext.crud.BaseCRUDController
 
batchDelete(long[]) - Method in class cool.scx.ext.crud.BaseCRUDController
 

C

checkAnyFileExistsByHash(String, Long, String) - Method in class cool.scx.ext.fss.FSSController
 
checkFieldName(Class<?>, String) - Static method in class cool.scx.ext.crud.CRUDHelper
检查 fieldName 是否合法
checkPhysicalFile(FSSObject) - Static method in class cool.scx.ext.fss.FSSHelper
检查物理文件是否存在 存在则返回物理文件 不存在则抛出异常
checkUnique(String, Object, Long) - Method in class cool.scx.ext.crud.BaseCRUDController
 
cool.scx.ext.crud - package cool.scx.ext.crud
 
cool.scx.ext.crud.exception - package cool.scx.ext.crud.exception
 
cool.scx.ext.crud.parameter_handler.crud_list_param - package cool.scx.ext.crud.parameter_handler.crud_list_param
 
cool.scx.ext.crud.parameter_handler.crud_update_param - package cool.scx.ext.crud.parameter_handler.crud_update_param
 
cool.scx.ext.fix_table - package cool.scx.ext.fix_table
 
cool.scx.ext.fss - package cool.scx.ext.fss
 
cool.scx.ext.redirect - package cool.scx.ext.redirect
 
cool.scx.ext.static_server - package cool.scx.ext.static_server
 
copyFSSObject(String, FSSObject) - Static method in class cool.scx.ext.fss.FSSHelper
 
count(CRUDListParam) - Method in class cool.scx.ext.crud.BaseCRUDController
 
countByHash(String) - Method in class cool.scx.ext.fss.FSSObjectService
 
createFSSObjectByFileInfo(String, Long, String) - Static method in class cool.scx.ext.fss.FSSHelper
根据文件信息 创建 FSSObject 实例 规则如下 fssObjectID (文件 id) : 随机字符串 filePath (文件物理文件存储路径) : 年份(以上传时间为标准)/月份(以上传时间为标准)/天(以上传时间为标准)/文件MD5/文件真实名称 其他字段和字面意义相同
CRUDHelper - Class in cool.scx.ext.crud
a
CRUDHelper() - Constructor for class cool.scx.ext.crud.CRUDHelper
 
CRUDListParam - Class in cool.scx.ext.crud
 
CRUDListParam() - Constructor for class cool.scx.ext.crud.CRUDListParam
 
CRUDListParamParameterHandler - Class in cool.scx.ext.crud.parameter_handler.crud_list_param
a
CRUDListParamParameterHandler(ParameterInfo) - Constructor for class cool.scx.ext.crud.parameter_handler.crud_list_param.CRUDListParamParameterHandler
 
CRUDListParamParameterHandlerBuilder - Class in cool.scx.ext.crud.parameter_handler.crud_list_param
 
CRUDListParamParameterHandlerBuilder() - Constructor for class cool.scx.ext.crud.parameter_handler.crud_list_param.CRUDListParamParameterHandlerBuilder
 
CRUDModule - Class in cool.scx.ext.crud
为 BaseModel 的实现类 提供一套简单的 "单表" 的增删改查 api
CRUDModule() - Constructor for class cool.scx.ext.crud.CRUDModule
Constructor for CmsModule.
CRUDUpdateParam - Class in cool.scx.ext.crud
更新实体类的封装
CRUDUpdateParam() - Constructor for class cool.scx.ext.crud.CRUDUpdateParam
 
CRUDUpdateParamParameterHandler - Class in cool.scx.ext.crud.parameter_handler.crud_update_param
a
CRUDUpdateParamParameterHandler(ParameterInfo) - Constructor for class cool.scx.ext.crud.parameter_handler.crud_update_param.CRUDUpdateParamParameterHandler
 
CRUDUpdateParamParameterHandlerBuilder - Class in cool.scx.ext.crud.parameter_handler.crud_update_param
a
CRUDUpdateParamParameterHandlerBuilder() - Constructor for class cool.scx.ext.crud.parameter_handler.crud_update_param.CRUDUpdateParamParameterHandlerBuilder
 

D

delete(Long) - Method in class cool.scx.ext.crud.BaseCRUDController
 
delete(String) - Method in class cool.scx.ext.fss.FSSController
 
delete(String) - Method in class cool.scx.ext.fss.FSSObjectService
根据 fssObjectID 进行删除 (同时还会删除物理文件, 如果引用为 0 的话)
download(String) - Method in class cool.scx.ext.fss.FSSController
 

E

EmptySelectColumnException - Exception Class in cool.scx.ext.crud.exception
 
EmptySelectColumnException(FilterMode, String[]) - Constructor for exception class cool.scx.ext.crud.exception.EmptySelectColumnException
 
EmptyUpdateColumnException - Exception Class in cool.scx.ext.crud.exception
 
EmptyUpdateColumnException() - Constructor for exception class cool.scx.ext.crud.exception.EmptyUpdateColumnException
 
extParams - Variable in class cool.scx.ext.crud.CRUDListParam
拓展参数

F

fieldFilter - Variable in class cool.scx.ext.crud.CRUDListParam
 
fileExtension - Variable in class cool.scx.ext.fss.FSSObject
文件拓展名
fileHash - Variable in class cool.scx.ext.fss.FSSObject
文件的 hash 值 (目前采用 md5)
fileName - Variable in class cool.scx.ext.fss.FSSObject
原始文件名
filePath - Variable in class cool.scx.ext.fss.FSSObject
文件存储的路径 (相对与上传根目录的)
fileSize - Variable in class cool.scx.ext.fss.FSSObject
文件的大小 long
fileSizeDisplay - Variable in class cool.scx.ext.fss.FSSObject
文件的大小 (格式化后的 就是人能看懂的那种)
findByFSSObjectID(String) - Method in class cool.scx.ext.fss.FSSObjectService
 
findByFSSObjectIDs(List<String>) - Method in class cool.scx.ext.fss.FSSObjectService
 
findFSSObjectListByHash(String) - Method in class cool.scx.ext.fss.FSSObjectService
根据 hash 查找文件
FixTableModule - Class in cool.scx.ext.fix_table
FixTableModule class.
FixTableModule() - Constructor for class cool.scx.ext.fix_table.FixTableModule
 
FSSConfig - Class in cool.scx.ext.fss
核心模块配置文件
FSSConfig() - Constructor for class cool.scx.ext.fss.FSSConfig
 
FSSController - Class in cool.scx.ext.fss
FSSController class.
FSSController(FSSObjectService) - Constructor for class cool.scx.ext.fss.FSSController
 
FSSHelper - Class in cool.scx.ext.fss
 
FSSHelper() - Constructor for class cool.scx.ext.fss.FSSHelper
 
FSSModule - Class in cool.scx.ext.fss
提供基本的文件上传及下载 (展示)的功能
FSSModule() - Constructor for class cool.scx.ext.fss.FSSModule
 
FSSObject - Class in cool.scx.ext.fss
文件上传表
FSSObject() - Constructor for class cool.scx.ext.fss.FSSObject
 
fssObjectID - Variable in class cool.scx.ext.fss.FSSObject
这里为了防止用户可以根据 id 猜测出来文件 业务中不使用 BaseModel 的 id
FSSObjectService - Class in cool.scx.ext.fss
UploadFileService
FSSObjectService() - Constructor for class cool.scx.ext.fss.FSSObjectService
 

G

getBaseModel(Class<B>) - Method in class cool.scx.ext.crud.CRUDUpdateParam
a
getFieldFilter() - Method in class cool.scx.ext.crud.CRUDListParam
 
getLastUploadChunk(Path, Integer) - Static method in class cool.scx.ext.fss.FSSHelper
getLastUploadChunk.
getPhysicalFilePath(FSSObject) - Static method in class cool.scx.ext.fss.FSSHelper
获取物理文件路径
getPositions(String) - Static method in class cool.scx.ext.fss.FSSHelper
 
getQuery() - Method in class cool.scx.ext.crud.CRUDListParam
 
getUpdateFilter(Class<? extends BaseModel>, AnnotationConfigTable) - Method in class cool.scx.ext.crud.CRUDUpdateParam
获取 b
getUploadTempPath(String) - Static method in class cool.scx.ext.fss.FSSHelper
 

H

handle(RequestInfo) - Method in class cool.scx.ext.crud.parameter_handler.crud_list_param.CRUDListParamParameterHandler
handle(RequestInfo) - Method in class cool.scx.ext.crud.parameter_handler.crud_update_param.CRUDUpdateParamParameterHandler

I

image(String, Integer, Integer, String) - Method in class cool.scx.ext.fss.FSSController
 
info(Long) - Method in class cool.scx.ext.crud.BaseCRUDController
 
info(String) - Method in class cool.scx.ext.fss.FSSController
 

L

list(CRUDListParam) - Method in class cool.scx.ext.crud.BaseCRUDController
 
listInfo(List<String>) - Method in class cool.scx.ext.fss.FSSController
 

M

mapToBaseModel(Map<String, Object>, Class<B>) - Static method in class cool.scx.ext.crud.CRUDHelper
获取 baseModel

N

name() - Method in class cool.scx.ext.crud.CRUDModule
name() - Method in class cool.scx.ext.fix_table.FixTableModule
 
name() - Method in class cool.scx.ext.fss.FSSModule
 
name() - Method in class cool.scx.ext.redirect.RedirectModule
 
name() - Method in class cool.scx.ext.static_server.StaticServerModule
 
needUpdateFieldNames - Variable in class cool.scx.ext.crud.CRUDUpdateParam
需要更新的字段列

P

PaginationParametersErrorException - Exception Class in cool.scx.ext.crud.exception
 
PaginationParametersErrorException(Long, Long) - Constructor for exception class cool.scx.ext.crud.exception.PaginationParametersErrorException
 

Q

query - Variable in class cool.scx.ext.crud.CRUDListParam
 

R

raw(String) - Method in class cool.scx.ext.fss.FSSController
 
RedirectModule - Class in cool.scx.ext.redirect
监听 80 端口并将所有 http 请求重定向 到 https
RedirectModule() - Constructor for class cool.scx.ext.redirect.RedirectModule
 
RedirectModule(int) - Constructor for class cool.scx.ext.redirect.RedirectModule
 

S

service - Variable in class cool.scx.ext.crud.BaseCRUDController
 
start(Scx) - Method in class cool.scx.ext.crud.CRUDModule
start(Scx) - Method in class cool.scx.ext.fix_table.FixTableModule
 
start(Scx) - Method in class cool.scx.ext.fss.FSSModule
 
start(Scx) - Method in class cool.scx.ext.redirect.RedirectModule
 
start(Scx) - Method in class cool.scx.ext.static_server.StaticServerModule
 
startRedirect(int) - Static method in class cool.scx.ext.redirect.RedirectModule
也可以直接以工具类的形式调用
StaticServerModule - Class in cool.scx.ext.static_server
 
StaticServerModule() - Constructor for class cool.scx.ext.static_server.StaticServerModule
 

T

tryBuild(ParameterInfo) - Method in class cool.scx.ext.crud.parameter_handler.crud_list_param.CRUDListParamParameterHandlerBuilder
 
tryBuild(ParameterInfo) - Method in class cool.scx.ext.crud.parameter_handler.crud_update_param.CRUDUpdateParamParameterHandlerBuilder
 

U

UnknownFieldNameException - Exception Class in cool.scx.ext.crud.exception
 
UnknownFieldNameException(String) - Constructor for exception class cool.scx.ext.crud.exception.UnknownFieldNameException
 
UnknownFilterModeException - Exception Class in cool.scx.ext.crud.exception
 
UnknownFilterModeException(String) - Constructor for exception class cool.scx.ext.crud.exception.UnknownFilterModeException
 
UnknownSortTypeException - Exception Class in cool.scx.ext.crud.exception
 
UnknownSortTypeException(String, String) - Constructor for exception class cool.scx.ext.crud.exception.UnknownSortTypeException
 
UnknownWhereTypeException - Exception Class in cool.scx.ext.crud.exception
 
UnknownWhereTypeException(String, String) - Constructor for exception class cool.scx.ext.crud.exception.UnknownWhereTypeException
 
update(CRUDUpdateParam) - Method in class cool.scx.ext.crud.BaseCRUDController
 
updateLastUploadChunk(Path, Integer, Integer) - Static method in class cool.scx.ext.fss.FSSHelper
更新最后一次文件上传的区块
updateModel - Variable in class cool.scx.ext.crud.CRUDUpdateParam
更新的所有内容 可以转换为对应的 实体类
upload(String, Long, String, Integer, Integer, MultiPartPart) - Method in class cool.scx.ext.fss.FSSController
 
uploadFilePath() - Static method in class cool.scx.ext.fss.FSSConfig
 
uploadTime - Variable in class cool.scx.ext.fss.FSSObject
上传日期

W

WhereBodyParametersSizeErrorException - Exception Class in cool.scx.ext.crud.exception
 
WhereBodyParametersSizeErrorException(String, WhereType, int) - Constructor for exception class cool.scx.ext.crud.exception.WhereBodyParametersSizeErrorException
 
A B C D E F G H I L M N P Q R S T U W 
All Classes and Interfaces|All Packages|Serialized Form