|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityApplicationModel
A central application model class.
Method Summary | |
---|---|
EntityModel |
addMainApplicationModel(EntityModel detailModel)
Adds the given detail model to this model |
void |
addMainApplicationModels(EntityModel... mainApplicationModels)
Adds the given detail models to this model. |
EntityConnectionProvider |
getConnectionProvider()
|
EntityModel |
getMainApplicationModel(Class<? extends EntityModel> modelClass)
|
EntityModel |
getMainApplicationModel(String entityID)
|
List<? extends EntityModel> |
getMainApplicationModels()
|
User |
getUser()
|
void |
login(User user)
Logs in the given user |
void |
logout()
Log out from this application model |
Methods inherited from interface org.jminor.common.model.Refreshable |
---|
clear, refresh |
Method Detail |
---|
void logout()
void login(User user)
user
- the user to loginUser getUser()
EntityConnectionProvider getConnectionProvider()
void addMainApplicationModels(EntityModel... mainApplicationModels)
mainApplicationModels
- the detail models to addEntityModel addMainApplicationModel(EntityModel detailModel)
detailModel
- the detail model
List<? extends EntityModel> getMainApplicationModels()
EntityModel getMainApplicationModel(Class<? extends EntityModel> modelClass)
modelClass
- the model class
EntityModel getMainApplicationModel(String entityID)
entityID
- the entity ID
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |