001/*
002 * (C) Copyright 2006-2007 Nuxeo SAS <http://nuxeo.com> and others
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the Eclipse Public License v1.0
006 * which accompanies this distribution, and is available at
007 * http://www.eclipse.org/legal/epl-v10.html
008 *
009 * Contributors:
010 *     Jean-Marc Orliaguet, Chalmers
011 *
012 * $Id$
013 */
014
015package org.nuxeo.theme.formats.styles;
016
017import java.util.Properties;
018import java.util.Set;
019
020import org.nuxeo.theme.formats.Format;
021
022public interface Style extends Format {
023
024    Properties getPropertiesFor(String viewName, String path);
025
026    void setPropertiesFor(String viewName, String path, Properties properties);
027
028    void clearPropertiesFor(String viewName);
029
030    void clearPropertiesFor(String viewName, String path);
031
032    Set<String> getPathsForView(String viewName);
033
034    Set<String> getSelectorViewNames();
035
036    String getSelectorDescription(String path, String viewName);
037
038    void setSelectorDescription(String path, String viewName, String description);
039
040    Properties getAllProperties();
041
042    void setCollection(String collectionName);
043
044    String getCollection();
045
046    void setExternal(boolean external);
047
048    boolean isExternal();
049
050}