View Javadoc

1   /*
2    * $Id: IPropertiesAccessor.java,v 1.17 2011/06/16 09:29:40 jbmeslin Exp $
3    */
4   package org.rcfaces.core.internal.component;
5   
6   import java.util.Set;
7   
8   import javax.el.ValueExpression;
9   import javax.faces.context.FacesContext;
10  
11  /**
12   * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
13   * @version $Revision: 1.17 $ $Date: 2011/06/16 09:29:40 $
14   */
15  public interface IPropertiesAccessor {
16  
17      boolean isPropertySetted(String propertyName);
18  
19      Object getProperty(String propertyName);
20  
21      Object setProperty(FacesContext context, String propertyName, Object value);
22  
23      void setProperty(FacesContext context, String propertyName,
24              ValueExpression value);
25  
26      Object removeProperty(FacesContext context, String name);
27  
28      Object saveState(FacesContext context);
29  
30      void restoreState(FacesContext context, Object state);
31  
32      void release();
33  
34      IDeltaPropertiesAccessor createDeltaPropertiesAccessor();
35  
36      Set keySet();
37  
38      int size();
39  
40      void putAll(FacesContext context, Set propertiesMapEntry, Object undefined);
41  
42  }