|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.datacrow.core.objects.DcObject
net.datacrow.core.objects.DcAssociate
public class DcAssociate
Represents companies and persons.
Field Summary | |
---|---|
static int |
_A_NAME
|
static int |
_B_DESCRIPTION
|
static int |
_C_WEBPAGE
|
static int |
_D_PHOTO
|
static int |
_E_FIRSTNAME
|
static int |
_F_LASTTNAME
|
Fields inherited from class net.datacrow.core.objects.DcObject |
---|
_ID, _SYS_AVAILABLE, _SYS_CONTAINER, _SYS_CREATED, _SYS_DISPLAYVALUE, _SYS_EXTERNAL_REFERENCES, _SYS_FILEHASH, _SYS_FILEHASHTYPE, _SYS_FILENAME, _SYS_FILESIZE, _SYS_LENDBY, _SYS_LOANDUEDATE, _SYS_LOANDURATION, _SYS_LOANENDDATE, _SYS_LOANSTARTDATE, _SYS_LOANSTATUS, _SYS_LOANSTATUSDAYS, _SYS_MODIFIED, _SYS_MODULE, _SYS_SERVICE, _SYS_SERVICEURL, _VALUE, children |
Constructor Summary | |
---|---|
DcAssociate(int module)
Creates a new instance. |
Method Summary | |
---|---|
void |
applyEnhancers(boolean update)
Applies the enhancers on this item. |
protected void |
beforeSave()
Executed before inserting or updating the item. |
int |
getDefaultSortFieldIdx()
The default sort field index. |
java.lang.String |
getName()
Returns the name of this object based on the field settings. |
java.lang.String |
getNameNormal()
Returns the name formatted as First name, Last name. |
int |
getSystemDisplayFieldIdx()
|
void |
setName()
Sets the various name parts. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _A_NAME
public static final int _B_DESCRIPTION
public static final int _C_WEBPAGE
public static final int _D_PHOTO
public static final int _E_FIRSTNAME
public static final int _F_LASTTNAME
Constructor Detail |
---|
public DcAssociate(int module)
module
- Method Detail |
---|
protected void beforeSave() throws ValidationException
beforeSave
in class DcObject
ValidationException
public int getDefaultSortFieldIdx()
DcObject
getDefaultSortFieldIdx
in class DcObject
public void applyEnhancers(boolean update)
applyEnhancers
in class DcObject
update
- Indicates if the item is new or existing.ValueEnhancers
public void setName()
public int getSystemDisplayFieldIdx()
getSystemDisplayFieldIdx
in class DcObject
public java.lang.String toString()
toString
in class DcObject
public java.lang.String getName()
DcObject
getName
in class DcObject
public java.lang.String getNameNormal()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |