|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
Profile |
getProfile(String profileName)
Get the profile for the given profile key. |
PortalUser |
getUser()
Get current user information |
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 |
unregister(Layout layout)
New layouts have to be unregistered using this method. |
Field Detail |
public static final String ROLE
Method Detail |
public 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
public CopletInstanceData getCopletInstanceData(String copletID)
public List getCopletInstanceData(CopletData data)
public CopletData getCopletData(String copletDataId)
public void register(Layout layout)
public void unregister(Layout layout)
public void saveUserProfiles(String layoutKey)
saveUserCopletInstanceDatas(String)
and saveUserLayout(String)
, but implementations are free to
implement this method in a different way.
layoutKey
- public void saveUserLayout(String layoutKey)
layoutKey
- public void saveUserCopletInstanceDatas(String layoutKey)
layoutKey
- public Collection getCopletInstanceDatas()
public Collection getCopletDatas()
public PortalUser getUser()
public Profile getProfile(String profileName) throws ProfileException
ProfileException
- if an error occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |