Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.theme.views
Class ViewType

java.lang.Object
  extended by org.nuxeo.theme.views.ViewType
All Implemented Interfaces:
Type

public final class ViewType
extends Object
implements Type


Field Summary
 String className
           
 String elementTypeName
           
 String engineName
           
 String formatTypeName
           
 String icon
           
 String mode
           
 String modelTypeName
           
 List<String> resources
           
 String template
           
 String viewName
           
 
Constructor Summary
ViewType()
           
ViewType(String viewName, String className, String engineName, String templateEngine, String mode, String elementTypeName, String modelTypeName, String formatTypeName, String template, List<String> resources)
           
 
Method Summary
 void addResource(String resource)
           
static String computeName(String formatTypeName, String elementTypeName, String viewName, String modelTypeName, String engineName, String mode, String templateEngineName)
           
 ElementType getElementType()
           
 FormatType getFormatType()
           
 String getIcon()
           
 String getMode()
           
 ModelType getModelType()
           
 List<String> getResources()
           
 String getTemplate()
           
 String getTemplateEngine()
           
 TypeFamily getTypeFamily()
           
 String getTypeName()
           
 View getView()
           
 String getViewName()
           
 boolean isMerge()
           
 void setIcon(String icon)
           
 void setMerge(boolean merge)
           
 void setMode(String mode)
           
 void setResources(List<String> resources)
           
 void setTemplate(String template)
           
 void setTemplateEngine(String templateEngine)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

viewName

public String viewName

engineName

public String engineName

mode

public String mode

icon

public String icon

elementTypeName

public String elementTypeName

formatTypeName

public String formatTypeName

modelTypeName

public String modelTypeName

className

public String className

template

public String template

resources

public List<String> resources
Constructor Detail

ViewType

public ViewType()

ViewType

public ViewType(String viewName,
                String className,
                String engineName,
                String templateEngine,
                String mode,
                String elementTypeName,
                String modelTypeName,
                String formatTypeName,
                String template,
                List<String> resources)
Method Detail

getTypeName

public String getTypeName()
Specified by:
getTypeName in interface Type

computeName

public static String computeName(String formatTypeName,
                                 String elementTypeName,
                                 String viewName,
                                 String modelTypeName,
                                 String engineName,
                                 String mode,
                                 String templateEngineName)

getTypeFamily

public TypeFamily getTypeFamily()
Specified by:
getTypeFamily in interface Type

getViewName

public String getViewName()

getView

public View getView()

getElementType

public ElementType getElementType()

getModelType

public ModelType getModelType()

getFormatType

public FormatType getFormatType()

getTemplate

public String getTemplate()

setTemplate

public void setTemplate(String template)

getResources

public List<String> getResources()

setResources

public void setResources(List<String> resources)

getMode

public String getMode()

setMode

public void setMode(String mode)

getIcon

public String getIcon()

setIcon

public void setIcon(String icon)

getTemplateEngine

public String getTemplateEngine()

setTemplateEngine

public void setTemplateEngine(String templateEngine)

isMerge

public boolean isMerge()

setMerge

public void setMerge(boolean merge)

addResource

public void addResource(String resource)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.