BrightSide Workbench Full Report + Source Code
org.turro.signin.SignInFromListComposer Class Reference
Inheritance diagram for org.turro.signin.SignInFromListComposer:
Collaboration diagram for org.turro.signin.SignInFromListComposer:

Public Member Functions

void onChangingUser (InputEvent evt) throws IOException
 
void onSigIn ()
 
void onSigOut ()
 
void onProfile (Event event) throws IOException, InterruptedException
 
void doFinally () throws Exception
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 50 of file SignInFromListComposer.java.

Member Function Documentation

◆ doFinally()

void org.turro.signin.SignInFromListComposer.doFinally ( ) throws Exception

Definition at line 103 of file SignInFromListComposer.java.

103  {
104  super.doFinally();
105  IContact contact = Authentication.getIContact();
106  onSignin = Executions.getCurrent().getParameter("onSignin");
107  onSignout = Executions.getCurrent().getParameter("onSignout");
108  if(contact == null || !contact.isValid()) {
109  siginform.setVisible(true);
110  contacts.setFocus(true);
111  } else {
112  signoutform.setVisible(true);
113  }
114  }
Here is the call graph for this function:

◆ onChangingUser()

void org.turro.signin.SignInFromListComposer.onChangingUser ( InputEvent  evt) throws IOException

Definition at line 70 of file SignInFromListComposer.java.

70  {
71  }

◆ onProfile()

void org.turro.signin.SignInFromListComposer.onProfile ( Event  event) throws IOException, InterruptedException

Definition at line 97 of file SignInFromListComposer.java.

97  {
98  SystemLogger.getInstance().doLog(SystemLogType.LOG_INFO, "/log/profile", null, null);
99  Modal.doModal("/WEB-INF/_zul/www/profile.zul", (Command) null);
100  }
Here is the call graph for this function:

◆ onSigIn()

void org.turro.signin.SignInFromListComposer.onSigIn ( )

Definition at line 74 of file SignInFromListComposer.java.

74  {
75  if(Strings.isBlank(password.getText())) {
76  password.setFocus(true);
77  } else {
78  IContact contact = Contacts.getContact(contacts.getSelectedItem().getValue());
79  try {
80  Authentication.doLogin(contact.getEmail(), password.getText(), onSignin, null);
81  } catch (IOException ex) {
82  Logger.getLogger(SignInComposer.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(null), ex);
83  }
84  }
85  }
Here is the call graph for this function:

◆ onSigOut()

void org.turro.signin.SignInFromListComposer.onSigOut ( )

Definition at line 88 of file SignInFromListComposer.java.

88  {
89  try {
90  Authentication.doLogout(onSignout);
91  } catch (IOException ex) {
92  Logger.getLogger(SignInComposer.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(null), ex);
93  }
94  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: