Examples of TeamMember


Examples of org.osforce.connect.entity.team.TeamMember

    memberActivityStreamTask.doAsyncTask(context);
  }

  @AfterReturning("execution(* org.osforce.connect.service.team.MemberService.requestMember(..))")
  public void requestMember(JoinPoint jp) {
    TeamMember member = (TeamMember) jp.getArgs()[0];
    Map<Object, Object> context = CollectionUtil.newHashMap();
    context.put("memberId", member.getId());
    context.put("siteId", member.getProject().getCategory().getSiteId());
    memberRequestEmailTask.doAsyncTask(context);
  }
View Full Code Here

Examples of org.osforce.connect.entity.team.TeamMember

  }

  @AfterReturning("execution(* org.osforce.connect.service.team.MemberService.approveMember(..))")
  public void approveMember(JoinPoint jp) {
    Long memberId = (Long) jp.getArgs()[0];
    TeamMember member = memberService.getMember(memberId);
    Map<Object, Object> context = CollectionUtil.newHashMap();
    context.put("memberId", memberId);
    context.put("siteId", member.getProject().getCategory().getSiteId());
    memberApproveEmailTask.doAsyncTask(context);
  }
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.