|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public ModelUrlFactory
Interface for a ModelUrl Factory that allows to generate ModelUrl's a comfortable way. This class should not be instantiated directly, but should be used through it's defined singleton (com.ibm.mashups.enabler.model.url.ModelUrlFactory
).
Field Summary | |
---|---|
String |
NAVIGATION_URL
Constant for creation of a navigation URL |
String |
LAYOUT_URL
Constant for creation of a layout URL |
String |
SHARED_NAVIGATION_URL
Constant for creation of a shared navigation URL |
String |
FRAGMENT_URL
Constant for creation of a fragment URL |
String |
FRAGMENT_MEDIA_URL
Constant for creation of a fragment-media URL |
String |
USER_URL
Constant for creation of a user URL |
String |
THEME_URL
Constant for creation of a theme URL |
String |
THEME_MEDIA_URL
Constant for creation of a theme-media URL |
String |
CATALOG_URL
Constant for creation of a catalog URL |
String |
CONFIG_URL
Constant for creation of a config URL |
String |
SPACE_URL
Constant for creation of a space URL |
String |
SPACE_FAVORITE_URL
Constant for creation of a space-favorite URL |
String |
AC_URL
Constant for creation of a ac URL |
String |
AI_URL
Constant for creation of a ac URL |
String |
TEMPLATE_URL
Constant for creation of a template URL |
String |
WIDGET_URL
Constant for widget model |
String |
EVENT_URL
Constant for event model |
String |
SUBMODEL_MEMBER
Constant for member sub model |
String |
SUBMODEL_ROLE
Constant for role sub model |
String |
SUBMODEL_ACCESS
Constant for allowed-access sub model |
String |
SUBMODEL_RESOURCE
Constant for resource sub model |
unknown |
RESOURCE_URL
|
Method Summary | |
---|---|
ModelUrl |
createModelUrl(String urlType,
Model model)
Deprecated. Use createModelURL instead. |
ModelUrl |
createModelURL(String urlType,
Model model)
Create a ModelUrl based on the specified urlType. |
ModelUrl |
getModelUrl(String url,
Model model)
Deprecated. Use getModelURL instead. |
ModelUrl |
getModelURL(String url,
Model model)
Create a ModelUrl based on the specified URL. |
Field Detail |
---|
String NAVIGATION_URL
String LAYOUT_URL
String SHARED_NAVIGATION_URL
String FRAGMENT_URL
String FRAGMENT_MEDIA_URL
String USER_URL
String THEME_URL
String THEME_MEDIA_URL
String CATALOG_URL
String CONFIG_URL
String SPACE_URL
String SPACE_FAVORITE_URL
String AC_URL
String AI_URL
String TEMPLATE_URL
String WIDGET_URL
String EVENT_URL
String SUBMODEL_MEMBER
String SUBMODEL_ROLE
String SUBMODEL_ACCESS
String SUBMODEL_RESOURCE
unknown RESOURCE_URL
Method Detail |
---|
ModelUrl createModelUrl(String urlType, Model model)
var myURL = com.ibm.mashups.enabler.model.url.ModelUrlFactory.createModelURL(com.ibm.mashups.enabler.model.url.ModelUrlFactory.NAVIGATION_URL, this);
urlType
-
the type of ModelUrl that should be created. You should use the URL constants that are defined in this interface. (Must not be null
)model
-
the model used to create this ModelUrl object for. (Might be null
)
ModelUrl
. Returns null
if the specified urlType is not known.ModelUrl createModelURL(String urlType, Model model)
var myURL = com.ibm.mashups.enabler.model.url.ModelUrlFactory.createModelURL(com.ibm.mashups.enabler.model.url.ModelUrlFactory.NAVIGATION_URL, this);
urlType
-
the type of ModelUrl that should be created. You should use the URL constants that are defined in this interface. (Must not be null
)model
-
the model used to create this ModelUrl object for. (Might be null
)
ModelUrl
. Returns null
if the specified urlType is not known.ModelUrl getModelUrl(String url, Model model)
url
-
the URL that should be used to create a ModelUrl
. (Must not be null
)model
-
the model used to create this ModelUrl object for. (Might be null
)
ModelUrl
(Must not be null
).ModelUrl getModelURL(String url, Model model)
url
-
the URL that should be used to create a ModelUrl
. (Must not be null
)model
-
the model used to create this ModelUrl object for. (Might be null
)
ModelUrl
(Must not be null
).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |