gatein SVN: r3224 - in components/wsrp/trunk/consumer/src: main/java/org/gatein/wsrp/services and 4 other directories.
by do-not-reply@jboss.org
Author: chris.laprun(a)jboss.com
Date: 2010-06-01 20:27:24 -0400 (Tue, 01 Jun 2010)
New Revision: 3224
Added:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/MarkupService.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/PortletManagementService.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/RegistrationService.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/ServiceDescriptionService.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/WSRPService.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1MarkupService.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1PortletManagementService.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1RegistrationService.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1ServiceDescriptionService.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2MarkupService.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2PortletManagementService.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2RegistrationService.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2ServiceDescriptionService.java
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/EndpointConfigurationInfo.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/WSRPConsumerImpl.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/SOAPServiceFactory.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/ServiceFactory.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/ServiceWrapper.java
components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/protocol/v1/BehaviorBackedServiceFactory.java
components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/protocol/v2/BehaviorBackedServiceFactory.java
Log:
- Introduced concept of intermediary *Service classes to mirror the WSRP interfaces and dispatch to appropriate version of WS.
- Started migrating code to use new Service classes. Shouldn't use WSRP interfaces directly.
Modified: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/EndpointConfigurationInfo.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/EndpointConfigurationInfo.java 2010-06-02 00:12:02 UTC (rev 3223)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/EndpointConfigurationInfo.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -25,7 +25,11 @@
import org.gatein.common.util.ParameterValidation;
import org.gatein.pc.api.InvokerUnavailableException;
+import org.gatein.wsrp.services.MarkupService;
+import org.gatein.wsrp.services.PortletManagementService;
+import org.gatein.wsrp.services.RegistrationService;
import org.gatein.wsrp.services.SOAPServiceFactory;
+import org.gatein.wsrp.services.ServiceDescriptionService;
import org.gatein.wsrp.services.ServiceFactory;
import org.oasis.wsrp.v2.WSRPV2MarkupPortType;
import org.oasis.wsrp.v2.WSRPV2PortletManagementPortType;
@@ -101,24 +105,56 @@
return serviceFactory;
}
- WSRPV2ServiceDescriptionPortType getServiceDescriptionService() throws InvokerUnavailableException
+ ServiceDescriptionService getServiceDescriptionService() throws InvokerUnavailableException
{
- return getService(WSRPV2ServiceDescriptionPortType.class);
+ try
+ {
+ return serviceFactory.getServiceDescriptionService();
+ }
+ catch (Exception e)
+ {
+ throw new InvokerUnavailableException("Couldn't access ServiceDescription service. Cause: "
+ + e.getLocalizedMessage(), e);
+ }
}
- WSRPV2MarkupPortType getMarkupService() throws InvokerUnavailableException
+ MarkupService getMarkupService() throws InvokerUnavailableException
{
- return getService(WSRPV2MarkupPortType.class);
+ try
+ {
+ return serviceFactory.getMarkupService();
+ }
+ catch (Exception e)
+ {
+ throw new InvokerUnavailableException("Couldn't access Markup service. Cause: "
+ + e.getLocalizedMessage(), e);
+ }
}
- WSRPV2PortletManagementPortType getPortletManagementService() throws InvokerUnavailableException
+ PortletManagementService getPortletManagementService() throws InvokerUnavailableException
{
- return getService(WSRPV2PortletManagementPortType.class);
+ try
+ {
+ return serviceFactory.getPortletManagementService();
+ }
+ catch (Exception e)
+ {
+ throw new InvokerUnavailableException("Couldn't access PortletManagement service. Cause: "
+ + e.getLocalizedMessage(), e);
+ }
}
- WSRPV2RegistrationPortType getRegistrationService() throws InvokerUnavailableException
+ RegistrationService getRegistrationService() throws InvokerUnavailableException
{
- return getService(WSRPV2RegistrationPortType.class);
+ try
+ {
+ return serviceFactory.getRegistrationService();
+ }
+ catch (Exception e)
+ {
+ throw new InvokerUnavailableException("Couldn't access Registration service. Cause: "
+ + e.getLocalizedMessage(), e);
+ }
}
private <T> T getService(Class<T> clazz) throws InvokerUnavailableException
Modified: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/WSRPConsumerImpl.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/WSRPConsumerImpl.java 2010-06-02 00:12:02 UTC (rev 3223)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/WSRPConsumerImpl.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -50,6 +50,10 @@
import org.gatein.wsrp.api.SessionEvent;
import org.gatein.wsrp.consumer.portlet.WSRPPortlet;
import org.gatein.wsrp.consumer.portlet.info.WSRPPortletInfo;
+import org.gatein.wsrp.services.MarkupService;
+import org.gatein.wsrp.services.PortletManagementService;
+import org.gatein.wsrp.services.RegistrationService;
+import org.gatein.wsrp.services.ServiceDescriptionService;
import org.gatein.wsrp.servlet.UserAccess;
import org.oasis.wsrp.v2.Extension;
import org.oasis.wsrp.v2.FailedPortlets;
@@ -61,10 +65,6 @@
import org.oasis.wsrp.v2.ResetProperty;
import org.oasis.wsrp.v2.RuntimeContext;
import org.oasis.wsrp.v2.SessionParams;
-import org.oasis.wsrp.v2.WSRPV2MarkupPortType;
-import org.oasis.wsrp.v2.WSRPV2PortletManagementPortType;
-import org.oasis.wsrp.v2.WSRPV2RegistrationPortType;
-import org.oasis.wsrp.v2.WSRPV2ServiceDescriptionPortType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -578,25 +578,25 @@
return producerInfo.getEndpointConfigurationInfo();
}
- private WSRPV2ServiceDescriptionPortType getServiceDescriptionService() throws PortletInvokerException
+ private ServiceDescriptionService getServiceDescriptionService() throws PortletInvokerException
{
refreshProducerInfo(false);
return getEndpointConfigurationInfo().getServiceDescriptionService();
}
- public WSRPV2MarkupPortType getMarkupService() throws PortletInvokerException
+ public MarkupService getMarkupService() throws PortletInvokerException
{
refreshProducerInfo(false);
return getEndpointConfigurationInfo().getMarkupService();
}
- private WSRPV2PortletManagementPortType getPortletManagementService() throws PortletInvokerException
+ private PortletManagementService getPortletManagementService() throws PortletInvokerException
{
refreshProducerInfo(false);
return getEndpointConfigurationInfo().getPortletManagementService();
}
- private WSRPV2RegistrationPortType getRegistrationService() throws PortletInvokerException
+ private RegistrationService getRegistrationService() throws PortletInvokerException
{
refreshProducerInfo(false);
return getEndpointConfigurationInfo().getRegistrationService();
Added: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/MarkupService.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/MarkupService.java (rev 0)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/MarkupService.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -0,0 +1,140 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2008, Red Hat Middleware, LLC, 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.gatein.wsrp.services;
+
+import org.oasis.wsrp.v2.AccessDenied;
+import org.oasis.wsrp.v2.EventParams;
+import org.oasis.wsrp.v2.Extension;
+import org.oasis.wsrp.v2.HandleEventsFailed;
+import org.oasis.wsrp.v2.InconsistentParameters;
+import org.oasis.wsrp.v2.InteractionParams;
+import org.oasis.wsrp.v2.InvalidCookie;
+import org.oasis.wsrp.v2.InvalidHandle;
+import org.oasis.wsrp.v2.InvalidRegistration;
+import org.oasis.wsrp.v2.InvalidSession;
+import org.oasis.wsrp.v2.InvalidUserCategory;
+import org.oasis.wsrp.v2.MarkupContext;
+import org.oasis.wsrp.v2.MarkupParams;
+import org.oasis.wsrp.v2.MissingParameters;
+import org.oasis.wsrp.v2.ModifyRegistrationRequired;
+import org.oasis.wsrp.v2.OperationFailed;
+import org.oasis.wsrp.v2.OperationNotSupported;
+import org.oasis.wsrp.v2.PortletContext;
+import org.oasis.wsrp.v2.PortletStateChangeRequired;
+import org.oasis.wsrp.v2.RegistrationContext;
+import org.oasis.wsrp.v2.ResourceContext;
+import org.oasis.wsrp.v2.ResourceParams;
+import org.oasis.wsrp.v2.ResourceSuspended;
+import org.oasis.wsrp.v2.RuntimeContext;
+import org.oasis.wsrp.v2.SessionContext;
+import org.oasis.wsrp.v2.UnsupportedLocale;
+import org.oasis.wsrp.v2.UnsupportedMimeType;
+import org.oasis.wsrp.v2.UnsupportedMode;
+import org.oasis.wsrp.v2.UnsupportedWindowState;
+import org.oasis.wsrp.v2.UpdateResponse;
+import org.oasis.wsrp.v2.UserContext;
+import org.oasis.wsrp.v2.WSRPV2MarkupPortType;
+
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ */
+public abstract class MarkupService<T> extends WSRPService<T> implements WSRPV2MarkupPortType
+{
+ protected MarkupService(T service)
+ {
+ super(service);
+ }
+
+ public abstract void getMarkup(
+ RegistrationContext registrationContext,
+ PortletContext portletContext,
+ RuntimeContext runtimeContext,
+ UserContext userContext,
+ MarkupParams markupParams,
+ Holder<MarkupContext> markupContext,
+ Holder<SessionContext> sessionContext,
+ Holder<List<Extension>> extensions)
+ throws AccessDenied, InconsistentParameters, InvalidCookie, InvalidHandle, InvalidRegistration, InvalidSession,
+ InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, ResourceSuspended,
+ UnsupportedLocale, UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState;
+
+ public abstract void getResource(
+ RegistrationContext registrationContext,
+ Holder<PortletContext> portletContext,
+ RuntimeContext runtimeContext,
+ UserContext userContext,
+ ResourceParams resourceParams,
+ Holder<ResourceContext> resourceContext,
+ Holder<SessionContext> sessionContext,
+ Holder<List<Extension>> extensions)
+ throws AccessDenied, InconsistentParameters, InvalidCookie, InvalidHandle, InvalidRegistration, InvalidSession,
+ InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported,
+ ResourceSuspended, UnsupportedLocale, UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState;
+
+ public abstract void performBlockingInteraction(
+ RegistrationContext registrationContext,
+ PortletContext portletContext,
+ RuntimeContext runtimeContext,
+ UserContext userContext,
+ MarkupParams markupParams,
+ InteractionParams interactionParams,
+ Holder<UpdateResponse> updateResponse,
+ Holder<String> redirectURL,
+ Holder<List<Extension>> extensions)
+ throws AccessDenied, InconsistentParameters, InvalidCookie, InvalidHandle, InvalidRegistration, InvalidSession,
+ InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, PortletStateChangeRequired,
+ ResourceSuspended, UnsupportedLocale, UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState;
+
+ public abstract void handleEvents(
+ RegistrationContext registrationContext,
+ PortletContext portletContext,
+ RuntimeContext runtimeContext,
+ UserContext userContext,
+ MarkupParams markupParams,
+ EventParams eventParams,
+ Holder<UpdateResponse> updateResponse,
+ Holder<List<HandleEventsFailed>> failedEvents,
+ Holder<List<Extension>> extensions)
+ throws AccessDenied, InconsistentParameters, InvalidCookie, InvalidHandle, InvalidRegistration, InvalidSession,
+ InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported,
+ PortletStateChangeRequired, ResourceSuspended, UnsupportedLocale, UnsupportedMimeType, UnsupportedMode,
+ UnsupportedWindowState;
+
+ public abstract List<Extension> releaseSessions(
+ RegistrationContext registrationContext,
+ List<String> sessionIDs,
+ UserContext userContext)
+ throws AccessDenied, InvalidRegistration, MissingParameters, ModifyRegistrationRequired, OperationFailed,
+ OperationNotSupported, ResourceSuspended;
+
+ public abstract List<Extension> initCookie(
+ RegistrationContext registrationContext,
+ UserContext userContext)
+ throws AccessDenied, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported,
+ ResourceSuspended;
+
+}
Added: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/PortletManagementService.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/PortletManagementService.java (rev 0)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/PortletManagementService.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -0,0 +1,212 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2008, Red Hat Middleware, LLC, 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.gatein.wsrp.services;
+
+import org.oasis.wsrp.v2.AccessDenied;
+import org.oasis.wsrp.v2.CopiedPortlet;
+import org.oasis.wsrp.v2.ExportByValueNotSupported;
+import org.oasis.wsrp.v2.ExportNoLongerValid;
+import org.oasis.wsrp.v2.ExportedPortlet;
+import org.oasis.wsrp.v2.Extension;
+import org.oasis.wsrp.v2.FailedPortlets;
+import org.oasis.wsrp.v2.ImportPortlet;
+import org.oasis.wsrp.v2.ImportPortletsFailed;
+import org.oasis.wsrp.v2.ImportedPortlet;
+import org.oasis.wsrp.v2.InconsistentParameters;
+import org.oasis.wsrp.v2.InvalidHandle;
+import org.oasis.wsrp.v2.InvalidRegistration;
+import org.oasis.wsrp.v2.InvalidUserCategory;
+import org.oasis.wsrp.v2.Lifetime;
+import org.oasis.wsrp.v2.MissingParameters;
+import org.oasis.wsrp.v2.ModelDescription;
+import org.oasis.wsrp.v2.ModifyRegistrationRequired;
+import org.oasis.wsrp.v2.OperationFailed;
+import org.oasis.wsrp.v2.OperationNotSupported;
+import org.oasis.wsrp.v2.PortletContext;
+import org.oasis.wsrp.v2.PortletDescription;
+import org.oasis.wsrp.v2.PortletLifetime;
+import org.oasis.wsrp.v2.Property;
+import org.oasis.wsrp.v2.PropertyList;
+import org.oasis.wsrp.v2.RegistrationContext;
+import org.oasis.wsrp.v2.ResetProperty;
+import org.oasis.wsrp.v2.ResourceList;
+import org.oasis.wsrp.v2.ResourceSuspended;
+import org.oasis.wsrp.v2.SetExportLifetime;
+import org.oasis.wsrp.v2.UserContext;
+import org.oasis.wsrp.v2.WSRPV2PortletManagementPortType;
+
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ */
+public abstract class PortletManagementService<T> extends WSRPService<T> implements WSRPV2PortletManagementPortType
+{
+ public PortletManagementService(T service)
+ {
+ super(service);
+ }
+
+ public abstract void getPortletDescription(
+ RegistrationContext registrationContext,
+ PortletContext portletContext,
+ UserContext userContext,
+ List<String> desiredLocales,
+ Holder<PortletDescription> portletDescription,
+ Holder<ResourceList> resourceList,
+ Holder<List<Extension>> extensions)
+ throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory,
+ MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended;
+
+ public abstract void clonePortlet(
+ RegistrationContext registrationContext,
+ PortletContext portletContext,
+ UserContext userContext,
+ Lifetime lifetime,
+ Holder<String> portletHandle,
+ Holder<byte[]> portletState,
+ Holder<Lifetime> scheduledDestruction,
+ Holder<List<Extension>> extensions)
+ throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory,
+ MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended;
+
+ public abstract void destroyPortlets(
+ RegistrationContext registrationContext,
+ List<String> portletHandles,
+ UserContext userContext,
+ Holder<List<FailedPortlets>> failedPortlets,
+ Holder<List<Extension>> extensions)
+ throws InconsistentParameters, InvalidRegistration, MissingParameters, ModifyRegistrationRequired,
+ OperationFailed, OperationNotSupported, ResourceSuspended;
+
+ public abstract void getPortletsLifetime(
+ RegistrationContext registrationContext,
+ List<PortletContext> portletContext,
+ UserContext userContext,
+ Holder<List<PortletLifetime>> portletLifetime,
+ Holder<List<FailedPortlets>> failedPortlets,
+ Holder<ResourceList> resourceList,
+ Holder<List<Extension>> extensions)
+ throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired,
+ OperationFailed, OperationNotSupported, ResourceSuspended;
+
+ public abstract void setPortletsLifetime(
+ RegistrationContext registrationContext,
+ List<PortletContext> portletContext,
+ UserContext userContext,
+ Lifetime lifetime,
+ Holder<List<PortletLifetime>> updatedPortlet,
+ Holder<List<FailedPortlets>> failedPortlets,
+ Holder<ResourceList> resourceList,
+ Holder<List<Extension>> extensions)
+ throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired,
+ OperationFailed, OperationNotSupported, ResourceSuspended;
+
+ public abstract void copyPortlets(
+ RegistrationContext toRegistrationContext,
+ UserContext toUserContext,
+ RegistrationContext fromRegistrationContext,
+ UserContext fromUserContext,
+ List<PortletContext> fromPortletContexts,
+ Lifetime lifetime,
+ Holder<List<CopiedPortlet>> copiedPortlets,
+ Holder<List<FailedPortlets>> failedPortlets,
+ Holder<ResourceList> resourceList,
+ Holder<List<Extension>> extensions)
+ throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory,
+ MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended;
+
+ public abstract void exportPortlets(
+ RegistrationContext registrationContext,
+ List<PortletContext> portletContext,
+ UserContext userContext,
+ Holder<Lifetime> lifetime,
+ Boolean exportByValueRequired,
+ Holder<byte[]> exportContext,
+ Holder<List<ExportedPortlet>> exportedPortlet,
+ Holder<List<FailedPortlets>> failedPortlets,
+ Holder<ResourceList> resourceList,
+ Holder<List<Extension>> extensions)
+ throws AccessDenied, ExportByValueNotSupported, InconsistentParameters, InvalidHandle, InvalidRegistration,
+ InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported,
+ ResourceSuspended;
+
+ public abstract void importPortlets(
+ RegistrationContext registrationContext,
+ byte[] importContext,
+ List<ImportPortlet> importPortlet,
+ UserContext userContext,
+ Lifetime lifetime,
+ Holder<List<ImportedPortlet>> importedPortlets,
+ Holder<List<ImportPortletsFailed>> importFailed,
+ Holder<ResourceList> resourceList,
+ Holder<List<Extension>> extensions)
+ throws AccessDenied, ExportNoLongerValid, InconsistentParameters, InvalidRegistration, InvalidUserCategory,
+ MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended;
+
+ public abstract List<Extension> releaseExport(
+ RegistrationContext registrationContext,
+ byte[] exportContext,
+ UserContext userContext);
+
+ public abstract Lifetime setExportLifetime(
+ SetExportLifetime setExportLifetime)
+ throws AccessDenied, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed,
+ OperationNotSupported, ResourceSuspended;
+
+ public abstract void setPortletProperties(
+ RegistrationContext registrationContext,
+ PortletContext portletContext,
+ UserContext userContext,
+ PropertyList propertyList,
+ Holder<String> portletHandle,
+ Holder<byte[]> portletState,
+ Holder<Lifetime> scheduledDestruction,
+ Holder<List<Extension>> extensions)
+ throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory,
+ MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended;
+
+ public abstract void getPortletProperties(
+ RegistrationContext registrationContext,
+ PortletContext portletContext,
+ UserContext userContext,
+ List<String> names,
+ Holder<List<Property>> properties,
+ Holder<List<ResetProperty>> resetProperties,
+ Holder<List<Extension>> extensions)
+ throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory,
+ MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended;
+
+ public abstract void getPortletPropertyDescription(
+ RegistrationContext registrationContext,
+ PortletContext portletContext,
+ UserContext userContext,
+ List<String> desiredLocales,
+ Holder<ModelDescription> modelDescription,
+ Holder<ResourceList> resourceList,
+ Holder<List<Extension>> extensions)
+ throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory,
+ MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended;
+}
Added: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/RegistrationService.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/RegistrationService.java (rev 0)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/RegistrationService.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -0,0 +1,78 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2008, Red Hat Middleware, LLC, 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.gatein.wsrp.services;
+
+import org.oasis.wsrp.v2.AccessDenied;
+import org.oasis.wsrp.v2.Extension;
+import org.oasis.wsrp.v2.GetRegistrationLifetime;
+import org.oasis.wsrp.v2.InvalidHandle;
+import org.oasis.wsrp.v2.InvalidRegistration;
+import org.oasis.wsrp.v2.Lifetime;
+import org.oasis.wsrp.v2.MissingParameters;
+import org.oasis.wsrp.v2.ModifyRegistrationRequired;
+import org.oasis.wsrp.v2.OperationFailed;
+import org.oasis.wsrp.v2.OperationNotSupported;
+import org.oasis.wsrp.v2.RegistrationContext;
+import org.oasis.wsrp.v2.RegistrationData;
+import org.oasis.wsrp.v2.ResourceSuspended;
+import org.oasis.wsrp.v2.SetRegistrationLifetime;
+import org.oasis.wsrp.v2.UserContext;
+import org.oasis.wsrp.v2.WSRPV2RegistrationPortType;
+
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ */
+public abstract class RegistrationService<T> extends WSRPService<T> implements WSRPV2RegistrationPortType
+{
+ public RegistrationService(T service)
+ {
+ super(service);
+ }
+
+ public abstract void register(RegistrationData registrationData, Lifetime lifetime, UserContext userContext,
+ Holder<byte[]> registrationState, Holder<Lifetime> scheduledDestruction,
+ Holder<List<Extension>> extensions, Holder<String> registrationHandle)
+ throws MissingParameters, OperationFailed, OperationNotSupported;
+
+ public abstract List<Extension> deregister(RegistrationContext registrationContext, UserContext userContext)
+ throws InvalidRegistration, OperationFailed, OperationNotSupported, ResourceSuspended;
+
+ public abstract void modifyRegistration(
+ RegistrationContext registrationContext, RegistrationData registrationData, UserContext userContext,
+ Holder<byte[]> registrationState,
+ Holder<Lifetime> scheduledDestruction,
+ Holder<List<Extension>> extensions)
+ throws InvalidRegistration, MissingParameters, OperationFailed, OperationNotSupported, ResourceSuspended;
+
+ public abstract Lifetime getRegistrationLifetime(GetRegistrationLifetime getRegistrationLifetime)
+ throws AccessDenied, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed,
+ OperationNotSupported, ResourceSuspended;
+
+ public abstract Lifetime setRegistrationLifetime(SetRegistrationLifetime setRegistrationLifetime)
+ throws AccessDenied, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed,
+ OperationNotSupported, ResourceSuspended;
+}
Modified: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/SOAPServiceFactory.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/SOAPServiceFactory.java 2010-06-02 00:12:02 UTC (rev 3223)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/SOAPServiceFactory.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -24,6 +24,18 @@
package org.gatein.wsrp.services;
import org.gatein.common.util.ParameterValidation;
+import org.gatein.wsrp.services.v1.V1MarkupService;
+import org.gatein.wsrp.services.v1.V1PortletManagementService;
+import org.gatein.wsrp.services.v1.V1RegistrationService;
+import org.gatein.wsrp.services.v1.V1ServiceDescriptionService;
+import org.gatein.wsrp.services.v2.V2MarkupService;
+import org.gatein.wsrp.services.v2.V2PortletManagementService;
+import org.gatein.wsrp.services.v2.V2RegistrationService;
+import org.gatein.wsrp.services.v2.V2ServiceDescriptionService;
+import org.oasis.wsrp.v1.WSRPV1MarkupPortType;
+import org.oasis.wsrp.v1.WSRPV1PortletManagementPortType;
+import org.oasis.wsrp.v1.WSRPV1RegistrationPortType;
+import org.oasis.wsrp.v1.WSRPV1ServiceDescriptionPortType;
import org.oasis.wsrp.v2.WSRPV2MarkupPortType;
import org.oasis.wsrp.v2.WSRPV2PortletManagementPortType;
import org.oasis.wsrp.v2.WSRPV2RegistrationPortType;
@@ -49,9 +61,13 @@
private String wsdlDefinitionURL;
- private final static QName V1_SERVICE = new QName("urn:oasis:names:tc:wsrp:v1:wsdl", "WSRPService");
- private final static QName V2_SERVICE = new QName("urn:oasis:names:tc:wsrp:v2:wsdl", "WSRPService");
+ private boolean isV2 = false;
+ private static final String WSRP_V1_URN = "urn:oasis:names:tc:wsrp:v1:wsdl";
+ private final static QName V1_SERVICE = new QName(WSRP_V1_URN, "WSRPService");
+ private static final String WSRP_V2_URN = "urn:oasis:names:tc:wsrp:v2:wsdl";
+ private final static QName V2_SERVICE = new QName(WSRP_V2_URN, "WSRPService");
+
private Map<Class, Object> services = new ConcurrentHashMap<Class, Object>();
private String markupURL;
private String serviceDescriptionURL;
@@ -63,6 +79,8 @@
public <T> T getService(Class<T> clazz) throws Exception
{
+ // todo: clean up!
+
if (log.isDebugEnabled())
{
log.debug("Getting service for class " + clazz);
@@ -79,21 +97,25 @@
//
String portAddress = null;
boolean isMandatoryInterface = false;
- if (WSRPV2ServiceDescriptionPortType.class.isAssignableFrom(clazz))
+ if (WSRPV2ServiceDescriptionPortType.class.isAssignableFrom(clazz)
+ || WSRPV1ServiceDescriptionPortType.class.isAssignableFrom(clazz))
{
portAddress = serviceDescriptionURL;
isMandatoryInterface = true;
}
- else if (WSRPV2MarkupPortType.class.isAssignableFrom(clazz))
+ else if (WSRPV2MarkupPortType.class.isAssignableFrom(clazz)
+ || WSRPV1MarkupPortType.class.isAssignableFrom(clazz))
{
portAddress = markupURL;
isMandatoryInterface = true;
}
- else if (WSRPV2RegistrationPortType.class.isAssignableFrom(clazz))
+ else if (WSRPV2RegistrationPortType.class.isAssignableFrom(clazz)
+ || WSRPV1RegistrationPortType.class.isAssignableFrom(clazz))
{
portAddress = registrationURL;
}
- else if (WSRPV2PortletManagementPortType.class.isAssignableFrom(clazz))
+ else if (WSRPV2PortletManagementPortType.class.isAssignableFrom(clazz)
+ || WSRPV1PortletManagementPortType.class.isAssignableFrom(clazz))
{
portAddress = portletManagementURL;
}
@@ -199,26 +221,66 @@
ParameterValidation.throwIllegalArgExceptionIfNullOrEmpty(wsdlDefinitionURL, "WSDL URL", "SOAPServiceFactory");
URI wsdlURL = new URI(wsdlDefinitionURL);
- Service service = Service.create(wsdlURL.toURL(), V2_SERVICE);
+ // try to get v2 of service if possible, first
+ Service service;
+ try
+ {
+ service = Service.create(wsdlURL.toURL(), V2_SERVICE);
- WSRPV2MarkupPortType markupPortType = service.getPort(WSRPV2MarkupPortType.class);
- services.put(WSRPV2MarkupPortType.class, markupPortType);
- markupURL = (String)((BindingProvider)markupPortType).getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
+ WSRPV2MarkupPortType markupPortType = service.getPort(WSRPV2MarkupPortType.class);
+ services.put(WSRPV2MarkupPortType.class, markupPortType);
+ markupURL = (String)((BindingProvider)markupPortType).getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
- WSRPV2ServiceDescriptionPortType sdPort = service.getPort(WSRPV2ServiceDescriptionPortType.class);
- services.put(WSRPV2ServiceDescriptionPortType.class, sdPort);
- serviceDescriptionURL = (String)((BindingProvider)sdPort).getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
+ WSRPV2ServiceDescriptionPortType sdPort = service.getPort(WSRPV2ServiceDescriptionPortType.class);
+ services.put(WSRPV2ServiceDescriptionPortType.class, sdPort);
+ serviceDescriptionURL = (String)((BindingProvider)sdPort).getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
- WSRPV2PortletManagementPortType managementPortType = service.getPort(WSRPV2PortletManagementPortType.class);
- services.put(WSRPV2PortletManagementPortType.class, managementPortType);
- portletManagementURL = (String)((BindingProvider)managementPortType).getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
+ WSRPV2PortletManagementPortType managementPortType = service.getPort(WSRPV2PortletManagementPortType.class);
+ services.put(WSRPV2PortletManagementPortType.class, managementPortType);
+ portletManagementURL = (String)((BindingProvider)managementPortType).getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
- WSRPV2RegistrationPortType registrationPortType = service.getPort(WSRPV2RegistrationPortType.class);
- services.put(WSRPV2RegistrationPortType.class, registrationPortType);
- registrationURL = (String)((BindingProvider)registrationPortType).getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
+ WSRPV2RegistrationPortType registrationPortType = service.getPort(WSRPV2RegistrationPortType.class);
+ services.put(WSRPV2RegistrationPortType.class, registrationPortType);
+ registrationURL = (String)((BindingProvider)registrationPortType).getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
- setFailed(false);
- setAvailable(true);
+ setFailed(false);
+ setAvailable(true);
+ isV2 = true;
+ }
+ catch (IllegalArgumentException e)
+ {
+ // if exception message contains both URNs, then it should mean that we only have V1 service, so get that
+ // todo: we could allow user to choose what happens here instead of proceeding automatically...
+ String message = e.getMessage();
+ if (message.contains(WSRP_V1_URN) && message.contains(WSRP_V2_URN))
+ {
+ service = Service.create(wsdlURL.toURL(), V1_SERVICE);
+
+ WSRPV1MarkupPortType markupPortType = service.getPort(WSRPV1MarkupPortType.class);
+ services.put(WSRPV1MarkupPortType.class, markupPortType);
+ markupURL = (String)((BindingProvider)markupPortType).getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
+
+ WSRPV1ServiceDescriptionPortType sdPort = service.getPort(WSRPV1ServiceDescriptionPortType.class);
+ services.put(WSRPV1ServiceDescriptionPortType.class, sdPort);
+ serviceDescriptionURL = (String)((BindingProvider)sdPort).getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
+
+ WSRPV1PortletManagementPortType managementPortType = service.getPort(WSRPV1PortletManagementPortType.class);
+ services.put(WSRPV1PortletManagementPortType.class, managementPortType);
+ portletManagementURL = (String)((BindingProvider)managementPortType).getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
+
+ WSRPV1RegistrationPortType registrationPortType = service.getPort(WSRPV1RegistrationPortType.class);
+ services.put(WSRPV1RegistrationPortType.class, registrationPortType);
+ registrationURL = (String)((BindingProvider)registrationPortType).getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
+
+ setFailed(false);
+ setAvailable(true);
+ isV2 = false;
+ }
+ else
+ {
+ throw new IllegalArgumentException("Couldn't find any WSRP service in specified WSDL: " + wsdlDefinitionURL);
+ }
+ }
}
catch (MalformedURLException e)
{
@@ -233,4 +295,60 @@
throw e;
}
}
+
+ public ServiceDescriptionService getServiceDescriptionService() throws Exception
+ {
+ if (isV2)
+ {
+ WSRPV2ServiceDescriptionPortType port = getService(WSRPV2ServiceDescriptionPortType.class);
+ return new V2ServiceDescriptionService(port);
+ }
+ else
+ {
+ WSRPV1ServiceDescriptionPortType port = getService(WSRPV1ServiceDescriptionPortType.class);
+ return new V1ServiceDescriptionService(port);
+ }
+ }
+
+ public MarkupService getMarkupService() throws Exception
+ {
+ if (isV2)
+ {
+ WSRPV2MarkupPortType port = getService(WSRPV2MarkupPortType.class);
+ return new V2MarkupService(port);
+ }
+ else
+ {
+ WSRPV1MarkupPortType port = getService(WSRPV1MarkupPortType.class);
+ return new V1MarkupService(port);
+ }
+ }
+
+ public PortletManagementService getPortletManagementService() throws Exception
+ {
+ if (isV2)
+ {
+ WSRPV2PortletManagementPortType port = getService(WSRPV2PortletManagementPortType.class);
+ return new V2PortletManagementService(port);
+ }
+ else
+ {
+ WSRPV1PortletManagementPortType port = getService(WSRPV1PortletManagementPortType.class);
+ return new V1PortletManagementService(port);
+ }
+ }
+
+ public RegistrationService getRegistrationService() throws Exception
+ {
+ if (isV2)
+ {
+ WSRPV2RegistrationPortType port = getService(WSRPV2RegistrationPortType.class);
+ return new V2RegistrationService(port);
+ }
+ else
+ {
+ WSRPV1RegistrationPortType port = getService(WSRPV1RegistrationPortType.class);
+ return new V1RegistrationService(port);
+ }
+ }
}
Added: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/ServiceDescriptionService.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/ServiceDescriptionService.java (rev 0)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/ServiceDescriptionService.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -0,0 +1,79 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2008, Red Hat Middleware, LLC, 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.gatein.wsrp.services;
+
+import org.oasis.wsrp.v2.CookieProtocol;
+import org.oasis.wsrp.v2.EventDescription;
+import org.oasis.wsrp.v2.ExportDescription;
+import org.oasis.wsrp.v2.Extension;
+import org.oasis.wsrp.v2.ExtensionDescription;
+import org.oasis.wsrp.v2.InvalidRegistration;
+import org.oasis.wsrp.v2.ItemDescription;
+import org.oasis.wsrp.v2.ModelDescription;
+import org.oasis.wsrp.v2.ModelTypes;
+import org.oasis.wsrp.v2.ModifyRegistrationRequired;
+import org.oasis.wsrp.v2.OperationFailed;
+import org.oasis.wsrp.v2.PortletDescription;
+import org.oasis.wsrp.v2.RegistrationContext;
+import org.oasis.wsrp.v2.ResourceList;
+import org.oasis.wsrp.v2.ResourceSuspended;
+import org.oasis.wsrp.v2.UserContext;
+import org.oasis.wsrp.v2.WSRPV2ServiceDescriptionPortType;
+
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ */
+public abstract class ServiceDescriptionService<T> extends WSRPService<T> implements WSRPV2ServiceDescriptionPortType
+{
+ protected ServiceDescriptionService(T service)
+ {
+ super(service);
+ }
+
+ public abstract void getServiceDescription(
+ RegistrationContext registrationContext,
+ List<String> desiredLocales,
+ List<String> portletHandles,
+ UserContext userContext,
+ Holder<Boolean> requiresRegistration,
+ Holder<List<PortletDescription>> offeredPortlets,
+ Holder<List<ItemDescription>> userCategoryDescriptions,
+ Holder<List<ExtensionDescription>> extensionDescriptions,
+ Holder<List<ItemDescription>> customWindowStateDescriptions,
+ Holder<List<ItemDescription>> customModeDescriptions,
+ Holder<CookieProtocol> requiresInitCookie,
+ Holder<ModelDescription> registrationPropertyDescription,
+ Holder<List<String>> locales,
+ Holder<ResourceList> resourceList,
+ Holder<List<EventDescription>> eventDescriptions,
+ Holder<ModelTypes> schemaType,
+ Holder<List<String>> supportedOptions,
+ Holder<ExportDescription> exportDescription,
+ Holder<Boolean> mayReturnRegistrationState,
+ Holder<List<Extension>> extensions)
+ throws InvalidRegistration, ModifyRegistrationRequired, OperationFailed, ResourceSuspended;
+}
Modified: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/ServiceFactory.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/ServiceFactory.java 2010-06-02 00:12:02 UTC (rev 3223)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/ServiceFactory.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -69,4 +69,12 @@
void setWSOperationTimeOut(int msBeforeTimeOut);
int getWSOperationTimeOut();
+
+ ServiceDescriptionService getServiceDescriptionService() throws Exception;
+
+ MarkupService getMarkupService() throws Exception;
+
+ PortletManagementService getPortletManagementService() throws Exception;
+
+ RegistrationService getRegistrationService() throws Exception;
}
Modified: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/ServiceWrapper.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/ServiceWrapper.java 2010-06-02 00:12:02 UTC (rev 3223)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/ServiceWrapper.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -72,16 +72,18 @@
setTimeout(bindingProvider.getRequestContext(), parentFactory);
- Class tClass = (Class)((ParameterizedType)getClass().getGenericSuperclass()).getActualTypeArguments()[0];
- if (tClass.isAssignableFrom(serviceClass))
+ checkAssigmentValidity(this, serviceClass);
+ this.service = (T)service;
+ this.parentFactory = parentFactory;
+ }
+
+ public static void checkAssigmentValidity(ServiceWrapper assignee, Class expectedImplementedInterface)
+ {
+ Class tClass = (Class)((ParameterizedType)assignee.getClass().getGenericSuperclass()).getActualTypeArguments()[0];
+ if (!tClass.isAssignableFrom(expectedImplementedInterface))
{
- this.service = (T)service;
+ throw new IllegalArgumentException(assignee + " is not an instance of " + tClass.getSimpleName());
}
- else
- {
- throw new IllegalArgumentException(service + " is not an instance of " + tClass.getSimpleName());
- }
- this.parentFactory = parentFactory;
}
private static void setTimeout(Map<String, Object> requestContext, ManageableServiceFactory parentFactory)
Added: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/WSRPService.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/WSRPService.java (rev 0)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/WSRPService.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -0,0 +1,37 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2008, Red Hat Middleware, LLC, 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.gatein.wsrp.services;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ */
+public class WSRPService<T>
+{
+ protected T service;
+
+ public WSRPService(T service)
+ {
+ this.service = service;
+ }
+}
Added: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1MarkupService.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1MarkupService.java (rev 0)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1MarkupService.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -0,0 +1,109 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2008, Red Hat Middleware, LLC, 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.gatein.wsrp.services.v1;
+
+import org.gatein.common.NotYetImplemented;
+import org.gatein.wsrp.services.MarkupService;
+import org.oasis.wsrp.v1.WSRPV1MarkupPortType;
+import org.oasis.wsrp.v2.AccessDenied;
+import org.oasis.wsrp.v2.EventParams;
+import org.oasis.wsrp.v2.Extension;
+import org.oasis.wsrp.v2.HandleEventsFailed;
+import org.oasis.wsrp.v2.InconsistentParameters;
+import org.oasis.wsrp.v2.InteractionParams;
+import org.oasis.wsrp.v2.InvalidCookie;
+import org.oasis.wsrp.v2.InvalidHandle;
+import org.oasis.wsrp.v2.InvalidRegistration;
+import org.oasis.wsrp.v2.InvalidSession;
+import org.oasis.wsrp.v2.InvalidUserCategory;
+import org.oasis.wsrp.v2.MarkupContext;
+import org.oasis.wsrp.v2.MarkupParams;
+import org.oasis.wsrp.v2.MissingParameters;
+import org.oasis.wsrp.v2.ModifyRegistrationRequired;
+import org.oasis.wsrp.v2.OperationFailed;
+import org.oasis.wsrp.v2.OperationNotSupported;
+import org.oasis.wsrp.v2.PortletContext;
+import org.oasis.wsrp.v2.PortletStateChangeRequired;
+import org.oasis.wsrp.v2.RegistrationContext;
+import org.oasis.wsrp.v2.ResourceContext;
+import org.oasis.wsrp.v2.ResourceParams;
+import org.oasis.wsrp.v2.ResourceSuspended;
+import org.oasis.wsrp.v2.RuntimeContext;
+import org.oasis.wsrp.v2.SessionContext;
+import org.oasis.wsrp.v2.UnsupportedLocale;
+import org.oasis.wsrp.v2.UnsupportedMimeType;
+import org.oasis.wsrp.v2.UnsupportedMode;
+import org.oasis.wsrp.v2.UnsupportedWindowState;
+import org.oasis.wsrp.v2.UpdateResponse;
+import org.oasis.wsrp.v2.UserContext;
+
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ */
+public class V1MarkupService extends MarkupService<WSRPV1MarkupPortType>
+{
+ public V1MarkupService(WSRPV1MarkupPortType port)
+ {
+ super(port);
+ }
+
+ @Override
+ public void getMarkup(RegistrationContext registrationContext, PortletContext portletContext, RuntimeContext runtimeContext, UserContext userContext, MarkupParams markupParams, Holder<MarkupContext> markupContext, Holder<SessionContext> sessionContext, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidCookie, InvalidHandle, InvalidRegistration, InvalidSession, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, ResourceSuspended, UnsupportedLocale, UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void getResource(RegistrationContext registrationContext, Holder<PortletContext> portletContext, RuntimeContext runtimeContext, UserContext userContext, ResourceParams resourceParams, Holder<ResourceContext> resourceContext, Holder<SessionContext> sessionContext, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidCookie, InvalidHandle, InvalidRegistration, InvalidSession, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended, UnsupportedLocale, UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void performBlockingInteraction(RegistrationContext registrationContext, PortletContext portletContext, RuntimeContext runtimeContext, UserContext userContext, MarkupParams markupParams, InteractionParams interactionParams, Holder<UpdateResponse> updateResponse, Holder<String> redirectURL, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidCookie, InvalidHandle, InvalidRegistration, InvalidSession, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, PortletStateChangeRequired, ResourceSuspended, UnsupportedLocale, UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void handleEvents(RegistrationContext registrationContext, PortletContext portletContext, RuntimeContext runtimeContext, UserContext userContext, MarkupParams markupParams, EventParams eventParams, Holder<UpdateResponse> updateResponse, Holder<List<HandleEventsFailed>> failedEvents, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidCookie, InvalidHandle, InvalidRegistration, InvalidSession, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, PortletStateChangeRequired, ResourceSuspended, UnsupportedLocale, UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public List<Extension> releaseSessions(RegistrationContext registrationContext, List<String> sessionIDs, UserContext userContext) throws AccessDenied, InvalidRegistration, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public List<Extension> initCookie(RegistrationContext registrationContext, UserContext userContext) throws AccessDenied, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+}
Added: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1PortletManagementService.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1PortletManagementService.java (rev 0)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1PortletManagementService.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -0,0 +1,151 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2008, Red Hat Middleware, LLC, 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.gatein.wsrp.services.v1;
+
+import org.gatein.common.NotYetImplemented;
+import org.gatein.wsrp.services.PortletManagementService;
+import org.oasis.wsrp.v1.WSRPV1PortletManagementPortType;
+import org.oasis.wsrp.v2.AccessDenied;
+import org.oasis.wsrp.v2.CopiedPortlet;
+import org.oasis.wsrp.v2.ExportByValueNotSupported;
+import org.oasis.wsrp.v2.ExportNoLongerValid;
+import org.oasis.wsrp.v2.ExportedPortlet;
+import org.oasis.wsrp.v2.Extension;
+import org.oasis.wsrp.v2.FailedPortlets;
+import org.oasis.wsrp.v2.ImportPortlet;
+import org.oasis.wsrp.v2.ImportPortletsFailed;
+import org.oasis.wsrp.v2.ImportedPortlet;
+import org.oasis.wsrp.v2.InconsistentParameters;
+import org.oasis.wsrp.v2.InvalidHandle;
+import org.oasis.wsrp.v2.InvalidRegistration;
+import org.oasis.wsrp.v2.InvalidUserCategory;
+import org.oasis.wsrp.v2.Lifetime;
+import org.oasis.wsrp.v2.MissingParameters;
+import org.oasis.wsrp.v2.ModelDescription;
+import org.oasis.wsrp.v2.ModifyRegistrationRequired;
+import org.oasis.wsrp.v2.OperationFailed;
+import org.oasis.wsrp.v2.OperationNotSupported;
+import org.oasis.wsrp.v2.PortletContext;
+import org.oasis.wsrp.v2.PortletDescription;
+import org.oasis.wsrp.v2.PortletLifetime;
+import org.oasis.wsrp.v2.Property;
+import org.oasis.wsrp.v2.PropertyList;
+import org.oasis.wsrp.v2.RegistrationContext;
+import org.oasis.wsrp.v2.ResetProperty;
+import org.oasis.wsrp.v2.ResourceList;
+import org.oasis.wsrp.v2.ResourceSuspended;
+import org.oasis.wsrp.v2.SetExportLifetime;
+import org.oasis.wsrp.v2.UserContext;
+
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ */
+public class V1PortletManagementService extends PortletManagementService<WSRPV1PortletManagementPortType>
+{
+ public V1PortletManagementService(WSRPV1PortletManagementPortType port)
+ {
+ super(port);
+ }
+
+ @Override
+ public void getPortletDescription(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, List<String> desiredLocales, Holder<PortletDescription> portletDescription, Holder<ResourceList> resourceList, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void clonePortlet(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, Lifetime lifetime, Holder<String> portletHandle, Holder<byte[]> portletState, Holder<Lifetime> scheduledDestruction, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void destroyPortlets(RegistrationContext registrationContext, List<String> portletHandles, UserContext userContext, Holder<List<FailedPortlets>> failedPortlets, Holder<List<Extension>> extensions) throws InconsistentParameters, InvalidRegistration, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void getPortletsLifetime(RegistrationContext registrationContext, List<PortletContext> portletContext, UserContext userContext, Holder<List<PortletLifetime>> portletLifetime, Holder<List<FailedPortlets>> failedPortlets, Holder<ResourceList> resourceList, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void setPortletsLifetime(RegistrationContext registrationContext, List<PortletContext> portletContext, UserContext userContext, Lifetime lifetime, Holder<List<PortletLifetime>> updatedPortlet, Holder<List<FailedPortlets>> failedPortlets, Holder<ResourceList> resourceList, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void copyPortlets(RegistrationContext toRegistrationContext, UserContext toUserContext, RegistrationContext fromRegistrationContext, UserContext fromUserContext, List<PortletContext> fromPortletContexts, Lifetime lifetime, Holder<List<CopiedPortlet>> copiedPortlets, Holder<List<FailedPortlets>> failedPortlets, Holder<ResourceList> resourceList, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void exportPortlets(RegistrationContext registrationContext, List<PortletContext> portletContext, UserContext userContext, Holder<Lifetime> lifetime, Boolean exportByValueRequired, Holder<byte[]> exportContext, Holder<List<ExportedPortlet>> exportedPortlet, Holder<List<FailedPortlets>> failedPortlets, Holder<ResourceList> resourceList, Holder<List<Extension>> extensions) throws AccessDenied, ExportByValueNotSupported, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void importPortlets(RegistrationContext registrationContext, byte[] importContext, List<ImportPortlet> importPortlet, UserContext userContext, Lifetime lifetime, Holder<List<ImportedPortlet>> importedPortlets, Holder<List<ImportPortletsFailed>> importFailed, Holder<ResourceList> resourceList, Holder<List<Extension>> extensions) throws AccessDenied, ExportNoLongerValid, InconsistentParameters, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public List<Extension> releaseExport(RegistrationContext registrationContext, byte[] exportContext, UserContext userContext)
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public Lifetime setExportLifetime(SetExportLifetime setExportLifetime) throws AccessDenied, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void setPortletProperties(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, PropertyList propertyList, Holder<String> portletHandle, Holder<byte[]> portletState, Holder<Lifetime> scheduledDestruction, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void getPortletProperties(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, List<String> names, Holder<List<Property>> properties, Holder<List<ResetProperty>> resetProperties, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void getPortletPropertyDescription(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, List<String> desiredLocales, Holder<ModelDescription> modelDescription, Holder<ResourceList> resourceList, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+}
Added: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1RegistrationService.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1RegistrationService.java (rev 0)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1RegistrationService.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -0,0 +1,87 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2008, Red Hat Middleware, LLC, 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.gatein.wsrp.services.v1;
+
+import org.gatein.common.NotYetImplemented;
+import org.gatein.wsrp.services.RegistrationService;
+import org.oasis.wsrp.v1.WSRPV1RegistrationPortType;
+import org.oasis.wsrp.v2.AccessDenied;
+import org.oasis.wsrp.v2.Extension;
+import org.oasis.wsrp.v2.GetRegistrationLifetime;
+import org.oasis.wsrp.v2.InvalidHandle;
+import org.oasis.wsrp.v2.InvalidRegistration;
+import org.oasis.wsrp.v2.Lifetime;
+import org.oasis.wsrp.v2.MissingParameters;
+import org.oasis.wsrp.v2.ModifyRegistrationRequired;
+import org.oasis.wsrp.v2.OperationFailed;
+import org.oasis.wsrp.v2.OperationNotSupported;
+import org.oasis.wsrp.v2.RegistrationContext;
+import org.oasis.wsrp.v2.RegistrationData;
+import org.oasis.wsrp.v2.ResourceSuspended;
+import org.oasis.wsrp.v2.SetRegistrationLifetime;
+import org.oasis.wsrp.v2.UserContext;
+
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ */
+public class V1RegistrationService extends RegistrationService<WSRPV1RegistrationPortType>
+{
+ public V1RegistrationService(WSRPV1RegistrationPortType service)
+ {
+ super(service);
+ }
+
+ @Override
+ public void register(RegistrationData registrationData, Lifetime lifetime, UserContext userContext, Holder<byte[]> registrationState, Holder<Lifetime> scheduledDestruction, Holder<List<Extension>> extensions, Holder<String> registrationHandle) throws MissingParameters, OperationFailed, OperationNotSupported
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public List<Extension> deregister(RegistrationContext registrationContext, UserContext userContext) throws InvalidRegistration, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void modifyRegistration(RegistrationContext registrationContext, RegistrationData registrationData, UserContext userContext, Holder<byte[]> registrationState, Holder<Lifetime> scheduledDestruction, Holder<List<Extension>> extensions) throws InvalidRegistration, MissingParameters, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public Lifetime getRegistrationLifetime(GetRegistrationLifetime getRegistrationLifetime) throws AccessDenied, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public Lifetime setRegistrationLifetime(SetRegistrationLifetime setRegistrationLifetime) throws AccessDenied, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ }
+}
Added: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1ServiceDescriptionService.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1ServiceDescriptionService.java (rev 0)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v1/V1ServiceDescriptionService.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -0,0 +1,78 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2008, Red Hat Middleware, LLC, 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.gatein.wsrp.services.v1;
+
+import org.gatein.common.NotYetImplemented;
+import org.gatein.wsrp.services.ServiceDescriptionService;
+import org.oasis.wsrp.v1.WSRPV1ServiceDescriptionPortType;
+import org.oasis.wsrp.v2.CookieProtocol;
+import org.oasis.wsrp.v2.EventDescription;
+import org.oasis.wsrp.v2.ExportDescription;
+import org.oasis.wsrp.v2.Extension;
+import org.oasis.wsrp.v2.ExtensionDescription;
+import org.oasis.wsrp.v2.InvalidRegistration;
+import org.oasis.wsrp.v2.ItemDescription;
+import org.oasis.wsrp.v2.ModelDescription;
+import org.oasis.wsrp.v2.ModelTypes;
+import org.oasis.wsrp.v2.ModifyRegistrationRequired;
+import org.oasis.wsrp.v2.OperationFailed;
+import org.oasis.wsrp.v2.PortletDescription;
+import org.oasis.wsrp.v2.RegistrationContext;
+import org.oasis.wsrp.v2.ResourceList;
+import org.oasis.wsrp.v2.ResourceSuspended;
+import org.oasis.wsrp.v2.UserContext;
+
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ */
+public class V1ServiceDescriptionService extends ServiceDescriptionService<WSRPV1ServiceDescriptionPortType>
+{
+ public V1ServiceDescriptionService(WSRPV1ServiceDescriptionPortType port)
+ {
+ super(port);
+ }
+
+ @Override
+ public void getServiceDescription(
+ RegistrationContext registrationContext, List<String> desiredLocales, List<String> portletHandles,
+ UserContext userContext, Holder<Boolean> requiresRegistration, Holder<List<PortletDescription>> offeredPortlets,
+ Holder<List<ItemDescription>> userCategoryDescriptions, Holder<List<ExtensionDescription>> extensionDescriptions,
+ Holder<List<ItemDescription>> customWindowStateDescriptions, Holder<List<ItemDescription>> customModeDescriptions,
+ Holder<CookieProtocol> requiresInitCookie, Holder<ModelDescription> registrationPropertyDescription,
+ Holder<List<String>> locales, Holder<ResourceList> resourceList, Holder<List<EventDescription>> eventDescriptions,
+ Holder<ModelTypes> schemaType, Holder<List<String>> supportedOptions, Holder<ExportDescription> exportDescription,
+ Holder<Boolean> mayReturnRegistrationState, Holder<List<Extension>> extensions)
+ throws InvalidRegistration, ModifyRegistrationRequired, OperationFailed, ResourceSuspended
+ {
+ throw new NotYetImplemented();
+ /*service.getServiceDescription(registrationContext, desiredLocales, portletHandles, userContext,
+ requiresRegistration, offeredPortlets, userCategoryDescriptions, extensionDescriptions,
+ customWindowStateDescriptions, customModeDescriptions, requiresInitCookie, registrationPropertyDescription,
+ locales, resourceList, eventDescriptions, schemaType, supportedOptions, exportDescription,
+ mayReturnRegistrationState, extensions);*/
+ }
+}
Added: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2MarkupService.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2MarkupService.java (rev 0)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2MarkupService.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -0,0 +1,133 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2008, Red Hat Middleware, LLC, 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.gatein.wsrp.services.v2;
+
+import org.gatein.common.NotYetImplemented;
+import org.gatein.wsrp.services.MarkupService;
+import org.oasis.wsrp.v2.AccessDenied;
+import org.oasis.wsrp.v2.EventParams;
+import org.oasis.wsrp.v2.Extension;
+import org.oasis.wsrp.v2.HandleEventsFailed;
+import org.oasis.wsrp.v2.InconsistentParameters;
+import org.oasis.wsrp.v2.InteractionParams;
+import org.oasis.wsrp.v2.InvalidCookie;
+import org.oasis.wsrp.v2.InvalidHandle;
+import org.oasis.wsrp.v2.InvalidRegistration;
+import org.oasis.wsrp.v2.InvalidSession;
+import org.oasis.wsrp.v2.InvalidUserCategory;
+import org.oasis.wsrp.v2.MarkupContext;
+import org.oasis.wsrp.v2.MarkupParams;
+import org.oasis.wsrp.v2.MissingParameters;
+import org.oasis.wsrp.v2.ModifyRegistrationRequired;
+import org.oasis.wsrp.v2.OperationFailed;
+import org.oasis.wsrp.v2.OperationNotSupported;
+import org.oasis.wsrp.v2.PortletContext;
+import org.oasis.wsrp.v2.PortletStateChangeRequired;
+import org.oasis.wsrp.v2.RegistrationContext;
+import org.oasis.wsrp.v2.ResourceContext;
+import org.oasis.wsrp.v2.ResourceParams;
+import org.oasis.wsrp.v2.ResourceSuspended;
+import org.oasis.wsrp.v2.RuntimeContext;
+import org.oasis.wsrp.v2.SessionContext;
+import org.oasis.wsrp.v2.UnsupportedLocale;
+import org.oasis.wsrp.v2.UnsupportedMimeType;
+import org.oasis.wsrp.v2.UnsupportedMode;
+import org.oasis.wsrp.v2.UnsupportedWindowState;
+import org.oasis.wsrp.v2.UpdateResponse;
+import org.oasis.wsrp.v2.UserContext;
+import org.oasis.wsrp.v2.WSRPV2MarkupPortType;
+
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ */
+public class V2MarkupService extends MarkupService<WSRPV2MarkupPortType>
+{
+ public V2MarkupService(WSRPV2MarkupPortType port)
+ {
+ super(port);
+ }
+
+ @Override
+ public void getMarkup(RegistrationContext registrationContext, PortletContext portletContext, RuntimeContext runtimeContext, UserContext userContext, MarkupParams markupParams, Holder<MarkupContext> markupContext, Holder<SessionContext> sessionContext, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidCookie, InvalidHandle, InvalidRegistration, InvalidSession, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, ResourceSuspended, UnsupportedLocale, UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState
+ {
+ service.getMarkup(registrationContext, portletContext, runtimeContext, userContext, markupParams, markupContext, sessionContext, extensions);
+ }
+
+ @Override
+ public void getResource(RegistrationContext registrationContext, Holder<PortletContext> portletContext, RuntimeContext runtimeContext, UserContext userContext, ResourceParams resourceParams, Holder<ResourceContext> resourceContext, Holder<SessionContext> sessionContext, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidCookie, InvalidHandle, InvalidRegistration, InvalidSession, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended, UnsupportedLocale, UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public void performBlockingInteraction(RegistrationContext registrationContext, PortletContext portletContext, RuntimeContext runtimeContext, UserContext userContext, MarkupParams markupParams, InteractionParams interactionParams, Holder<UpdateResponse> updateResponse, Holder<String> redirectURL, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidCookie, InvalidHandle, InvalidRegistration, InvalidSession, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, PortletStateChangeRequired, ResourceSuspended, UnsupportedLocale, UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState
+ {
+ service.performBlockingInteraction(registrationContext, portletContext, runtimeContext, userContext, markupParams, interactionParams, updateResponse, redirectURL, extensions);
+ }
+
+ @Override
+ public void handleEvents(RegistrationContext registrationContext, PortletContext portletContext, RuntimeContext runtimeContext, UserContext userContext, MarkupParams markupParams, EventParams eventParams, Holder<UpdateResponse> updateResponse, Holder<List<HandleEventsFailed>> failedEvents, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidCookie, InvalidHandle, InvalidRegistration, InvalidSession, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, PortletStateChangeRequired, ResourceSuspended, UnsupportedLocale, UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState
+ {
+ throw new NotYetImplemented();
+ }
+
+ @Override
+ public List<Extension> releaseSessions(RegistrationContext registrationContext, List<String> sessionIDs, UserContext userContext) throws AccessDenied, InvalidRegistration, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ return service.releaseSessions(registrationContext, sessionIDs, userContext);
+ }
+
+ @Override
+ public List<Extension> initCookie(RegistrationContext registrationContext, UserContext userContext) throws AccessDenied, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ return service.initCookie(registrationContext, userContext);
+ }
+
+ /*@Override
+ public void performBlockingInteraction(RegistrationContext registrationContext, PortletContext portletContext, RuntimeContext runtimeContext, UserContext userContext, MarkupParams markupParams, InteractionParams interactionParams, Holder<UpdateResponse> updateResponseHolder, Holder<String> redirectURL, Holder<List<Extension>> listHolder) throws InvalidCookie, MissingParameters, InvalidSession, UnsupportedWindowState, InconsistentParameters, InvalidUserCategory, InvalidRegistration, OperationFailed, PortletStateChangeRequired, UnsupportedMode, InvalidHandle, ResourceSuspended, UnsupportedMimeType, ModifyRegistrationRequired, AccessDenied, UnsupportedLocale
+ {
+ service.performBlockingInteraction(registrationContext, portletContext, runtimeContext, userContext, markupParams, interactionParams, updateResponseHolder, redirectURL, listHolder);
+ }
+
+ @Override
+ public void getMarkup(RegistrationContext registrationContext, PortletContext portletContext, RuntimeContext runtimeContext, UserContext userContext, MarkupParams markupParams, Holder<MarkupContext> markupContextHolder, Holder<SessionContext> sessionContextHolder, Holder<List<Extension>> listHolder) throws InvalidCookie, MissingParameters, InvalidSession, UnsupportedWindowState, InconsistentParameters, InvalidUserCategory, InvalidRegistration, OperationFailed, UnsupportedMode, InvalidHandle, ResourceSuspended, UnsupportedMimeType, ModifyRegistrationRequired, AccessDenied, UnsupportedLocale
+ {
+ service.getMarkup(registrationContext, portletContext, runtimeContext, userContext, markupParams, markupContextHolder, sessionContextHolder, listHolder);
+ }
+
+ @Override
+ public void initCookie(RegistrationContext registrationContext, UserContext userContext) throws OperationFailed, ResourceSuspended, OperationNotSupported, AccessDenied, ModifyRegistrationRequired, InvalidRegistration
+ {
+ service.initCookie(registrationContext, userContext);
+ }
+
+ @Override
+ public void releaseSessions(RegistrationContext registrationContext, List<String> idsToRelease, UserContext userContext) throws OperationFailed, ResourceSuspended, MissingParameters, OperationNotSupported, AccessDenied, ModifyRegistrationRequired, InvalidRegistration
+ {
+ service.releaseSessions(registrationContext, idsToRelease, userContext);
+ }*/
+}
Added: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2PortletManagementService.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2PortletManagementService.java (rev 0)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2PortletManagementService.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -0,0 +1,150 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2008, Red Hat Middleware, LLC, 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.gatein.wsrp.services.v2;
+
+import org.gatein.wsrp.services.PortletManagementService;
+import org.oasis.wsrp.v2.AccessDenied;
+import org.oasis.wsrp.v2.CopiedPortlet;
+import org.oasis.wsrp.v2.ExportByValueNotSupported;
+import org.oasis.wsrp.v2.ExportNoLongerValid;
+import org.oasis.wsrp.v2.ExportedPortlet;
+import org.oasis.wsrp.v2.Extension;
+import org.oasis.wsrp.v2.FailedPortlets;
+import org.oasis.wsrp.v2.ImportPortlet;
+import org.oasis.wsrp.v2.ImportPortletsFailed;
+import org.oasis.wsrp.v2.ImportedPortlet;
+import org.oasis.wsrp.v2.InconsistentParameters;
+import org.oasis.wsrp.v2.InvalidHandle;
+import org.oasis.wsrp.v2.InvalidRegistration;
+import org.oasis.wsrp.v2.InvalidUserCategory;
+import org.oasis.wsrp.v2.Lifetime;
+import org.oasis.wsrp.v2.MissingParameters;
+import org.oasis.wsrp.v2.ModelDescription;
+import org.oasis.wsrp.v2.ModifyRegistrationRequired;
+import org.oasis.wsrp.v2.OperationFailed;
+import org.oasis.wsrp.v2.OperationNotSupported;
+import org.oasis.wsrp.v2.PortletContext;
+import org.oasis.wsrp.v2.PortletDescription;
+import org.oasis.wsrp.v2.PortletLifetime;
+import org.oasis.wsrp.v2.Property;
+import org.oasis.wsrp.v2.PropertyList;
+import org.oasis.wsrp.v2.RegistrationContext;
+import org.oasis.wsrp.v2.ResetProperty;
+import org.oasis.wsrp.v2.ResourceList;
+import org.oasis.wsrp.v2.ResourceSuspended;
+import org.oasis.wsrp.v2.SetExportLifetime;
+import org.oasis.wsrp.v2.UserContext;
+import org.oasis.wsrp.v2.WSRPV2PortletManagementPortType;
+
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ */
+public class V2PortletManagementService extends PortletManagementService<WSRPV2PortletManagementPortType>
+{
+ public V2PortletManagementService(WSRPV2PortletManagementPortType port)
+ {
+ super(port);
+ }
+
+ @Override
+ public void getPortletDescription(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, List<String> desiredLocales, Holder<PortletDescription> portletDescription, Holder<ResourceList> resourceList, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ service.getPortletDescription(registrationContext, portletContext, userContext, desiredLocales, portletDescription, resourceList, extensions);
+ }
+
+ @Override
+ public void clonePortlet(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, Lifetime lifetime, Holder<String> portletHandle, Holder<byte[]> portletState, Holder<Lifetime> scheduledDestruction, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ service.clonePortlet(registrationContext, portletContext, userContext, lifetime, portletHandle, portletState, scheduledDestruction, extensions);
+ }
+
+ @Override
+ public void destroyPortlets(RegistrationContext registrationContext, List<String> portletHandles, UserContext userContext, Holder<List<FailedPortlets>> failedPortlets, Holder<List<Extension>> extensions) throws InconsistentParameters, InvalidRegistration, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ service.destroyPortlets(registrationContext, portletHandles, userContext, failedPortlets, extensions);
+ }
+
+ @Override
+ public void getPortletsLifetime(RegistrationContext registrationContext, List<PortletContext> portletContext, UserContext userContext, Holder<List<PortletLifetime>> portletLifetime, Holder<List<FailedPortlets>> failedPortlets, Holder<ResourceList> resourceList, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ service.getPortletsLifetime(registrationContext, portletContext, userContext, portletLifetime, failedPortlets, resourceList, extensions);
+ }
+
+ @Override
+ public void setPortletsLifetime(RegistrationContext registrationContext, List<PortletContext> portletContext, UserContext userContext, Lifetime lifetime, Holder<List<PortletLifetime>> updatedPortlet, Holder<List<FailedPortlets>> failedPortlets, Holder<ResourceList> resourceList, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ service.setPortletsLifetime(registrationContext, portletContext, userContext, lifetime, updatedPortlet, failedPortlets, resourceList, extensions);
+ }
+
+ @Override
+ public void copyPortlets(RegistrationContext toRegistrationContext, UserContext toUserContext, RegistrationContext fromRegistrationContext, UserContext fromUserContext, List<PortletContext> fromPortletContexts, Lifetime lifetime, Holder<List<CopiedPortlet>> copiedPortlets, Holder<List<FailedPortlets>> failedPortlets, Holder<ResourceList> resourceList, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ service.copyPortlets(toRegistrationContext, toUserContext, fromRegistrationContext, fromUserContext, fromPortletContexts, lifetime, copiedPortlets, failedPortlets, resourceList, extensions);
+ }
+
+ @Override
+ public void exportPortlets(RegistrationContext registrationContext, List<PortletContext> portletContext, UserContext userContext, Holder<Lifetime> lifetime, Boolean exportByValueRequired, Holder<byte[]> exportContext, Holder<List<ExportedPortlet>> exportedPortlet, Holder<List<FailedPortlets>> failedPortlets, Holder<ResourceList> resourceList, Holder<List<Extension>> extensions) throws AccessDenied, ExportByValueNotSupported, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ service.exportPortlets(registrationContext, portletContext, userContext, lifetime, exportByValueRequired, exportContext, exportedPortlet, failedPortlets, resourceList, extensions);
+ }
+
+ @Override
+ public void importPortlets(RegistrationContext registrationContext, byte[] importContext, List<ImportPortlet> importPortlet, UserContext userContext, Lifetime lifetime, Holder<List<ImportedPortlet>> importedPortlets, Holder<List<ImportPortletsFailed>> importFailed, Holder<ResourceList> resourceList, Holder<List<Extension>> extensions) throws AccessDenied, ExportNoLongerValid, InconsistentParameters, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ service.importPortlets(registrationContext, importContext, importPortlet, userContext, lifetime, importedPortlets, importFailed, resourceList, extensions);
+ }
+
+ @Override
+ public List<Extension> releaseExport(RegistrationContext registrationContext, byte[] exportContext, UserContext userContext)
+ {
+ return service.releaseExport(registrationContext, exportContext, userContext);
+ }
+
+ @Override
+ public Lifetime setExportLifetime(SetExportLifetime setExportLifetime) throws AccessDenied, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ return service.setExportLifetime(setExportLifetime);
+ }
+
+ @Override
+ public void setPortletProperties(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, PropertyList propertyList, Holder<String> portletHandle, Holder<byte[]> portletState, Holder<Lifetime> scheduledDestruction, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ service.setPortletProperties(registrationContext, portletContext, userContext, propertyList, portletHandle, portletState, scheduledDestruction, extensions);
+ }
+
+ @Override
+ public void getPortletProperties(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, List<String> names, Holder<List<Property>> properties, Holder<List<ResetProperty>> resetProperties, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ service.getPortletProperties(registrationContext, portletContext, userContext, names, properties, resetProperties, extensions);
+ }
+
+ @Override
+ public void getPortletPropertyDescription(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, List<String> desiredLocales, Holder<ModelDescription> modelDescription, Holder<ResourceList> resourceList, Holder<List<Extension>> extensions) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, InvalidUserCategory, MissingParameters, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ service.getPortletPropertyDescription(registrationContext, portletContext, userContext, desiredLocales, modelDescription, resourceList, extensions);
+ }
+}
Added: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2RegistrationService.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2RegistrationService.java (rev 0)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2RegistrationService.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -0,0 +1,86 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2008, Red Hat Middleware, LLC, 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.gatein.wsrp.services.v2;
+
+import org.gatein.wsrp.services.RegistrationService;
+import org.oasis.wsrp.v2.AccessDenied;
+import org.oasis.wsrp.v2.Extension;
+import org.oasis.wsrp.v2.GetRegistrationLifetime;
+import org.oasis.wsrp.v2.InvalidHandle;
+import org.oasis.wsrp.v2.InvalidRegistration;
+import org.oasis.wsrp.v2.Lifetime;
+import org.oasis.wsrp.v2.MissingParameters;
+import org.oasis.wsrp.v2.ModifyRegistrationRequired;
+import org.oasis.wsrp.v2.OperationFailed;
+import org.oasis.wsrp.v2.OperationNotSupported;
+import org.oasis.wsrp.v2.RegistrationContext;
+import org.oasis.wsrp.v2.RegistrationData;
+import org.oasis.wsrp.v2.ResourceSuspended;
+import org.oasis.wsrp.v2.SetRegistrationLifetime;
+import org.oasis.wsrp.v2.UserContext;
+import org.oasis.wsrp.v2.WSRPV2RegistrationPortType;
+
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ */
+public class V2RegistrationService extends RegistrationService<WSRPV2RegistrationPortType>
+{
+ public V2RegistrationService(WSRPV2RegistrationPortType service)
+ {
+ super(service);
+ }
+
+ @Override
+ public void register(RegistrationData registrationData, Lifetime lifetime, UserContext userContext, Holder<byte[]> registrationState, Holder<Lifetime> scheduledDestruction, Holder<List<Extension>> extensions, Holder<String> registrationHandle) throws MissingParameters, OperationFailed, OperationNotSupported
+ {
+ service.register(registrationData, lifetime, userContext, registrationState, scheduledDestruction, extensions, registrationHandle);
+ }
+
+ @Override
+ public List<Extension> deregister(RegistrationContext registrationContext, UserContext userContext) throws InvalidRegistration, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ return service.deregister(registrationContext, userContext);
+ }
+
+ @Override
+ public void modifyRegistration(RegistrationContext registrationContext, RegistrationData registrationData, UserContext userContext, Holder<byte[]> registrationState, Holder<Lifetime> scheduledDestruction, Holder<List<Extension>> extensions) throws InvalidRegistration, MissingParameters, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ service.modifyRegistration(registrationContext, registrationData, userContext, registrationState, scheduledDestruction, extensions);
+ }
+
+ @Override
+ public Lifetime getRegistrationLifetime(GetRegistrationLifetime getRegistrationLifetime) throws AccessDenied, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ return service.getRegistrationLifetime(getRegistrationLifetime);
+ }
+
+ @Override
+ public Lifetime setRegistrationLifetime(SetRegistrationLifetime setRegistrationLifetime) throws AccessDenied, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
+ {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+}
Added: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2ServiceDescriptionService.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2ServiceDescriptionService.java (rev 0)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/services/v2/V2ServiceDescriptionService.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -0,0 +1,76 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2008, Red Hat Middleware, LLC, 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.gatein.wsrp.services.v2;
+
+import org.gatein.wsrp.services.ServiceDescriptionService;
+import org.oasis.wsrp.v2.CookieProtocol;
+import org.oasis.wsrp.v2.EventDescription;
+import org.oasis.wsrp.v2.ExportDescription;
+import org.oasis.wsrp.v2.Extension;
+import org.oasis.wsrp.v2.ExtensionDescription;
+import org.oasis.wsrp.v2.InvalidRegistration;
+import org.oasis.wsrp.v2.ItemDescription;
+import org.oasis.wsrp.v2.ModelDescription;
+import org.oasis.wsrp.v2.ModelTypes;
+import org.oasis.wsrp.v2.ModifyRegistrationRequired;
+import org.oasis.wsrp.v2.OperationFailed;
+import org.oasis.wsrp.v2.PortletDescription;
+import org.oasis.wsrp.v2.RegistrationContext;
+import org.oasis.wsrp.v2.ResourceList;
+import org.oasis.wsrp.v2.ResourceSuspended;
+import org.oasis.wsrp.v2.UserContext;
+import org.oasis.wsrp.v2.WSRPV2ServiceDescriptionPortType;
+
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ */
+public class V2ServiceDescriptionService extends ServiceDescriptionService<WSRPV2ServiceDescriptionPortType> implements WSRPV2ServiceDescriptionPortType
+{
+ public V2ServiceDescriptionService(WSRPV2ServiceDescriptionPortType service)
+ {
+ super(service);
+ }
+
+ @Override
+ public void getServiceDescription(
+ RegistrationContext registrationContext, List<String> desiredLocales, List<String> portletHandles,
+ UserContext userContext, Holder<Boolean> requiresRegistration, Holder<List<PortletDescription>> offeredPortlets,
+ Holder<List<ItemDescription>> userCategoryDescriptions, Holder<List<ExtensionDescription>> extensionDescriptions,
+ Holder<List<ItemDescription>> customWindowStateDescriptions, Holder<List<ItemDescription>> customModeDescriptions,
+ Holder<CookieProtocol> requiresInitCookie, Holder<ModelDescription> registrationPropertyDescription,
+ Holder<List<String>> locales, Holder<ResourceList> resourceList, Holder<List<EventDescription>> eventDescriptions,
+ Holder<ModelTypes> schemaType, Holder<List<String>> supportedOptions, Holder<ExportDescription> exportDescription,
+ Holder<Boolean> mayReturnRegistrationState, Holder<List<Extension>> extensions)
+ throws InvalidRegistration, ModifyRegistrationRequired, OperationFailed, ResourceSuspended
+ {
+ service.getServiceDescription(registrationContext, desiredLocales, portletHandles, userContext,
+ requiresRegistration, offeredPortlets, userCategoryDescriptions, extensionDescriptions,
+ customWindowStateDescriptions, customModeDescriptions, requiresInitCookie, registrationPropertyDescription,
+ locales, resourceList, eventDescriptions, schemaType, supportedOptions, exportDescription,
+ mayReturnRegistrationState, extensions);
+ }
+}
Modified: components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/protocol/v1/BehaviorBackedServiceFactory.java
===================================================================
--- components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/protocol/v1/BehaviorBackedServiceFactory.java 2010-06-02 00:12:02 UTC (rev 3223)
+++ components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/protocol/v1/BehaviorBackedServiceFactory.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -26,7 +26,15 @@
import org.gatein.common.NotYetImplemented;
import org.gatein.pc.api.Mode;
import org.gatein.pc.api.WindowState;
+import org.gatein.wsrp.services.MarkupService;
+import org.gatein.wsrp.services.PortletManagementService;
+import org.gatein.wsrp.services.RegistrationService;
+import org.gatein.wsrp.services.ServiceDescriptionService;
import org.gatein.wsrp.services.ServiceFactory;
+import org.gatein.wsrp.services.v1.V1MarkupService;
+import org.gatein.wsrp.services.v1.V1PortletManagementService;
+import org.gatein.wsrp.services.v1.V1RegistrationService;
+import org.gatein.wsrp.services.v1.V1ServiceDescriptionService;
import org.oasis.wsrp.v1.V1AccessDenied;
import org.oasis.wsrp.v1.V1GetMarkup;
import org.oasis.wsrp.v1.V1InconsistentParameters;
@@ -137,6 +145,26 @@
return timeout;
}
+ public ServiceDescriptionService getServiceDescriptionService() throws Exception
+ {
+ return new V1ServiceDescriptionService(getService(WSRPV1ServiceDescriptionPortType.class));
+ }
+
+ public MarkupService getMarkupService() throws Exception
+ {
+ return new V1MarkupService(getService(WSRPV1MarkupPortType.class));
+ }
+
+ public PortletManagementService getPortletManagementService() throws Exception
+ {
+ return new V1PortletManagementService(getService(WSRPV1PortletManagementPortType.class));
+ }
+
+ public RegistrationService getRegistrationService() throws Exception
+ {
+ return new V1RegistrationService(getService(WSRPV1RegistrationPortType.class));
+ }
+
public void create() throws Exception
{
throw new NotYetImplemented();
Modified: components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/protocol/v2/BehaviorBackedServiceFactory.java
===================================================================
--- components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/protocol/v2/BehaviorBackedServiceFactory.java 2010-06-02 00:12:02 UTC (rev 3223)
+++ components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/protocol/v2/BehaviorBackedServiceFactory.java 2010-06-02 00:27:24 UTC (rev 3224)
@@ -26,7 +26,15 @@
import org.gatein.common.NotYetImplemented;
import org.gatein.pc.api.Mode;
import org.gatein.pc.api.WindowState;
+import org.gatein.wsrp.services.MarkupService;
+import org.gatein.wsrp.services.PortletManagementService;
+import org.gatein.wsrp.services.RegistrationService;
+import org.gatein.wsrp.services.ServiceDescriptionService;
import org.gatein.wsrp.services.ServiceFactory;
+import org.gatein.wsrp.services.v2.V2MarkupService;
+import org.gatein.wsrp.services.v2.V2PortletManagementService;
+import org.gatein.wsrp.services.v2.V2RegistrationService;
+import org.gatein.wsrp.services.v2.V2ServiceDescriptionService;
import org.oasis.wsrp.v2.AccessDenied;
import org.oasis.wsrp.v2.GetMarkup;
import org.oasis.wsrp.v2.InconsistentParameters;
@@ -97,6 +105,26 @@
return null;
}
+ public ServiceDescriptionService getServiceDescriptionService() throws Exception
+ {
+ return new V2ServiceDescriptionService(getService(WSRPV2ServiceDescriptionPortType.class));
+ }
+
+ public MarkupService getMarkupService() throws Exception
+ {
+ return new V2MarkupService(getService(WSRPV2MarkupPortType.class));
+ }
+
+ public PortletManagementService getPortletManagementService() throws Exception
+ {
+ return new V2PortletManagementService(getService(WSRPV2PortletManagementPortType.class));
+ }
+
+ public RegistrationService getRegistrationService() throws Exception
+ {
+ return new V2RegistrationService(getService(WSRPV2RegistrationPortType.class));
+ }
+
public BehaviorRegistry getRegistry()
{
return registry;
14 years, 6 months
gatein SVN: r3223 - epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US.
by do-not-reply@jboss.org
Author: smumford
Date: 2010-06-01 20:12:02 -0400 (Tue, 01 Jun 2010)
New Revision: 3223
Added:
epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/5.0.0_Release_Notes.ent
epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/5.0.0_Release_Notes.xml
Removed:
epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/Release_Notes.ent
epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/Release_Notes.xml
Modified:
epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/Book_Info.xml
Log:
Renaming to '5.0.0 Release Notes' for staging
Copied: epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/5.0.0_Release_Notes.ent (from rev 3222, epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/Release_Notes.ent)
===================================================================
--- epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/5.0.0_Release_Notes.ent (rev 0)
+++ epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/5.0.0_Release_Notes.ent 2010-06-02 00:12:02 UTC (rev 3223)
@@ -0,0 +1,4 @@
+<!ENTITY HOLDER "Red Hat, Inc">
+<!ENTITY YEAR "2010">
+<!ENTITY PRODUCT "JBoss Enterprise Portal Platform">
+<!ENTITY VERSION "5.0.0">
Copied: epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/5.0.0_Release_Notes.xml (from rev 3222, epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/Release_Notes.xml)
===================================================================
--- epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/5.0.0_Release_Notes.xml (rev 0)
+++ epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/5.0.0_Release_Notes.xml 2010-06-02 00:12:02 UTC (rev 3223)
@@ -0,0 +1,1095 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+]>
+<article id="JBEPP_5_0_Release_Notes">
+ <xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <section id="sect-Release_Notes-Introduction">
+ <title>Introduction</title>
+ <para>
+ &PRODUCT; offers an intuitive, easy to manage user interface and a proven core infrastructure to enable organizations to quickly build dynamic web sites in a highly reusable way. By bringing the principals of Open Choice to the presentation layer, &PRODUCT; &VERSION; maximizes existing skills and technology investments.
+ </para>
+ <para>
+ By integrating proven open source frameworks such as JBoss Seam, Hibernate, Tomcat and JBoss Cache &PRODUCT; takes advantage of innovations in the open source community. As well, &PRODUCT; version &VERSION; is fully tested and supported by Red Hat, and is certified to work on many leading enterprise hardware and software products.
+ </para>
+ </section>
+
+ <section>
+ <title>New Features</title>
+ <variablelist>
+ <varlistentry>
+ <term>Revamped User Interface</term>
+ <listitem>
+ <para>
+ JBoss Enterprise Portal Platform (EPP) has replaced it's existing JSF user interface with one based upon a new framework that is an extension of the Groovy framework. This new interface includes many new features geared towards enabling more interaction and customization of portals, skins and pages by non-development resources.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Master Object Page Model </term>
+ <listitem>
+ <para>
+ EPP has replaced the existing XML file drive page model towards a new model that treats each portlet page as an object stored in the Java Content Repository (JCR). This new model allows for pages to be highly reusable and enables simple page creation, editing and hierarchical node management within the portal.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>New Navigational Controls</term>
+ <listitem>
+ <para>
+ EPP has implemented navigational controls that dynamically and contextually get data from the JCR. These controls are portlet based and can be customized and modified to meet a wide range of navigational options.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Site and Page Wizards</term>
+ <listitem>
+ <para>
+ EPP has implemented wizard capabilities to simplify the creation of pages for non-development resources. These wizards enable selection of page placement in the portal, implementation of over 10 out of the box page layouts, addition of portlets and gadgets as well as page security.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Administration Portlets</term>
+ <listitem>
+ <para>
+ EPP has implemented an entirely new set of administration portlets to simplify the management of portlets and gadgets and well as users and groups.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Right to Left Language Support</term>
+ <listitem>
+ <para>
+ EPP supports localization and includes over 12 out of the box language localizations. This includes right to left language support.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Gadget Container</term>
+ <listitem>
+ <para>
+ EPP has implemented the Shindig Open Social Gadget container.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Portlet Bridge 2.0</term>
+ <listitem>
+ <para>
+ A new updated version of the Portlet Bridge Project that enables the easy creation of portlets that reuse JSF, Seam and Rich Faces applications. The new version of the bridge spans a wider range of use cases from the underlying applications as well as support for the Portlet 2.0 (JSR286) specification.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Example Portlets</term>
+ <listitem>
+ <para>
+ EPP includes a directory with additional example and sample portlets that can be compiled and modified to meet customer requirements in projects.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>New Identity Manager</term>
+ <listitem>
+ <para>
+ A new framework to manage users, groups and roles is implemented. This new identity manager enables attributes to utilize information from LDAP servers as well as external databases and applications
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss Enterprise Application Server 5.0</term>
+ <listitem>
+ <para>
+ The JBoss Enterprise Application Server 5.0 (JBoss EAP 5.0) is based on the JBoss AS 5.1.x family and is the latest release of the world's most popular application server. JBoss EAP 5.0 represents the state of the art with the second generation JBoss Microcontainer-based enterprise Java run-time.
+ </para>
+ <para>
+ In addition to supporting the latest Java EE specification (Java EE 5), JBoss EAP 5.0 integrates many of the best enterprise class services for advanced messaging, persistence, transactions, caching and high-availability.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss Microcontainer</term>
+ <listitem>
+ <para>
+ The JBoss Microcontainer is a refactoring of the modular JBoss JMX Microkernel. It is a lightweight kernel that manages the loading, lifecycle and dependencies between POJOs. Together with a Servlet/JSP container, an EJB container, deployers, and management utilities, the JBoss Microcontainer provides a standard Java EE 5 profile.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss Cache</term>
+ <listitem>
+ <para>
+ JBoss Cache provides replication for EJB and HTTP session state and supports distributed entity caching for JPA. It also provides superior performance and scalability with the new MultiVersion Concurrency Control (MVCC) locking scheme.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss Web Services</term>
+ <listitem>
+ <para>
+ JBoss Web Services is a framework that provides support for the latest JAX-WS specification as well as a plugin architecture for supporting alternative Web Services Stacks.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </section>
+
+ <section id="sect-Release_Notes-Architecture_of_PRODUCT_VERSION">
+ <title>Component Versions</title>
+ <para>
+ This section details the versions of the components which create the JBoss Enterprise Portal Platform 5.0.0.
+ </para>
+ <table>
+ <title>JBoss Enterprise Portal Platform Component Versions</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>
+ Component
+ </entry>
+ <entry>
+ Version
+ </entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ JBoss Enterprise Application Platform
+ </entry>
+ <entry>
+ 5.0.1 GA
+ </entry>
+ </row>
+ <row>
+ <entry>
+ JBoss Cache
+ </entry>
+ <entry>
+ 3.2.4
+ </entry>
+ </row>
+ <row>
+ <entry>
+ GateIn Common
+ </entry>
+ <entry>
+ 2.0.2
+ </entry>
+ </row>
+ <row>
+ <entry>
+ GateIn WCI
+ </entry>
+ <entry>
+ 2.0.1
+ </entry>
+ </row>
+ <row>
+ <entry>
+ GateIn PC
+ </entry>
+ <entry>
+ 2.1.1
+ </entry>
+ </row>
+ <row>
+ <entry>
+ GateIn WSRP
+ </entry>
+ <entry>
+ 1.1.1
+ </entry>
+ </row>
+ <row>
+ <entry>
+ GateIn MOP
+ </entry>
+ <entry>
+ 1.0.2
+ </entry>
+ </row>
+ <row>
+ <entry>
+ GateIn SSO
+ </entry>
+ <entry>
+ 1.0.0-epp
+ </entry>
+ </row>
+ <row>
+ <entry>
+ PicketLink IDM
+ </entry>
+ <entry>
+ 1.1.3
+ </entry>
+ </row>
+ <row>
+ <entry>
+ eXoplatform JCR
+ </entry>
+ <entry>
+ 1.12.1
+ </entry>
+ </row>
+ <row>
+ <entry>
+ eXoplatform Kernel
+ </entry>
+ <entry>
+ 2.2.1-GA
+ </entry>
+ </row>
+ <row>
+ <entry>
+ Portlet Bridge
+ </entry>
+ <entry>
+ 2.0
+ </entry>
+ </row>
+ <row>
+ <entry>
+ Chromattic
+ </entry>
+ <entry>
+ 1.0.1
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+
+ <section id="sect-Release_Notes-Certified_Environments">
+ <title>Installation</title>
+ <para>
+ The JBoss Enterprise Portal Platform Installation Guide contains details of software and hardware requirements as well as detailed installation instructions.
+ </para>
+ <para>
+ The Installation Guide can be found online at <ulink type="http" url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/">www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/</ulink>.
+ </para>
+<!-- <para>
+ The environments &PRODUCT; &VERSION; is certified to run on are:
+ </para>
+ <table id="tabl-Release_Notes-Certified_Environments-Java_Virtual_Machine_Support">
+ <title>Java Virtual Machine Support</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>
+ Platform
+ </entry>
+ <entry>
+ JVM
+ </entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ RHEL 5 x86
+ </entry>
+ <entry>
+ <para>
+ Sun JDK 1.6 Update 15 (update v1.8)
+ </para>
+ <para>
+ OpenJDK 1.6.0-b09 (update v1.8)
+ </para>
+ <para>
+ IBM JDK 1.6.0 SR5 (update v1.8)
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ RHEL 5 x86_64
+ </entry>
+ <entry>
+ <para>
+ Sun JDK 1.6 Update 15 (update v1.8)
+ </para>
+ <para>
+ OpenJDK 1.6.0-b09 (update v1.8)
+ </para>
+ <para>
+ IBM JDK 1.6.0 SR5 (update v1.8)
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ MS Windows 2008 x86
+ </entry>
+ <entry>
+ Sun JDK 1.6
+ </entry>
+ </row>
+ <row>
+ <entry>
+ MS Windows 2008 x86_64
+ </entry>
+ <entry>
+ Sun JDK 1.6
+ </entry>
+ </row>
+ <row>
+ <entry>
+ Solaris 10
+ </entry>
+ <entry>
+ Sun JDK 1.6
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table id="tabl-Release_Notes-Certified_Environments-Database_Support_">
+ <title>Database Support </title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>
+ DBMS
+ </entry>
+ <entry>
+ Server
+ </entry>
+ <entry>
+ JBDC Driver
+ </entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ MySQL
+ </entry>
+ <entry>
+ <para>
+ 5.1 (certified)
+ </para>
+ <para>
+ 5.0 (compatible)
+ </para>
+ </entry>
+ <entry>
+ <para>
+ MYSQL Connector/J 5.1.8 (certified)
+ </para>
+ <para>
+ MySQL Connector/J 5.0.8 (compatible)
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ Oracle DB
+ </entry>
+ <entry>
+ <para>
+ 10g R2 (10.2.0.4) (certified)
+ </para>
+ <para>
+ 11g R1 (11.1.0.7.0) (compatible)
+ </para>
+ <para>
+ 11g RAC (11.1.0.7.0) (compatible)
+ </para>
+ </entry>
+ <entry>
+ <para>
+ Oracle 10g R2 (10.2.0.4) (certified)
+ </para>
+ <para>
+ Oracle 11g R1 (11.1.0.7) (compatible)
+ </para>
+ <para>
+ Oracle 11g R1 (11.1.0.7) (compatible)
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ MS SQL Server
+ </entry>
+ <entry>
+ <para>
+ 2005 SP3 (certified)
+ </para>
+ <para>
+ 2008 SP1 (certified)
+ </para>
+ </entry>
+ <entry>
+ JDBC Driver 2.0 (certified)
+ </entry>
+ </row>
+ <row>
+ <entry>
+ PostgresSQL
+ </entry>
+ <entry>
+ <para>
+ 8.3.7 (certified)
+ </para>
+ <para>
+ 8.2.4 (compatible)
+ </para>
+ </entry>
+ <entry>
+ <para>
+ JDBC4 Driver, Ver 8.3-605 (certified)
+ </para>
+ <para>
+ JDBC4 Driver, Ver 8.2-510 (compatible)
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ DB2
+ </entry>
+ <entry>
+ 9.7 (certified)
+ </entry>
+ <entry>
+ IBM Data Server Driver for JDBC and SQLJ (JCC Driver) Version: 9.1 (fixpack 3a) (certified)
+ </entry>
+ </row>
+ <row>
+ <entry>
+ Sybase
+ </entry>
+ <entry>
+ 15.0.2 (certified)
+ </entry>
+ <entry>
+ JConnect v6.0.5 (Build 26564 / 11 Jun 2009) (certified)
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table id="tabl-Release_Notes-Certified_Environments-Directory_Support">
+ <title>Directory Support</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>
+ Directory Service
+ </entry>
+ <entry>
+ Version
+ </entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ OpenDS
+ </entry>
+ <entry>
+ <para>
+ 1.2
+ </para>
+ <para>
+ 2.0
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ OpenLDAP
+ </entry>
+ <entry>
+ 2.4
+ </entry>
+ </row>
+ <row>
+ <entry>
+ Red Hat Identity Server
+ </entry>
+ <entry>
+ 7.1 or later
+ </entry>
+ </row>
+ <row>
+ <entry>
+ MS Active Directory
+ </entry>
+ <entry>
+ Windows Server 2008
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table id="tabl-Release_Notes-Certified_Environments-Browser_support">
+ <title>Browser support</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>
+ Browser
+ </entry>
+ <entry>
+ Version
+ </entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ Internet Explorer
+ </entry>
+ <entry>
+ <para>7</para>
+ <para>8</para>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ Firefox
+ </entry>
+ <entry>
+ <para>
+ 3
+ </para>
+ <para>
+ 3.5
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ Safari
+ </entry>
+ <entry>
+ 4
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table> -->
+ </section>
+
+<!-- <section id="Issues-fixed-in-this-release">
+ <title>
+ Issues fixed in this release
+ </title>
+ <warning>
+ <title>TODO</title>
+ <para>
+ Following is a list of issues fixed in this release:
+ </para>
+ </warning>
+ <formalpara>
+ <title>Component 1</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Issues fixed.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>Component 2</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Issues fixed.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>Etc</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Issues fixed.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ </section> -->
+
+ <section id="sect-Release_Notes-_Known_Issues_with_this_release_">
+ <title> Known Issues with this release </title>
+
+ <para>
+ JBoss Enterprise Portal Platform 5.0 is based upon an entirely new JBoss community project named GateIn (<ulink type="http" url="http://www.gatein.org">www.gatein.org</ulink>). Previous releases were based upon the JBoss Portal Community Project (<ulink type="http" url="http://www.jboss.org/jbossportal">http://www.jboss.org/jbossportal</ulink>).
+ </para>
+ <para>
+ Every reasonable effort has been made to address issues with the previous releases of Enterprise Portal Platform. However, since this is a completely new architecture it is difficult to provide a pure translation of issues from release to release.
+ </para>
+
+<!-- <section>
+ <title>Security Issues</title>
+ <variablelist>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBPAPP-3171">https://jira.jboss.org/browse/JBPAPP-3171</ulink></term>
+ <listitem>
+ <para>
+ Cross-site scripting (XSS) vulnerabilities were found in the Enterprise Application Platform component of &PRODUCT;. While the issue has been addressed, some minor vulnerabilities may linger in this release.
+ </para>
+ <para>
+ This issue will be completely resolved in a future release of &PRODUCT;.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBPAPP-4141">https://jira.jboss.org/browse/JBPAPP-4141</ulink></term>
+ <listitem>
+ <para>
+ Some servlets may leak information about a portal's version, running environment, system hardware or Java Virtual Machine setups.
+ </para>
+ <para>
+ This issue will be resolved in a future release of &PRODUCT;.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term> Autologin</term>
+ <listitem>
+ <para>
+ The new autologin feature in &PRODUCT;, could be exploited in production environments.
+ </para>
+ <para>
+ To disable autologin ...
+ </para>
+
+
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Non-changing Captcha</term>
+ <listitem>
+ <para>
+ The <emphasis>captcha</emphasis> registration feature can be brute-forced to not change, which can allow fake users to be created automatically and in bulk.
+ </para>
+ <para>
+ To prevent this a new captcha must be created with every <literal>post</literal> request to the portal user register.
+ </para>
+ <para>
+ This fix will be implemented in a future release of &PRODUCT;.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </section> -->
+
+ <section id="sect-Release_Notes-_Known_Issues_with_this_release_-General_Known_Issues">
+ <title>General Known Issues</title>
+ <formalpara>
+ <title><ulink url="https://jira.jboss.org/secure/IssueNavigator.jspa?mode=hide&requestId...">https://jira.jboss.org/secure/IssueNavigator.jspa?mode=hide&requestId...</ulink></title>
+ <para>
+ A list of general issues in this release.
+ </para>
+ </formalpara>
+ </section>
+
+ <section id="sect-Release_Notes-_Known_Issues_with_this_release_-Component_Specific_Known_Issues">
+ <title>Specific Known Issues</title>
+ <variablelist>
+ <varlistentry>
+ <term><ulink type="http" url="">https://jira.jboss.org/browse/JBEPP-167</ulink></term>
+ <listitem>
+ <para>
+ EPP will not start on an IBM JVM unless the <filename>jcip-annotations.jar</filename> file is copied into /server/default/lib.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-207">https://jira.jboss.org/browse/JBEPP-207</ulink></term>
+ <listitem>
+ <para>
+ A <literal>NullPointerException</literal> may be encountered when selecting a page which has been deleted in Page Management.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-208">https://jira.jboss.org/browse/JBEPP-208</ulink></term>
+ <listitem>
+ <para>
+ An '<emphasis role="bold">Unknown errror</emphasis>' may be encountered while a editing page or layout in Dashboard under certain circumstances.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term> <ulink type="http" url="https://jira.jboss.org/browse/JBEPP-210">https://jira.jboss.org/browse/JBEPP-210</ulink></term>
+ <listitem>
+ <para>
+ An '<emphasis role="bold">Unknown error</emphasis>' may be returned when trying to save a page from which an application has been removed.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-212">https://jira.jboss.org/browse/JBEPP-212</ulink></term>
+ <listitem>
+ <para>
+ Performing concurrent modifications of a dashboard may result in an error.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-226">https://jira.jboss.org/browse/JBEPP-226</ulink></term>
+ <listitem>
+ <para>
+ Uppercase and lowercase characters are not differentiated in the application registry.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-262">https://jira.jboss.org/browse/JBEPP-262</ulink></term>
+ <listitem>
+ <para>
+ &PRODUCT; requires a one-off patch in EAP to fix the bug <ulink type="http" url="https://jira.jboss.org/browse/JBPAPP-3977">JBossWS - Timeout value gets inserted into URLs</ulink>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-296">https://jira.jboss.org/browse/JBEPP-296</ulink></term>
+ <listitem>
+ <para>
+ The error message "<emphasis role="bold">Page not found</emphasis>" is displayed after the layout of any portal page is edited.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-315">https://jira.jboss.org/browse/JBEPP-315</ulink></term>
+ <listitem>
+ <para>
+ Pre-release testing indicated that render parameters in JSR-286 portlets are not replicating in a cluster with 2-nodes.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-326">https://jira.jboss.org/browse/JBEPP-326</ulink></term>
+ <listitem>
+ <para>
+ The error message displayed when creating portal which starts with a number (an illegal character) contains the typographical error '<emphasis role="bold">contains</emphasis>'.
+ </para>
+ <para>
+ The message should read as: <emphasis role="bold">The "Portal Name :" field must start with a character and must not contain special characters</emphasis>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-331">https://jira.jboss.org/browse/JBEPP-331</ulink></term>
+ <listitem>
+ <para>
+ The logo in the logo portlet on the &PRODUCT; Dashboard has a relative URL. This can cause URL validation issues returning the error: <emphasis role="bold">The field "logoUrl" must match the format "URL"</emphasis>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-334">https://jira.jboss.org/browse/JBEPP-334</ulink></term>
+ <listitem>
+ <para>
+ Uppercase lettering does not work with MYSQL databases. This can cause problems when creating pages or portals with the same name.
+ </para>
+ <para>
+ This is caused by MYSQL's <literal>VARCAHR</literal> entry in the <literal>JCR_SITEM</literal> table not being case sensitive. A patch has been written that solves this issue by switching the <literal>VARCHAR</literal> entry to use <literal>VARBINARY</literal> which is case sensitive.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-339">https://jira.jboss.org/browse/JBEPP-339</ulink></term>
+ <listitem>
+ <para>
+ A <literal>NullPointerException</literal> is encountered when attempting to access a Dashboard after a page has been deleted.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-342">https://jira.jboss.org/browse/JBEPP-342</ulink></term>
+ <listitem>
+ <para>
+ Unicode and special characters in some languages (specifically German) are badly escaped in the names of navigation nodes.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-343">https://jira.jboss.org/browse/JBEPP-343</ulink></term>
+ <listitem>
+ <para>
+ When creating or deleting new group navigations, changes do not appear in the portal until after a logout/login.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-344">https://jira.jboss.org/browse/JBEPP-344</ulink></term>
+ <listitem>
+ <para>
+ There are currently some User Interface display inconsistencies when using Internet Explorer 6 to edit or view a portal.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-350">https://jira.jboss.org/browse/JBEPP-350</ulink></term>
+ <listitem>
+ <para>
+ An error is encountered when adding a gadget to a portal using a MYSQL database if the '<filename>/server/production</filename>' folder has been removed but the database has not been cleaned.
+ </para>
+ <para>
+ In this scenario the error; <emphasis role="bold">Unable to retrieve gadget xml. HTTP error 500</emphasis> is returned.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-355">https://jira.jboss.org/browse/JBEPP-355</ulink></term>
+ <listitem>
+ <para>
+ The portal will return a permissions error when trying to add all groups in the group navigation, even if the user is logged in as the portal administrator (root).
+ </para>
+ <para>
+ The error message will read: <emphasis role="bold">This user doesn't have permissions to add navigation</emphasis>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-356">https://jira.jboss.org/browse/JBEPP-356</ulink></term>
+ <listitem>
+ <para>
+ Groups listed in the Add Navigation window of the Group navigation page are not currently listed in alphabetical order.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-358">https://jira.jboss.org/browse/JBEPP-358</ulink></term>
+ <listitem>
+ <para>
+ When using the portal with the French language and attempting to recover a lost/forgotten password, the recovery window is not translated into French and refers to the portal as eXo, as opposed to &PRODUCT;.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-360">https://jira.jboss.org/browse/JBEPP-360</ulink></term>
+ <listitem>
+ <para>
+ The login page shown after a timed-out session or a failed login attempt is currently branded with the <literal>GateIn</literal> name and logo. <literal>GateIn</literal> is a community project that &PRODUCT; is based on.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-362">https://jira.jboss.org/browse/JBEPP-362</ulink></term>
+ <listitem>
+ <para>
+ The JSPHelloWorld portlet example currently returns the line: "<emphasis role="bold">my name is JBoss Portal. What's yours?</emphasis>". The line should read: "<emphasis role="bold">my name is &PRODUCT;. What's yours?</emphasis>".
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-367">https://jira.jboss.org/browse/JBEPP-367</ulink></term>
+ <listitem>
+ <para>
+ The SEAM component used in &PRODUCT; &VERSION; has a bug that makes it generate AS 5 incompatible pages.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-369">https://jira.jboss.org/browse/JBEPP-369</ulink></term>
+ <listitem>
+ <para>
+ The use of two JSR286 portlets that use the same portlet-name but different portlet applications will create an exception in the application registry.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-363">https://jira.jboss.org/browse/JBEPP-363</ulink></term>
+ <listitem>
+ <para>
+ A deleted user's entry can still be seen, and edited, in the database after they are removed from LDAP.
+ </para>
+ <para>
+ If the password for the deleted user's account is changed after deletion, and a login attempt is made using the new password an error is encountered and further logins cannot be completed.
+ </para>
+ <para>
+ Clearing the user session will clear this error and allow normal logins.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </section>
+
+ </section>
+
+
+ <section>
+ <title>Recommended Practices</title>
+<!-- <para>
+ &PRODUCT; &VERSION; includes four pre-configured user accounts for testing and evaluation puposes. These accounts can be used for direct access to the portal.
+ </para> -->
+ <para>
+ For security reasons, before going in production, you should restrict the access to the login servlet to POST.
+ </para>
+ <para>
+ To do so, edit the file <filename>$JBOSS_HOME/server/[configuration]/gatein.ear/02portal.war/WEB-INF/web.xml</filename> and add:
+ </para>
+<programlisting language="XML" role="XML"><![CDATA[
+<security-constraint>
+ <web-resource-collection>
+ <web-resource-name>login</web-resource-name>
+ <url-pattern>/login</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>PUT</http-method>
+ <http-method>DELETE</http-method>
+ <http-method>HEAD</http-method>
+ <http-method>OPTIONS</http-method>
+ <http-method>TRACE</http-method>
+ </web-resource-collection>
+ <auth-constraint/>
+</security-constraint> ]]></programlisting>
+ <para>
+ Doing this will render the login links provided on the front page inactive.
+ </para>
+
+ </section>
+
+ <section>
+ <title>Migration from Enterprise Portal Platform 4.3</title>
+ <para>
+ As stated in section 5 of this document, Enterprise Portal Platform 5 is based upon an entirely new core architecture and is not backwards compatible with Enterprise Portal Platform 4.3.
+ </para>
+ <para>
+ As a value added part of an enterprise subscription to EPP the JBoss Portal team is working to develop a set of migration utilities (which may take the form of documentation, guides and/or scripts) to assist customers in migration. We intend to release these utilities in a future revision of JBoss Enterprise Portal Platform 5.x.
+ </para>
+ <para>
+ For customers seeking to begin a migration prior to the availability of any Red Hat provided migration utilities, please contact Red Hat JBoss Support for migration advice. Red Hat JBoss support will be the main communication channel for migration knowledge as it is developed.
+ </para>
+ <para>
+ Red Hat JBoss Customer Support can be accessed <ulink type="http" url="https://www.redhat.com/apps/support/">here</ulink>.
+ </para>
+ </section>
+
+<!-- <section id="Tech-previews">
+ <title>Technology Previews</title>
+
+ <para>
+ This section describes the Technology Preview features released alongside JBoss Enterprise Portal Platform, their installation, and any known issues.
+ </para>
+
+ <warning>
+ <title>Technology Preview</title>
+ <para>
+ Technology Preview features are not fully supported under Red Hat subscription level agreements (SLAs), may not be functionally complete, and are not intended for production use. However, these features provide early access to upcoming product innovations, enabling customers to test functionality and provide feedback during the development process. As Red Hat considers making future iterations of Technology Preview features generally available, we will provide commercially reasonable efforts to resolve any reported issues that customers experience when using these features.
+ </para>
+ </warning>
+ <section>
+ <title>Site Publisher</title>
+ <para>
+ EPP includes an optional download from the Red Hat Customer Support Portal for a technical preview for an optional add on called Site Publisher. Site Publisher is an embedded web content authoring and publication component that provides many addtional features for organizations looking to enable line of business resources to directly manage sites, pages and content within the context of the portal versus through integration with an external web content management system.
+ </para>
+ </section>
+ </section> -->
+
+ <section id="sect-Release_Notes-_Documentation_">
+ <title> Documentation </title>
+ <para>
+ Visit <ulink type="http" url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/">www.redhat.com</ulink> for further documentation regarding &PRODUCT;.
+ </para>
+ <para>
+ Amongst the online documentation you will find the following important guides:
+ </para>
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term>Installation Guide</term>
+ <listitem>
+ <para>
+ This document explains how to install and verify the installation of &PRODUCT; using different installation methods.
+ </para>
+ <para>
+ Get the Installation Guide from <ulink type="http" url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.0.0/h...">http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.0.0/h...</ulink>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>User Guide</term>
+ <listitem>
+ <para>
+ This document provides an easy to follow guide to the functions and options available in &PRODUCT;. It is intended to be accessible and useful to both experienced and novice portal users.
+ </para>
+ <para>
+ Get the User Guide from <ulink type="http" url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.0.0/h...">http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.0.0/h...</ulink>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Reference Guide</term>
+ <listitem>
+ <para>
+ This is a high-level usage document. It deals with more advanced topics than the Installation and User guides, adding new content or taking concepts discussed in the earlier documents further. It aims to provide supporting documentation for advanced users of &PRODUCT;. Its primary focus is on advanced use of the product and it assumes an intermediate or advanced knowledge of the technology and terms.
+ </para>
+ <para>
+ Get the Reference Guide from <ulink type="http" url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.0.0/h...">http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.0.0/h...</ulink>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ <para>
+ The online documentation will be updated as necessary so be sure to check the site regularly, especially when a new version of the &PRODUCT; is released.
+ </para>
+ </section>
+
+ <section id="sect-Release_Notes-Product_Support_and_License_Website_Links">
+ <title> Product Support and License Website Links </title>
+ <formalpara id="form-Release_Notes-Product_Support_and_License_Website_Links-Support_Processes">
+ <title>Support Processes</title>
+ <para>
+ <ulink url="http://www.redhat.com/support/process/">http://www.redhat.com/support/process/</ulink>
+ </para>
+ </formalpara>
+ <formalpara id="form-Release_Notes-Product_Support_and_License_Website_Links-Production_Support_Scope_of_Coverage">
+ <title> Production Support Scope of Coverage </title>
+ <para>
+ <ulink url="http://www.redhat.com/support/policy/soc/production">http://www.redhat.com/support/policy/soc/production</ulink>
+ </para>
+ </formalpara>
+ <formalpara id="form-Release_Notes-Product_Support_and_License_Website_Links-Production_Support_Service_Level_Agreement">
+ <title> Production Support Service Level Agreement </title>
+ <para>
+ <ulink url="http://www.redhat.com/support/policy/sla/production/">http://www.redhat.com/support/policy/sla/production/</ulink>
+ </para>
+ </formalpara>
+ <formalpara id="form-Release_Notes-Product_Support_and_License_Website_Links-Developer_Support_Scope_of_Coverage">
+ <title> Developer Support Scope of Coverage </title>
+ <para>
+ <ulink url="http://www.redhat.com/support/policy/soc/developer/">http://www.redhat.com/support/policy/soc/developer/</ulink>
+ </para>
+ </formalpara>
+ <formalpara id="form-Release_Notes-Product_Support_and_License_Website_Links-Developer_Support_Service_Level_Agreement">
+ <title> Developer Support Service Level Agreement </title>
+ <para>
+ <ulink url="http://www.redhat.com/support/policy/sla/developer/">http://www.redhat.com/support/policy/sla/developer/</ulink>
+ </para>
+ </formalpara>
+ <formalpara id="form-Release_Notes-Product_Support_and_License_Website_Links-Product_Update_and_Support_Policy_by_Product">
+ <title> Product Update and Support Policy by Product </title>
+ <para>
+ <ulink url="http://www.redhat.com/security/updates/jboss_notes/">http://www.redhat.com/security/updates/jboss_notes/</ulink>
+ </para>
+ </formalpara>
+ <formalpara id="form-Release_Notes-Product_Support_and_License_Website_Links-JBoss_End_User_License_Agreement">
+ <title> JBoss End User License Agreement </title>
+ <para>
+ <ulink url="http://www.redhat.com/licenses/jboss_eula.html">http://www.redhat.com/licenses/jboss_eula.html</ulink>
+ </para>
+ </formalpara>
+ </section>
+
+ <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</article>
+
Modified: epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/Book_Info.xml
===================================================================
--- epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/Book_Info.xml 2010-06-01 23:51:30 UTC (rev 3222)
+++ epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/Book_Info.xml 2010-06-02 00:12:02 UTC (rev 3223)
@@ -2,7 +2,7 @@
<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
]>
<articleinfo id="arti-Release_Notes-Release_Notes">
- <title>Release Notes</title>
+ <title>5.0.0 Release Notes</title>
<subtitle>For use with JBoss Enterprise Portal Platform 5.0.0</subtitle>
<edition>1.0</edition>
<pubsnumber>1</pubsnumber>
Deleted: epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/Release_Notes.ent
===================================================================
--- epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/Release_Notes.ent 2010-06-01 23:51:30 UTC (rev 3222)
+++ epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/Release_Notes.ent 2010-06-02 00:12:02 UTC (rev 3223)
@@ -1,4 +0,0 @@
-<!ENTITY HOLDER "Red Hat, Inc">
-<!ENTITY YEAR "2010">
-<!ENTITY PRODUCT "JBoss Enterprise Portal Platform">
-<!ENTITY VERSION "5.0.0">
Deleted: epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/Release_Notes.xml
===================================================================
--- epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/Release_Notes.xml 2010-06-01 23:51:30 UTC (rev 3222)
+++ epp/docs/tags/EPP_5_0_0_GA/Enterprise_Portal_Platform_Release_Notes/en-US/Release_Notes.xml 2010-06-02 00:12:02 UTC (rev 3223)
@@ -1,1095 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
-]>
-<article id="JBEPP_5_0_Release_Notes">
- <xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <section id="sect-Release_Notes-Introduction">
- <title>Introduction</title>
- <para>
- &PRODUCT; offers an intuitive, easy to manage user interface and a proven core infrastructure to enable organizations to quickly build dynamic web sites in a highly reusable way. By bringing the principals of Open Choice to the presentation layer, &PRODUCT; &VERSION; maximizes existing skills and technology investments.
- </para>
- <para>
- By integrating proven open source frameworks such as JBoss Seam, Hibernate, Tomcat and JBoss Cache &PRODUCT; takes advantage of innovations in the open source community. As well, &PRODUCT; version &VERSION; is fully tested and supported by Red Hat, and is certified to work on many leading enterprise hardware and software products.
- </para>
- </section>
-
- <section>
- <title>New Features</title>
- <variablelist>
- <varlistentry>
- <term>Revamped User Interface</term>
- <listitem>
- <para>
- JBoss Enterprise Portal Platform (EPP) has replaced it's existing JSF user interface with one based upon a new framework that is an extension of the Groovy framework. This new interface includes many new features geared towards enabling more interaction and customization of portals, skins and pages by non-development resources.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Master Object Page Model </term>
- <listitem>
- <para>
- EPP has replaced the existing XML file drive page model towards a new model that treats each portlet page as an object stored in the Java Content Repository (JCR). This new model allows for pages to be highly reusable and enables simple page creation, editing and hierarchical node management within the portal.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>New Navigational Controls</term>
- <listitem>
- <para>
- EPP has implemented navigational controls that dynamically and contextually get data from the JCR. These controls are portlet based and can be customized and modified to meet a wide range of navigational options.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Site and Page Wizards</term>
- <listitem>
- <para>
- EPP has implemented wizard capabilities to simplify the creation of pages for non-development resources. These wizards enable selection of page placement in the portal, implementation of over 10 out of the box page layouts, addition of portlets and gadgets as well as page security.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Administration Portlets</term>
- <listitem>
- <para>
- EPP has implemented an entirely new set of administration portlets to simplify the management of portlets and gadgets and well as users and groups.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Right to Left Language Support</term>
- <listitem>
- <para>
- EPP supports localization and includes over 12 out of the box language localizations. This includes right to left language support.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Gadget Container</term>
- <listitem>
- <para>
- EPP has implemented the Shindig Open Social Gadget container.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Portlet Bridge 2.0</term>
- <listitem>
- <para>
- A new updated version of the Portlet Bridge Project that enables the easy creation of portlets that reuse JSF, Seam and Rich Faces applications. The new version of the bridge spans a wider range of use cases from the underlying applications as well as support for the Portlet 2.0 (JSR286) specification.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Example Portlets</term>
- <listitem>
- <para>
- EPP includes a directory with additional example and sample portlets that can be compiled and modified to meet customer requirements in projects.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>New Identity Manager</term>
- <listitem>
- <para>
- A new framework to manage users, groups and roles is implemented. This new identity manager enables attributes to utilize information from LDAP servers as well as external databases and applications
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>JBoss Enterprise Application Server 5.0</term>
- <listitem>
- <para>
- The JBoss Enterprise Application Server 5.0 (JBoss EAP 5.0) is based on the JBoss AS 5.1.x family and is the latest release of the world's most popular application server. JBoss EAP 5.0 represents the state of the art with the second generation JBoss Microcontainer-based enterprise Java run-time.
- </para>
- <para>
- In addition to supporting the latest Java EE specification (Java EE 5), JBoss EAP 5.0 integrates many of the best enterprise class services for advanced messaging, persistence, transactions, caching and high-availability.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>JBoss Microcontainer</term>
- <listitem>
- <para>
- The JBoss Microcontainer is a refactoring of the modular JBoss JMX Microkernel. It is a lightweight kernel that manages the loading, lifecycle and dependencies between POJOs. Together with a Servlet/JSP container, an EJB container, deployers, and management utilities, the JBoss Microcontainer provides a standard Java EE 5 profile.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>JBoss Cache</term>
- <listitem>
- <para>
- JBoss Cache provides replication for EJB and HTTP session state and supports distributed entity caching for JPA. It also provides superior performance and scalability with the new MultiVersion Concurrency Control (MVCC) locking scheme.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>JBoss Web Services</term>
- <listitem>
- <para>
- JBoss Web Services is a framework that provides support for the latest JAX-WS specification as well as a plugin architecture for supporting alternative Web Services Stacks.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </section>
-
- <section id="sect-Release_Notes-Architecture_of_PRODUCT_VERSION">
- <title>Component Versions</title>
- <para>
- This section details the versions of the components which create the JBoss Enterprise Portal Platform 5.0.0.
- </para>
- <table>
- <title>JBoss Enterprise Portal Platform Component Versions</title>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>
- Component
- </entry>
- <entry>
- Version
- </entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>
- JBoss Enterprise Application Platform
- </entry>
- <entry>
- 5.0.1 GA
- </entry>
- </row>
- <row>
- <entry>
- JBoss Cache
- </entry>
- <entry>
- 3.2.4
- </entry>
- </row>
- <row>
- <entry>
- GateIn Common
- </entry>
- <entry>
- 2.0.2
- </entry>
- </row>
- <row>
- <entry>
- GateIn WCI
- </entry>
- <entry>
- 2.0.1
- </entry>
- </row>
- <row>
- <entry>
- GateIn PC
- </entry>
- <entry>
- 2.1.1
- </entry>
- </row>
- <row>
- <entry>
- GateIn WSRP
- </entry>
- <entry>
- 1.1.1
- </entry>
- </row>
- <row>
- <entry>
- GateIn MOP
- </entry>
- <entry>
- 1.0.2
- </entry>
- </row>
- <row>
- <entry>
- GateIn SSO
- </entry>
- <entry>
- 1.0.0-epp
- </entry>
- </row>
- <row>
- <entry>
- PicketLink IDM
- </entry>
- <entry>
- 1.1.3
- </entry>
- </row>
- <row>
- <entry>
- eXoplatform JCR
- </entry>
- <entry>
- 1.12.1
- </entry>
- </row>
- <row>
- <entry>
- eXoplatform Kernel
- </entry>
- <entry>
- 2.2.1-GA
- </entry>
- </row>
- <row>
- <entry>
- Portlet Bridge
- </entry>
- <entry>
- 2.0
- </entry>
- </row>
- <row>
- <entry>
- Chromattic
- </entry>
- <entry>
- 1.0.1
- </entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </section>
-
- <section id="sect-Release_Notes-Certified_Environments">
- <title>Installation</title>
- <para>
- The JBoss Enterprise Portal Platform Installation Guide contains details of software and hardware requirements as well as detailed installation instructions.
- </para>
- <para>
- The Installation Guide can be found online at <ulink type="http" url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/">www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/</ulink>.
- </para>
-<!-- <para>
- The environments &PRODUCT; &VERSION; is certified to run on are:
- </para>
- <table id="tabl-Release_Notes-Certified_Environments-Java_Virtual_Machine_Support">
- <title>Java Virtual Machine Support</title>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>
- Platform
- </entry>
- <entry>
- JVM
- </entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>
- RHEL 5 x86
- </entry>
- <entry>
- <para>
- Sun JDK 1.6 Update 15 (update v1.8)
- </para>
- <para>
- OpenJDK 1.6.0-b09 (update v1.8)
- </para>
- <para>
- IBM JDK 1.6.0 SR5 (update v1.8)
- </para>
- </entry>
- </row>
- <row>
- <entry>
- RHEL 5 x86_64
- </entry>
- <entry>
- <para>
- Sun JDK 1.6 Update 15 (update v1.8)
- </para>
- <para>
- OpenJDK 1.6.0-b09 (update v1.8)
- </para>
- <para>
- IBM JDK 1.6.0 SR5 (update v1.8)
- </para>
- </entry>
- </row>
- <row>
- <entry>
- MS Windows 2008 x86
- </entry>
- <entry>
- Sun JDK 1.6
- </entry>
- </row>
- <row>
- <entry>
- MS Windows 2008 x86_64
- </entry>
- <entry>
- Sun JDK 1.6
- </entry>
- </row>
- <row>
- <entry>
- Solaris 10
- </entry>
- <entry>
- Sun JDK 1.6
- </entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <table id="tabl-Release_Notes-Certified_Environments-Database_Support_">
- <title>Database Support </title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>
- DBMS
- </entry>
- <entry>
- Server
- </entry>
- <entry>
- JBDC Driver
- </entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>
- MySQL
- </entry>
- <entry>
- <para>
- 5.1 (certified)
- </para>
- <para>
- 5.0 (compatible)
- </para>
- </entry>
- <entry>
- <para>
- MYSQL Connector/J 5.1.8 (certified)
- </para>
- <para>
- MySQL Connector/J 5.0.8 (compatible)
- </para>
- </entry>
- </row>
- <row>
- <entry>
- Oracle DB
- </entry>
- <entry>
- <para>
- 10g R2 (10.2.0.4) (certified)
- </para>
- <para>
- 11g R1 (11.1.0.7.0) (compatible)
- </para>
- <para>
- 11g RAC (11.1.0.7.0) (compatible)
- </para>
- </entry>
- <entry>
- <para>
- Oracle 10g R2 (10.2.0.4) (certified)
- </para>
- <para>
- Oracle 11g R1 (11.1.0.7) (compatible)
- </para>
- <para>
- Oracle 11g R1 (11.1.0.7) (compatible)
- </para>
- </entry>
- </row>
- <row>
- <entry>
- MS SQL Server
- </entry>
- <entry>
- <para>
- 2005 SP3 (certified)
- </para>
- <para>
- 2008 SP1 (certified)
- </para>
- </entry>
- <entry>
- JDBC Driver 2.0 (certified)
- </entry>
- </row>
- <row>
- <entry>
- PostgresSQL
- </entry>
- <entry>
- <para>
- 8.3.7 (certified)
- </para>
- <para>
- 8.2.4 (compatible)
- </para>
- </entry>
- <entry>
- <para>
- JDBC4 Driver, Ver 8.3-605 (certified)
- </para>
- <para>
- JDBC4 Driver, Ver 8.2-510 (compatible)
- </para>
- </entry>
- </row>
- <row>
- <entry>
- DB2
- </entry>
- <entry>
- 9.7 (certified)
- </entry>
- <entry>
- IBM Data Server Driver for JDBC and SQLJ (JCC Driver) Version: 9.1 (fixpack 3a) (certified)
- </entry>
- </row>
- <row>
- <entry>
- Sybase
- </entry>
- <entry>
- 15.0.2 (certified)
- </entry>
- <entry>
- JConnect v6.0.5 (Build 26564 / 11 Jun 2009) (certified)
- </entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <table id="tabl-Release_Notes-Certified_Environments-Directory_Support">
- <title>Directory Support</title>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>
- Directory Service
- </entry>
- <entry>
- Version
- </entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>
- OpenDS
- </entry>
- <entry>
- <para>
- 1.2
- </para>
- <para>
- 2.0
- </para>
- </entry>
- </row>
- <row>
- <entry>
- OpenLDAP
- </entry>
- <entry>
- 2.4
- </entry>
- </row>
- <row>
- <entry>
- Red Hat Identity Server
- </entry>
- <entry>
- 7.1 or later
- </entry>
- </row>
- <row>
- <entry>
- MS Active Directory
- </entry>
- <entry>
- Windows Server 2008
- </entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <table id="tabl-Release_Notes-Certified_Environments-Browser_support">
- <title>Browser support</title>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>
- Browser
- </entry>
- <entry>
- Version
- </entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>
- Internet Explorer
- </entry>
- <entry>
- <para>7</para>
- <para>8</para>
- </entry>
- </row>
- <row>
- <entry>
- Firefox
- </entry>
- <entry>
- <para>
- 3
- </para>
- <para>
- 3.5
- </para>
- </entry>
- </row>
- <row>
- <entry>
- Safari
- </entry>
- <entry>
- 4
- </entry>
- </row>
- </tbody>
- </tgroup>
- </table> -->
- </section>
-
-<!-- <section id="Issues-fixed-in-this-release">
- <title>
- Issues fixed in this release
- </title>
- <warning>
- <title>TODO</title>
- <para>
- Following is a list of issues fixed in this release:
- </para>
- </warning>
- <formalpara>
- <title>Component 1</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- Issues fixed.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
- <formalpara>
- <title>Component 2</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- Issues fixed.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
- <formalpara>
- <title>Etc</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- Issues fixed.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
- </section> -->
-
- <section id="sect-Release_Notes-_Known_Issues_with_this_release_">
- <title> Known Issues with this release </title>
-
- <para>
- JBoss Enterprise Portal Platform 5.0 is based upon an entirely new JBoss community project named GateIn (<ulink type="http" url="http://www.gatein.org">www.gatein.org</ulink>). Previous releases were based upon the JBoss Portal Community Project (<ulink type="http" url="http://www.jboss.org/jbossportal">http://www.jboss.org/jbossportal</ulink>).
- </para>
- <para>
- Every reasonable effort has been made to address issues with the previous releases of Enterprise Portal Platform. However, since this is a completely new architecture it is difficult to provide a pure translation of issues from release to release.
- </para>
-
-<!-- <section>
- <title>Security Issues</title>
- <variablelist>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBPAPP-3171">https://jira.jboss.org/browse/JBPAPP-3171</ulink></term>
- <listitem>
- <para>
- Cross-site scripting (XSS) vulnerabilities were found in the Enterprise Application Platform component of &PRODUCT;. While the issue has been addressed, some minor vulnerabilities may linger in this release.
- </para>
- <para>
- This issue will be completely resolved in a future release of &PRODUCT;.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBPAPP-4141">https://jira.jboss.org/browse/JBPAPP-4141</ulink></term>
- <listitem>
- <para>
- Some servlets may leak information about a portal's version, running environment, system hardware or Java Virtual Machine setups.
- </para>
- <para>
- This issue will be resolved in a future release of &PRODUCT;.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term> Autologin</term>
- <listitem>
- <para>
- The new autologin feature in &PRODUCT;, could be exploited in production environments.
- </para>
- <para>
- To disable autologin ...
- </para>
-
-
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Non-changing Captcha</term>
- <listitem>
- <para>
- The <emphasis>captcha</emphasis> registration feature can be brute-forced to not change, which can allow fake users to be created automatically and in bulk.
- </para>
- <para>
- To prevent this a new captcha must be created with every <literal>post</literal> request to the portal user register.
- </para>
- <para>
- This fix will be implemented in a future release of &PRODUCT;.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </section> -->
-
- <section id="sect-Release_Notes-_Known_Issues_with_this_release_-General_Known_Issues">
- <title>General Known Issues</title>
- <formalpara>
- <title><ulink url="https://jira.jboss.org/secure/IssueNavigator.jspa?mode=hide&requestId...">https://jira.jboss.org/secure/IssueNavigator.jspa?mode=hide&requestId...</ulink></title>
- <para>
- A list of general issues in this release.
- </para>
- </formalpara>
- </section>
-
- <section id="sect-Release_Notes-_Known_Issues_with_this_release_-Component_Specific_Known_Issues">
- <title>Specific Known Issues</title>
- <variablelist>
- <varlistentry>
- <term><ulink type="http" url="">https://jira.jboss.org/browse/JBEPP-167</ulink></term>
- <listitem>
- <para>
- EPP will not start on an IBM JVM unless the <filename>jcip-annotations.jar</filename> file is copied into /server/default/lib.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-207">https://jira.jboss.org/browse/JBEPP-207</ulink></term>
- <listitem>
- <para>
- A <literal>NullPointerException</literal> may be encountered when selecting a page which has been deleted in Page Management.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-208">https://jira.jboss.org/browse/JBEPP-208</ulink></term>
- <listitem>
- <para>
- An '<emphasis role="bold">Unknown errror</emphasis>' may be encountered while a editing page or layout in Dashboard under certain circumstances.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term> <ulink type="http" url="https://jira.jboss.org/browse/JBEPP-210">https://jira.jboss.org/browse/JBEPP-210</ulink></term>
- <listitem>
- <para>
- An '<emphasis role="bold">Unknown error</emphasis>' may be returned when trying to save a page from which an application has been removed.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-212">https://jira.jboss.org/browse/JBEPP-212</ulink></term>
- <listitem>
- <para>
- Performing concurrent modifications of a dashboard may result in an error.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-226">https://jira.jboss.org/browse/JBEPP-226</ulink></term>
- <listitem>
- <para>
- Uppercase and lowercase characters are not differentiated in the application registry.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-262">https://jira.jboss.org/browse/JBEPP-262</ulink></term>
- <listitem>
- <para>
- &PRODUCT; requires a one-off patch in EAP to fix the bug <ulink type="http" url="https://jira.jboss.org/browse/JBPAPP-3977">JBossWS - Timeout value gets inserted into URLs</ulink>.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-296">https://jira.jboss.org/browse/JBEPP-296</ulink></term>
- <listitem>
- <para>
- The error message "<emphasis role="bold">Page not found</emphasis>" is displayed after the layout of any portal page is edited.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-315">https://jira.jboss.org/browse/JBEPP-315</ulink></term>
- <listitem>
- <para>
- Pre-release testing indicated that render parameters in JSR-286 portlets are not replicating in a cluster with 2-nodes.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-326">https://jira.jboss.org/browse/JBEPP-326</ulink></term>
- <listitem>
- <para>
- The error message displayed when creating portal which starts with a number (an illegal character) contains the typographical error '<emphasis role="bold">contains</emphasis>'.
- </para>
- <para>
- The message should read as: <emphasis role="bold">The "Portal Name :" field must start with a character and must not contain special characters</emphasis>.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-331">https://jira.jboss.org/browse/JBEPP-331</ulink></term>
- <listitem>
- <para>
- The logo in the logo portlet on the &PRODUCT; Dashboard has a relative URL. This can cause URL validation issues returning the error: <emphasis role="bold">The field "logoUrl" must match the format "URL"</emphasis>.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-334">https://jira.jboss.org/browse/JBEPP-334</ulink></term>
- <listitem>
- <para>
- Uppercase lettering does not work with MYSQL databases. This can cause problems when creating pages or portals with the same name.
- </para>
- <para>
- This is caused by MYSQL's <literal>VARCAHR</literal> entry in the <literal>JCR_SITEM</literal> table not being case sensitive. A patch has been written that solves this issue by switching the <literal>VARCHAR</literal> entry to use <literal>VARBINARY</literal> which is case sensitive.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-339">https://jira.jboss.org/browse/JBEPP-339</ulink></term>
- <listitem>
- <para>
- A <literal>NullPointerException</literal> is encountered when attempting to access a Dashboard after a page has been deleted.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-342">https://jira.jboss.org/browse/JBEPP-342</ulink></term>
- <listitem>
- <para>
- Unicode and special characters in some languages (specifically German) are badly escaped in the names of navigation nodes.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-343">https://jira.jboss.org/browse/JBEPP-343</ulink></term>
- <listitem>
- <para>
- When creating or deleting new group navigations, changes do not appear in the portal until after a logout/login.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-344">https://jira.jboss.org/browse/JBEPP-344</ulink></term>
- <listitem>
- <para>
- There are currently some User Interface display inconsistencies when using Internet Explorer 6 to edit or view a portal.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-350">https://jira.jboss.org/browse/JBEPP-350</ulink></term>
- <listitem>
- <para>
- An error is encountered when adding a gadget to a portal using a MYSQL database if the '<filename>/server/production</filename>' folder has been removed but the database has not been cleaned.
- </para>
- <para>
- In this scenario the error; <emphasis role="bold">Unable to retrieve gadget xml. HTTP error 500</emphasis> is returned.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-355">https://jira.jboss.org/browse/JBEPP-355</ulink></term>
- <listitem>
- <para>
- The portal will return a permissions error when trying to add all groups in the group navigation, even if the user is logged in as the portal administrator (root).
- </para>
- <para>
- The error message will read: <emphasis role="bold">This user doesn't have permissions to add navigation</emphasis>.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-356">https://jira.jboss.org/browse/JBEPP-356</ulink></term>
- <listitem>
- <para>
- Groups listed in the Add Navigation window of the Group navigation page are not currently listed in alphabetical order.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-358">https://jira.jboss.org/browse/JBEPP-358</ulink></term>
- <listitem>
- <para>
- When using the portal with the French language and attempting to recover a lost/forgotten password, the recovery window is not translated into French and refers to the portal as eXo, as opposed to &PRODUCT;.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-360">https://jira.jboss.org/browse/JBEPP-360</ulink></term>
- <listitem>
- <para>
- The login page shown after a timed-out session or a failed login attempt is currently branded with the <literal>GateIn</literal> name and logo. <literal>GateIn</literal> is a community project that &PRODUCT; is based on.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-362">https://jira.jboss.org/browse/JBEPP-362</ulink></term>
- <listitem>
- <para>
- The JSPHelloWorld portlet example currently returns the line: "<emphasis role="bold">my name is JBoss Portal. What's yours?</emphasis>". The line should read: "<emphasis role="bold">my name is &PRODUCT;. What's yours?</emphasis>".
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-367">https://jira.jboss.org/browse/JBEPP-367</ulink></term>
- <listitem>
- <para>
- The SEAM component used in &PRODUCT; &VERSION; has a bug that makes it generate AS 5 incompatible pages.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-369">https://jira.jboss.org/browse/JBEPP-369</ulink></term>
- <listitem>
- <para>
- The use of two JSR286 portlets that use the same portlet-name but different portlet applications will create an exception in the application registry.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><ulink type="http" url="https://jira.jboss.org/browse/JBEPP-363">https://jira.jboss.org/browse/JBEPP-363</ulink></term>
- <listitem>
- <para>
- A deleted user's entry can still be seen, and edited, in the database after they are removed from LDAP.
- </para>
- <para>
- If the password for the deleted user's account is changed after deletion, and a login attempt is made using the new password an error is encountered and further logins cannot be completed.
- </para>
- <para>
- Clearing the user session will clear this error and allow normal logins.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </section>
-
- </section>
-
-
- <section>
- <title>Recommended Practices</title>
-<!-- <para>
- &PRODUCT; &VERSION; includes four pre-configured user accounts for testing and evaluation puposes. These accounts can be used for direct access to the portal.
- </para> -->
- <para>
- For security reasons, before going in production, you should restrict the access to the login servlet to POST.
- </para>
- <para>
- To do so, edit the file <filename>$JBOSS_HOME/server/[configuration]/gatein.ear/02portal.war/WEB-INF/web.xml</filename> and add:
- </para>
-<programlisting language="XML" role="XML"><![CDATA[
-<security-constraint>
- <web-resource-collection>
- <web-resource-name>login</web-resource-name>
- <url-pattern>/login</url-pattern>
- <http-method>GET</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- </web-resource-collection>
- <auth-constraint/>
-</security-constraint> ]]></programlisting>
- <para>
- Doing this will render the login links provided on the front page inactive.
- </para>
-
- </section>
-
- <section>
- <title>Migration from Enterprise Portal Platform 4.3</title>
- <para>
- As stated in section 5 of this document, Enterprise Portal Platform 5 is based upon an entirely new core architecture and is not backwards compatible with Enterprise Portal Platform 4.3.
- </para>
- <para>
- As a value added part of an enterprise subscription to EPP the JBoss Portal team is working to develop a set of migration utilities (which may take the form of documentation, guides and/or scripts) to assist customers in migration. We intend to release these utilities in a future revision of JBoss Enterprise Portal Platform 5.x.
- </para>
- <para>
- For customers seeking to begin a migration prior to the availability of any Red Hat provided migration utilities, please contact Red Hat JBoss Support for migration advice. Red Hat JBoss support will be the main communication channel for migration knowledge as it is developed.
- </para>
- <para>
- Red Hat JBoss Customer Support can be accessed <ulink type="http" url="https://www.redhat.com/apps/support/">here</ulink>.
- </para>
- </section>
-
-<!-- <section id="Tech-previews">
- <title>Technology Previews</title>
-
- <para>
- This section describes the Technology Preview features released alongside JBoss Enterprise Portal Platform, their installation, and any known issues.
- </para>
-
- <warning>
- <title>Technology Preview</title>
- <para>
- Technology Preview features are not fully supported under Red Hat subscription level agreements (SLAs), may not be functionally complete, and are not intended for production use. However, these features provide early access to upcoming product innovations, enabling customers to test functionality and provide feedback during the development process. As Red Hat considers making future iterations of Technology Preview features generally available, we will provide commercially reasonable efforts to resolve any reported issues that customers experience when using these features.
- </para>
- </warning>
- <section>
- <title>Site Publisher</title>
- <para>
- EPP includes an optional download from the Red Hat Customer Support Portal for a technical preview for an optional add on called Site Publisher. Site Publisher is an embedded web content authoring and publication component that provides many addtional features for organizations looking to enable line of business resources to directly manage sites, pages and content within the context of the portal versus through integration with an external web content management system.
- </para>
- </section>
- </section> -->
-
- <section id="sect-Release_Notes-_Documentation_">
- <title> Documentation </title>
- <para>
- Visit <ulink type="http" url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/">www.redhat.com</ulink> for further documentation regarding &PRODUCT;.
- </para>
- <para>
- Amongst the online documentation you will find the following important guides:
- </para>
- <para>
- <variablelist>
- <varlistentry>
- <term>Installation Guide</term>
- <listitem>
- <para>
- This document explains how to install and verify the installation of &PRODUCT; using different installation methods.
- </para>
- <para>
- Get the Installation Guide from <ulink type="http" url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.0.0/h...">http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.0.0/h...</ulink>
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>User Guide</term>
- <listitem>
- <para>
- This document provides an easy to follow guide to the functions and options available in &PRODUCT;. It is intended to be accessible and useful to both experienced and novice portal users.
- </para>
- <para>
- Get the User Guide from <ulink type="http" url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.0.0/h...">http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.0.0/h...</ulink>
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Reference Guide</term>
- <listitem>
- <para>
- This is a high-level usage document. It deals with more advanced topics than the Installation and User guides, adding new content or taking concepts discussed in the earlier documents further. It aims to provide supporting documentation for advanced users of &PRODUCT;. Its primary focus is on advanced use of the product and it assumes an intermediate or advanced knowledge of the technology and terms.
- </para>
- <para>
- Get the Reference Guide from <ulink type="http" url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.0.0/h...">http://www.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.0.0/h...</ulink>
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- <para>
- The online documentation will be updated as necessary so be sure to check the site regularly, especially when a new version of the &PRODUCT; is released.
- </para>
- </section>
-
- <section id="sect-Release_Notes-Product_Support_and_License_Website_Links">
- <title> Product Support and License Website Links </title>
- <formalpara id="form-Release_Notes-Product_Support_and_License_Website_Links-Support_Processes">
- <title>Support Processes</title>
- <para>
- <ulink url="http://www.redhat.com/support/process/">http://www.redhat.com/support/process/</ulink>
- </para>
- </formalpara>
- <formalpara id="form-Release_Notes-Product_Support_and_License_Website_Links-Production_Support_Scope_of_Coverage">
- <title> Production Support Scope of Coverage </title>
- <para>
- <ulink url="http://www.redhat.com/support/policy/soc/production">http://www.redhat.com/support/policy/soc/production</ulink>
- </para>
- </formalpara>
- <formalpara id="form-Release_Notes-Product_Support_and_License_Website_Links-Production_Support_Service_Level_Agreement">
- <title> Production Support Service Level Agreement </title>
- <para>
- <ulink url="http://www.redhat.com/support/policy/sla/production/">http://www.redhat.com/support/policy/sla/production/</ulink>
- </para>
- </formalpara>
- <formalpara id="form-Release_Notes-Product_Support_and_License_Website_Links-Developer_Support_Scope_of_Coverage">
- <title> Developer Support Scope of Coverage </title>
- <para>
- <ulink url="http://www.redhat.com/support/policy/soc/developer/">http://www.redhat.com/support/policy/soc/developer/</ulink>
- </para>
- </formalpara>
- <formalpara id="form-Release_Notes-Product_Support_and_License_Website_Links-Developer_Support_Service_Level_Agreement">
- <title> Developer Support Service Level Agreement </title>
- <para>
- <ulink url="http://www.redhat.com/support/policy/sla/developer/">http://www.redhat.com/support/policy/sla/developer/</ulink>
- </para>
- </formalpara>
- <formalpara id="form-Release_Notes-Product_Support_and_License_Website_Links-Product_Update_and_Support_Policy_by_Product">
- <title> Product Update and Support Policy by Product </title>
- <para>
- <ulink url="http://www.redhat.com/security/updates/jboss_notes/">http://www.redhat.com/security/updates/jboss_notes/</ulink>
- </para>
- </formalpara>
- <formalpara id="form-Release_Notes-Product_Support_and_License_Website_Links-JBoss_End_User_License_Agreement">
- <title> JBoss End User License Agreement </title>
- <para>
- <ulink url="http://www.redhat.com/licenses/jboss_eula.html">http://www.redhat.com/licenses/jboss_eula.html</ulink>
- </para>
- </formalpara>
- </section>
-
- <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
-</article>
-
14 years, 6 months
gatein SVN: r3222 - in epp/docs/branches/EPP_5_0_Branch: Release_Notes/en-US and 1 other directory.
by do-not-reply@jboss.org
Author: smumford
Date: 2010-06-01 19:51:30 -0400 (Tue, 01 Jun 2010)
New Revision: 3222
Added:
epp/docs/branches/EPP_5_0_Branch/Installation_Guide/
epp/docs/branches/EPP_5_0_Branch/Reference_Guide/
epp/docs/branches/EPP_5_0_Branch/Release_Notes/
epp/docs/branches/EPP_5_0_Branch/User_Guide/
Removed:
epp/docs/branches/EPP_5_0_Branch/Enterprise_Portal_Platform_Installation_Guide/
epp/docs/branches/EPP_5_0_Branch/Enterprise_Portal_Platform_Reference_Guide/
epp/docs/branches/EPP_5_0_Branch/Enterprise_Portal_Platform_Release_Notes/
epp/docs/branches/EPP_5_0_Branch/Enterprise_Portal_Platform_User_Guide/
Modified:
epp/docs/branches/EPP_5_0_Branch/Release_Notes/en-US/Revision_History.xml
Log:
Removing unnecessary JBoss_Enterprise_Portal_Platform prefix from book name
Copied: epp/docs/branches/EPP_5_0_Branch/Installation_Guide (from rev 3218, epp/docs/branches/EPP_5_0_Branch/Enterprise_Portal_Platform_Installation_Guide)
Copied: epp/docs/branches/EPP_5_0_Branch/Reference_Guide (from rev 3218, epp/docs/branches/EPP_5_0_Branch/Enterprise_Portal_Platform_Reference_Guide)
Copied: epp/docs/branches/EPP_5_0_Branch/Release_Notes (from rev 3218, epp/docs/branches/EPP_5_0_Branch/Enterprise_Portal_Platform_Release_Notes)
Modified: epp/docs/branches/EPP_5_0_Branch/Release_Notes/en-US/Revision_History.xml
===================================================================
--- epp/docs/branches/EPP_5_0_Branch/Enterprise_Portal_Platform_Release_Notes/en-US/Revision_History.xml 2010-05-31 17:24:50 UTC (rev 3218)
+++ epp/docs/branches/EPP_5_0_Branch/Release_Notes/en-US/Revision_History.xml 2010-06-01 23:51:30 UTC (rev 3222)
@@ -7,7 +7,7 @@
<revhistory>
<revision>
<revnumber>1.0</revnumber>
- <date></date>
+ <date>Tue May 25 2010</date>
<author>
<firstname>Scott</firstname>
<surname>Mumford</surname>
@@ -25,7 +25,7 @@
</author>
<revdescription>
<simplelist>
- <member></member>
+ <member>Release Notes creates for Enterprise Portal Platform 5.0.0 release.</member>
</simplelist>
</revdescription>
</revision>
Copied: epp/docs/branches/EPP_5_0_Branch/User_Guide (from rev 3218, epp/docs/branches/EPP_5_0_Branch/Enterprise_Portal_Platform_User_Guide)
14 years, 6 months
gatein SVN: r3221 - portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation.
by do-not-reply@jboss.org
Author: hoang_to
Date: 2010-06-01 04:55:38 -0400 (Tue, 01 Jun 2010)
New Revision: 3221
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UIPortalNavigation.java
Log:
GTNPORTAL-1148: Dashboard page node is wrongly positioned in Sitemap portlet
Modified: portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UIPortalNavigation.java
===================================================================
--- portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UIPortalNavigation.java 2010-06-01 08:11:07 UTC (rev 3220)
+++ portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UIPortalNavigation.java 2010-06-01 08:55:38 UTC (rev 3221)
@@ -53,6 +53,12 @@
private String cssClassName = "";
private String template;
+
+ private final static String PORTAL_NAV = "portal";
+
+ private final static String GROUP_NAV = "group";
+
+ private final static String USER_NAV = "user";
@Override
public String getTemplate()
@@ -125,7 +131,9 @@
{
WebuiRequestContext context = WebuiRequestContext.getCurrentInstance();
treeNode_ = new TreeNode(new PageNode(), new PageNavigation(), true);
- for (PageNavigation nav : Util.getUIPortalApplication().getNavigations())
+ List<PageNavigation> listNavigations = Util.getUIPortalApplication().getNavigations();
+
+ for (PageNavigation nav : rearrangeNavigations(listNavigations))
{
if (!showUserNavigation && nav.getOwnerType().equals("user"))
{
@@ -135,7 +143,44 @@
treeNode_.setChildren(filterNav.getNodes(), filterNav);
}
}
+
+ /**
+ *
+ * @param listNavigation
+ * @return
+ */
+ private List<PageNavigation> rearrangeNavigations(List<PageNavigation> listNavigation)
+ {
+ List<PageNavigation> returnNavs = new ArrayList<PageNavigation>();
+ List<PageNavigation> portalNavs = new ArrayList<PageNavigation>();
+ List<PageNavigation> groupNavs = new ArrayList<PageNavigation>();
+ List<PageNavigation> userNavs = new ArrayList<PageNavigation>();
+
+ for (PageNavigation nav : listNavigation)
+ {
+ String ownerType = nav.getOwnerType();
+ if (PORTAL_NAV.equals(ownerType))
+ {
+ portalNavs.add(nav);
+ }
+ else if (GROUP_NAV.equals(ownerType))
+ {
+ groupNavs.add(nav);
+ }
+ else if (USER_NAV.equals(ownerType))
+ {
+ userNavs.add(nav);
+ }
+ }
+
+ returnNavs.addAll(portalNavs);
+ returnNavs.addAll(groupNavs);
+ returnNavs.addAll(userNavs);
+
+ return returnNavs;
+ }
+
public TreeNode getTreeNodes()
{
return treeNode_;
14 years, 7 months
gatein SVN: r3220 - in portal/trunk: web/portal/src/main/webapp/WEB-INF/classes/locale/portal and 1 other directories.
by do-not-reply@jboss.org
Author: kien_nguyen
Date: 2010-06-01 04:11:07 -0400 (Tue, 01 Jun 2010)
New Revision: 3220
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_14_01_044_CheckWhenUserDoesNotHaveRightToAddNewPage.html
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ar.xml
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ko.xml
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_zh.xml
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_zh_TW.xml
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageCreationWizard.java
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageNodeForm.java
Log:
GTNPORTAL-1264 Change alert message when Start greater than End Publication Date (create page)-fix missing when refactor *2.java
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_14_01_044_CheckWhenUserDoesNotHaveRightToAddNewPage.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_14_01_044_CheckWhenUserDoesNotHaveRightToAddNewPage.html 2010-06-01 07:25:41 UTC (rev 3219)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_14_01_044_CheckWhenUserDoesNotHaveRightToAddNewPage.html 2010-06-01 08:11:07 UTC (rev 3220)
@@ -243,12 +243,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='UIFormTabPane']//form[@id='UIPageNodeForm2']//div[@class='UITabContentContainer']/div[@class='UITabContent']/div[@class='UIFormInputSet']/table[@class='UIFormGrid']/tbody/tr[2]/td[2]/input</td>
+ <td>//div[@class='UIFormTabPane']//form[@id='UIPageNodeForm']//div[@class='UITabContentContainer']/div[@class='UITabContent']/div[@class='UIFormInputSet']/table[@class='UIFormGrid']/tbody/tr[2]/td[2]/input</td>
<td></td>
</tr>
<tr>
<td>type</td>
- <td>//div[@class='UIFormTabPane']//form[@id='UIPageNodeForm2']//div[@class='UITabContentContainer']/div[@class='UITabContent']/div[@class='UIFormInputSet']/table[@class='UIFormGrid']/tbody/tr[2]/td[2]/input</td>
+ <td>//div[@class='UIFormTabPane']//form[@id='UIPageNodeForm']//div[@class='UITabContentContainer']/div[@class='UITabContent']/div[@class='UIFormInputSet']/table[@class='UIFormGrid']/tbody/tr[2]/td[2]/input</td>
<td>POR_14_01_044-node</td>
</tr>
<tr>
Modified: portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ar.xml
===================================================================
--- portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ar.xml 2010-06-01 07:25:41 UTC (rev 3219)
+++ portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ar.xml 2010-06-01 08:11:07 UTC (rev 3220)
@@ -855,7 +855,7 @@
# org.exoplatform.portal.component.customization.UIPageNodeForm#
#############################################################################
-->
- <UIPageNodeForm2>
+ <UIPageNodeForm>
<title>إضافة / تحرير عقدة الصفحة</title>
<msg>
<SameName>!هذه العقدة في القائمة ، من فضلك ادخل واحدة آخرى</SameName>
@@ -886,7 +886,7 @@
<SetDefault>احصل على الافتراضي</SetDefault>
</title>
</Icon>
- </UIPageNodeForm2>
+ </UIPageNodeForm>
<UIPageNodeForm>
<tab>
@@ -2205,7 +2205,7 @@
<UIPopupWindow>
<Close>Close Window</Close>
<title>
- <UIPageNodeForm2>ADD/EDIT PAGE NODE</UIPageNodeForm2>
+ <UIPageNodeForm>ADD/EDIT PAGE NODE</UIPageNodeForm>
<UINavigationManagement>Navigation Management</UINavigationManagement>
<UIPageNavigationForm>Page Navigation Form</UIPageNavigationForm>
</title>
Modified: portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ko.xml
===================================================================
--- portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ko.xml 2010-06-01 07:25:41 UTC (rev 3219)
+++ portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ko.xml 2010-06-01 08:11:07 UTC (rev 3220)
@@ -782,7 +782,7 @@
<GroupSelector>그룹 선택</GroupSelector>
</title>
</UIPopupGroupSelector>
- <UIPageNodeForm2>
+ <UIPageNodeForm>
<msg>
<SameName>노드 이름이 이미 존재합니다.</SameName>
<selectPage>페이지를 선택하셔야 합니다.</selectPage>
@@ -812,7 +812,7 @@
<SetDefault>기본값</SetDefault>
</title>
</Icon>
- </UIPageNodeForm2>
+ </UIPageNodeForm>
<UIPageNodeForm>
<tab>
<label>
@@ -1922,7 +1922,7 @@
<UIPopupWindow>
<Close>창 닫기</Close>
<title>
- <UIPageNodeForm2>페이지 노드 추가/편집</UIPageNodeForm2>
+ <UIPageNodeForm>페이지 노드 추가/편집</UIPageNodeForm>
<UINavigationManagement>내비게이션 관리</UINavigationManagement>
<UIPageNavigationForm>페이지 내비게이션 폼</UIPageNavigationForm>
</title>
Modified: portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_zh.xml
===================================================================
--- portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_zh.xml 2010-06-01 07:25:41 UTC (rev 3219)
+++ portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_zh.xml 2010-06-01 08:11:07 UTC (rev 3220)
@@ -738,7 +738,7 @@
<GroupSelector>选择组</GroupSelector>
</title>
</UIPopupGroupSelector>
- <UIPageNodeForm2>
+ <UIPageNodeForm>
<msg>
<SameName>该节点名已经存在。</SameName>
<selectPage>您必须选择一个页面。</selectPage>
@@ -768,7 +768,7 @@
<SetDefault>获取默认设置</SetDefault>
</title>
</Icon>
- </UIPageNodeForm2>
+ </UIPageNodeForm>
<UIPageNodeForm>
<tab>
<label>
@@ -1832,7 +1832,7 @@
<UIPopupWindow>
<Close>关闭窗口</Close>
<title>
- <UIPageNodeForm2>增加/编辑页面节点</UIPageNodeForm2>
+ <UIPageNodeForm>增加/编辑页面节点</UIPageNodeForm>
<UINavigationManagement>导航管理</UINavigationManagement>
<UIPageNavigationForm>页面导航表</UIPageNavigationForm>
</title>
Modified: portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_zh_TW.xml
===================================================================
--- portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_zh_TW.xml 2010-06-01 07:25:41 UTC (rev 3219)
+++ portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_zh_TW.xml 2010-06-01 08:11:07 UTC (rev 3220)
@@ -883,7 +883,7 @@
<GroupSelector>選擇群組</GroupSelector>
</title>
</UIPopupGroupSelector>
- <UIPageNodeForm2>
+ <UIPageNodeForm>
<msg>
<SameName>該節點名已經存在。</SameName>
<selectPage>您必須選擇一個頁面。</selectPage>
@@ -913,7 +913,7 @@
<SetDefault>設定預設設定</SetDefault>
</title>
</Icon>
- </UIPageNodeForm2>
+ </UIPageNodeForm>
<UIPageNodeForm>
<tab>
<label>
@@ -2006,7 +2006,7 @@
<UIPopupWindow>
<Close>關閉窗口</Close>
<title>
- <UIPageNodeForm2>增加/編輯頁面節點</UIPageNodeForm2>
+ <UIPageNodeForm>增加/編輯頁面節點</UIPageNodeForm>
<UINavigationManagement>導覽器管理</UINavigationManagement>
<UIPageNavigationForm>頁面導覽器表</UIPageNavigationForm>
</title>
Modified: portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageCreationWizard.java
===================================================================
--- portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageCreationWizard.java 2010-06-01 07:25:41 UTC (rev 3219)
+++ portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageCreationWizard.java 2010-06-01 08:11:07 UTC (rev 3220)
@@ -242,7 +242,7 @@
if (currentDate.after(startDate))
{
Object[] args = {};
- uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm2.msg.currentDateBeforeStartDate", args, ApplicationMessage.WARNING));
+ uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm.msg.currentDateBeforeStartDate", args, ApplicationMessage.WARNING));
uiWizard.viewStep(FIRST_STEP);
return;
}
@@ -250,7 +250,7 @@
else if ((endCalendar != null) && (startCalendar != null) && (startDate.after(endDate)))
{
Object[] args = {};
- uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm2.msg.startDateBeforeEndDate", args, ApplicationMessage.WARNING));
+ uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm.msg.startDateBeforeEndDate", args, ApplicationMessage.WARNING));
uiWizard.viewStep(FIRST_STEP);
return;
}
@@ -258,7 +258,7 @@
else if((endCalendar != null) && (currentDate.after(endDate)))
{
Object[] args = {};
- uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm2.msg.currentDateBeforeEndDate", args, ApplicationMessage.WARNING));
+ uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm.msg.currentDateBeforeEndDate", args, ApplicationMessage.WARNING));
uiWizard.viewStep(FIRST_STEP);
return;
}
Modified: portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageNodeForm.java
===================================================================
--- portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageNodeForm.java 2010-06-01 07:25:41 UTC (rev 3219)
+++ portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageNodeForm.java 2010-06-01 08:11:07 UTC (rev 3220)
@@ -273,21 +273,21 @@
if (currentDate.after(startDate))
{
Object[] args = {};
- uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm2.msg.currentDateBeforeStartDate", args, ApplicationMessage.WARNING));
+ uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm.msg.currentDateBeforeStartDate", args, ApplicationMessage.WARNING));
return;
}
// Case 2: start date after end date
else if ((endCalendar != null) && (startCalendar != null) && (startDate.after(endDate)))
{
Object[] args = {};
- uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm2.msg.startDateBeforeEndDate", args, ApplicationMessage.WARNING));
+ uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm.msg.startDateBeforeEndDate", args, ApplicationMessage.WARNING));
return;
}
// Case 3: start date is null and current date after end date
else if((endCalendar != null) && (currentDate.after(endDate)))
{
Object[] args = {};
- uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm2.msg.currentDateBeforeEndDate", args, ApplicationMessage.WARNING));
+ uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm.msg.currentDateBeforeEndDate", args, ApplicationMessage.WARNING));
return;
}
@@ -319,7 +319,7 @@
{
if (PageNavigationUtils.searchPageNodeByUri(pageNav, pageNode.getUri()) != null)
{
- uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm2.msg.SameName", null));
+ uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm.msg.SameName", null));
return;
}
pageNav.addNode(pageNode);
@@ -339,7 +339,7 @@
{
if (PageNavigationUtils.searchPageNodeByUri(parentNode, pageNode.getUri()) != null)
{
- uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm2.msg.SameName", null));
+ uiPortalApp.addMessage(new ApplicationMessage("UIPageNodeForm.msg.SameName", null));
return;
}
children.add(pageNode);
14 years, 7 months