Package com.documentum.fc.client

Examples of com.documentum.fc.client.IDfSysObject.save()


            IDfSysObject child = (IDfSysObject) i.next();
            monitor.log().debug(DctmUtils.getPath(child));
            if (unlink
                && child.getValueCount("i_folder_id") > 1) {
              child.unlink(obj.getObjectId().toString());
              child.save();
             
              if (useTransaction) {
                events.add(new String[] {"u",child.getObjectId().getId(),obj.getObjectId().getId()});
              } else {
                sources.getConnection().fireElementUnlink(obj.getObjectId().getId(),child.getObjectId().getId());
View Full Code Here


              name = name.substring(0,pos);
            }
            name = name + "_" + nextIndex;
           
            src.setObjectName(name);
            src.save();
            events.add(new String[] { "c", src.getObjectId().getId(), "" } );
          } else
            break;
        } while (true);
      }
View Full Code Here

      events.add(new String[] { "l", src.getObjectId().getId(), trg.getObjectId().getId() } );
     
      for (String id : tmp )
        src.unlink(id);
     
      src.save();
   
      cnt++;
      monitor.worked(cnt);
     
    } catch (Exception e) {
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.