Package org.internna.iwebmvc.model.core

Examples of org.internna.iwebmvc.model.core.TemporalFile


        holder.setMimeType(file.getMimeType());
        holder.setIdentifier(file.getName());
        holder.setImageProperties();
        documentRepository.store(holder);
        try {
            dao.create(new TemporalFile(holder.getUri()));
        } catch (Exception e) {
            documentRepository.delete(holder.getUri());
            throw new IWebMvcException("Could not create temporal file", e);
        }
        return holder;
View Full Code Here


    protected void processDocumentsUpdates() {
        Set<String> removed = new HashSet<String>();
        synchronized(actualUpdatedUris) {
            for (String uri : actualUpdatedUris) {
                dao.create(new TemporalFile(uri, cal.getTime()));
                if (log.isDebugEnabled()) log.debug("Temporal file URI [" + uri + "] added to outdated repository file list");
            }
            dao.flush();
            actualUpdatedUris.clear();
        }
View Full Code Here

TOP

Related Classes of org.internna.iwebmvc.model.core.TemporalFile

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.