|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.netuix.application.manager.CustomizationContext
A client specific context containing customization properties the APIs use to personalize the request.
Field Summary | |
static int |
DISASSEMBLER_ACCEPT_DB
When disassembling, accept what is in the database if there is a collision with the template. |
static int |
DISASSEMBLER_ACCEPT_TEMPLATE
When disassembling, accept what is in the template if there is a collision with the database. |
static int |
DISASSEMBLER_PROPAGATE_EXCEPTION
When disassembling, propagate the exception (DuplicateDefinitionException) if there is a collision between the template and the database. |
static String |
PORTAL_ENTITLEMENT_REQUEST
|
Constructor Summary | |
CustomizationContext()
|
|
CustomizationContext(ArrayList locales)
A more complex contructor containing an in order list of prefered locales and a reference to the users dekstop instance id. |
|
CustomizationContext(ArrayList locales,
HttpServletRequest request)
A more complex contructor containing an in order list of prefered locales and a reference to the users dekstop instance id. |
|
CustomizationContext(HttpServletRequest request)
Create a minimial customization context consisting of a HttpServletRequest . |
|
CustomizationContext(Locale locale)
Create a minimial customization context consisting of one prerered locale. |
|
CustomizationContext(Locale locale,
HttpServletRequest request)
Create a minimial customization context consisting of one prefered locale. |
Method Summary | |
void |
addLocale(Locale locale)
Add a n locale to the end of the prefered locale list. |
int |
getDisassemblerTemplateAction()
The action that should be performed if there are collisions between the template and the database. |
Locale[] |
getLocales()
Getter for retrieving a list of in order locales. |
EntitlementRequest |
getRequest()
|
boolean |
isVisitorMode()
Is the API being called in visitor mode. |
void |
setDisassemblerTemplateAction(int disassemblerTemplateAction)
Set the action that should be performed if there are collisions between the template and the database. |
void |
setRequest(HttpServletRequest request)
Set the entitlement request. |
void |
setVisitorMode(boolean visitorMode)
Set how the API is being called. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String PORTAL_ENTITLEMENT_REQUEST
public static final int DISASSEMBLER_ACCEPT_DB
public static final int DISASSEMBLER_ACCEPT_TEMPLATE
public static final int DISASSEMBLER_PROPAGATE_EXCEPTION
DuplicateDefinitionException
,
Constant Field ValuesConstructor Detail |
public CustomizationContext()
public CustomizationContext(Locale locale)
locale
- the uses locale preference.public CustomizationContext(ArrayList locales)
A more complex contructor containing an in order list of prefered locales and a reference to the users dekstop instance id. This contructor is usually called by the framework system and not to be used by the average developer.
locales
- in order list of prefered locales.public CustomizationContext(HttpServletRequest request) throws EntitlementsException
HttpServletRequest
.
request
- HttpServletRequest
EntitlementsException
public CustomizationContext(Locale locale, HttpServletRequest request) throws EntitlementsException
locale
- the uses locale preference.request
- HttpServletRequest
EntitlementsException
public CustomizationContext(ArrayList locales, HttpServletRequest request) throws EntitlementsException
A more complex contructor containing an in order list of prefered locales and a reference to the users dekstop instance id. This contructor is usually called by the framework system and not to be used by the average developer.
locales
- in order list of prefered locales.request
- HttpServletRequest
EntitlementsException
Method Detail |
public void addLocale(Locale locale)
Add a n locale to the end of the prefered locale list.
locale
- a reference to the prefered locale.public Locale[] getLocales()
public EntitlementRequest getRequest()
public void setRequest(HttpServletRequest request) throws EntitlementsException
request
-
EntitlementsException
public String toString()
toString
in class Object
public int getDisassemblerTemplateAction()
public void setDisassemblerTemplateAction(int disassemblerTemplateAction)
disassemblerTemplateAction
- DuplicateDefinitionException
public boolean isVisitorMode()
public void setVisitorMode(boolean visitorMode)
visitorMode
-
|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |