congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CaseRoleAssignment$Builder.name
Code IndexAdd Tabnine to your IDE (free)

How to use
name
method
in
org.kie.server.api.model.cases.CaseRoleAssignment$Builder

Best Java code snippets using org.kie.server.api.model.cases.CaseRoleAssignment$Builder.name (Showing top 1 results out of 315)

origin: org.kie.server/kie-server-services-case-mgmt

public static List<CaseRoleAssignment> transformRoleAssignment(Collection<CaseRoleInstance> roleInstances) {
  List<CaseRoleAssignment> roleAssignments = new ArrayList<>();
  if (roleInstances != null) {
    roleInstances.forEach(r ->
            roleAssignments.add(CaseRoleAssignment.builder()
                .name(r.getRoleName())
                .users(r.getRoleAssignments().stream()
                    .filter(oe -> oe instanceof User)
                    .map(OrganizationalEntity::getId)
                    .collect(toList()))
                .groups(r.getRoleAssignments().stream()
                    .filter(oe -> oe instanceof Group)
                    .map(OrganizationalEntity::getId)
                    .collect(toList()))
                .build())
    );
  }
  return roleAssignments;
}
org.kie.server.api.model.casesCaseRoleAssignment$Buildername

Popular methods of CaseRoleAssignment$Builder

  • <init>
  • build
  • groups
  • users

Popular in Java

  • Start an intent from android
  • addToBackStack (FragmentTransaction)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now