|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.com.arsmachina.tapestrycrud.base.BasePage<T,K>
br.com.arsmachina.tapestrycrud.base.BaseEditPage<br.com.arsmachina.authentication.entity.User,Integer>
br.com.arsmachina.example.web.pages.user.EditUser
@Secured(value="ROLE_MANAGER") public class EditUser
User edit page.
| Constructor Summary | |
|---|---|
EditUser()
|
|
| Method Summary | |
|---|---|
SelectModel |
getPermissionGroupsSM()
Returns a SelectModel for the permissionGroups property. |
ValueEncoder<br.com.arsmachina.authentication.entity.PermissionGroup> |
getPermissionGroupsVE()
Returns a ValueEncoder for the PermissionGroups property. |
SelectModel |
getRemovedPermissionsSM()
Returns a SelectModel for the removedPermissions property. |
ValueEncoder<br.com.arsmachina.authentication.entity.Permission> |
getRemovedPermissionsVE()
Returns a ValueEncoder for the removedPermissions property. |
boolean |
isManager()
Returns the value of the manager property. |
protected void |
prepareObjectForSaveOrUpdate()
Adds or removes the Manager role according to the manager property. |
void |
setManager(boolean manager)
Changes the value of the manager property. |
| Methods inherited from class br.com.arsmachina.tapestrycrud.base.BaseEditPage |
|---|
addError, clearObject, createNewObject, getForm, getListPage, getObject, getZone, onPassivate, prepare, returnFromRemove, saveOrUpdate, setObject, setSaveOrUpdateSuccessMessage, validate, validateObject |
| Methods inherited from class br.com.arsmachina.tapestrycrud.base.BasePage |
|---|
filterReadOnlyComponentsInBeanModel, getActivationContextEncoder, getController, getEntityClass, getLabelEncoder, getMessage, getMessages, getPrimaryKeyClass, getPrimaryKeyEncoder, getSelectModelFactory, getValueEncoder, returnZoneOnXHR, setMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface br.com.arsmachina.tapestrycrud.CrudPage |
|---|
getEntityClass, getMessage, getPrimaryKeyClass, setMessage |
| Constructor Detail |
|---|
public EditUser()
| Method Detail |
|---|
protected void prepareObjectForSaveOrUpdate()
Manager role according to the manager property.
prepareObjectForSaveOrUpdate in class br.com.arsmachina.tapestrycrud.base.BaseEditPage<br.com.arsmachina.authentication.entity.User,Integer>BaseEditPage.prepareObjectForSaveOrUpdate()public boolean isManager()
manager property.
boolean.public void setManager(boolean manager)
manager property.
manager - a boolean.public SelectModel getPermissionGroupsSM()
SelectModel for the permissionGroups property.
SelectModel.public ValueEncoder<br.com.arsmachina.authentication.entity.PermissionGroup> getPermissionGroupsVE()
ValueEncoder for the PermissionGroups property.
ValueEncoder.public SelectModel getRemovedPermissionsSM()
SelectModel for the removedPermissions property.
SelectModel.public ValueEncoder<br.com.arsmachina.authentication.entity.Permission> getRemovedPermissionsVE()
ValueEncoder for the removedPermissions property.
ValueEncoder.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||