View Javadoc

1   /*
2    * $Id: IContentAccessor.java,v 1.9 2010/03/19 14:53:48 oeuillot Exp $
3    */
4   package org.rcfaces.core.internal.contentAccessor;
5   
6   import java.util.Map;
7   
8   import javax.faces.context.FacesContext;
9   
10  import org.rcfaces.core.lang.IContentFamily;
11  
12  /**
13   * 
14   * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
15   * @version $Revision: 1.9 $ $Date: 2010/03/19 14:53:48 $
16   */
17  public interface IContentAccessor extends IContentPath {
18  
19      String FILTER_SEPARATOR = "::";
20  
21      IContentFamily getContentFamily();
22  
23      Object getAttribute(String attributeName);
24  
25      Map getAttributes();
26  
27      Object getContentRef();
28  
29      String resolveURL(FacesContext facesContext,
30              IGeneratedResourceInformation contentInformation,
31              IGenerationResourceInformation generationInformation);
32  
33      String resolveURL(FacesContext facesContext,
34              IGeneratedResourceInformation contentInformation,
35              IGenerationResourceInformation generationInformation,
36              int pathTypeMask);
37  
38      IContentAccessor getParentAccessor();
39  
40      IContentVersionHandler getContentVersionHandler();
41  
42      void setContentVersionHandler(IContentVersionHandler contentVersionHandler);
43  
44      IContentProxyHandler getContentProxyHandler();
45  
46      void setContentProxyHandler(IContentProxyHandler contentProxyHandler);
47  }