Nuxeo Enterprise Platform 5.4

org.nuxeo.theme.formats.styles
Class StyleFormat

java.lang.Object
  extended by org.nuxeo.theme.formats.DefaultFormat
      extended by org.nuxeo.theme.formats.styles.StyleFormat
All Implemented Interfaces:
Format, Style, PropertySheet, Relate, Identifiable

public class StyleFormat
extends DefaultFormat
implements Style


Constructor Summary
StyleFormat()
           
 
Method Summary
 void clearPropertiesFor(String viewName)
           
 void clearPropertiesFor(String viewName, String path)
           
 void clonePropertiesOf(Format source)
           
 Properties getAllProperties()
           
 String getCollection()
           
 Set<String> getPathsForView(String viewName)
           
 Properties getPropertiesFor(String viewName, String path)
           
 String getSelectorDescription(String path, String viewName)
           
 Set<String> getSelectorViewNames()
           
 boolean isNamed()
           
 void setCollection(String collectionName)
           
 void setPropertiesFor(String viewName, String path, Properties properties)
           
 void setSelectorDescription(String path, String viewName, String description)
           
 
Methods inherited from class org.nuxeo.theme.formats.DefaultFormat
getDescription, getFormatType, getName, getPredicate, getProperties, getProperty, getPropertyNames, getUid, hash, hasProperties, isCustomized, isRemote, setCustomized, setDescription, setFormatType, setName, setProperties, setProperty, setRemote, setUid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.theme.formats.Format
getDescription, getFormatType, getPredicate, isCustomized, isRemote, setCustomized, setDescription, setFormatType, setRemote
 
Methods inherited from interface org.nuxeo.theme.relations.Relate
hash
 
Methods inherited from interface org.nuxeo.theme.uids.Identifiable
getName, getUid, setName, setUid
 
Methods inherited from interface org.nuxeo.theme.properties.PropertySheet
getProperties, getProperty, getPropertyNames, hasProperties, setProperties, setProperty
 

Constructor Detail

StyleFormat

public StyleFormat()
Method Detail

getPropertiesFor

public Properties getPropertiesFor(String viewName,
                                   String path)
Specified by:
getPropertiesFor in interface Style

setPropertiesFor

public void setPropertiesFor(String viewName,
                             String path,
                             Properties properties)
Specified by:
setPropertiesFor in interface Style

clearPropertiesFor

public void clearPropertiesFor(String viewName)
Specified by:
clearPropertiesFor in interface Style

clearPropertiesFor

public void clearPropertiesFor(String viewName,
                               String path)
Specified by:
clearPropertiesFor in interface Style

getPathsForView

public Set<String> getPathsForView(String viewName)
Specified by:
getPathsForView in interface Style

getSelectorViewNames

public Set<String> getSelectorViewNames()
Specified by:
getSelectorViewNames in interface Style

getSelectorDescription

public String getSelectorDescription(String path,
                                     String viewName)
Specified by:
getSelectorDescription in interface Style

setSelectorDescription

public void setSelectorDescription(String path,
                                   String viewName,
                                   String description)
Specified by:
setSelectorDescription in interface Style

getAllProperties

public Properties getAllProperties()
Specified by:
getAllProperties in interface Style

clonePropertiesOf

public void clonePropertiesOf(Format source)
Specified by:
clonePropertiesOf in interface Format
Overrides:
clonePropertiesOf in class DefaultFormat

isNamed

public boolean isNamed()
Specified by:
isNamed in interface Format
Overrides:
isNamed in class DefaultFormat

getCollection

public String getCollection()
Specified by:
getCollection in interface Style

setCollection

public void setCollection(String collectionName)
Specified by:
setCollection in interface Style

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.