incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r427794 - in /incubator/adffaces/trunk/trinidad: trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/DialogService.java trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/DialogServiceImpl.java
Date Tue, 01 Aug 2006 23:36:19 GMT
Author: awiner
Date: Tue Aug  1 16:36:18 2006
New Revision: 427794

URL: http://svn.apache.org/viewvc?rev=427794&view=rev
Log:
Remove obsolete DialogService methods (developers should use PageFlowScopeProvider or RequestContext
for similar functionality)

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/DialogService.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/DialogServiceImpl.java

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/DialogService.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/DialogService.java?rev=427794&r1=427793&r2=427794&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/DialogService.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/DialogService.java
Tue Aug  1 16:36:18 2006
@@ -167,15 +167,5 @@
     Object returnValue,
     Map<Object, Object> returnParams);
 
-  //
-  // OBSOLETE METHODS THAT WILL BE DELETED
-  // 
-  public abstract void pushPageFlowScope(boolean copyParent);
-  public abstract Map<String, Object> popPageFlowScope(boolean discardScope);
-  public abstract void restorePageFlowScope(Map<String, Object> pageFlowScope);
-  public abstract boolean isPageFlowScopeInvalid();
-  public abstract String getPageFlowScopeToken();
-  public abstract Map<String, Object> getPageFlowScope(String token);
-
   private UIComponent _currentLaunchSource;
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/DialogServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/DialogServiceImpl.java?rev=427794&r1=427793&r2=427794&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/DialogServiceImpl.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/DialogServiceImpl.java
Tue Aug  1 16:36:18 2006
@@ -46,64 +46,6 @@
     _context = context;
   }
 
-  //
-  // OBSOLETE METHODS THAT WILL BE DELETED
-  //
-  public void pushPageFlowScope(boolean copyParent)
-  {
-    FacesContext context = _getFacesContext();
-    _context.getPageFlowScopeProvider().pushPageFlowScope(context,
-                                                          copyParent);
-  }
-
-  public Map popPageFlowScope(boolean discardScope)
-  {
-    FacesContext context = _getFacesContext();
-    return _context.getPageFlowScopeProvider().popPageFlowScope(context,
-                                                                discardScope);
-  }
-
-  public void restorePageFlowScope(Map pageFlowScope)
-  {
-    FacesContext context = _getFacesContext();
-    PageFlowScopeProviderImpl.__setPageFlowScope(context,
-                                                 (PageFlowScopeMap) pageFlowScope);
-  }
-
-  public boolean isPageFlowScopeInvalid()
-  {
-    PageFlowScopeMap pageFlowScope =
-      (PageFlowScopeMap) _context.getPageFlowScope();
-    if (pageFlowScope == null)
-      return false;
-    return pageFlowScope.__invalid;
-  }
-
-  public String getPageFlowScopeToken()
-  {
-    PageFlowScopeMap pageFlowScope =
-      (PageFlowScopeMap) _context.getPageFlowScope();
-    if (pageFlowScope == null)
-      return null;
-
-    return pageFlowScope.getToken(_getFacesContext());
-  }
-
-  public Map getPageFlowScope(String token)
-  {
-    if (token != null)
-    {
-      int lifetime = _context.__getPageFlowScopeLifetime();
-      FacesContext context = _getFacesContext();
-      return PageFlowScopeMap.getPageFlowScopeMap(context,
-                                                  token,
-                                                  lifetime);
-    }
-
-    return null;
-  }
-  /// END OF OBSOLETE METHODS
-
   public void pushView(UIViewRoot viewRoot)
   {
     FacesContext context = _getFacesContext();



Mime
View raw message