myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1438780 - in /myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/component/visit: ComponentModification.java ComponentModificationManager.java
Date Fri, 25 Jan 2013 23:57:34 GMT
Author: lu4242
Date: Fri Jan 25 23:57:34 2013
New Revision: 1438780

URL: http://svn.apache.org/viewvc?rev=1438780&view=rev
Log:
MYFACES-3689 Implement ComponentModificationManager 

Added:
    myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/component/visit/ComponentModification.java
  (with props)
    myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/component/visit/ComponentModificationManager.java
  (with props)

Added: myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/component/visit/ComponentModification.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/component/visit/ComponentModification.java?rev=1438780&view=auto
==============================================================================
--- myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/component/visit/ComponentModification.java
(added)
+++ myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/component/visit/ComponentModification.java
Fri Jan 25 23:57:34 2013
@@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.faces.component.visit;
+
+import javax.faces.context.FacesContext;
+
+/**
+ *
+ * @author Leonardo Uribe
+ */
+public abstract class ComponentModification
+{
+    
+    public ComponentModification()
+    {
+    }
+    
+    public abstract void suspend(FacesContext facesContext);
+    
+    public abstract void resume(FacesContext facesContext);
+
+}

Propchange: myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/component/visit/ComponentModification.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/component/visit/ComponentModificationManager.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/component/visit/ComponentModificationManager.java?rev=1438780&view=auto
==============================================================================
--- myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/component/visit/ComponentModificationManager.java
(added)
+++ myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/component/visit/ComponentModificationManager.java
Fri Jan 25 23:57:34 2013
@@ -0,0 +1,47 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.faces.component.visit;
+
+import java.util.Collection;
+import javax.faces.context.FacesContext;
+
+/**
+ *
+ * @author Leonardo Uribe
+ */
+public abstract class ComponentModificationManager
+{
+    
+    public ComponentModificationManager()
+    {
+
+    }
+
+    public abstract void push(ComponentModification mod);
+    
+    public abstract ComponentModification peek();
+    
+    public abstract ComponentModification pop();
+    
+    public abstract Collection<ComponentModification> suspend(FacesContext context);
+    
+    public abstract void resume(FacesContext context,
+                            Collection<ComponentModification> mods);
+
+}

Propchange: myfaces/core/branches/2.2.x/api/src/main/java/javax/faces/component/visit/ComponentModificationManager.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message