|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.keel.services.model.StandardModel
org.keel.services.model.StandardLogEnabledModel
org.keel.services.model.SecurableStandardLogEnabledModel
org.keel.apps.crud.models.CrudBase
org.keel.apps.crud.models.UpdateBase
org.keel.apps.crud.models.Add
Model to perform the Add operation (Create new record). Altered by Santanu Dutt to make this model implement the Securable lifecycle interface for authorization.
PromptAdd| Field Summary | |
private AuthorizationManager |
am |
| Fields inherited from class org.keel.apps.crud.models.CrudBase |
ADD, CRUD, DELETE, LIST, noPaging, prefix, PROMPT, PROMPT_ADD, PROMPT_QUERY, PROMPT_UPDATE, QUERY, SELECT_PERSISTENT, suffix, UPDATE |
| Fields inherited from class org.keel.services.model.StandardLogEnabledModel |
log |
| Fields inherited from class org.keel.services.model.StandardModel |
configuration |
| Fields inherited from interface org.keel.services.model.Model |
ROLE |
| Constructor Summary | |
Add() |
|
| Method Summary | |
ModelResponse |
execute(ModelRequest req)All of the sub-classes of this class extend the execute method to perform their functionality. |
AuthorizationManager |
getAuthorizationManager() |
void |
setAuthorizationManager(AuthorizationManager newManager)Provide the service with a security manager. |
| Methods inherited from class org.keel.apps.crud.models.UpdateBase |
showKey |
| Methods inherited from class org.keel.apps.crud.models.CrudBase |
addCriteria, addParameters, countRecords, decode, getCurrentPage, getEndRecord, getFixedFields, getMasterDetail, getPageNumber, getPersistent, getPersistentName, getPrefixes, getSortFieldsParam, getStartRecord, isShowNext, isShowPrev, saveSettings, setCurrentPage, setEndRecord, setShowNext, setShowPrev, setStartRecord, showEditLink, showOptions, showUserName |
| Methods inherited from class org.keel.services.model.StandardLogEnabledModel |
enableLogging |
| Methods inherited from class org.keel.services.model.StandardModel |
configure, getConfiguration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private AuthorizationManager am
| Constructor Detail |
public Add()
| Method Detail |
public ModelResponse execute(ModelRequest req)
throws ModelException
CrudBaseexecute in interface Modelexecute in class CrudBaseModelExceptionModel
public void setAuthorizationManager(AuthorizationManager newManager)
throws ServiceException
SecurablesetAuthorizationManager in interface SecurablesetAuthorizationManager in class SecurableStandardLogEnabledModelServiceExceptionpublic AuthorizationManager getAuthorizationManager()
getAuthorizationManager in interface SecurablegetAuthorizationManager in class SecurableStandardLogEnabledModelSecurable.getAuthorizationManager()
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||