Package org.lightadmin.core.storage.strategy.file

Examples of org.lightadmin.core.storage.strategy.file.ReferenceFilePathResolver


    private FileManipulationStrategy createReferenceFileManipulationStrategy(PersistentEntity persistentEntity) {
        File fileStorageDirectory = lightAdminConfiguration.getFileStorageDirectory();
        DomainTypeAdministrationConfiguration domainTypeAdministrationConfiguration = configuration.forManagedDomainType(ClassUtils.getUserClass(persistentEntity.getType()));
        String domainTypeName = domainTypeAdministrationConfiguration.getDomainTypeName();

        FilePathResolver pathResolver = new ReferenceFilePathResolver(fileStorageDirectory, persistentEntity, domainTypeName);

        return new ReferenceFileManipulationStrategy(pathResolver);
    }
View Full Code Here

TOP

Related Classes of org.lightadmin.core.storage.strategy.file.ReferenceFilePathResolver

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.