Package com.sparc.knappsack.models

Examples of com.sparc.knappsack.models.ApplicationVersionModel


        return models;
    }

    @Override
    public ApplicationVersionModel createApplicationVersionModel(ApplicationVersion applicationVersion, boolean includeInstallFile) {
        ApplicationVersionModel model = null;

        if (applicationVersion != null) {
            model = new ApplicationVersionModel();
            model.setId(applicationVersion.getId());
            model.setVersionName(applicationVersion.getVersionName());
            model.setRecentChanges(applicationVersion.getRecentChanges());
            model.setCfBundleIdentifier(applicationVersion.getCfBundleIdentifier());
            model.setCfBundleName(applicationVersion.getCfBundleName());
            model.setCfBundleVersion(applicationVersion.getCfBundleVersion());
            model.setAppState(applicationVersion.getAppState());
            if (includeInstallFile) {
                AppFile installationFile = applicationVersion.getInstallationFile();
                if (installationFile != null) {
                    model.setInstallationFile(appFileService.createAppFileModel(installationFile.getId()));
                }
            }
        }

        return model;
View Full Code Here

TOP

Related Classes of com.sparc.knappsack.models.ApplicationVersionModel

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.