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