public class ProcessExpander extends BaseAuthorityExpander<ProcessExpandRecord,ProcessExpandAuthorityObjectEntity>
构造器和说明 |
---|
ProcessExpander() |
限定符和类型 | 方法和说明 |
---|---|
ProcessExpandAuthorityObjectEntity |
convertToDataEntity(ProcessExpandRecord dataRecord)
转换为对内的实体类
|
ProcessExpandRecord |
convertToDataRecord(ProcessExpandAuthorityObjectEntity entity)
转换为对外的数据记录
|
QueryCondition |
convertToEntityQueryCondition(QueryCondition dataRecordQueryCondition)
转换为针对内部实体的查询条件
|
BaseDAO<ProcessExpandAuthorityObjectEntity> |
createExpandDataDAO(DAOSession session)
创建扩展权限实体记录类型的DAO
|
java.lang.Class<ProcessExpandRecord> |
getDataRecordClass()
获取外部数据记录的类对象
|
java.lang.Class<ProcessExpandAuthorityObjectEntity> |
getEntityClass()
获取内部实体类的类对象
|
int |
getExpandType()
获取扩展权限实体记录类型,取100以上的值,且不能跟其他已使用的类型重复,见
ExpandRecordType |
public int getExpandType()
AuthorityExpanderProvider
ExpandRecordType
public java.lang.Class<ProcessExpandAuthorityObjectEntity> getEntityClass()
AuthorityExpanderProvider
public java.lang.Class<ProcessExpandRecord> getDataRecordClass()
AuthorityExpanderProvider
public BaseDAO<ProcessExpandAuthorityObjectEntity> createExpandDataDAO(DAOSession session)
AuthorityExpanderProvider
session
- DAO会话public ProcessExpandRecord convertToDataRecord(ProcessExpandAuthorityObjectEntity entity)
AuthorityExpanderProvider
entity
- 内部实体类public ProcessExpandAuthorityObjectEntity convertToDataEntity(ProcessExpandRecord dataRecord)
AuthorityExpanderProvider
dataRecord
- 数据记录public QueryCondition convertToEntityQueryCondition(QueryCondition dataRecordQueryCondition)
AuthorityExpanderProvider
dataRecordQueryCondition
- 针对外部查询数据记录的查询条件