BrightSide Workbench Full Report + Source Code
org.turro.alliance.contact.AllianceContact Class Reference
Inheritance diagram for org.turro.alliance.contact.AllianceContact:
Collaboration diagram for org.turro.alliance.contact.AllianceContact:

Public Member Functions

 AllianceContact ()
 
 AllianceContact (AxContact contact)
 
void setContact (Object contact)
 
Object getContact ()
 
String getId ()
 
String getGlobalId ()
 
String getGrouping ()
 
String getDeepGrouping ()
 
String getLogin ()
 
String getName ()
 
String getFriendly ()
 
String getFormal ()
 
String getFullName ()
 
String getTradeName ()
 
String getEmail ()
 
Locale getLocale ()
 
String getConnector (String id)
 
void setConnector (String id, String value)
 
List< String > getConnectorList (String id)
 
IRelations getCompanyRelations ()
 
IRelations getStaffRelations ()
 
List< IContactgetRelations (String id)
 
List< IContactgetRelations ()
 
IContact getBusiness ()
 
List< IContactgetBusinessList ()
 
List< IContactgetCoworkers ()
 
List< IContactgetCoworkers (IContact business)
 
boolean isInBusiness (IContact worker)
 
void setName (String value)
 
void setPassword (String newValue, String repeatValue)
 
void applyChanges ()
 
boolean isValid ()
 
boolean checkPassword (String password)
 
String getCommentValue (String key)
 
Object getObject (String key)
 
void setObject (String key, Serializable value)
 
boolean isWebUser ()
 
boolean isWebapp ()
 
boolean isUserMenu ()
 
boolean isDeactivated ()
 
List< String > getSyndications ()
 
FlatPermissions getPermissions ()
 
void resetPermissions ()
 
IUser getAsUser ()
 
boolean acceptsLang (String lang)
 
Object loadById (String id)
 
Object loadByLogin (String login)
 
Object loadLogged (Application app)
 
List< IContactloadByPartialName (String name)
 
List< IContactloadByPartialName (String name, KeyValueMap kvm)
 
IContact loadByName (String name)
 
IContact loadByEmail (String email)
 
void setAttribute (String key, Object value)
 
Object getAttribute (String key)
 
List< IContactgetBySyndication (String syndication)
 
List< IContactgetByRole (String role)
 
List< IContactgetByGrouping (String grouping)
 
List< IContactgetByGrouping (List< String > groupings)
 
List< IContactgetCompanies ()
 
List< IContactgetCenters ()
 
List< IContactgetHHRR ()
 
List< IContactgetStudents ()
 
void startContactFromValues (KeyValueMap values)
 
void syndicate (String syndicationName, boolean syndicate)
 
String getFace ()
 
Faces getFaces ()
 
IProfile getProfile ()
 
boolean isAdmin ()
 
boolean isUser ()
 
boolean isCompany ()
 
boolean isCenter ()
 
boolean isInternal ()
 
boolean isWorker ()
 
boolean isStudent ()
 
boolean isResponsible ()
 
boolean isHHRR ()
 
boolean isWorker (IContact business)
 
boolean isStudent (IContact business)
 
boolean isResponsible (IContact business)
 
boolean isHHRR (IContact business)
 
boolean isInNetworking ()
 
boolean isInPremiumNetworking ()
 
String getLangTranslator ()
 
IContact getLogged ()
 
boolean validate (String login, String password)
 
boolean validate2 (String password2)
 
boolean impersonate (String login)
 
boolean impersonateByEmail (String email)
 
void reload ()
 
boolean isThisUser (String id)
 
String getProperty (String key)
 
boolean isInRole (String role)
 
boolean hasAnyRoleKey (String role)
 
boolean isOutsider ()
 
boolean accepts (Object object)
 
int compareTo (IContact o)
 
int hashCode ()
 
boolean equals (Object obj)
 
- Public Member Functions inherited from org.turro.plugin.contacts.IContact
void setApplication (Application app)
 

Additional Inherited Members

