Examples of calculateSyncStatus()


Examples of org.rhq.enterprise.server.content.RepoManagerLocal.calculateSyncStatus()

        if (this.repo == null) {
            Subject subject = EnterpriseFacesContextUtility.getSubject();
            Integer id = FacesContextUtility.getRequiredRequestParameter("id", Integer.class);
            RepoManagerLocal manager = LookupUtil.getRepoManagerLocal();
            this.repo = manager.getRepo(subject, id);
            this.repo.setSyncStatus(manager.calculateSyncStatus(subject, id));
            if (repo.getOwner() == null) {
                repo.setOwner(new Subject());
            }
        }
    }
View Full Code Here

Examples of org.rhq.enterprise.server.content.RepoManagerLocal.calculateSyncStatus()

            Subject subject = EnterpriseFacesContextUtility.getSubject();
            RepoManagerLocal manager = LookupUtil.getRepoManagerLocal();

            PageList<Repo> results = manager.findRepos(subject, pc);
            for (Repo repo : results) {
                repo.setSyncStatus(manager.calculateSyncStatus(subject, repo.getId()));
            }
            return results;
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.