|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPartner
An IPartner is just anybody or anything that contacts us
Field Summary | |
---|---|
static java.lang.String |
FLD_NAME1
|
static java.lang.String |
FLD_NAME2
|
static java.lang.String |
FLD_NAME3
|
static int |
TYPE_ADMIN
This partner is an admin of this system |
static int |
TYPE_CLIENT
This partner is a client/patient etc. |
static int |
TYPE_MANAGER
This partner is a manager (- sub-admin-) of this system |
static int |
TYPE_MANDATOR
This partner is a mandator for this system |
static int |
TYPE_ORGANIZATION
This partner is an organization |
static int |
TYPE_PERSON
This partner is a person |
static int |
TYPE_USER
This partner is a user of this system |
Fields inherited from interface ch.elexis.core.data.IPersistentObject |
---|
DELETED, FLD_DATE, FLD_DELETED, FLD_EXTINFO, FLD_ID, FLD_LASTUPDATE, MATCH_AUTO, MATCH_CONTAINS, MATCH_EXACT, MATCH_REGEXP, MATCH_START, STATE_EXISTING, STATE_INEXISTENT, STATE_INVALID_ID |
Method Summary | |
---|---|
ContactInfo |
getContactInfo(java.lang.String type)
Get the ContactInfo of a given type |
ContactInfo[] |
getContactInfos()
Retrieve all ContactInfos linked to this partner |
java.lang.String |
getContactSalutation()
Retrieve the preferred salutation for this partner |
int |
getPartnerRoles()
get the role info of this partner |
boolean |
hasRole(int role)
Ask whether this partner has a given role |
void |
setPartnerRoles(int roles)
set the role info of this parner |
Methods inherited from interface ch.elexis.core.data.IPersistentObject |
---|
addChangeListener, addSticker, addXid, exists, get, get, getId, getInt, getLabel, getLastUpdate, getMap, getSticker, getStickers, getXid, getXid, getXids, isAvailable, isDeleted, isDragOK, isMatching, isMatching, isMatching, isMatching, isValid, removeChangeListener, removeSticker, set, set, setInt, setMap, state, storeToString |
Field Detail |
---|
static final java.lang.String FLD_NAME1
static final java.lang.String FLD_NAME2
static final java.lang.String FLD_NAME3
static final int TYPE_PERSON
static final int TYPE_ORGANIZATION
static final int TYPE_CLIENT
static final int TYPE_USER
static final int TYPE_MANDATOR
static final int TYPE_MANAGER
static final int TYPE_ADMIN
Method Detail |
---|
int getPartnerRoles()
void setPartnerRoles(int roles)
roles
- an integer consisting of OR'ed role valuesboolean hasRole(int role)
role
- a role value
java.lang.String getContactSalutation()
ContactInfo[] getContactInfos()
ContactInfo
ContactInfo getContactInfo(java.lang.String type)
type
- type to retrieve, e.g. CITYPE_HOME or CITYPE_WORK. If null, the default will be retrieved
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |