Package com.google.code.lightssh.project.party.service

Examples of com.google.code.lightssh.project.party.service.PartyManager


   
    if( ReceiveType.ALL.equals(type) ){
      return "所有人";
    }else if( ReceiveType.DEPARTMENT.equals(type)
        || ReceiveType.PERSON.equals(type)  ){
      PartyManager partyMgr = (PartyManager)SpringContextHelper.getBean( "partyManager" );
      Party party = partyMgr.get( val );
     
      return party==null?"":party.getName();
    }else if( ReceiveType.ROLE.equals(type) ){
      RoleManager roleMgr = (RoleManager)SpringContextHelper.getBean( "roleManager" );
      Role role = roleMgr.get( val );
View Full Code Here


 
  /**
   * 查询Party
   */
  public static Party getParty(String code ){
    PartyManager partyManager = (PartyManager)SpringContextHelper.getBean( BEAN_NAME_PARTY_MANAGER );
    if( partyManager != null )
      return partyManager.get(code);
   
    return null;
  }
View Full Code Here

TOP

Related Classes of com.google.code.lightssh.project.party.service.PartyManager

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.