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