- Static Public Attributes inherited from org.turro.elephant.security.IUser
static final String CONNECTOR_EMAIL = "Email"
 
static final String CONNECTOR_TRADE = "TradeName"
 
static final String CONNECTOR_FISCAL = "FiscalName"
 
static final String CONNECTOR_EMAIL_LOGIN = "EmailLogin"
 
static final String ADDRESS_FISCAL = "Fiscal"
 
static final String LOGGED_USER = "xp_user"
 
static final String INTERNAL_SIGNIN = "InternalSignIn"
 

Detailed Description

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

Definition at line 49 of file AllianceContact.java.

Constructor & Destructor Documentation

◆ AllianceContact() [1/2]

org.turro.alliance.contact.AllianceContact.AllianceContact ( )

Definition at line 53 of file AllianceContact.java.

53  {
54  }

◆ AllianceContact() [2/2]

org.turro.alliance.contact.AllianceContact.AllianceContact ( AxContact  contact)

Definition at line 56 of file AllianceContact.java.

56  {
57  init(contact);
58  }

Member Function Documentation

◆ accepts()

boolean org.turro.alliance.contact.AllianceContact.accepts ( Object  object)

Implements org.turro.plugin.contacts.IContact.

Definition at line 552 of file AllianceContact.java.

552  {
553  if(object instanceof String) {
554  return ProcedenceId.from((String) object) != null;
555  } else {
556  return object instanceof AxContact;
557  }
558  }
Here is the call graph for this function:

◆ acceptsLang()

boolean org.turro.alliance.contact.AllianceContact.acceptsLang ( String  lang)

Implements org.turro.plugin.contacts.IContact.

Definition at line 284 of file AllianceContact.java.

284  {
285  return true;
286  }

◆ applyChanges()

void org.turro.alliance.contact.AllianceContact.applyChanges ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 209 of file AllianceContact.java.

209  {
210  // do nothing
211  }

◆ checkPassword()

boolean org.turro.alliance.contact.AllianceContact.checkPassword ( String  password)

Implements org.turro.plugin.contacts.IContact.

Definition at line 219 of file AllianceContact.java.

219  {
220  throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody
221  }

◆ compareTo()

int org.turro.alliance.contact.AllianceContact.compareTo ( IContact  o)

Definition at line 561 of file AllianceContact.java.

561  {
562  return CompareUtil.compare(getId(), o.getId());
563  }
Here is the call graph for this function:

◆ equals()

boolean org.turro.alliance.contact.AllianceContact.equals ( Object  obj)
Returns
True if object is an IUser with the same login

Implements org.turro.elephant.security.IUser.

Definition at line 596 of file AllianceContact.java.

