Package com.sogou.qadev.service.cynthia.bean

Examples of com.sogou.qadev.service.cynthia.bean.ActionRole


    List<org.w3c.dom.Node> actionRoleNodeList = XMLUtil.getNodes(flowNode, "actionRoles/actionRole");
    for(org.w3c.dom.Node actionRoleNode : actionRoleNodeList){
      UUID actionId = daf.createUUID(XMLUtil.getSingleNodeTextContent(actionRoleNode, "actionId"));
      UUID roleId = daf.createUUID(XMLUtil.getSingleNodeTextContent(actionRoleNode, "roleId"));

      this.actionRoleSet.add(new ActionRole(actionId, roleId));
    }

    List<org.w3c.dom.Node> rightNodeList = XMLUtil.getNodes(flowNode, "rights/right");
    for(org.w3c.dom.Node rightNode : rightNodeList){
      String username = XMLUtil.getSingleNodeTextContent(rightNode, "username");
View Full Code Here


   * @param actionId
   * @param roleId
   * @see com.sogou.qadev.service.cynthia.bean.Flow#addActionRole(com.sogou.qadev.service.cynthia.bean.UUID, com.sogou.qadev.service.cynthia.bean.UUID)
   */
  public void addActionRole(UUID actionId, UUID roleId){
    this.actionRoleSet.add(new ActionRole(actionId, roleId));
  }
View Full Code Here

   * @param roleId
   * @return
   * @see com.sogou.qadev.service.cynthia.bean.Flow#hasActionRole(com.sogou.qadev.service.cynthia.bean.UUID, com.sogou.qadev.service.cynthia.bean.UUID)
   */
  public boolean hasActionRole(UUID actionId, UUID roleId){
    return this.actionRoleSet.contains(new ActionRole(actionId, roleId));
  }
View Full Code Here

   * @param actionId
   * @param roleId
   * @see com.sogou.qadev.service.cynthia.bean.Flow#removeActionRole(com.sogou.qadev.service.cynthia.bean.UUID, com.sogou.qadev.service.cynthia.bean.UUID)
   */
  public void removeActionRole(UUID actionId, UUID roleId){
    this.actionRoleSet.remove(new ActionRole(actionId, roleId));
  }
View Full Code Here

TOP

Related Classes of com.sogou.qadev.service.cynthia.bean.ActionRole

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.