接口 CompositeOrgBaseManager

  • 所有已知实现类:
    CompositeOrgBaseManagerImpl

    public interface CompositeOrgBaseManager
    作者:
    dingzhaojun, qinman, mengjuhua
    Date:
    2022/2/10
    • 方法详细资料

      • buildGuidPath

        String buildGuidPath​(Y9OrgBase y9OrgBase)
        递归得到 guid路径
        参数:
        y9OrgBase - 组织节点
        返回:
      • buildOrderedPath

        String buildOrderedPath​(Y9OrgBase y9OrgBase)
        递归向上获取排序序列号
        参数:
        y9OrgBase - 组织节点
        返回:
      • checkAllDescendantsDisabled

        void checkAllDescendantsDisabled​(String orgUnitId)
      • findOrgUnit

        Optional<Y9OrgBase> findOrgUnit​(String orgUnitId)
        根据指定id获取ORGBase对象(可以是org的任意类型)
        参数:
        orgUnitId - 组织节点id
        返回:
        Y9OrgBase
      • findOrgUnitAsParent

        Optional<Y9OrgBase> findOrgUnitAsParent​(String orgUnitId)
        根据id获取作为父节点的组织节点(只可能是组织机构和部门)
        参数:
        orgUnitId - 组织节点id
        返回:
        Y9OrgBase
      • findOrgUnitBureau

        Optional<Y9OrgBase> findOrgUnitBureau​(String orgUnitId)
        根据组织节点id获取所在委办局(可能是组织机构或部门)
        参数:
        orgUnitId - 组织节点id
        返回:
        Y9OrgBase
      • findOrgUnitParent

        Optional<Y9OrgBase> findOrgUnitParent​(String orgUnitId)
        根据组织节点id,获取其父节点(只可能是组织机构和部门)
        参数:
        orgUnitId - 组织节点id
        返回:
        ORGBase
      • findOrgUnitPersonOrPosition

        Optional<Y9OrgBase> findOrgUnitPersonOrPosition​(String orgUnitId)
        根据id获得组织节点对象(人员或岗位)
        参数:
        orgUnitId - 组织节点id
        返回:
        ORGBase
      • getNextSubTabIndex

        Integer getNextSubTabIndex​(String parentId)
        根据父节点id获取子节点的下一个 tabIndex 值(获取已有子节点最大的 tabIndex + 1)
        参数:
        parentId -
        返回:
        Integer
      • getOrgUnit

        Y9OrgBase getOrgUnit​(String orgUnitId)
        根据指定id获取ORGBase对象(可以是org的任意类型)
        参数:
        orgUnitId -
        返回:
      • getOrgUnitAsParent

        Y9OrgBase getOrgUnitAsParent​(String orgUnitId)
        根据id获取作为父节点的组织节点(只可能是组织机构和部门)
        参数:
        orgUnitId - 组织节点id
        返回:
        Y9OrgBase
      • getOrgUnitBureau

        Y9OrgBase getOrgUnitBureau​(String orgUnitId)
        根据组织节点id获取所在委办局
        参数:
        orgUnitId -
        返回:
      • getOrgUnitParent

        Y9OrgBase getOrgUnitParent​(String orgUnitId)
        根据组织节点id,获取父节点(parent只可能是组织机构和部门)
        参数:
        orgUnitId - 组织节点id
        返回:
        ORGBase
      • listAllDescendantPersons

        List<Y9Person> listAllDescendantPersons​(String parentId)
        根据父节点id,递归获取其下所有人员
        参数:
        parentId -
        返回:
      • listAllDescendantPersons

        List<Y9Person> listAllDescendantPersons​(String parentId,
                                                Boolean disabled)
        根据父节点id,递归获取其下所有没有禁用/禁用人员
        参数:
        parentId -
        disabled -
        返回:
      • listAllDescendantPositions

        List<Y9Position> listAllDescendantPositions​(String parentId)
        根据父节点id,递归获取其下所有岗位
        参数:
        parentId -
        返回: