示例#1
0
 public Element getPartnerEPR() {
   entering("PartnerLinkDAOImpl.getPartnerEPR");
   if (_partnerEPR != null) return _partnerEPR;
   if (_self.getPartnerEPR() == null) return null;
   try {
     return _partnerEPR = DOMUtils.stringToDOM(_self.getPartnerEPR());
   } catch (Exception e) {
     throw new RuntimeException(e);
   }
 }
示例#2
0
 public void setMyEPR(Element val) {
   entering("PartnerLinkDAOImpl.setMyEPR");
   _myEPR = val;
   if (val == null) {
     _self.setMyEPR(null);
   } else {
     _self.setMyEPR(DOMUtils.domToBytes(val));
   }
   getSession().update(_self);
 }
示例#3
0
 public PartnerLinkDAO createPartnerLink(
     int modelId, String pLinkName, String myRole, String partnerRole) {
   entering("ScopeDaoImpl.createPartnerLink");
   HPartnerLink epr = new HPartnerLink();
   epr.setModelId(modelId);
   epr.setLinkName(pLinkName);
   epr.setMyRole(myRole);
   epr.setPartnerRole(partnerRole);
   epr.setScope(_scope);
   //        _scope.addPartnerLink(epr);
   getSession().save(epr);
   PartnerLinkDAOImpl eprDao = new PartnerLinkDAOImpl(_sm, epr);
   return eprDao;
 }
示例#4
0
 public void setMyRoleServiceName(QName svcName) {
   entering("PartnerLinkDAOImpl.setMyRoleServiceName");
   _self.setServiceName(svcName == null ? null : svcName.toString());
   update();
 }
示例#5
0
 public QName getMyRoleServiceName() {
   return _self.getServiceName() == null ? null : QName.valueOf(_self.getServiceName());
 }
示例#6
0
 public int getPartnerLinkModelId() {
   return _self.getModelId();
 }
示例#7
0
 public String getMyRoleName() {
   return _self.getMyRole();
 }
示例#8
0
 public String getPartnerRoleName() {
   return _self.getPartnerRole();
 }
示例#9
0
 public String getPartnerLinkName() {
   return _self.getLinkName();
 }
示例#10
0
 public void setMySessionId(String sessionId) {
   entering("PartnerLinkDAOImpl.setMySessionId");
   _self.setMySessionId(sessionId);
 }
示例#11
0
 public String getPartnerSessionId() {
   return _self.getPartnerSessionId();
 }
示例#12
0
 public String getMySessionId() {
   return _self.getMySessionId();
 }