Package open.dolphin.delegater

Examples of open.dolphin.delegater.DocumentDelegater


            spec.setFromDate(extractionPeriod);      // 抽出期間開始
            spec.setIncludeModifid(showModified);    // 修正履歴
            spec.setCode(DocumentSearchSpec.DOCTYPE_SEARCH)// 検索タイプ
            spec.setAscending(ascending);

            DocInfoTask task = new DocInfoTask(context, spec, new DocumentDelegater());
            task.execute();
        }
    }
View Full Code Here


     * 文書履歴のタイトルを変更する。
     */
    public void titleChanged(DocInfoModel docInfo) {

        if (docInfo != null && docInfo.getTitle() != null) {
            ChangeTitleTask task = new ChangeTitleTask(context, docInfo, new DocumentDelegater());
            task.execute();
        }
    }
View Full Code Here

        DBTask task = new DBTask<List<Long>>(context) {

            @Override
            protected List<Long> doInBackground() throws Exception {
                //logger.debug("allergy add doInBackground");
                DocumentDelegater ddl = new DocumentDelegater();
                List<Long> ids = ddl.addObservations(addList);
                return ids;
            }
           
            @Override
            protected void succeeded(List<Long> result) {
View Full Code Here

        DBTask task = new DBTask<Void>(this.context) {

            @Override
            protected Void doInBackground() throws Exception {
               // logger.debug("allergy delete doInBackground");
                DocumentDelegater ddl = new DocumentDelegater();
                ddl.removeObservations(list);
                return null;
            }

            @Override
            protected void succeeded(Void result) {
View Full Code Here

        DBTask task = new DBTask<List<Long>>(context) {

            @Override
            protected List<Long> doInBackground() throws Exception {
                logger.debug("physical add doInBackground");
                DocumentDelegater pdl = new DocumentDelegater();
                List<Long> ids = pdl.addObservations(addList);
                return ids;
            }

            @Override
            protected void succeeded(List<Long> result) {
View Full Code Here

        DBTask task = new DBTask<Void>(context) {

            @Override
            protected Void doInBackground() throws Exception {
                logger.debug("physical delete doInBackground");
                DocumentDelegater ddl = new DocumentDelegater();
                ddl.removeObservations(list);
                return null;
            }
           
            @Override
            protected void succeeded(Void result) {
View Full Code Here

        DBTask task = new DBTask<Void>(context) {

            @Override
            protected Void doInBackground() throws Exception {
                logger.debug("updateMemo doInBackground");
                DocumentDelegater ddl = new DocumentDelegater();
                ddl.updatePatientMemo(patientMemoModel);
                return null;
            }
           
            @Override
            protected void succeeded(Void result) {
View Full Code Here

        ImageEntry entry = (ImageEntry) tModel.getValueAt(row, col);
        final ImageSearchSpec spec = new ImageSearchSpec();
        spec.setCode(ImageSearchSpec.ID_SEARCH);
        spec.setId(entry.getId());
        final DocumentDelegater ddl = new DocumentDelegater();
       
        DBTask task = new DBTask<SchemaModel>(myParent.getContext()) {
           
            @Override
            public SchemaModel doInBackground() throws Exception {
                return ddl.getImage(spec.getId());
            }
           
            @Override
            public void succeeded(SchemaModel result) {
                openDialog(result);
View Full Code Here

                toDate[0] = c0.getLastDate() + "T23:59:59";
                toDate[1] = c1.getLastDate() + "T23:59:59";
                toDate[2] = c2.getLastDate() + "T23:59:59";
                spec.setToDate(toDate);*/
       
        final DocumentDelegater ddl = new DocumentDelegater();
       
        DBTask task = new DBTask<List[]>(getContext()) {
           
            @Override
            public List[] doInBackground() throws Exception {
                List[] ret = new List[2];
                List modules = ddl.getModuleList(spec);
                ret[0] = modules;
    if (appo) {
                    List appointments = ddl.getAppoinmentList(spec);
                    ret[1] = appointments;
    }
                return ret;
            }
           
View Full Code Here

                toDate[2] = c2.getLastDate() + "T23:59:59";
                spec.setToDate(toDate);*/
       
        spec.setIconSize(new Dimension(IMAGE_WIDTH, IMAGE_HEIGHT));
       
        final DocumentDelegater ddl = new DocumentDelegater();
       
        DBTask task = new DBTask<List>(getContext()) {
           
            @Override
            public List doInBackground() throws Exception {
                return ddl.getImageList(spec);
            }
           
            @Override
            public void succeeded(List result) {
                setAllImages(result);
View Full Code Here

TOP

Related Classes of open.dolphin.delegater.DocumentDelegater

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.