|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProfileManager
The profile manager. Via this component you can get the profile (or parts of it) of the current 'user'.
Field Summary | |
---|---|
static String |
ROLE
|
Method Summary | |
---|---|
CopletData |
getCopletData(String copletDataId)
Return the coplet data object |
Collection |
getCopletDatas()
Get all coplets |
List |
getCopletInstanceData(CopletData data)
|
CopletInstanceData |
getCopletInstanceData(String copletID)
|
Collection |
getCopletInstanceDatas()
Get all instances |
Layout |
getPortalLayout(String layoutKey,
String layoutID)
Get the portal layout defined by the layout key. |
PortalUser |
getUser()
Get current user information |
void |
login()
This method is invoked when the user logs into the portal. |
void |
logout()
This method is invoked when the user logs out of the portal |
void |
register(CopletInstanceData coplet)
New coplet instance datas have to be registered using this method. |
void |
register(Layout layout)
New layouts have to be registered using this method. |
void |
saveUserCopletInstanceDatas(String layoutKey)
Save the coplet instance data |
void |
saveUserLayout(String layoutKey)
Save the layout |
void |
saveUserProfiles(String layoutKey)
Save the profile. |
void |
storeProfile(Layout rootLayout,
String layoutKey)
Store the provided profile under the layoutKey. |
void |
unregister(CopletInstanceData coplet)
Removed coplet instance datas have to be unregistered using this method. |
void |
unregister(Layout layout)
New layouts have to be unregistered using this method. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
Layout getPortalLayout(String layoutKey, String layoutID)
layoutKey
- A key describing the layout or null for the defaultlayoutID
- The id of a layout object or null for the root object
CopletInstanceData getCopletInstanceData(String copletID)
List getCopletInstanceData(CopletData data)
CopletData getCopletData(String copletDataId)
void login()
void logout()
void register(CopletInstanceData coplet)
void unregister(CopletInstanceData coplet)
void register(Layout layout)
void unregister(Layout layout)
void saveUserProfiles(String layoutKey)
saveUserCopletInstanceDatas(String)
and saveUserLayout(String)
, but implementations are free to
implement this method in a different way.
layoutKey
- void saveUserLayout(String layoutKey)
layoutKey
- void saveUserCopletInstanceDatas(String layoutKey)
layoutKey
- Collection getCopletInstanceDatas()
Collection getCopletDatas()
void storeProfile(Layout rootLayout, String layoutKey)
PortalUser getUser()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |