|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortalManager
This is the basis portal component
Field Summary | |
---|---|
static String |
ATTRIBUTE_ADMIN_COPLETS
|
static String |
ATTRIBUTE_ADMIN_ID
|
static String |
ATTRIBUTE_ADMIN_ROLE
|
static String |
ATTRIBUTE_ADMIN_STATE
Some states for the admin configuration |
static String |
ATTRIBUTE_PORTAL_ID
|
static String |
ATTRIBUTE_PORTAL_ROLE
This is the current role/id which is set in the context |
static String |
BUILDTYPE_VALUE_BASIC
Values for the buildprofile type element |
static String |
BUILDTYPE_VALUE_GLOBAL
|
static String |
BUILDTYPE_VALUE_ID
|
static String |
BUILDTYPE_VALUE_ROLE
|
static String |
REQ_CMD_CLOSE
|
static String |
REQ_CMD_CUSTOMIZE
|
static String |
REQ_CMD_DELETE
|
static String |
REQ_CMD_HIDE
|
static String |
REQ_CMD_MAXIMIZE
|
static String |
REQ_CMD_MINIMIZE
|
static String |
REQ_CMD_MOVE
|
static String |
REQ_CMD_MOVEROW
|
static String |
REQ_CMD_NEW
|
static String |
REQ_CMD_OPEN
|
static String |
REQ_CMD_SAVEPROFILE
|
static String |
REQ_CMD_SHOW
|
static String |
REQ_CMD_UPDATE
|
static String |
REQ_PARAMETER_ADMIN_COPLETS
|
static String |
REQ_PARAMETER_CMD
The request parameters for customizing coplets The request parameter is REQ_PARAMETER_CMD and the
the value is one from REQ_CMD_ followed by
'_ |
static String |
REQ_PARAMETER_CONF
This parameter is used for changing of profile value |
static String |
REQ_PARAMETER_COPLET
|
static String |
REQ_PARAMETER_ID
|
static String |
REQ_PARAMETER_PROFILE
This parameter denotes the profile to be used |
static String |
REQ_PARAMETER_ROLE
These parameter characterize the role and id |
static String |
REQ_PARAMETER_STATE
|
static String |
ROLE
The avalon role |
Method Summary | |
---|---|
boolean |
checkAuthentication(Redirector redirector,
String copletID)
Check the authentication for the coplet. |
void |
configurationTest()
Configure portal and check if it is allowed to see this coplet (if it is one). |
SessionContext |
getContext(boolean create)
Get the portal context of the current application |
String |
getMediaType()
Get the current media type |
String |
getProfileID(String type,
String role,
String id,
boolean adminProfile)
Builds the key for caching |
Element |
getStatusProfile()
Get the status profile |
Map |
retrieveProfile(String profileID)
Retrieve the profil |
void |
showAdminConf(XMLConsumer consumer)
Show the admin configuration page. |
void |
showPortal(XMLConsumer consumer,
boolean configMode,
boolean adminProfile)
Show the portal. |
void |
streamConfiguration(XMLConsumer consumer,
String requestURI,
String profileID,
String media,
String contextID)
Include Portal URI into stream |
Field Detail |
---|
static final String ROLE
static final String BUILDTYPE_VALUE_BASIC
static final String BUILDTYPE_VALUE_GLOBAL
static final String BUILDTYPE_VALUE_ROLE
static final String BUILDTYPE_VALUE_ID
static final String REQ_PARAMETER_CMD
REQ_PARAMETER_CMD
and the
the value is one from REQ_CMD_
followed by
'_
static final String REQ_CMD_MAXIMIZE
static final String REQ_CMD_MINIMIZE
static final String REQ_CMD_CLOSE
static final String REQ_CMD_OPEN
static final String REQ_CMD_HIDE
static final String REQ_CMD_SHOW
static final String REQ_CMD_CUSTOMIZE
static final String REQ_CMD_UPDATE
static final String REQ_CMD_DELETE
static final String REQ_CMD_MOVE
static final String REQ_CMD_NEW
static final String REQ_CMD_MOVEROW
static final String REQ_CMD_SAVEPROFILE
static final String REQ_PARAMETER_CONF
static final String REQ_PARAMETER_PROFILE
static final String REQ_PARAMETER_ROLE
static final String REQ_PARAMETER_ID
static final String REQ_PARAMETER_STATE
static final String REQ_PARAMETER_COPLET
static final String REQ_PARAMETER_ADMIN_COPLETS
static final String ATTRIBUTE_PORTAL_ROLE
static final String ATTRIBUTE_PORTAL_ID
static final String ATTRIBUTE_ADMIN_STATE
static final String ATTRIBUTE_ADMIN_ROLE
static final String ATTRIBUTE_ADMIN_ID
static final String ATTRIBUTE_ADMIN_COPLETS
Method Detail |
---|
void configurationTest() throws ProcessingException, IOException, SAXException
ProcessingException
IOException
SAXException
void streamConfiguration(XMLConsumer consumer, String requestURI, String profileID, String media, String contextID) throws IOException, SAXException, ProcessingException
IOException
SAXException
ProcessingException
void showAdminConf(XMLConsumer consumer) throws SAXException, ProcessingException, IOException
SAXException
ProcessingException
IOException
Element getStatusProfile() throws SAXException, IOException, ProcessingException
SAXException
IOException
ProcessingException
void showPortal(XMLConsumer consumer, boolean configMode, boolean adminProfile) throws SAXException, ProcessingException, IOException
SAXException
ProcessingException
IOException
boolean checkAuthentication(Redirector redirector, String copletID) throws SAXException, IOException, ProcessingException
SAXException
IOException
ProcessingException
String getMediaType() throws ProcessingException
ProcessingException
SessionContext getContext(boolean create) throws ProcessingException, IOException, SAXException
ProcessingException
IOException
SAXException
String getProfileID(String type, String role, String id, boolean adminProfile) throws ProcessingException
ProcessingException
Map retrieveProfile(String profileID) throws ProcessingException
ProcessingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |