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< IContact > | getRelations (String id) |
List< IContact > | getRelations () |
IContact | getBusiness () |
List< IContact > | getBusinessList () |
List< IContact > | getCoworkers () |
List< IContact > | getCoworkers (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< IContact > | loadByPartialName (String name) |
List< IContact > | loadByPartialName (String name, KeyValueMap kvm) |
IContact | loadByName (String name) |
IContact | loadByEmail (String email) |
void | setAttribute (String key, Object value) |
Object | getAttribute (String key) |
List< IContact > | getBySyndication (String syndication) |
List< IContact > | getByRole (String role) |
List< IContact > | getByGrouping (String grouping) |
List< IContact > | getByGrouping (List< String > groupings) |
List< IContact > | getCompanies () |
List< IContact > | getCenters () |
List< IContact > | getHHRR () |
List< IContact > | getStudents () |
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" |
Definition at line 49 of file AllianceContact.java.
org.turro.alliance.contact.AllianceContact.AllianceContact | ( | ) |
Definition at line 53 of file AllianceContact.java.
org.turro.alliance.contact.AllianceContact.AllianceContact | ( | AxContact | contact | ) |
Definition at line 56 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.accepts | ( | Object | object | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 552 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.acceptsLang | ( | String | lang | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 284 of file AllianceContact.java.
void org.turro.alliance.contact.AllianceContact.applyChanges | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 209 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.checkPassword | ( | String | password | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 219 of file AllianceContact.java.
int org.turro.alliance.contact.AllianceContact.compareTo | ( | IContact | o | ) |
boolean org.turro.alliance.contact.AllianceContact.equals | ( | Object | obj | ) |
Implements org.turro.elephant.security.IUser.
Definition at line 596 of file AllianceContact.java.
IUser org.turro.alliance.contact.AllianceContact.getAsUser | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 279 of file AllianceContact.java.
Object org.turro.alliance.contact.AllianceContact.getAttribute | ( | String | key | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 339 of file AllianceContact.java.
IContact org.turro.alliance.contact.AllianceContact.getBusiness | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 174 of file AllianceContact.java.
List<IContact> org.turro.alliance.contact.AllianceContact.getBusinessList | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 179 of file AllianceContact.java.
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.
List<IContact> org.turro.alliance.contact.AllianceContact.getByGrouping | ( | String | grouping | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 354 of file AllianceContact.java.
List<IContact> org.turro.alliance.contact.AllianceContact.getByRole | ( | String | role | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 349 of file AllianceContact.java.
List<IContact> org.turro.alliance.contact.AllianceContact.getBySyndication | ( | String | syndication | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 344 of file AllianceContact.java.
List<IContact> org.turro.alliance.contact.AllianceContact.getCenters | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 374 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getCommentValue | ( | String | key | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 224 of file AllianceContact.java.
List<IContact> org.turro.alliance.contact.AllianceContact.getCompanies | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 364 of file AllianceContact.java.
IRelations org.turro.alliance.contact.AllianceContact.getCompanyRelations | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 152 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getConnector | ( | String | id | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 133 of file AllianceContact.java.
List<String> org.turro.alliance.contact.AllianceContact.getConnectorList | ( | String | id | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 143 of file AllianceContact.java.
Object org.turro.alliance.contact.AllianceContact.getContact | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 68 of file AllianceContact.java.
List<IContact> org.turro.alliance.contact.AllianceContact.getCoworkers | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 184 of file AllianceContact.java.
Implements org.turro.plugin.contacts.IContact.
Definition at line 189 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getDeepGrouping | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 88 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getEmail | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 123 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getFace | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 399 of file AllianceContact.java.
Faces org.turro.alliance.contact.AllianceContact.getFaces | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 404 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getFormal | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 108 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getFriendly | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 103 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getFullName | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 113 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getGlobalId | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 78 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getGrouping | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 83 of file AllianceContact.java.
List<IContact> org.turro.alliance.contact.AllianceContact.getHHRR | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 379 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getId | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 73 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getLangTranslator | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 489 of file AllianceContact.java.
Locale org.turro.alliance.contact.AllianceContact.getLocale | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 128 of file AllianceContact.java.
IContact org.turro.alliance.contact.AllianceContact.getLogged | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 494 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getLogin | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 93 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getName | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 98 of file AllianceContact.java.
Object org.turro.alliance.contact.AllianceContact.getObject | ( | String | key | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 229 of file AllianceContact.java.
FlatPermissions org.turro.alliance.contact.AllianceContact.getPermissions | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 266 of file AllianceContact.java.
IProfile org.turro.alliance.contact.AllianceContact.getProfile | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 409 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getProperty | ( | String | key | ) |
key | Attribute's key. |
Implements org.turro.elephant.security.IUser.
Definition at line 532 of file AllianceContact.java.
List<IContact> org.turro.alliance.contact.AllianceContact.getRelations | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 169 of file AllianceContact.java.
List<IContact> org.turro.alliance.contact.AllianceContact.getRelations | ( | String | id | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 164 of file AllianceContact.java.
IRelations org.turro.alliance.contact.AllianceContact.getStaffRelations | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 158 of file AllianceContact.java.
List<IContact> org.turro.alliance.contact.AllianceContact.getStudents | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 384 of file AllianceContact.java.
List<String> org.turro.alliance.contact.AllianceContact.getSyndications | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 259 of file AllianceContact.java.
String org.turro.alliance.contact.AllianceContact.getTradeName | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 118 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.hasAnyRoleKey | ( | String | role | ) |
Implements org.turro.elephant.security.IUser.
Definition at line 542 of file AllianceContact.java.
int org.turro.alliance.contact.AllianceContact.hashCode | ( | ) |
Definition at line 589 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.impersonate | ( | String | login | ) |
login | User login. |
Implements org.turro.elephant.security.IUser.
Definition at line 509 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.impersonateByEmail | ( | String | ) |
Implements org.turro.elephant.security.IUser.
Definition at line 514 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isAdmin | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 414 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isCenter | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 429 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isCompany | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 424 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isDeactivated | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 254 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isHHRR | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 454 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isHHRR | ( | IContact | business | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 474 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isInBusiness | ( | IContact | worker | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 194 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isInNetworking | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 479 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isInPremiumNetworking | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 484 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isInRole | ( | String | role | ) |
Usually this method should take this form:
if(user.isInRole("page:edit")) { // edit page }
role | Role to check. |
Implements org.turro.elephant.security.IUser.
Definition at line 537 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isInternal | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 434 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isOutsider | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 547 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isResponsible | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 449 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isResponsible | ( | IContact | business | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 469 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isStudent | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 444 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isStudent | ( | IContact | business | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 464 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isThisUser | ( | String | id | ) |
Implements org.turro.elephant.security.IUser.
Definition at line 527 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isUser | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 419 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isUserMenu | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 249 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isValid | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 214 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isWebapp | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 244 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isWebUser | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 239 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isWorker | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 439 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.isWorker | ( | IContact | business | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 459 of file AllianceContact.java.
IContact org.turro.alliance.contact.AllianceContact.loadByEmail | ( | String | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 329 of file AllianceContact.java.
Object org.turro.alliance.contact.AllianceContact.loadById | ( | String | id | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 289 of file AllianceContact.java.
Object org.turro.alliance.contact.AllianceContact.loadByLogin | ( | String | login | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 301 of file AllianceContact.java.
IContact org.turro.alliance.contact.AllianceContact.loadByName | ( | String | name | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 324 of file AllianceContact.java.
List<IContact> org.turro.alliance.contact.AllianceContact.loadByPartialName | ( | String | name | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 314 of file AllianceContact.java.
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.
Object org.turro.alliance.contact.AllianceContact.loadLogged | ( | Application | app | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 307 of file AllianceContact.java.
void org.turro.alliance.contact.AllianceContact.reload | ( | ) |
Implements org.turro.elephant.security.IUser.
Definition at line 519 of file AllianceContact.java.
void org.turro.alliance.contact.AllianceContact.resetPermissions | ( | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 274 of file AllianceContact.java.
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.
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.
void org.turro.alliance.contact.AllianceContact.setContact | ( | Object | contact | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 61 of file AllianceContact.java.
void org.turro.alliance.contact.AllianceContact.setName | ( | String | value | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 199 of file AllianceContact.java.
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.
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.
void org.turro.alliance.contact.AllianceContact.startContactFromValues | ( | KeyValueMap | values | ) |
Implements org.turro.plugin.contacts.IContact.
Definition at line 389 of file AllianceContact.java.
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.
boolean org.turro.alliance.contact.AllianceContact.validate | ( | String | login, |
String | password | ||
) |
login | User login. |
password | User password. |
Implements org.turro.elephant.security.IUser.
Definition at line 499 of file AllianceContact.java.
boolean org.turro.alliance.contact.AllianceContact.validate2 | ( | String | password2 | ) |
password2 | User password2. |
Implements org.turro.elephant.security.IUser.
Definition at line 504 of file AllianceContact.java.