View Javadoc

1   /*
2    * $Id: IContentStorageEngine.java,v 1.3 2008/09/17 16:38:17 oeuillot Exp $
3    */
4   package org.rcfaces.core.internal.contentStorage;
5   
6   import javax.faces.context.FacesContext;
7   
8   import org.rcfaces.core.internal.contentAccessor.IContentAccessor;
9   import org.rcfaces.core.internal.contentAccessor.IGeneratedResourceInformation;
10  import org.rcfaces.core.internal.contentAccessor.IGenerationResourceInformation;
11  import org.rcfaces.core.model.IContentModel;
12  
13  /**
14   * 
15   * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
16   * @version $Revision: 1.3 $ $Date: 2008/09/17 16:38:17 $
17   */
18  public interface IContentStorageEngine {
19  
20      IContentStorageRepository getRepository();
21  
22      IContentAccessor registerRaw(FacesContext facesContext, Object ref,
23              IGeneratedResourceInformation information);
24  
25      IContentAccessor registerContentModel(FacesContext facesContext,
26              IContentModel contentModel, IGeneratedResourceInformation generatedInformation,
27              IGenerationResourceInformation generationInformation);
28  
29  }