◆ doFinally()
void org.turro.contacts.profile.EditRelationControl.doFinally |
( |
| ) |
|
|
protected |
Reimplemented from org.turro.elephant.TemplateControl.
Definition at line 112 of file EditRelationControl.java.
114 KeyValueMap kvm = Actions.getRightNowAction(Application.getApplication().getConstructor());
116 if(kvm.containsKey(
"relation")) {
117 relation =
new ContactsPU().find(BusinessRelation.class, kvm.get(
"relation"));
118 }
else if(kvm.containsKey(
"element")) {
120 if(kvm !=
null && kvm.containsKey(
"contact")) {
121 contact = Contacts.getContactById(kvm.get(
"contact"));
123 contact = Authentication.getIContact();
125 relation =
new BusinessRelation();
126 relation.
setContact((Contact) contact.getContact());
◆ getPath()
String org.turro.contacts.profile.EditRelationControl.getPath |
( |
| ) |
|
◆ getType()
String org.turro.contacts.profile.EditRelationControl.getType |
( |
| ) |
|
◆ onBusiness()
void org.turro.contacts.profile.EditRelationControl.onBusiness |
( |
| ) |
|
◆ onCancel()
void org.turro.contacts.profile.EditRelationControl.onCancel |
( |
| ) |
|
◆ onEnd()
void org.turro.contacts.profile.EditRelationControl.onEnd |
( |
| ) |
|
◆ onPosition()
void org.turro.contacts.profile.EditRelationControl.onPosition |
( |
| ) |
|
◆ onSave()
void org.turro.contacts.profile.EditRelationControl.onSave |
( |
| ) |
|
Definition at line 82 of file EditRelationControl.java.
84 new ContactsPU().saveObject(relation);
85 Application.getApplication().sendRedirect(path);
86 sendNotification(relation);
◆ onStart()
void org.turro.contacts.profile.EditRelationControl.onStart |
( |
| ) |
|
◆ setPath()
void org.turro.contacts.profile.EditRelationControl.setPath |
( |
String |
path | ) |
|
◆ setType()
void org.turro.contacts.profile.EditRelationControl.setType |
( |
String |
type | ) |
|
The documentation for this class was generated from the following file: