- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 38 of file SSOVM.java.
◆ delete()
void org.turro.sso.SSOVM.delete |
( |
@BindingParam("entity") Object |
entity | ) |
|
Definition at line 49 of file SSOVM.java.
50 if(entity instanceof SSOIdentity) {
void deleteObject(Object obj)
◆ getIcon()
String org.turro.sso.SSOVM.getIcon |
( |
SSOIdentity |
identity | ) |
|
Definition at line 63 of file SSOVM.java.
64 String userAgent = identity.getDetails().toLowerCase();
65 if (userAgent.contains(
"windows")) {
67 }
else if (userAgent.contains(
"mac")) {
69 }
else if (userAgent.contains(
"x11") || userAgent.contains(
"ubuntu")) {
71 }
else if (userAgent.contains(
"android")) {
73 }
else if (userAgent.contains(
"iphone")) {
◆ getModel()
Definition at line 55 of file SSOVM.java.
56 WhereClause wc =
new WhereClause();
57 wc.addClause(
"select sso from SSOIdentity as sso");
58 wc.addClause(
"where idContact = :idContact");
59 wc.addNamedValue(
"idContact", contact.
getId());
60 return getDao().getResultList(wc);
◆ init()
void org.turro.sso.SSOVM.init |
( |
@ExecutionArgParam("contact") IContact |
contact | ) |
|
Definition at line 43 of file SSOVM.java.
44 if(contact !=
null) this.contact = contact;
The documentation for this class was generated from the following file: