Package eu.lsem.bakalarka.webfrontend.customresolution

Examples of eu.lsem.bakalarka.webfrontend.customresolution.TextResolution



    public Resolution completeAnnotation() {
        String fulltext = thesesDao.getThesis(id, null).getFulltext();
        String anotace = thesesService.parseAnnotation(fulltext);
        return new TextResolution(anotace);

    }
View Full Code Here


    }

    public Resolution completeResume() {
        String fulltext = thesesDao.getThesis(id, null).getFulltext();
        String resume = thesesService.parseResume(fulltext);
        return new TextResolution(resume);
    }
View Full Code Here

    }

    public Resolution completeAuthor() {
        String fulltext = thesesDao.getThesis(id, null).getFulltext();
        String author = thesesService.parseAuthor(fulltext);
        return new TextResolution(author);
    }
View Full Code Here

    }

    public Resolution completeSubject() {
        String fulltext = thesesDao.getThesis(id, null).getFulltext();
        String subject = thesesService.parseSubject(fulltext);
        return new TextResolution(subject);

    }
View Full Code Here

    }

    @DefaultHandler
    public Resolution moveThesisToDirectory() {
        final int result = thesesDao.updateParentDirectory(thesisId, directoryId);
        return (result==0 ? new CustomErrorResolution(400) : new TextResolution("OK"));
    }
View Full Code Here

        }


        chartGenerator.setRegenerate();
        String resultText = b.toString().length() == 0 ? "��dn� pr�ce nemusely b�t aktualizov�ny" : b.toString();
        return new TextResolution(resultText);
    }
View Full Code Here

     * @return
     */
    public Resolution getParsedText() {

        final String file = thesesService.getDipstoreResourceAbsolutePath(documentPath);
        return new TextResolution(thesesService.parseDocument(file));
    }
View Full Code Here

TOP

Related Classes of eu.lsem.bakalarka.webfrontend.customresolution.TextResolution

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.