| Package | Description | 
|---|---|
| com.edgeti.VisibilityServer | |
| com.edgeti.VisibilityServer.Ingestor | |
| com.edgeti.VisibilityServer.UsersAndRoles | 
| Modifier and Type | Field and Description | 
|---|---|
| private java.util.List<RoleInfoObject> | UserInfoObject. rolesList | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<RoleInfoObject> | UserInfoObject. getRolesList() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | UserInfoObject. addRole(RoleInfoObject role) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | UserInfoObject. setRolesList(java.util.List<RoleInfoObject> rolesList) | 
| Modifier and Type | Field and Description | 
|---|---|
| private java.util.ArrayList<RoleInfoObject> | FlexAutoIngestRowObject. rolesThe roles. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.ArrayList<RoleInfoObject> | FlexAutoIngestRowObject. getRoles()Gets the roles. | 
| java.util.ArrayList<RoleInfoObject> | IngestManager. getTableRoleInfos(java.lang.String tableId)Returns list of role info objestcs for the table | 
| Modifier and Type | Method and Description | 
|---|---|
| void | FlexAutoIngestRowObject. addRole(RoleInfoObject role)Adds a role to this data | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | IngestManager. ingest(java.lang.String tableName,
      java.lang.String filename,
      boolean merge,
      java.lang.String classification,
      java.util.ArrayList<java.lang.String> roleColumns,
      UserInfoObject user,
      int published,
      java.util.ArrayList<RoleInfoObject> roles)Ingest file to the database | 
| void | FlexAutoIngestRowObject. setRoles(java.util.ArrayList<RoleInfoObject> roles)Sets the roles. | 
| boolean | IngestManager. updateIngestInfo(java.lang.String tableName,
                java.lang.String classification,
                java.util.ArrayList<java.lang.String> roleColumns,
                UserInfoObject user,
                int published,
                java.lang.String filename,
                java.util.ArrayList<RoleInfoObject> roles)Update table_data, table_roles, table_classification | 
| boolean | IngestManager. updateRolesInfo(java.lang.String tableName,
               java.util.ArrayList<RoleInfoObject> roles)Update table roles info, loop through the roles list
 insert if data not exists, update if the data exists | 
| Constructor and Description | 
|---|
| FlexAutoIngestRowObject(java.lang.String id,
                       java.lang.String file,
                       java.lang.String duration,
                       java.lang.String tableName,
                       java.lang.String status,
                       java.lang.String lastRunTime,
                       java.lang.String merge,
                       java.lang.String classification,
                       java.util.ArrayList<java.lang.String> roleColumns,
                       java.util.ArrayList<RoleInfoObject> roles,
                       java.lang.String userId,
                       java.lang.String userName,
                       long time,
                       java.lang.String location,
                       long publishedStatus)Instantiates and fills out a new FlexAutoIngestRowObject | 
| Modifier and Type | Field and Description | 
|---|---|
| private RoleInfoObject | RoleInfoObject. parentThe parent. | 
| private RoleInfoObject | RoleTree. rootThe root. | 
| Modifier and Type | Field and Description | 
|---|---|
| private java.util.List<RoleInfoObject> | RoleInfoObject. childrenThe children. | 
| private java.util.HashMap<java.lang.Integer,RoleInfoObject> | RoleTree. roleNodeIDMapThe role node id map. | 
| private java.util.HashMap<java.lang.String,RoleInfoObject> | RoleTree. roleNodeNameMapThe role node name map. | 
| private java.util.List<RoleInfoObject> | TableInfoObject. rolesThe roles. | 
| Modifier and Type | Method and Description | 
|---|---|
| RoleInfoObject | RoleInfoObject. deepCopy()Deep copy. | 
| RoleInfoObject | RoleInfoObject. findChildById(int id)Go down the branches below this node looking for a child that
 has the given id. | 
| RoleInfoObject | RoleTree. findNodeByName(java.lang.String name)Find a node in the tree by name. | 
| RoleInfoObject | RoleInfoObject. getParent()Get the RoleNode that is the parent of this RoleNode. | 
| RoleInfoObject | UsersAndRoles. getRoleRoot()(Standalone) get the Role Tree. | 
| RoleInfoObject | RoleTree. getRoot()Get the root node. | 
| RoleInfoObject | UsersAndRoles. updateRoleRelation(RoleInfoObject role)Update role relation. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<RoleInfoObject> | UsersAndRoles. getAllRoles()return all roles and related data (users and tables) from database | 
| java.util.List<RoleInfoObject> | RoleInfoObject. getChildren()Get all the RoleNodes that are children of this RoleNode. | 
| java.util.List<RoleInfoObject> | RoleTree. getRoleList()Get a list of all the nodes in the tree. | 
| java.util.List<RoleInfoObject> | TableInfoObject. getRoles()Gets the roles. | 
| protected java.util.List<RoleInfoObject> | UsersAndRoles. getRolesByTable(int tableId)return all roles matching table id | 
| protected java.util.List<RoleInfoObject> | UsersAndRoles. getRolesByUser(int userId)return all roles related to the UserId | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RoleInfoObject. addChild(RoleInfoObject child)Add a RoleNode child to this RoleNode. | 
| boolean | RoleTree. addNode(RoleInfoObject node)Add a node to the tree. | 
| boolean | RoleInfoObject. equals(RoleInfoObject rio)Equals. | 
| java.util.List<java.lang.String> | UsersAndRoles. getRoleTables(RoleInfoObject role)Gets the role tables. | 
| boolean | RoleInfoObject. isRoleAbove(RoleInfoObject lowRole)Checks if is role above. | 
| void | RoleInfoObject. setParent(RoleInfoObject parent)Set the RoleNode that is the parent of this RoleNode. | 
| void | UsersAndRoles. setRoleRoot(RoleInfoObject root)Clear and repopulate the role table. | 
| void | RoleTree. setTree(RoleInfoObject root)Sets the tree. | 
| RoleInfoObject | UsersAndRoles. updateRoleRelation(RoleInfoObject role)Update role relation. | 
| boolean | UsersAndRoles. updateRoleRoot(RoleInfoObject newRoot)Update the current role tree based on the passed-in root. | 
| boolean | UsersAndRoles. updateRoleTree(RoleInfoObject newRoot,
              RoleInfoObject oldRoot)Update the old role tree based on the new role tree. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RoleInfoObject. addBranchToList(java.util.List<RoleInfoObject> branchlist)Get this RoleNode and all child nodes below it. | 
| void | RoleInfoObject. addBranchToMap(java.util.Map<java.lang.String,RoleInfoObject> branchMap)Add this RoleNode once and all unique child nodes below it to a Map | 
| void | RoleInfoObject. setChildren(java.util.List<RoleInfoObject> children)Set the List | 
| void | TableInfoObject. setRoles(java.util.List<RoleInfoObject> roles)Sets the roles. | 
| Constructor and Description | 
|---|
| RoleTree(RoleInfoObject root)Instantiates a new role tree. |