Package com.projity.server.data

Examples of com.projity.server.data.DataObject


    return super.canUndo();
  }
  public String getPresentationName() {
    String s="Schedule";
    if (schedule!=null&&schedule instanceof DataObject){
      DataObject data=(DataObject)schedule;
      String cn=schedule.getClass().getName();
      cn=cn.substring(cn.lastIndexOf('.')+1);
      s+=": "+cn+" "+data.getName()+"("+data.getUniqueId()+")";
    }
    return s;
  }
View Full Code Here


    return super.canUndo();
  }
  public String getPresentationName() {
    String s="Split";
    if (schedule!=null&&schedule instanceof DataObject){
      DataObject data=(DataObject)schedule;
      String cn=schedule.getClass().getName();
      cn=cn.substring(cn.lastIndexOf('.')+1);
      s+=": "+cn+" "+data.getName()+"("+data.getUniqueId()+")";
    }
    return s;
  }
View Full Code Here

  public boolean renumber(boolean localOnly){
    if (uniqueId==-1) return false;
    if (localOnly&&!CommonDataObject.isLocal(uniqueId)) return false;
    if (localOnly&&local) setLocal(false);
    long oldUniqueId=uniqueId;
    DataObject hasUniqueId=(DataObject)uniqueIds.remove(new Long(oldUniqueId));
    uniqueId = session.getId();
    uniqueIds.put(new Long(uniqueId),hasUniqueId);
    //System.out.println("Renumber "+(hasUniqueId==null?"":(hasUniqueId.getClass()+"/"+hasUniqueId.getName()))+": "+oldUniqueId+"-->"+uniqueId);
    return true;
  }
View Full Code Here

TOP

Related Classes of com.projity.server.data.DataObject

Copyright © 2018 www.massapicom. 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.