|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public AccessControlModel
Interface for a access control model.
| Method Summary | |
|---|---|
Boolean |
isInitialized()
Indicates if the model is initialized.for the underlying resource. |
User |
getOwner()
Returns the owner of the resource |
void |
setOwner(User user)
Sets a new owner for the resource |
Boolean |
confirmSetOwner(User user)
Confirms whether setting a new owner is possible. |
RoleModel |
getRoleModel()
Same as getRoleModel(true). |
RoleModel |
getRoleModel(Boolean create)
Returns the role model for the given access control model. |
Boolean |
confirmGetRoleModel()
Confirms whether getting the role model is possible |
DeferredOperation |
commit()
Commits the modifications applied to this model and all dependent models. |
| Methods inherited from interface com.ibm.mashups.enabler.model.Model |
|---|
setStrategy, getStrategies, getStrategy, addStrategy, removeStrategy |
| Method Detail |
|---|
Boolean isInitialized()
true if the model is initialized, false otherwiseUser getOwner()
null.void setOwner(User user)
user -
the new owner for the resource. Must not be null.Boolean confirmSetOwner(User user)
user -
new owner to set; must not be null
true if the new owner can be set, false otherwise.RoleModel getRoleModel()
null.RoleModel getRoleModel(Boolean create)
create -
defines whether the role model should be created if it is not available
null if called with create equals false.Boolean confirmGetRoleModel()
true if retrieving the role model is possible, false otherwiseDeferredOperation commit()
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||