Subversion Repositories Integrator Subversion

Rev

Rev 242 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 242 Rev 245
Line 18... Line 18...
18
import java.io.Serializable;
18
import java.io.Serializable;
19
19
20
import javax.inject.Named;
20
import javax.inject.Named;
21
21
22
import org.springframework.context.annotation.Scope;
22
import org.springframework.context.annotation.Scope;
-
 
23
-
 
24
import br.com.ec.web.exception.VerificadorLancamentoException;
-
 
25
import br.com.ec.web.exception.VerificadorLancamentoException.CommandBean;
-
 
26
import br.com.ec.web.message.LancadorMensagem;
23
27
24
@Named
28
@Named
25
@Scope("session")
29
@Scope("session")
26
public class GuestPreferences implements Serializable {
30
public class GuestPreferences implements Serializable {
27
       
31
       
Line 72... Line 76...
72
                return orientationRTL;
76
                return orientationRTL;
73
        }
77
        }
74
        public void setOrientationRTL(boolean orientationRTL) {
78
        public void setOrientationRTL(boolean orientationRTL) {
75
                this.orientationRTL = orientationRTL;
79
                this.orientationRTL = orientationRTL;
76
        }
80
        }
77
   
-
 
-
 
81
       
-
 
82
        public String getComponentTheme() {
-
 
83
                return componentTheme;
-
 
84
        }
-
 
85
        public void setComponentTheme(String componentTheme) {
-
 
86
                this.componentTheme = componentTheme;
-
 
87
        }
-
 
88
       
-
 
89
        public void confirmarMudancas() {
-
 
90
                new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() {
-
 
91
                        public void execute() {
-
 
92
                                LancadorMensagem.lancarSucessoRedirecionandoTela("CONFIGURAÇÃO ALTERARA!", "/sistema/configuracoes.xhtml");
-
 
93
                        }
-
 
94
                });
-
 
95
        }
-
 
96
       
78
        /*
97
        /*
79
    private Map<String,String> themeColors;
98
    private Map<String,String> themeColors;
80
   
99
   
81
    private String theme = "blue";
100
    private String theme = "blue";
82
       
101