Examples of DestinationGroup


Examples of org.openspp.dto.DestinationGroup

    if (rg.getDestGrpNameList() !=null)
    {
      DestinationGroupDAO dgDAO = (DestinationGroupDAO)SpringAppContext.getBean("DestinationGroupDAO") ;
      for (String dgName : rg.getDestGrpNameList())
      {
        DestinationGroup destGrp = dgDAO.getDestinationGroup(dgName,rg.getOrganizationId()) ;
        if(destGrp == null)
        {
          throw new RuntimeException("DestinationGroup " + dgName + " with rantId " + rg.getOrganizationId() + "  does not exist") ;
        }
        addRteGrpDestGrp(rg, destGrp) ;
View Full Code Here

Examples of org.openspp.dto.DestinationGroup

import ietf.params.xml.ns.sppp.base._1.AddDestGrpRqstType;

public class AddDestGrpMediator extends CommandMediator<AddDestGrpRqstType, DestinationGroup> {

  public void convertOriginalToDTO() {
    DestinationGroup destGrp = new DestinationGroup();

    destGrp.setOrganizationName(originalDataObject.getDestGrp().getRant());   
    destGrp.setDestGrpName(originalDataObject.getDestGrp().getDgName());
   
    command.setDto(destGrp);
  }
View Full Code Here

Examples of org.openspp.dto.DestinationGroup

    List<ObjKeyType> objKeyList = null;
   
    objKeyList = originalDataObject.getObjKey();

    for(ObjKeyType okt : objKeyList){
      DestinationGroup destGrp = new DestinationGroup();
      destGrp.setOrganizationName(okt.getRant());   
      destGrp.setDestGrpName(okt.getName());
      destGrpList.add(destGrp);
    }
   
   
     
View Full Code Here

Examples of org.openspp.dto.DestinationGroup

import org.openspp.dto.DestinationGroup;

public class DelDestGrpMediator extends CommandMediator<DelDestGrpRqstType, DestinationGroup> {
 
  public void convertOriginalToDTO() {
    DestinationGroup destGrp = new DestinationGroup();
    ObjKeyType objKey = originalDataObject.getObjKey();

   
    destGrp.setOrganizationName(objKey.getRant());   
    destGrp.setDestGrpName(objKey.getName());
   
    command.setDto(destGrp);
  }
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.