Examples of PermissionSubject


Examples of com.almworks.jira.structure.api.PermissionSubject

    @NotNull
    public StructureViewBean build() throws IllegalStateException {
      if (!isValid()) {
        throw new IllegalStateException("builder is not in valid state: " + this);
      }
      PermissionSubject owner = PermissionSubject.clone(myOwner);
      List<PermissionRule> permissions = StructureUtil.copyPermissions(myPermissions);
      ViewSpecification spec = mySpecification.build();
      return new StructureViewBean(myId, myName, myDescription, owner, permissions, spec);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.