Commit efad9498 authored by michael.simon's avatar michael.simon
Browse files

Update Scopes and packages which changed on jee6 -> jee8

parent 2b894a19
......@@ -18,8 +18,8 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -36,7 +36,7 @@ import edu.kit.scc.webreg.service.ServiceService;
import edu.kit.scc.webreg.service.reg.RegisterUserService;
import edu.kit.scc.webreg.session.SessionManager;
@ManagedBean
@Named
@ViewScoped
public class CompareChildRegistriesBean implements Serializable {
......
......@@ -12,15 +12,15 @@ package edu.kit.scc.webreg.bean.admin.service;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
import edu.kit.scc.webreg.entity.AgreementTextEntity;
import edu.kit.scc.webreg.service.AgreementTextService;
@ManagedBean
@Named
@ViewScoped
public class EditAgreementBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.service;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -21,7 +21,7 @@ import edu.kit.scc.webreg.entity.EmailTemplateEntity;
import edu.kit.scc.webreg.service.EmailTemplateService;
import edu.kit.scc.webreg.util.ViewIds;
@ManagedBean
@Named
@ViewScoped
public class EditEmailTemplateBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.service;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -21,7 +21,7 @@ import edu.kit.scc.webreg.entity.AgreementTextEntity;
import edu.kit.scc.webreg.entity.PolicyEntity;
import edu.kit.scc.webreg.service.PolicyService;
@ManagedBean
@Named
@ViewScoped
public class EditPolicyBean implements Serializable {
......
......@@ -15,8 +15,8 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -37,7 +37,7 @@ import edu.kit.scc.webreg.service.ImageService;
import edu.kit.scc.webreg.service.ServiceService;
import edu.kit.scc.webreg.service.SshPubKeyApproverRoleService;
@ManagedBean
@Named
@ViewScoped
public class EditServiceBean implements Serializable {
......
......@@ -13,8 +13,8 @@ package edu.kit.scc.webreg.bean.admin.service;
import java.io.Serializable;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -27,7 +27,7 @@ import edu.kit.scc.webreg.service.ServiceEventService;
import edu.kit.scc.webreg.service.ServiceService;
import edu.kit.scc.webreg.util.ViewIds;
@ManagedBean
@Named
@ViewScoped
public class EditServiceEventBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.service;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.inject.Inject;
import org.primefaces.model.LazyDataModel;
......@@ -22,7 +22,7 @@ import edu.kit.scc.webreg.entity.EmailTemplateEntity;
import edu.kit.scc.webreg.model.GenericLazyDataModelImpl;
import edu.kit.scc.webreg.service.EmailTemplateService;
@ManagedBean
@Named
@ViewScoped
public class ListEmailTemplateBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.service;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.inject.Inject;
import org.primefaces.model.LazyDataModel;
......@@ -22,7 +22,7 @@ import edu.kit.scc.webreg.entity.ServiceEntity;
import edu.kit.scc.webreg.model.GenericLazyDataModelImpl;
import edu.kit.scc.webreg.service.ServiceService;
@ManagedBean
@Named
@ViewScoped
public class ListServiceBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.service;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -25,7 +25,7 @@ import edu.kit.scc.webreg.util.BBCodeConverter;
import edu.kit.scc.webreg.util.FacesMessageGenerator;
import edu.kit.scc.webreg.util.ViewIds;
@ManagedBean
@Named
@ViewScoped
public class ShowServiceBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.ssh;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -23,7 +23,7 @@ import edu.kit.scc.webreg.entity.SshPubKeyEntity;
import edu.kit.scc.webreg.model.GenericLazyDataModelImpl;
import edu.kit.scc.webreg.service.ssh.SshPubKeyService;
@ManagedBean
@Named
@ViewScoped
public class ListSshPubKeyBean implements Serializable {
......
......@@ -14,8 +14,8 @@ import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -23,7 +23,7 @@ import edu.kit.scc.webreg.entity.JobClassEntity;
import edu.kit.scc.webreg.service.JobClassService;
import edu.kit.scc.webreg.util.ViewIds;
@ManagedBean
@Named
@ViewScoped
public class EditJobClassBean implements Serializable {
......
......@@ -13,8 +13,8 @@ package edu.kit.scc.webreg.bean.admin.timer;
import java.io.Serializable;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -24,7 +24,7 @@ import edu.kit.scc.webreg.service.JobClassService;
import edu.kit.scc.webreg.service.JobScheduleService;
import edu.kit.scc.webreg.util.ViewIds;
@ManagedBean
@Named
@ViewScoped
public class EditJobScheduleBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.timer;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.inject.Inject;
import org.primefaces.model.LazyDataModel;
......@@ -24,7 +24,7 @@ import edu.kit.scc.webreg.model.GenericLazyDataModelImpl;
import edu.kit.scc.webreg.service.ClusterMemberService;
import edu.kit.scc.webreg.service.timer.StandardScheduler;
@ManagedBean
@Named
@ViewScoped
public class SchedulerStatusBean implements Serializable {
......
......@@ -18,8 +18,8 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -46,7 +46,7 @@ import edu.kit.scc.webreg.service.identity.IdentityService;
import edu.kit.scc.webreg.service.saml.SamlHelper;
import edu.kit.scc.webreg.session.SessionManager;
@ManagedBean
@Named
@ViewScoped
public class IdpAdminIndexBean implements Serializable {
......
......@@ -18,8 +18,8 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -45,7 +45,7 @@ import edu.kit.scc.webreg.service.saml.SamlHelper;
import edu.kit.scc.webreg.session.SessionManager;
import edu.kit.scc.webreg.util.FacesMessageGenerator;
@ManagedBean
@Named
@ViewScoped
public class IdpDebugIndexBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.project;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -22,7 +22,7 @@ import edu.kit.scc.webreg.service.project.LocalProjectService;
import edu.kit.scc.webreg.session.SessionManager;
import edu.kit.scc.webreg.util.ViewIds;
@ManagedBean
@Named
@ViewScoped
public class ProjectAdminAddProjectBean implements Serializable {
......
......@@ -18,8 +18,8 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -42,7 +42,7 @@ import edu.kit.scc.webreg.service.project.ProjectService;
import edu.kit.scc.webreg.session.SessionManager;
import edu.kit.scc.webreg.util.FacesMessageGenerator;
@ManagedBean
@Named
@ViewScoped
public class ProjectAdminEditProjectAdminsBean implements Serializable {
......
......@@ -18,8 +18,8 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -41,7 +41,7 @@ import edu.kit.scc.webreg.service.project.ProjectService;
import edu.kit.scc.webreg.session.SessionManager;
import edu.kit.scc.webreg.util.FacesMessageGenerator;
@ManagedBean
@Named
@ViewScoped
public class ProjectAdminEditProjectMembersBean implements Serializable {
......
......@@ -15,8 +15,8 @@ import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -34,7 +34,7 @@ import edu.kit.scc.webreg.service.project.ProjectService;
import edu.kit.scc.webreg.session.SessionManager;
import edu.kit.scc.webreg.util.FacesMessageGenerator;
@ManagedBean
@Named
@ViewScoped
public class ProjectAdminEditProjectServicesBean implements Serializable {
......
......@@ -13,8 +13,8 @@ package edu.kit.scc.webreg.bean.project;
import java.io.Serializable;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -22,7 +22,7 @@ import edu.kit.scc.webreg.entity.project.ProjectIdentityAdminEntity;
import edu.kit.scc.webreg.service.project.ProjectService;
import edu.kit.scc.webreg.session.SessionManager;
@ManagedBean
@Named
@ViewScoped
public class ProjectAdminListProjectBean implements Serializable {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment