Class DojoModuleImpl
- java.lang.Object
-
- nl.gx.webmanager.wcb.dojotype.impl.DojoModuleImpl
-
- All Implemented Interfaces:
DojoModule
- Direct Known Subclasses:
DojoPanelModuleImpl
,DojoSearchFacetModuleImpl
public class DojoModuleImpl extends Object implements DojoModule
The DojoModuleImpl represents a dojo client side module
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface nl.gx.webmanager.wcb.dojotype.DojoModule
DojoModule.ModuleType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthor()
Map<Locale,String>
getDescriptions()
String
getId()
Map<Locale,String>
getNames()
String
getPath()
String
getPreviewImage()
DojoModule.ModuleType
getType()
-
-
-
Constructor Detail
-
DojoModuleImpl
public DojoModuleImpl(String moduleId, DojoModule.ModuleType type, Map<Locale,String> names, Map<Locale,String> descriptions, String author, String previewImage, String path)
Constructs a DojoModuleImpl.- Parameters:
moduleId
- the module idtype
- the module typenames
- the namesdescriptions
- the descriptionauthor
- the authorpreviewImage
- the preview imagepath
- the path
-
-
Method Detail
-
getPreviewImage
public String getPreviewImage()
- Specified by:
getPreviewImage
in interfaceDojoModule
- Returns:
- The preview image of the Dojo module
-
getNames
public Map<Locale,String> getNames()
- Specified by:
getNames
in interfaceDojoModule
- Returns:
- The names of the Dojo module
-
getId
public String getId()
- Specified by:
getId
in interfaceDojoModule
- Returns:
- The identifier of the Dojo module
-
getType
public DojoModule.ModuleType getType()
- Specified by:
getType
in interfaceDojoModule
- Returns:
- The type
DojoModule.ModuleType
of the Dojo Module
-
getPath
public String getPath()
- Specified by:
getPath
in interfaceDojoModule
- Returns:
- The path of the Dojo Module.
-
getAuthor
public String getAuthor()
- Specified by:
getAuthor
in interfaceDojoModule
- Returns:
- The author of the Dojo Module.
-
getDescriptions
public Map<Locale,String> getDescriptions()
- Specified by:
getDescriptions
in interfaceDojoModule
- Returns:
- The descriptions of the Dojo Module.
-
-