[jboss-svn-commits] JBoss Portal SVN: r5420 - in trunk/core/src/main/org/jboss: portal/core/controller portal/core/controller/portlet portal/core/result portlet
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Oct 11 11:15:58 EDT 2006
Author: julien at jboss.com
Date: 2006-10-11 11:15:48 -0400 (Wed, 11 Oct 2006)
New Revision: 5420
Added:
trunk/core/src/main/org/jboss/portal/core/controller/portlet/AuthenticateResponse.java
trunk/core/src/main/org/jboss/portal/core/controller/portlet/SignOutResponse.java
Removed:
trunk/core/src/main/org/jboss/portal/core/result/AuthenticateResponse.java
trunk/core/src/main/org/jboss/portal/core/result/SignOutResponse.java
Modified:
trunk/core/src/main/org/jboss/portal/core/controller/CoreController.java
trunk/core/src/main/org/jboss/portlet/JBossActionResponse.java
Log:
move AuthenticateResponse and SignOutResponse from org.jboss.portal.core.result to org.jboss.portal.core.controller.portlet
Modified: trunk/core/src/main/org/jboss/portal/core/controller/CoreController.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/controller/CoreController.java 2006-10-11 15:11:45 UTC (rev 5419)
+++ trunk/core/src/main/org/jboss/portal/core/controller/CoreController.java 2006-10-11 15:15:48 UTC (rev 5420)
@@ -34,12 +34,12 @@
import org.jboss.portal.core.controller.command.info.ActionCommandInfo;
import org.jboss.portal.core.controller.command.mapper.CommandFactory;
import org.jboss.portal.core.controller.command.mapper.URLFactory;
+import org.jboss.portal.core.controller.portlet.SignOutResponse;
import org.jboss.portal.core.model.instance.InstanceContainer;
import org.jboss.portal.core.model.portal.PortalObjectContainer;
import org.jboss.portal.core.model.portal.Page;
import org.jboss.portal.core.model.portal.Portal;
import org.jboss.portal.core.model.portal.PortalObject;
-import org.jboss.portal.core.result.SignOutResponse;
import org.jboss.portal.server.RequestController;
import org.jboss.portal.server.ServerException;
import org.jboss.portal.server.ServerInvocation;
Copied: trunk/core/src/main/org/jboss/portal/core/controller/portlet/AuthenticateResponse.java (from rev 5417, trunk/core/src/main/org/jboss/portal/core/result/AuthenticateResponse.java)
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/result/AuthenticateResponse.java 2006-10-11 14:57:28 UTC (rev 5417)
+++ trunk/core/src/main/org/jboss/portal/core/controller/portlet/AuthenticateResponse.java 2006-10-11 15:15:48 UTC (rev 5420)
@@ -0,0 +1,32 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.portal.core.controller.portlet;
+
+import org.jboss.portal.portlet.invocation.response.RedirectionResponse;
+
+/**
+ * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
+ * @version $Revision:5352 $
+ */
+public class AuthenticateResponse extends RedirectionResponse
+{
+}
Property changes on: trunk/core/src/main/org/jboss/portal/core/controller/portlet/AuthenticateResponse.java
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Copied: trunk/core/src/main/org/jboss/portal/core/controller/portlet/SignOutResponse.java (from rev 5417, trunk/core/src/main/org/jboss/portal/core/result/SignOutResponse.java)
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/result/SignOutResponse.java 2006-10-11 14:57:28 UTC (rev 5417)
+++ trunk/core/src/main/org/jboss/portal/core/controller/portlet/SignOutResponse.java 2006-10-11 15:15:48 UTC (rev 5420)
@@ -0,0 +1,63 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.portal.core.controller.portlet;
+
+import org.jboss.portal.portlet.invocation.response.RedirectionResponse;
+
+/**
+ * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
+ * @version $Revision:5352 $
+ */
+public class SignOutResponse extends RedirectionResponse
+{
+
+ /** Location is a URL to navigate to after signing out or null to indicate default behavior. */
+ protected String location;
+
+ public SignOutResponse()
+ {
+ }
+
+ public SignOutResponse(String location)
+ {
+ if (location == null)
+ {
+ throw new IllegalArgumentException();
+ }
+ this.location = location;
+ }
+
+ /**
+ * Returns a destination URL or null.
+ *
+ * @return URL to navigate to after signing out or null to indicate default behavior
+ */
+ public String getLocation()
+ {
+ return location;
+ }
+
+ public void setLocation(String location)
+ {
+ this.location = location;
+ }
+}
Property changes on: trunk/core/src/main/org/jboss/portal/core/controller/portlet/SignOutResponse.java
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Deleted: trunk/core/src/main/org/jboss/portal/core/result/AuthenticateResponse.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/result/AuthenticateResponse.java 2006-10-11 15:11:45 UTC (rev 5419)
+++ trunk/core/src/main/org/jboss/portal/core/result/AuthenticateResponse.java 2006-10-11 15:15:48 UTC (rev 5420)
@@ -1,32 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.portal.core.result;
-
-import org.jboss.portal.portlet.invocation.response.RedirectionResponse;
-
-/**
- * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
- * @version $Revision:5352 $
- */
-public class AuthenticateResponse extends RedirectionResponse
-{
-}
Deleted: trunk/core/src/main/org/jboss/portal/core/result/SignOutResponse.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/result/SignOutResponse.java 2006-10-11 15:11:45 UTC (rev 5419)
+++ trunk/core/src/main/org/jboss/portal/core/result/SignOutResponse.java 2006-10-11 15:15:48 UTC (rev 5420)
@@ -1,63 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.portal.core.result;
-
-import org.jboss.portal.portlet.invocation.response.RedirectionResponse;
-
-/**
- * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
- * @version $Revision:5352 $
- */
-public class SignOutResponse extends RedirectionResponse
-{
-
- /** Location is a URL to navigate to after signing out or null to indicate default behavior. */
- protected String location;
-
- public SignOutResponse()
- {
- }
-
- public SignOutResponse(String location)
- {
- if (location == null)
- {
- throw new IllegalArgumentException();
- }
- this.location = location;
- }
-
- /**
- * Returns a destination URL or null.
- *
- * @return URL to navigate to after signing out or null to indicate default behavior
- */
- public String getLocation()
- {
- return location;
- }
-
- public void setLocation(String location)
- {
- this.location = location;
- }
-}
Modified: trunk/core/src/main/org/jboss/portlet/JBossActionResponse.java
===================================================================
--- trunk/core/src/main/org/jboss/portlet/JBossActionResponse.java 2006-10-11 15:11:45 UTC (rev 5419)
+++ trunk/core/src/main/org/jboss/portlet/JBossActionResponse.java 2006-10-11 15:15:48 UTC (rev 5420)
@@ -24,7 +24,7 @@
import org.jboss.portal.common.util.URLTools;
import org.jboss.portal.core.aspects.controller.node.PortalNodeURLFactory;
import org.jboss.portal.core.aspects.controller.node.PortalObjectNode;
-import org.jboss.portal.core.result.SignOutResponse;
+import org.jboss.portal.core.controller.portlet.SignOutResponse;
import org.jboss.portal.api.node.PortalNode;
import org.jboss.portal.api.node.PortalNodeURL;
import org.jboss.portal.portlet.impl.jsr168.ActionResponseImpl;
More information about the jboss-svn-commits
mailing list