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, filterExternalQueryConditionclearCustomAuthorityValue, 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, updateExpandDataaddDepRole, findDepRoleByUser, getSession, removeDepRoleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearCustomAuthorityValue, 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, updateExpandDatapublic static final int AUTH_TYPE
public TemplateAuthorityControllerImpl(ControllerSession session)
protected int getAuthorityEntityType()
BaseAuthorityControllergetAuthorityEntityType 在类中 BaseAuthorityController<TemplateAuthority>public java.util.List<TemplateAuthority> findChildren(java.lang.String authorityId, QueryCondition authorityCondition) throws java.lang.Exception
AuthorityControllerfindChildren 在接口中 AuthorityController<TemplateAuthority>findChildren 在类中 BaseAuthorityController<TemplateAuthority>authorityId - 权限IDauthorityCondition - 权限查询条件java.lang.Exceptionpublic TemplateAuthority findParent(java.lang.String authorityId) throws java.lang.Exception
AuthorityControllerfindParent 在接口中 AuthorityController<TemplateAuthority>findParent 在类中 BaseAuthorityController<TemplateAuthority>authorityId - 权限IDjava.lang.Exceptionpublic void add(TemplateAuthority record) throws java.lang.Exception
DataOperatorrecord - 记录对象java.lang.Exceptionpublic TemplateAuthority getById(java.lang.String id) throws java.lang.Exception
DataOperatorid - 记录idjava.lang.Exceptionpublic void update(TemplateAuthority record) throws java.lang.Exception
DataOperatorrecord - 记录对象java.lang.Exceptionpublic void remove(java.lang.String id)
throws java.lang.Exception
DataOperatorid - 记录idjava.lang.Exceptionpublic void remove(QueryCondition queryCondition) throws java.lang.Exception
DataOperatorqueryCondition - 查询条件java.lang.Exceptionpublic java.util.List<TemplateAuthority> find(QueryCondition queryCondition) throws java.lang.Exception
DataOperatorqueryCondition - 查询条件java.lang.Exceptionpublic TemplateAuthority findOne(QueryCondition queryCondition) throws java.lang.Exception
DataOperatorqueryCondition - 查询条件java.lang.Exceptionpublic DataList<TemplateAuthority> findWithTotalCount(QueryCondition queryCondition) throws java.lang.Exception
DataOperatorqueryCondition - 查询条件java.lang.Exception