BrightSide Workbench Full Report + Source Code
elephant-plugins/src/main/java/org/turro/plugin/contacts/IContact.java
Go to the documentation of this file.
1
/*
2
* TurrĂ³ i Cutiller Foundation. License notice.
3
* Copyright (C) 2011 Lluis TurrĂ³ Cutiller <http://www.turro.org/>
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU Affero General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU Affero General Public License for more details.
14
*
15
* You should have received a copy of the GNU Affero General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
package
org.turro.plugin.contacts;
19
20
import
java.io.Serializable;
21
import
java.util.List;
22
import
org.turro.elephant.context.Application;
23
28
public
interface
IContact {
29
30
public
Object
loadById
(String
id
);
31
public
Object
loadByLogin
(String login);
32
public
Object
loadLogged
(
Application
app);
33
public
void
setContact
(Object contact);
34
public
Object
getContact
();
35
public
String
getId
();
36
public
String
getGlobalId
();
37
public
String
getLogin
();
38
public
String
getName
();
39
public
String
getConnector
(String
id
);
40
public
void
setConnector
(String
id
, String value);
41
public
List<IContact>
getRelations
(String
id
);
42
public
void
setName
(String value);
43
public
void
setPassword
(String newValue, String repeatValue);
44
public
void
setApplication
(
Application
app);
45
public
void
applyChanges
();
46
public
boolean
isValid
();
47
public
boolean
checkPassword
(String password);
48
public
String
getCommentValue
(String key);
49
public
Object
getObject
(String key);
50
public
void
setObject
(String key, Serializable value);
51
public
boolean
isWebUser
();
52
public
List<IContact>
loadByPartialName
(String name);
53
public
IContact
loadByName
(String name);
54
55
/* Trasient */
56
public
void
setAttribute
(String key, Object value);
57
public
Object
getAttribute
(String key);
58
59
}
org.turro.elephant.context.Application
Definition:
Application.java:49
org.turro.plugin.contacts.IContact
Definition:
elephant/src/main/java/org/turro/plugin/contacts/IContact.java:33
org.turro.plugin.contacts.IContact.isWebUser
boolean isWebUser()
org.turro.plugin.contacts.IContact.loadById
Object loadById(String id)
org.turro.plugin.contacts.IContact.getConnector
String getConnector(String id)
org.turro.plugin.contacts.IContact.applyChanges
void applyChanges()
org.turro.plugin.contacts.IContact.getLogin
String getLogin()
org.turro.plugin.contacts.IContact.setApplication
void setApplication(Application app)
org.turro.plugin.contacts.IContact.loadLogged
Object loadLogged(Application app)
org.turro.plugin.contacts.IContact.loadByName
IContact loadByName(String name)
org.turro.plugin.contacts.IContact.getCommentValue
String getCommentValue(String key)
org.turro.plugin.contacts.IContact.getObject
Object getObject(String key)
org.turro.plugin.contacts.IContact.isValid
boolean isValid()
org.turro.plugin.contacts.IContact.setPassword
void setPassword(String newValue, String repeatValue)
org.turro.plugin.contacts.IContact.setAttribute
void setAttribute(String key, Object value)
org.turro.plugin.contacts.IContact.getGlobalId
String getGlobalId()
org.turro.plugin.contacts.IContact.setContact
void setContact(Object contact)
org.turro.plugin.contacts.IContact.setObject
void setObject(String key, Serializable value)
org.turro.plugin.contacts.IContact.getContact
Object getContact()
org.turro.plugin.contacts.IContact.checkPassword
boolean checkPassword(String password)
org.turro.plugin.contacts.IContact.loadByPartialName
List< IContact > loadByPartialName(String name)
org.turro.plugin.contacts.IContact.getId
String getId()
org.turro.plugin.contacts.IContact.setName
void setName(String value)
org.turro.plugin.contacts.IContact.getAttribute
Object getAttribute(String key)
org.turro.plugin.contacts.IContact.getRelations
List< IContact > getRelations(String id)
org.turro.plugin.contacts.IContact.setConnector
void setConnector(String id, String value)
org.turro.plugin.contacts.IContact.getName
String getName()
org.turro.plugin.contacts.IContact.loadByLogin
Object loadByLogin(String login)
TurroProjects
Public
Elephant
elephant-plugins
src
main
java
org
turro
plugin
contacts
IContact.java
Generated on Tue Mar 12 2024 07:01:19 for BrightSide by
1.9.1