public class ConnectionAuthorityControllerImpl extends BaseExternalAuthorityController<ConnectionAuthority>
限定符和类型 | 字段和说明 |
---|---|
static int |
AUTH_TYPE
数据连接权限实体类型
|
构造器和说明 |
---|
ConnectionAuthorityControllerImpl(ControllerSession session) |
限定符和类型 | 方法和说明 |
---|---|
void |
add(ConnectionAuthority record)
新增记录
|
java.util.List<ConnectionAuthority> |
find(QueryCondition queryCondition)
查找记录
|
ConnectionAuthority |
findOne(QueryCondition queryCondition)
查找一条记录,找不到返回null
|
DataList<ConnectionAuthority> |
findWithTotalCount(QueryCondition queryCondition)
查找记录,附带返回该查询条件下的数据总条数
|
protected int |
getAuthorityEntityType()
获取权限实体类型,内置权限实体表为0
|
ConnectionAuthority |
getById(java.lang.String id)
通过id获取记录
|
void |
remove(QueryCondition queryCondition)
删除记录,根据查询条件来删除
|
void |
remove(java.lang.String id)
删除记录
|
void |
update(ConnectionAuthority 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, findChildren, findChildrenId, findParent, 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, findChildren, findParent, findRawByCustomRole, findRawByDepartmentAndPost, findRawByUser, overwriteAuthorityRecord, removeRecursive, setCustomAuthorityValue, setCustomAuthorityValue, setDepAuthorityValue, setDepAuthorityValue, setDepAuthorityValue, setUserAuthorityValue, setUserAuthorityValue, updateExpandData
public static final int AUTH_TYPE
public ConnectionAuthorityControllerImpl(ControllerSession session)
protected int getAuthorityEntityType()
BaseAuthorityController
getAuthorityEntityType
在类中 BaseAuthorityController<ConnectionAuthority>
public void add(ConnectionAuthority record) throws java.lang.Exception
DataOperator
record
- 记录对象java.lang.Exception
public ConnectionAuthority getById(java.lang.String id) throws java.lang.Exception
DataOperator
id
- 记录idjava.lang.Exception
public void update(ConnectionAuthority 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<ConnectionAuthority> find(QueryCondition queryCondition) throws java.lang.Exception
DataOperator
queryCondition
- 查询条件java.lang.Exception
public ConnectionAuthority findOne(QueryCondition queryCondition) throws java.lang.Exception
DataOperator
queryCondition
- 查询条件java.lang.Exception
public DataList<ConnectionAuthority> findWithTotalCount(QueryCondition queryCondition) throws java.lang.Exception
DataOperator
queryCondition
- 查询条件java.lang.Exception