1
2
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
16
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 }