Examples of OrganizationalEntity


Examples of org.drools.task.OrganizationalEntity

    }

    private void buildMapByLanguage(Map<String, List<User>> map,
                                    Group group) {
        for ( Iterator<OrganizationalEntity> it = userInfo.getMembersForGroup( group ); it.hasNext(); ) {
            OrganizationalEntity entity = it.next();
            if ( entity instanceof Group ) {
                buildMapByLanguage( map,
                                    (Group) entity );
            } else {
                buildMapByLanguage( map,
View Full Code Here

Examples of org.drools.task.OrganizationalEntity

        if ( task.getPeopleAssignments() != null ) {
            List<OrganizationalEntity> potentialOwners = task.getPeopleAssignments().getPotentialOwners();
            if ( potentialOwners.size() == 1 ) {
                // if there is a single potential owner, assign and set status to Reserved
                OrganizationalEntity potentialOwner = potentialOwners.get( 0 );
                // if there is a single potential user owner, assign and set status to Reserved
                if(potentialOwner instanceof User){
                taskData.setActualOwner( (User) potentialOwners.get( 0 ) );
                taskData.setStatus( Status.Reserved );
                }
View Full Code Here

Examples of org.drools.task.OrganizationalEntity

                             taskId );

        User user = em.find( User.class,
                             userId );

        OrganizationalEntity targetEntity = null;
        if ( targetEntityId != null ) {
            targetEntity = em.find( OrganizationalEntity.class,
                                    targetEntityId );
        }
       
View Full Code Here

Examples of org.drools.task.OrganizationalEntity

    }

    private void buildMapByLanguage(Map<String, List<User>> map,
                                    Group group) {
        for ( Iterator<OrganizationalEntity> it = userInfo.getMembersForGroup( group ); it.hasNext(); ) {
            OrganizationalEntity entity = it.next();
            if ( entity instanceof Group ) {
                buildMapByLanguage( map,
                                    (Group) entity );
            } else {
                buildMapByLanguage( map,
View Full Code Here

Examples of org.drools.task.OrganizationalEntity

    }

    private void buildMapByLanguage(Map<String, List<User>> map,
                                    Group group) {
        for ( Iterator<OrganizationalEntity> it = userInfo.getMembersForGroup( group ); it.hasNext(); ) {
            OrganizationalEntity entity = it.next();
            if ( entity instanceof Group ) {
                buildMapByLanguage( map,
                                    (Group) entity );
            } else {
                buildMapByLanguage( map,
View Full Code Here

Examples of org.drools.task.OrganizationalEntity

                             taskId );

        User user = em.find( User.class,
                             userId );

        OrganizationalEntity targetEntity = null;
        if ( targetEntityId != null ) {
            targetEntity = em.find( OrganizationalEntity.class,
                                    targetEntityId );
        }
       
View Full Code Here

Examples of org.jbpm.task.OrganizationalEntity

    }

    private void buildMapByLanguage(Map<String, List<User>> map,
                                    Group group) {
        for ( Iterator<OrganizationalEntity> it = userInfo.getMembersForGroup( group ); it.hasNext(); ) {
            OrganizationalEntity entity = it.next();
            if ( entity instanceof Group ) {
                buildMapByLanguage( map,
                                    (Group) entity );
            } else {
                buildMapByLanguage( map,
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.