|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.web.application.Application
org.exoplatform.web.application.gadget.GadgetApplication
public class GadgetApplication
This class extends from Application, it represents an gadget application in eXo and used for registry Gadgets.
| Field Summary | |
|---|---|
static java.lang.String |
EXO_GADGET_GROUP
|
| Fields inherited from class org.exoplatform.web.application.Application |
|---|
EXO_GAGGET_TYPE, EXO_PORTAL_TYPE, EXO_PORTLET_TYPE, EXO_WIDGET_TYPE, JSR168_APPLICATION_TYPE |
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
|---|
desc, name |
| Constructor Summary | |
|---|---|
GadgetApplication(java.lang.String name,
java.lang.String url)
Initializes a newly created GadgetApplication object |
|
GadgetApplication(java.lang.String name,
java.lang.String url,
boolean isLocal)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getApplicationGroup()
Gets group of gadget application |
java.lang.String |
getApplicationId()
Gets id of gadget application |
java.lang.String |
getApplicationName()
Gets name of gadget application |
java.lang.String |
getApplicationType()
Gets gadget application type |
static org.apache.shindig.gadgets.spec.ModulePrefs |
getModulePreferences(org.apache.shindig.common.uri.Uri url,
java.lang.String xml)
|
java.util.ResourceBundle |
getOwnerResourceBundle(java.lang.String username,
java.util.Locale locale)
Gets owner resource bundle of gadget application |
java.util.ResourceBundle |
getResourceBundle(java.util.Locale locale)
Gets resource bundle of gadget application |
java.lang.String |
getUrl()
Gets url of gadget application |
boolean |
isLocal()
|
| Methods inherited from class org.exoplatform.web.application.Application |
|---|
getApplicationLifecycle, getApplicationServiceContainer, getAttribute, getResourceResolver, onDestroy, onInit, setApplicationLifecycle, setAttribute, setResourceResolver |
| Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin |
|---|
getDescription, getName, setDescription, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EXO_GADGET_GROUP
| Constructor Detail |
|---|
public GadgetApplication(java.lang.String name,
java.lang.String url)
GadgetApplication object
name - an String that is the application id of gadget applicationurl - an String that is the the url of gadget application such as
"http://www.google.com/ig/modules/horoscope.xml"
public GadgetApplication(java.lang.String name,
java.lang.String url,
boolean isLocal)
| Method Detail |
|---|
public java.lang.String getApplicationType()
getApplicationType in class ApplicationApplicationpublic java.lang.String getApplicationGroup()
getApplicationGroup in class Applicationpublic java.lang.String getUrl()
public java.lang.String getApplicationId()
getApplicationId in class Applicationpublic java.lang.String getApplicationName()
getApplicationName in class Applicationpublic boolean isLocal()
public static org.apache.shindig.gadgets.spec.ModulePrefs getModulePreferences(org.apache.shindig.common.uri.Uri url,
java.lang.String xml)
throws java.lang.Exception
java.lang.Exception
public java.util.ResourceBundle getOwnerResourceBundle(java.lang.String username,
java.util.Locale locale)
throws java.lang.Exception
getOwnerResourceBundle in class Applicationusername - remote username logged in portallocale - the location of logged user
java.lang.Exception - if can't get the resource bundle by the ResouceBundleService
public java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
throws java.lang.Exception
getResourceBundle in class Applicationlocale - the location of logged user
java.lang.Exception - if can't get the resource bundle by the ResourceBundleService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||