596  {
597  if (this == obj) {
598  return true;
599  }
600  if (obj == null) {
601  return false;
602  }
603  if (getClass() != obj.getClass()) {
604  return false;
605  }
606  final AllianceContact other = (AllianceContact) obj;
607  return Objects.equals(this.contact, other.contact);
608  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAsUser()

IUser org.turro.alliance.contact.AllianceContact.getAsUser ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 279 of file AllianceContact.java.

279  {
280  return this;
281  }

◆ getAttribute()

Object org.turro.alliance.contact.AllianceContact.getAttribute ( String  key)

Implements org.turro.plugin.contacts.IContact.

Definition at line 339 of file AllianceContact.java.

339  {
340  return null;
341  }

◆ getBusiness()

IContact org.turro.alliance.contact.AllianceContact.getBusiness ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 174 of file AllianceContact.java.

174  {
175  return business != null ? new AllianceContact(business) : null;
176  }
Here is the caller graph for this function:

◆ getBusinessList()

List<IContact> org.turro.alliance.contact.AllianceContact.getBusinessList ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 179 of file AllianceContact.java.

179  {
180  return business != null ? List.of(getBusiness()) : null;
181  }

◆ getByGrouping() [1/2]

List<IContact> org.turro.alliance.contact.AllianceContact.getByGrouping ( List< String >  groupings)

Implements org.turro.plugin.contacts.IContact.

Definition at line 359 of file AllianceContact.java.

359  {
360  return null;
361  }

◆ getByGrouping() [2/2]

List<IContact> org.turro.alliance.contact.AllianceContact.getByGrouping ( String  grouping)

Implements org.turro.plugin.contacts.IContact.

Definition at line 354 of file AllianceContact.java.

354  {
355  return null;
356  }

◆ getByRole()

List<IContact> org.turro.alliance.contact.AllianceContact.getByRole ( String  role)

Implements org.turro.plugin.contacts.IContact.

Definition at line 349 of file AllianceContact.java.

349  {
350  return null;
351  }

◆ getBySyndication()

List<IContact> org.turro.alliance.contact.AllianceContact.getBySyndication ( String  syndication)

Implements org.turro.plugin.contacts.IContact.

Definition at line 344 of file AllianceContact.java.

344  {
345  return null;
346  }

◆ getCenters()

List<IContact> org.turro.alliance.contact.AllianceContact.getCenters ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 374 of file AllianceContact.java.

374  {
375  return Collections.EMPTY_LIST;
376  }

◆ getCommentValue()

String org.turro.alliance.contact.AllianceContact.getCommentValue ( String  key)

Implements org.turro.plugin.contacts.IContact.

Definition at line 224 of file AllianceContact.java.

224  {
225  return null;
226  }

◆ getCompanies()

List<IContact> org.turro.alliance.contact.AllianceContact.getCompanies ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 364 of file AllianceContact.java.

364  {
365  return SqlClause.select("distinct c.contactId.memberId, c.company, c.companyFace").from("AxContact c")
366  .dao(new AlliancePU())
367  .resultList(Object[].class)
368  .stream()
369  .map(c -> (IContact) new AllianceContact(createBusiness((long) c[0], (String) c[1], (String) c[2])))
370  .toList();
371  }

◆ getCompanyRelations()

IRelations org.turro.alliance.contact.AllianceContact.getCompanyRelations ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 152 of file AllianceContact.java.

152  {
153  if(_companies == null) _companies = Relations.companies(this);
154  return _companies;
155  }
Here is the call graph for this function:

◆ getConnector()

String org.turro.alliance.contact.AllianceContact.getConnector ( String  id)

Implements org.turro.plugin.contacts.IContact.

Definition at line 133 of file AllianceContact.java.

133  {
134  return IUser.CONNECTOR_EMAIL.equals(id) ? getEmail() : null;
135  }

◆ getConnectorList()

List<String> org.turro.alliance.contact.AllianceContact.getConnectorList ( String  id)

Implements org.turro.plugin.contacts.IContact.

Definition at line 143 of file AllianceContact.java.

143  {
144  return null;
145  }

◆ getContact()

Object org.turro.alliance.contact.AllianceContact.getContact ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 68 of file AllianceContact.java.

68  {
69  return contact;
70  }
Here is the caller graph for this function:

◆ getCoworkers() [1/2]

List<IContact> org.turro.alliance.contact.AllianceContact.getCoworkers ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 184 of file AllianceContact.java.

184  {
185  return null;
186  }

◆ getCoworkers() [2/2]

List<IContact> org.turro.alliance.contact.AllianceContact.getCoworkers ( IContact  business)

Implements org.turro.plugin.contacts.IContact.

Definition at line 189 of file AllianceContact.java.

189  {
190  return null;
191  }

◆ getDeepGrouping()

String org.turro.alliance.contact.AllianceContact.getDeepGrouping ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 88 of file AllianceContact.java.

88  {
89  return null;
90  }

◆ getEmail()

String org.turro.alliance.contact.AllianceContact.getEmail ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 123 of file AllianceContact.java.

123  {
124  return contact.getEmail();
125  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFace()

String org.turro.alliance.contact.AllianceContact.getFace ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 399 of file AllianceContact.java.

399  {
400  return contact.getFace();
401  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFaces()

Faces org.turro.alliance.contact.AllianceContact.getFaces ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 404 of file AllianceContact.java.

404  {
405  return null;
406  }

◆ getFormal()

String org.turro.alliance.contact.AllianceContact.getFormal ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 108 of file AllianceContact.java.

108  {
109  return contact.getName();
110  }
Here is the call graph for this function:

◆ getFriendly()

String org.turro.alliance.contact.AllianceContact.getFriendly ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 103 of file AllianceContact.java.

103  {
104  return contact.getName();
105  }
Here is the call graph for this function:

◆ getFullName()

String org.turro.alliance.contact.AllianceContact.getFullName ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 113 of file AllianceContact.java.

113  {
114  return contact.getName();
115  }
Here is the call graph for this function:

◆ getGlobalId()

String org.turro.alliance.contact.AllianceContact.getGlobalId ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 78 of file AllianceContact.java.

78  {
79  return null;
80  }

◆ getGrouping()

String org.turro.alliance.contact.AllianceContact.getGrouping ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 83 of file AllianceContact.java.

83  {
84  return null;
85  }

◆ getHHRR()

List<IContact> org.turro.alliance.contact.AllianceContact.getHHRR ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 379 of file AllianceContact.java.

379  {
380  return Collections.EMPTY_LIST;
381  }

◆ getId()

String org.turro.alliance.contact.AllianceContact.getId ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 73 of file AllianceContact.java.

73  {
74  return contact.getContactId().stringify();
75  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLangTranslator()

String org.turro.alliance.contact.AllianceContact.getLangTranslator ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 489 of file AllianceContact.java.

489  {
490  return null;
491  }

◆ getLocale()

Locale org.turro.alliance.contact.AllianceContact.getLocale ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 128 of file AllianceContact.java.

128  {
129  return null;
130  }

◆ getLogged()

IContact org.turro.alliance.contact.AllianceContact.getLogged ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 494 of file AllianceContact.java.

494  {
495  return null;
496  }

◆ getLogin()

String org.turro.alliance.contact.AllianceContact.getLogin ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 93 of file AllianceContact.java.

93  {
94  return contact.getEmail();
95  }
Here is the call graph for this function:

◆ getName()

String org.turro.alliance.contact.AllianceContact.getName ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 98 of file AllianceContact.java.

98  {
99  return contact.getName();
100  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getObject()

Object org.turro.alliance.contact.AllianceContact.getObject ( String  key)

Implements org.turro.plugin.contacts.IContact.

Definition at line 229 of file AllianceContact.java.

229  {
230  return null;
231  }

◆ getPermissions()

FlatPermissions org.turro.alliance.contact.AllianceContact.getPermissions ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 266 of file AllianceContact.java.

266  {
267  if(_permissions == null) {
268  _permissions = new ContactPermissions(this);
269  }
270  return _permissions;
271  }

◆ getProfile()

IProfile org.turro.alliance.contact.AllianceContact.getProfile ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 409 of file AllianceContact.java.

409  {
410  return new Profile(contact);
411  }

◆ getProperty()

String org.turro.alliance.contact.AllianceContact.getProperty ( String  key)
Parameters
keyAttribute's key.
Returns
Attribute's value.

Implements org.turro.elephant.security.IUser.

Definition at line 532 of file AllianceContact.java.

532  {
533  return null;
534  }

◆ getRelations() [1/2]

List<IContact> org.turro.alliance.contact.AllianceContact.getRelations ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 169 of file AllianceContact.java.

169  {
170  return null;
171  }

◆ getRelations() [2/2]

List<IContact> org.turro.alliance.contact.AllianceContact.getRelations ( String  id)

Implements org.turro.plugin.contacts.IContact.

Definition at line 164 of file AllianceContact.java.

164  {
165  return null;
166  }

◆ getStaffRelations()

IRelations org.turro.alliance.contact.AllianceContact.getStaffRelations ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 158 of file AllianceContact.java.

158  {
159  if(_staff == null) _staff = Relations.staff(this);
160  return _staff;
161  }
Here is the call graph for this function:

◆ getStudents()

List<IContact> org.turro.alliance.contact.AllianceContact.getStudents ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 384 of file AllianceContact.java.

384  {
385  return Collections.EMPTY_LIST;
386  }

◆ getSyndications()

List<String> org.turro.alliance.contact.AllianceContact.getSyndications ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 259 of file AllianceContact.java.

259  {
260  return Collections.EMPTY_LIST;
261  }

◆ getTradeName()

String org.turro.alliance.contact.AllianceContact.getTradeName ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 118 of file AllianceContact.java.

118  {
119  return null;
120  }

◆ hasAnyRoleKey()

boolean org.turro.alliance.contact.AllianceContact.hasAnyRoleKey ( String  role)

Implements org.turro.elephant.security.IUser.

Definition at line 542 of file AllianceContact.java.

542  {
543  return false;
544  }

◆ hashCode()

int org.turro.alliance.contact.AllianceContact.hashCode ( )

Definition at line 589 of file AllianceContact.java.

589  {
590  int hash = 5;
591  hash = 13 * hash + Objects.hashCode(this.contact);
592  return hash;
593  }

◆ impersonate()

boolean org.turro.alliance.contact.AllianceContact.impersonate ( String  login)
Parameters
loginUser login.
Returns
True if user was impersonated.

Implements org.turro.elephant.security.IUser.

Definition at line 509 of file AllianceContact.java.

509  {
510  return false;
511  }

◆ impersonateByEmail()

boolean org.turro.alliance.contact.AllianceContact.impersonateByEmail ( String  email)

Implements org.turro.elephant.security.IUser.

Definition at line 514 of file AllianceContact.java.

514  {
515  return impersonate(email);
516  }

◆ isAdmin()

boolean org.turro.alliance.contact.AllianceContact.isAdmin ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 414 of file AllianceContact.java.

414  {
415  return false;
416  }

◆ isCenter()

boolean org.turro.alliance.contact.AllianceContact.isCenter ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 429 of file AllianceContact.java.

429  {
430  return false;
431  }

◆ isCompany()

boolean org.turro.alliance.contact.AllianceContact.isCompany ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 424 of file AllianceContact.java.

424  {
425  return false;
426  }

◆ isDeactivated()

boolean org.turro.alliance.contact.AllianceContact.isDeactivated ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 254 of file AllianceContact.java.

254  {
255  return false;
256  }

◆ isHHRR() [1/2]

boolean org.turro.alliance.contact.AllianceContact.isHHRR ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 454 of file AllianceContact.java.

454  {
455  return false;
456  }

◆ isHHRR() [2/2]

boolean org.turro.alliance.contact.AllianceContact.isHHRR ( IContact  business)

Implements org.turro.plugin.contacts.IContact.

Definition at line 474 of file AllianceContact.java.

474  {
475  return false;
476  }

◆ isInBusiness()

boolean org.turro.alliance.contact.AllianceContact.isInBusiness ( IContact  worker)

Implements org.turro.plugin.contacts.IContact.

Definition at line 194 of file AllianceContact.java.

194  {
195  return false;
196  }

◆ isInNetworking()

boolean org.turro.alliance.contact.AllianceContact.isInNetworking ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 479 of file AllianceContact.java.

479  {
480  return false;
481  }

◆ isInPremiumNetworking()

boolean org.turro.alliance.contact.AllianceContact.isInPremiumNetworking ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 484 of file AllianceContact.java.

484  {
485  return false;
486  }

◆ isInRole()

boolean org.turro.alliance.contact.AllianceContact.isInRole ( String  role)

Usually this method should take this form:

 if(user.isInRole("page:edit")) {
   // edit page
 }
Parameters
roleRole to check.
Returns
True if user is in role.

Implements org.turro.elephant.security.IUser.

Definition at line 537 of file AllianceContact.java.

537  {
538  return false;
539  }

◆ isInternal()

boolean org.turro.alliance.contact.AllianceContact.isInternal ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 434 of file AllianceContact.java.

434  {
435  return false;
436  }

◆ isOutsider()

boolean org.turro.alliance.contact.AllianceContact.isOutsider ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 547 of file AllianceContact.java.

547  {
548  return true;
549  }

◆ isResponsible() [1/2]

boolean org.turro.alliance.contact.AllianceContact.isResponsible ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 449 of file AllianceContact.java.

449  {
450  return false;
451  }

◆ isResponsible() [2/2]

boolean org.turro.alliance.contact.AllianceContact.isResponsible ( IContact  business)

Implements org.turro.plugin.contacts.IContact.

Definition at line 469 of file AllianceContact.java.

469  {
470  return false;
471  }

◆ isStudent() [1/2]

boolean org.turro.alliance.contact.AllianceContact.isStudent ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 444 of file AllianceContact.java.

444  {
445  return false;
446  }

◆ isStudent() [2/2]

boolean org.turro.alliance.contact.AllianceContact.isStudent ( IContact  business)

Implements org.turro.plugin.contacts.IContact.

Definition at line 464 of file AllianceContact.java.

464  {
465  return false;
466  }

◆ isThisUser()

boolean org.turro.alliance.contact.AllianceContact.isThisUser ( String  id)

Implements org.turro.elephant.security.IUser.

Definition at line 527 of file AllianceContact.java.

527  {
528  return contact.getContactId().getEntityId().equals(id);
529  }
Here is the call graph for this function:

◆ isUser()

boolean org.turro.alliance.contact.AllianceContact.isUser ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 419 of file AllianceContact.java.

419  {
420  return true;
421  }

◆ isUserMenu()

boolean org.turro.alliance.contact.AllianceContact.isUserMenu ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 249 of file AllianceContact.java.

249  {
250  return false;
251  }

◆ isValid()

boolean org.turro.alliance.contact.AllianceContact.isValid ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 214 of file AllianceContact.java.

214  {
215  return contact != null;
216  }

◆ isWebapp()

boolean org.turro.alliance.contact.AllianceContact.isWebapp ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 244 of file AllianceContact.java.

244  {
245  return false;
246  }

◆ isWebUser()

boolean org.turro.alliance.contact.AllianceContact.isWebUser ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 239 of file AllianceContact.java.

239  {
240  return true;
241  }

◆ isWorker() [1/2]

boolean org.turro.alliance.contact.AllianceContact.isWorker ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 439 of file AllianceContact.java.

439  {
440  return false;
441  }

◆ isWorker() [2/2]

boolean org.turro.alliance.contact.AllianceContact.isWorker ( IContact  business)

Implements org.turro.plugin.contacts.IContact.

Definition at line 459 of file AllianceContact.java.

459  {
460  return false;
461  }

◆ loadByEmail()

IContact org.turro.alliance.contact.AllianceContact.loadByEmail ( String  email)

Implements org.turro.plugin.contacts.IContact.

Definition at line 329 of file AllianceContact.java.

329  {
330  return null;
331  }

◆ loadById()

Object org.turro.alliance.contact.AllianceContact.loadById ( String  id)

Implements org.turro.plugin.contacts.IContact.

Definition at line 289 of file AllianceContact.java.

289  {
290  ProcedenceId contactId = ProcedenceId.from(id);
291  if(contactId != null) {
292  AxContact c = new AlliancePU().find(AxContact.class, contactId);
293  if(c != null) {
294  init(c);
295  }
296  }
297  return this;
298  }
Here is the call graph for this function:

◆ loadByLogin()

Object org.turro.alliance.contact.AllianceContact.loadByLogin ( String  login)

Implements org.turro.plugin.contacts.IContact.

Definition at line 301 of file AllianceContact.java.

301  {
302  init(null);
303  return null;
304  }

◆ loadByName()

IContact org.turro.alliance.contact.AllianceContact.loadByName ( String  name)

Implements org.turro.plugin.contacts.IContact.

Definition at line 324 of file AllianceContact.java.

324  {
325  return null;
326  }

◆ loadByPartialName() [1/2]

List<IContact> org.turro.alliance.contact.AllianceContact.loadByPartialName ( String  name)

Implements org.turro.plugin.contacts.IContact.

Definition at line 314 of file AllianceContact.java.

314  {
315  return null;
316  }

◆ loadByPartialName() [2/2]

List<IContact> org.turro.alliance.contact.AllianceContact.loadByPartialName ( String  name,
KeyValueMap  kvm 
)

Implements org.turro.plugin.contacts.IContact.

Definition at line 319 of file AllianceContact.java.

319  {
320  return null;
321  }

◆ loadLogged()

Object org.turro.alliance.contact.AllianceContact.loadLogged ( Application  app)

Implements org.turro.plugin.contacts.IContact.

Definition at line 307 of file AllianceContact.java.

307  {
308  IUser user = app.getConstructor().getUser();
309  init((AxContact) ((IContact) user).getContact());
310  return user;
311  }
Here is the call graph for this function:

◆ reload()

void org.turro.alliance.contact.AllianceContact.reload ( )

◆ resetPermissions()

void org.turro.alliance.contact.AllianceContact.resetPermissions ( )

Implements org.turro.plugin.contacts.IContact.

Definition at line 274 of file AllianceContact.java.

274  {
275  // do nothing
276  }

◆ setAttribute()

void org.turro.alliance.contact.AllianceContact.setAttribute ( String  key,
Object  value 
)

Implements org.turro.plugin.contacts.IContact.

Definition at line 334 of file AllianceContact.java.

334  {
335  // do nothing
336  }

◆ setConnector()

void org.turro.alliance.contact.AllianceContact.setConnector ( String  id,
String  value 
)

Implements org.turro.plugin.contacts.IContact.

Definition at line 138 of file AllianceContact.java.

138  {
139  // do nothing
140  }

◆ setContact()

void org.turro.alliance.contact.AllianceContact.setContact ( Object  contact)

Implements org.turro.plugin.contacts.IContact.

Definition at line 61 of file AllianceContact.java.

61  {
62  if(contact instanceof AxContact) {
63  init((AxContact) contact);
64  }
65  }

◆ setName()

void org.turro.alliance.contact.AllianceContact.setName ( String  value)

Implements org.turro.plugin.contacts.IContact.

Definition at line 199 of file AllianceContact.java.

199  {
200  // do nothing
201  }

◆ setObject()

void org.turro.alliance.contact.AllianceContact.setObject ( String  key,
Serializable  value 
)

Implements org.turro.plugin.contacts.IContact.

Definition at line 234 of file AllianceContact.java.

234  {
235  // do nothing
236  }

◆ setPassword()

void org.turro.alliance.contact.AllianceContact.setPassword ( String  newValue,
String  repeatValue 
)

Implements org.turro.plugin.contacts.IContact.

Definition at line 204 of file AllianceContact.java.

204  {
205  // do nothing
206  }

◆ startContactFromValues()

void org.turro.alliance.contact.AllianceContact.startContactFromValues ( KeyValueMap  values)

Implements org.turro.plugin.contacts.IContact.

Definition at line 389 of file AllianceContact.java.

389  {
390  // do nothing
391  }

◆ syndicate()

void org.turro.alliance.contact.AllianceContact.syndicate ( String  syndicationName,
boolean  syndicate 
)

Implements org.turro.plugin.contacts.IContact.

Definition at line 394 of file AllianceContact.java.

394  {
395  // do nothing
396  }

◆ validate()

boolean org.turro.alliance.contact.AllianceContact.validate ( String  login,
String  password 
)
Parameters
loginUser login.
passwordUser password.
Returns
True if user was validated.

Implements org.turro.elephant.security.IUser.

Definition at line 499 of file AllianceContact.java.

499  {
500  return false;
501  }

◆ validate2()

boolean org.turro.alliance.contact.AllianceContact.validate2 ( String  password2)
Parameters
password2User password2.
Returns
True if user validates password2.

Implements org.turro.elephant.security.IUser.

Definition at line 504 of file AllianceContact.java.

504  {
505  return false;
506  }

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