Beispiel #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);
   }
 }
Beispiel #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);
 }
Beispiel #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;
 }
Beispiel #4
0
 public void setMyRoleServiceName(QName svcName) {
   entering("PartnerLinkDAOImpl.setMyRoleServiceName");
   _self.setServiceName(svcName == null ? null : svcName.toString());
   update();
 }
Beispiel #5
0
 public QName getMyRoleServiceName() {
   return _self.getServiceName() == null ? null : QName.valueOf(_self.getServiceName());
 }
Beispiel #6
0
 public int getPartnerLinkModelId() {
   return _self.getModelId();
 }
Beispiel #7
0
 public String getMyRoleName() {
   return _self.getMyRole();
 }
Beispiel #8
0
 public String getPartnerRoleName() {
   return _self.getPartnerRole();
 }
Beispiel #9
0
 public String getPartnerLinkName() {
   return _self.getLinkName();
 }
Beispiel #10
0
 public void setMySessionId(String sessionId) {
   entering("PartnerLinkDAOImpl.setMySessionId");
   _self.setMySessionId(sessionId);
 }
Beispiel #11
0
 public String getPartnerSessionId() {
   return _self.getPartnerSessionId();
 }
Beispiel #12
0
 public String getMySessionId() {
   return _self.getMySessionId();
 }