Examples of IDfId


Examples of com.documentum.fc.common.IDfId

    if ( name != null && name.endsWith(".roots"))
      name = name.substring(0,name.lastIndexOf('.'));
    this.name = name;
    try {
      if (res.hasAttr("r_object_id")) {
        IDfId id = res.getId("r_object_id");
        IDfPersistentObject obj = ((DctmConnection)getConnection()).getSession().getObject(id);
        this.meta = new DctmMeta(getDriver(),obj.enumAttrs());
        loadData(obj);
      } else {
        loadData(res);
View Full Code Here

Examples of com.documentum.fc.common.IDfId

    src.link(trg.getObjectId().getId());
   
    for (String id : tmp )
      src.unlink(id);
   
    IDfId newId = src.saveAsNew(true);
    monitor.log().debug("  Created: " + newId);
    src.revert();
    IDfPersistentObject newItem = session.getObject(newId);
    cnt++;
    monitor.worked(cnt);
   
    // fire events
    if (useTransaction) {
      events.add(new String[] {newId.getId(),trg.getObjectId().getId()});
    } else {
      target.getConnection().fireElementCreated( newId.getId() );
      target.getConnection().fireElementLink(trg.getObjectId().getId(), newId.getId());
    }
   
    if (src instanceof IDfFolder) {
      IDfFolder srcFolder = (IDfFolder)src;
      IDfFolder trgFolder = (IDfFolder)newItem;
View Full Code Here

Examples of com.documentum.fc.common.IDfId

      throws RepositoryDocumentException {
    if (!(objectId instanceof DmId)) {
      throw new IllegalArgumentException();
    }
    DmId dctmId = (DmId) objectId;
    IDfId idfId = dctmId.getidfId();

    IDfPersistentObject idfPersistentObject;
    try {
      idfPersistentObject = idfSession.getObject(idfId);
      if (idfPersistentObject instanceof IDfSysObject) {
View Full Code Here

Examples of com.documentum.fc.common.IDfId

  private String getAnExistingExcelObjectId(ISession session)
      throws DfException {
    String idString;
    DmSession dctmSession = (DmSession) session;
    IDfSession dfSession = dctmSession.getDfSession();
    IDfId id = dfSession
        .getIdByQualification("dm_sysobject where a_content_type = 'excel8book'");
    idString = id.toString();

    return idString;
  }
View Full Code Here

Examples of com.documentum.fc.common.IDfId

      throws DfException {
    // move into real DFC to find a docid that's in this docbase
    String idString;
    DmSession dctmSession = (DmSession) session;
    IDfSession dfSession = dctmSession.getDfSession();
    IDfId id = dfSession
        .getIdByQualification("dm_sysobject where a_content_type = 'pdf'");
    idString = id.toString();
    return idString;
  }
View Full Code Here

Examples of com.documentum.fc.common.IDfId

      throws DfException {
    // move into real DFC to find a docid that's in this docbase
    String idString;
    DmSession dctmSession = (DmSession) session;
    IDfSession dfSession = dctmSession.getDfSession();
    IDfId id = dfSession
        .getIdByQualification("dm_sysobject where a_content_type = 'ms_access7'");
    idString = id.toString();

    return idString;
  }
View Full Code Here

Examples of com.documentum.fc.common.IDfId

      throws DfException {
    // move into real DFC to find a docid that's in this docbase
    String idString;
    DmSession dctmSession = (DmSession) session;
    IDfSession dfSession = dctmSession.getDfSession();
    IDfId id = dfSession
        .getIdByQualification("dm_sysobject where a_content_type = 'msw8'");
    idString = id.toString();

    return idString;
  }
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.