public class TemplateAuthorityControllerImpl extends BaseExternalAuthorityController<TemplateAuthority>
限定符和类型 | 字段和说明 |
---|---|
static int |
AUTH_TYPE
FR模板权限实体类型
|
构造器和说明 |
---|
TemplateAuthorityControllerImpl(ControllerSession session) |
限定符和类型 | 方法和说明 |
---|---|
void |
add(TemplateAuthority record)
新增记录
|
java.util.List<TemplateAuthority> |
find(QueryCondition queryCondition)
查找记录
|
java.util.List<TemplateAuthority> |
findChildren(java.lang.String authorityId,
QueryCondition authorityCondition)
查找该权限的子级权限
|
TemplateAuthority |
findOne(QueryCondition queryCondition)
查找一条记录,找不到返回null
|
TemplateAuthority |
findParent(java.lang.String authorityId)
查找该权限的父级权限
|
DataList<TemplateAuthority> |
findWithTotalCount(QueryCondition queryCondition)
查找记录,附带返回该查询条件下的数据总条数
|
protected int |
getAuthorityEntityType()
获取权限实体类型,内置权限实体表为0
|
TemplateAuthority |
getById(java.lang.String id)
通过id获取记录
|
void |
remove(QueryCondition queryCondition)
删除记录,根据查询条件来删除
|
void |
remove(java.lang.String id)
删除记录
|
void |
update(TemplateAuthority record)
更新记录,根据记录id来更新
|
clearCustomExternalAuthority, clearDepExternalAuthority, clearUserExternalAuthority, filterExternalQueryCondition
clearCustomAuthorityValue, clearCustomAuthorityValue, clearDepAuthorityValue, clearDepAuthorityValue, clearUserAuthorityValue, clearUserAuthorityValue, doesUserHaveAuthority, findAuthorityRecord, findAuthorityRecord, findAuthorityTree, findByCustomRole, findByCustomRole, findByCustomRole, findByDepartment, findByDepartmentAndPost, findByDepartmentAndPost, findByRootDepartment, findByUser, findByUser, findByUser, findByUser, findChildrenId, findParentId, findParentRelationIdList, findRawByCustomRole, findRawByDepartmentAndPost, findRawByUser, overwriteAuthorityRecord, removeRecursive, setCustomAuthorityValue, setCustomAuthorityValue, setDepAuthorityValue, setDepAuthorityValue, setDepAuthorityValue, setUserAuthorityValue, setUserAuthorityValue, updateExpandData
addDepRole, findDepRoleByUser, getSession, removeDepRole
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearCustomAuthorityValue, clearCustomAuthorityValue, clearDepAuthorityValue, clearDepAuthorityValue, clearUserAuthorityValue, clearUserAuthorityValue, doesUserHaveAuthority, findAuthorityRecord, findAuthorityRecord, findAuthorityTree, findByCustomRole, findByCustomRole, findByCustomRole, findByDepartment, findByDepartmentAndPost, findByDepartmentAndPost, findByRootDepartment, findByUser, findByUser, findByUser, findByUser, findRawByCustomRole, findRawByDepartmentAndPost, findRawByUser, overwriteAuthorityRecord, removeRecursive, setCustomAuthorityValue, setCustomAuthorityValue, setDepAuthorityValue, setDepAuthorityValue, setDepAuthorityValue, setUserAuthorityValue, setUserAuthorityValue, updateExpandData
public static final int AUTH_TYPE
public TemplateAuthorityControllerImpl(ControllerSession session)
protected int getAuthorityEntityType()
BaseAuthorityController
getAuthorityEntityType
在类中 BaseAuthorityController<TemplateAuthority>
public java.util.List<TemplateAuthority> findChildren(java.lang.String authorityId, QueryCondition authorityCondition) throws java.lang.Exception
AuthorityController
findChildren
在接口中 AuthorityController<TemplateAuthority>
findChildren
在类中 BaseAuthorityController<TemplateAuthority>
authorityId
- 权限IDauthorityCondition
- 权限查询条件java.lang.Exception
public TemplateAuthority findParent(java.lang.String authorityId) throws java.lang.Exception
AuthorityController
findParent
在接口中 AuthorityController<TemplateAuthority>
findParent
在类中 BaseAuthorityController<TemplateAuthority>
authorityId
- 权限IDjava.lang.Exception
public void add(TemplateAuthority record) throws java.lang.Exception
DataOperator
record
- 记录对象java.lang.Exception
public TemplateAuthority getById(java.lang.String id) throws java.lang.Exception
DataOperator
id
- 记录idjava.lang.Exception
public void update(TemplateAuthority record) throws java.lang.Exception
DataOperator
record
- 记录对象java.lang.Exception
public void remove(java.lang.String id) throws java.lang.Exception
DataOperator
id
- 记录idjava.lang.Exception
public void remove(QueryCondition queryCondition) throws java.lang.Exception
DataOperator
queryCondition
- 查询条件java.lang.Exception
public java.util.List<TemplateAuthority> find(QueryCondition queryCondition) throws java.lang.Exception
DataOperator
queryCondition
- 查询条件java.lang.Exception
public TemplateAuthority findOne(QueryCondition queryCondition) throws java.lang.Exception
DataOperator
queryCondition
- 查询条件java.lang.Exception
public DataList<TemplateAuthority> findWithTotalCount(QueryCondition queryCondition) throws java.lang.Exception
DataOperator
queryCondition
- 查询条件java.lang.Exception