JBoss Portal SVN: r12389 - in modules/metadata/trunk: metadata and 1 other directory.
by portal-commits@lists.jboss.org
Author: mwringe
Date: 2008-12-15 23:20:45 -0500 (Mon, 15 Dec 2008)
New Revision: 12389
Modified:
modules/metadata/trunk/build/pom.xml
modules/metadata/trunk/metadata/pom.xml
Log:
Code update dump.
Modified: modules/metadata/trunk/build/pom.xml
===================================================================
--- modules/metadata/trunk/build/pom.xml 2008-12-16 04:17:59 UTC (rev 12388)
+++ modules/metadata/trunk/build/pom.xml 2008-12-16 04:20:45 UTC (rev 12389)
@@ -16,6 +16,7 @@
<properties>
<version.jboss.portal.common>1.2.0</version.jboss.portal.common>
<version.jboss.portal.portlet>2.1.0-SNAPSHOT</version.jboss.portal.portlet>
+ <version.jboss.portal.server>2.7.0.GA</version.jboss.portal.server>
<version.jboss-metadata>1.0.0.CR1</version.jboss-metadata>
<version.jboss.jbossxb>2.0.0.CR15</version.jboss.jbossxb>
<version.saxon>6.5.3</version.saxon>
@@ -91,8 +92,11 @@
<artifactId>jaxb-api</artifactId>
<version>${version.jaxb}</version>
</dependency>
-
-
+ <dependency>
+ <groupId>org.jboss.portal.core</groupId>
+ <artifactId>core</artifactId>
+ <version>${version.jboss.portal.server}</version>
+ </dependency>
</dependencies>
</dependencyManagement>
Modified: modules/metadata/trunk/metadata/pom.xml
===================================================================
--- modules/metadata/trunk/metadata/pom.xml 2008-12-16 04:17:59 UTC (rev 12388)
+++ modules/metadata/trunk/metadata/pom.xml 2008-12-16 04:20:45 UTC (rev 12389)
@@ -23,10 +23,11 @@
<artifactId>common-portal</artifactId>
<!-- <scope>provided</scope> -->
</dependency>
-<!-- <dependency>
+ <dependency>
<groupId>org.jboss.portal.portlet</groupId>
<artifactId>portlet-portlet</artifactId>
- </dependency> -->
+ <scope>provided</scope>
+ </dependency>
<dependency>
<groupId>org.jboss.metadata</groupId>
<artifactId>jboss-metadata</artifactId>
@@ -47,7 +48,10 @@
<artifactId>jaxb-api</artifactId>
<scope>provided</scope>
</dependency>
-
+ <dependency>
+ <groupId>org.jboss.portal.core</groupId>
+ <artifactId>core</artifactId>
+ </dependency>
</dependencies>
<build>
17 years, 7 months
JBoss Portal SVN: r12388 - in modules/metadata/trunk/metadata/src/main/java/org/jboss/portal: metadata and 5 other directories.
by portal-commits@lists.jboss.org
Author: mwringe
Date: 2008-12-15 23:17:59 -0500 (Mon, 15 Dec 2008)
New Revision: 12388
Added:
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/AliasBindingMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/BindingsMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ContentMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ContextMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/CoordinationMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/EventWiringMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ModeMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PageMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ParameterBindingMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PortalMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PortalObjectDeployment.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PortalObjectMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PropertiesMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PropertyMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WindowCoordinationMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WindowMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WindowStatesMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WiringMetaData.java
Removed:
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/figureoutlocationlater/
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/jboss/portlet/
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metamodel/jboss/app/
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metamodel/jboss/portlet/
Modified:
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/jboss/app/PortalAppMetaData.java
Log:
Code update dump.
Modified: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/jboss/app/PortalAppMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/jboss/app/PortalAppMetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/jboss/app/PortalAppMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -1,20 +1,26 @@
package org.jboss.portal.metadata.jboss.app;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlTransient;
+
import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+@XmlRootElement(name = "jboss-portal-app", namespace = "")
public class PortalAppMetaData extends IdMetaDataImplWithDescriptionGroup
{
-
- private String appName;
-
- public void setAppName(String appname)
- {
- this.appName = appname;
- }
-
- public String getAppName()
- {
- return appName;
- }
-
+
+ private String appName;
+
+ @XmlElement(name = "app-name")
+ public void setAppName(String appname)
+ {
+ this.appName = appname;
+ }
+
+ public String getAppName()
+ {
+ return appName;
+ }
+
}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/AliasBindingMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/AliasBindingMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/AliasBindingMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,61 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class AliasBindingMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected String id;
+
+ protected String qName;
+
+ @XmlElement(name = "id")
+ public void setId(String id)
+ {
+ this.id = id;
+ }
+
+ @XmlElement(name = "qname")
+ public void setQName(String qName)
+ {
+ this.qName = qName;
+ }
+
+ public String getId()
+ {
+ return id;
+ }
+
+ public String getQName()
+ {
+ return qName;
+ }
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/BindingsMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/BindingsMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/BindingsMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,77 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class BindingsMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected String implicitMode;
+
+ protected List<ParameterBindingMetaData> parameterBindings;
+
+ protected List<AliasBindingMetaData> aliasBindings;
+
+ @XmlElement(name = "implicit-mode")
+ public void setImplicitMode(String implicitMode)
+ {
+ this.implicitMode = implicitMode;
+ }
+
+ @XmlElement(name = "parameter-binding")
+ public void setParameterBinding(List<ParameterBindingMetaData> parameterBindings)
+ {
+ this.parameterBindings = parameterBindings;
+ }
+
+ @XmlElement(name = "alias-binding")
+ public void setAliasBinding(List<AliasBindingMetaData> aliasBinding)
+ {
+ this.aliasBindings = aliasBinding;
+ }
+
+ public String getImplicitMode()
+ {
+ return implicitMode;
+ }
+
+ public List<ParameterBindingMetaData> getParameterBindings()
+ {
+ return parameterBindings;
+ }
+
+ public List<AliasBindingMetaData> getAliasBindings()
+ {
+ return aliasBindings;
+ }
+
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ContentMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ContentMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ContentMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,61 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class ContentMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected String type;
+
+ protected String uri;
+
+ @XmlElement(name = "content-type")
+ public void setContentType(String type)
+ {
+ this.type = type;
+ }
+
+ @XmlElement(name = "content-uri")
+ public void setContentURI(String uri)
+ {
+ this.uri = uri;
+ }
+
+ public String getContextType()
+ {
+ return type;
+ }
+
+ public String getContextUri()
+ {
+ return uri;
+ }
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ContextMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ContextMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ContextMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,144 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+import org.jboss.portal.metadata.portlet.DisplayNameMetaData;
+import org.jboss.portal.metadata.portlet.SecurityConstrainMetaData;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class ContextMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected String contextName;
+
+ protected PropertiesMetaData properties;
+
+ protected String listener;
+
+ protected SecurityConstrainMetaData securityConstraint;
+
+ protected List<DisplayNameMetaData> displayName;
+
+ protected String resourceBundle;
+
+ protected List<String> supportedLocales;
+
+ protected List<PortalMetaData> portals;
+
+ @XmlElement(name = "context-name")
+ public void setContextName(String contextName)
+ {
+ this.contextName = contextName;
+ }
+
+ @XmlElement(name = "properties")
+ public void setProperties(PropertiesMetaData properties)
+ {
+ this.properties = properties;
+ }
+
+ @XmlElement(name = "listener")
+ public void setListener(String listener)
+ {
+ this.listener = listener;
+ }
+
+ @XmlElement(name = "security-constraint")
+ public void setSecurityConstraint(SecurityConstrainMetaData securityConstraint)
+ {
+ this.securityConstraint = securityConstraint;
+ }
+
+ @XmlElement(name = "portal")
+ public void setPortal(List<PortalMetaData> portals)
+ {
+ this.portals = portals;
+ }
+
+ @XmlElement(name = "display-name")
+ public void setDisplayName(List<DisplayNameMetaData> displayName)
+ {
+ this.displayName = displayName;
+ }
+
+ @XmlElement(name = "resource-bundle")
+ public void setResourceBundle(String resourceBundle)
+ {
+ this.resourceBundle = resourceBundle;
+ }
+
+ @XmlElement(name = "supported-locale")
+ public void setSupportedLocales(List<String> supportedLocales)
+ {
+ this.supportedLocales = supportedLocales;
+ }
+
+ public String getContextName()
+ {
+ return contextName;
+ }
+
+ public PropertiesMetaData getProperties()
+ {
+ return properties;
+ }
+
+ public String getListener()
+ {
+ return listener;
+ }
+
+ public SecurityConstrainMetaData getSecurityConstraint()
+ {
+ return securityConstraint;
+ }
+
+ public List<DisplayNameMetaData> getDisplayName()
+ {
+ return displayName;
+ }
+
+ public String getResourceBundle()
+ {
+ return resourceBundle;
+ }
+
+ public List<String> getSupportedLocales()
+ {
+ return supportedLocales;
+ }
+
+ public List<PortalMetaData> getPortals()
+ {
+ return portals;
+ }
+
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/CoordinationMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/CoordinationMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/CoordinationMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,62 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class CoordinationMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected WiringMetaData wirings;
+
+ protected BindingsMetaData bindings;
+
+ @XmlElement(name = "wirings")
+ public void setWirings(WiringMetaData wirings)
+ {
+ this.wirings = wirings;
+ }
+
+ @XmlElement(name = "bindings")
+ public void setBindings(BindingsMetaData bindings)
+ {
+ this.bindings = bindings;
+ }
+
+ public WiringMetaData getWirings()
+ {
+ return wirings;
+ }
+
+ public BindingsMetaData getBindings()
+ {
+ return bindings;
+ }
+
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/EventWiringMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/EventWiringMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/EventWiringMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,75 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class EventWiringMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected String name;
+
+ protected WindowCoordinationMetaData sources;
+
+ protected WindowCoordinationMetaData destinations;
+
+ @XmlElement(name = "name")
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ @XmlElement(name = "sources")
+ public void setSources(WindowCoordinationMetaData sources)
+ {
+ this.sources = sources;
+ }
+
+ @XmlElement(name = "destinations")
+ public void setDestination(WindowCoordinationMetaData destination)
+ {
+ this.destinations = destination;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public WindowCoordinationMetaData getSources()
+ {
+ return sources;
+ }
+
+ public WindowCoordinationMetaData getDestinations()
+ {
+ return destinations;
+ }
+
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ModeMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ModeMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ModeMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,51 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class ModeMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected List<String> mode;
+
+ @XmlElement(name = "mode")
+ public void setMode(List<String> mode)
+ {
+ this.mode = mode;
+ }
+
+ public List<String> getMode()
+ {
+ return mode;
+ }
+
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PageMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PageMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PageMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,170 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+import org.jboss.portal.metadata.portlet.DisplayNameMetaData;
+import org.jboss.portal.metadata.portlet.SecurityConstrainMetaData;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class PageMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected String pageName;
+
+ protected PropertiesMetaData properties;
+
+ protected String listener;
+
+ protected SecurityConstrainMetaData securityConstraint;
+
+ protected List<PageMetaData> pages;
+
+ protected List<WindowMetaData> windows;
+
+ protected List<DisplayNameMetaData> displayNames;
+
+ protected String resourceBundle;
+
+ protected List<String> supportedLocales;
+
+ protected CoordinationMetaData coordination;
+
+ @XmlElement(name = "page-name")
+ public void setPageName(String pageName)
+ {
+ this.pageName = pageName;
+ }
+
+ @XmlElement(name = "properties")
+ public void setProperties(PropertiesMetaData properties)
+ {
+ this.properties = properties;
+ }
+
+ @XmlElement(name = "listener")
+ public void setListener(String listener)
+ {
+ this.listener = listener;
+ }
+
+ @XmlElement(name = "security-constraint")
+ public void setSecurityConstraint(SecurityConstrainMetaData securityConstraint)
+ {
+ this.securityConstraint = securityConstraint;
+ }
+
+ @XmlElement(name = "page")
+ public void setPages(List<PageMetaData> pages)
+ {
+ this.pages = pages;
+ }
+
+ @XmlElement(name = "window")
+ public void setWindows(List<WindowMetaData> windows)
+ {
+ this.windows = windows;
+ }
+
+ @XmlElement(name = "display-name")
+ public void setDisplayNames(List<DisplayNameMetaData> displayNames)
+ {
+ this.displayNames = displayNames;
+ }
+
+ @XmlElement(name = "resource-bundle")
+ public void setResourceBundle(String resourceBundle)
+ {
+ this.resourceBundle = resourceBundle;
+ }
+
+ @XmlElement(name = "supported-locale")
+ public void setSupportedLocales(List<String> supportedLocales)
+ {
+ this.supportedLocales = supportedLocales;
+ }
+
+ @XmlElement(name = "coodination")
+ public void setCoordination(CoordinationMetaData coordination)
+ {
+ this.coordination = coordination;
+ }
+
+ public String getPageName()
+ {
+ return pageName;
+ }
+
+ public PropertiesMetaData getProperties()
+ {
+ return properties;
+ }
+
+ public String getListener()
+ {
+ return listener;
+ }
+
+ public SecurityConstrainMetaData getSecurityConstraint()
+ {
+ return securityConstraint;
+ }
+
+ public List<PageMetaData> getPages()
+ {
+ return pages;
+ }
+
+ public List<WindowMetaData> getWindows()
+ {
+ return windows;
+ }
+
+ public List<DisplayNameMetaData> getDisplayNames()
+ {
+ return displayNames;
+ }
+
+ public String getResourceBundle()
+ {
+ return resourceBundle;
+ }
+
+ public List<String> getSupportedLocales()
+ {
+ return supportedLocales;
+ }
+
+ public CoordinationMetaData getCoordination()
+ {
+ return coordination;
+ }
+
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ParameterBindingMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ParameterBindingMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/ParameterBindingMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,61 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class ParameterBindingMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+ protected String id;
+
+ protected WindowCoordinationMetaData windowCoordination;
+
+ @XmlElement(name = "id")
+ public void setId(String id)
+ {
+ this.id = id;
+ }
+
+ @XmlElement(name = "window-coordination")
+ public void setWindowCoordintationMetaData(WindowCoordinationMetaData windowCoordination)
+ {
+ this.windowCoordination = windowCoordination;
+ }
+
+ public String getId()
+ {
+ return id;
+ }
+
+ public WindowCoordinationMetaData getWindowCoordination()
+ {
+ return windowCoordination;
+ }
+
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PortalMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PortalMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PortalMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,183 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+import org.jboss.portal.metadata.portlet.DisplayNameMetaData;
+import org.jboss.portal.metadata.portlet.SecurityConstrainMetaData;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class PortalMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected String portalName;
+
+ protected ModeMetaData modes;
+
+ protected WindowStatesMetaData windowStates;
+
+ protected PropertiesMetaData properties;
+
+ protected String listener;
+
+ protected SecurityConstrainMetaData securityConstraint;
+
+ protected List<PageMetaData> pages;
+
+ protected List<DisplayNameMetaData> displayName;
+
+ protected String resourceBundle;
+
+ protected List<String> supportedLocales;
+
+ protected CoordinationMetaData coordination;
+
+ @XmlElement(name = "portal-name")
+ public void setPortalName(String portalName)
+ {
+ this.portalName = portalName;
+ }
+
+ @XmlElement(name = "supported-modes")
+ public void setPortalModes(ModeMetaData modes)
+ {
+ this.modes = modes;
+ }
+
+ @XmlElement(name = "supported-window-states")
+ public void setWindowStates(WindowStatesMetaData windowStates)
+ {
+ this.windowStates = windowStates;
+ }
+
+ @XmlElement(name = "properties")
+ public void setProperties(PropertiesMetaData properties)
+ {
+ this.properties = properties;
+ }
+
+ @XmlElement(name = "listener")
+ public void setListener(String listener)
+ {
+ this.listener = listener;
+ }
+
+ @XmlElement(name = "security-constraint")
+ public void setSecurityConstraint(SecurityConstrainMetaData securityConstraint)
+ {
+ this.securityConstraint = securityConstraint;
+ }
+
+ @XmlElement(name = "page")
+ public void setPages(List<PageMetaData> pages)
+ {
+ this.pages = pages;
+ }
+
+ @XmlElement(name = "display-name")
+ public void setDisplayName(List<DisplayNameMetaData> displayName)
+ {
+ this.displayName = displayName;
+ }
+
+ @XmlElement(name = "resource-bundle")
+ public void setResourceBundle(String resourceBundle)
+ {
+ this.resourceBundle = resourceBundle;
+ }
+
+ @XmlElement(name = "supported-locale")
+ public void setSupportedLocales(List<String> supportedLocales)
+ {
+ this.supportedLocales = supportedLocales;
+ }
+
+ @XmlElement(name = "coodination")
+ public void setCoordination(CoordinationMetaData coordination)
+ {
+ this.coordination = coordination;
+ }
+
+ public String getPortalName()
+ {
+ return portalName;
+ }
+
+ public ModeMetaData getModes()
+ {
+ return modes;
+ }
+
+ public WindowStatesMetaData getWindowStates()
+ {
+ return windowStates;
+ }
+
+ public PropertiesMetaData getProperties()
+ {
+ return properties;
+ }
+
+ public String getListener()
+ {
+ return listener;
+ }
+
+ public SecurityConstrainMetaData getSecurityConstraint()
+ {
+ return securityConstraint;
+ }
+
+ public List<PageMetaData> getPages()
+ {
+ return pages;
+ }
+
+ public List<DisplayNameMetaData> getDisplayName()
+ {
+ return displayName;
+ }
+
+ public String getResourceBundle()
+ {
+ return resourceBundle;
+ }
+
+ public List<String> getSupportedLocales()
+ {
+ return supportedLocales;
+ }
+
+ public CoordinationMetaData getCoordination()
+ {
+ return coordination;
+ }
+
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PortalObjectDeployment.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PortalObjectDeployment.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PortalObjectDeployment.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,114 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class PortalObjectDeployment extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected String parentRef;
+
+ protected String ifExists;
+
+ protected ContextMetaData context;
+
+ protected PortalMetaData portal;
+
+ protected PageMetaData page;
+
+ protected WindowMetaData window;
+
+ @XmlElement(name = "parent-ref")
+ public void setParentRef(String parentRef)
+ {
+ this.parentRef = parentRef;
+ }
+
+ @XmlElement(name = "if-exists")
+ public void setIfExists(String ifExists)
+ {
+ this.ifExists = ifExists;
+ }
+
+ @XmlElement(name = "context")
+ public void setContext(ContextMetaData context)
+ {
+ this.context = context;
+ }
+
+ @XmlElement(name = "portal")
+ public void setPortal(PortalMetaData portal)
+ {
+ this.portal = portal;
+ }
+
+ @XmlElement(name = "page")
+ public void setPage(PageMetaData page)
+ {
+ this.page = page;
+ }
+
+ @XmlElement(name = "window")
+ public void setWindow(WindowMetaData window)
+ {
+ this.window = window;
+ }
+
+ public String getParentRef()
+ {
+ return parentRef;
+ }
+
+ public String getIfExists()
+ {
+ return ifExists;
+ }
+
+ public ContextMetaData getContext()
+ {
+ return context;
+ }
+
+ public PortalMetaData getPortal()
+ {
+ return portal;
+ }
+
+ public PageMetaData getPage()
+ {
+ return page;
+ }
+
+ public WindowMetaData getWindow()
+ {
+ return window;
+ }
+
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PortalObjectMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PortalObjectMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PortalObjectMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,53 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+@XmlRootElement(name = "deployments")
+public class PortalObjectMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ List<PortalObjectDeployment> deployments;
+
+ @XmlElement(name = "deployment")
+ public void setPortalObjectDeployments(List<PortalObjectDeployment> deployments)
+ {
+ this.deployments = deployments;
+ }
+
+ public List<PortalObjectDeployment> getDeployments()
+ {
+ return deployments;
+ }
+
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PropertiesMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PropertiesMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PropertiesMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,52 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class PropertiesMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected List<PropertyMetaData> properties;
+
+ @XmlElement(name = "property")
+ public void setProperties(List<PropertyMetaData> properties)
+ {
+ this.properties = properties;
+ }
+
+ public List<PropertyMetaData> getProperties()
+ {
+ return properties;
+ }
+
+}
+
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PropertyMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PropertyMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/PropertyMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,60 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class PropertyMetaData
+{
+ protected String name;
+
+ protected String value;
+
+ @XmlElement(name = "name")
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ @XmlElement(name = "value")
+ public void setValue(String value)
+ {
+ this.value = value;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public String getValue()
+ {
+ return value;
+ }
+
+}
+
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WindowCoordinationMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WindowCoordinationMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WindowCoordinationMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,62 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class WindowCoordinationMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected String windowName;
+
+ protected String qName;
+
+ @XmlElement(name = "window-name")
+ public void setWindowName(String windowName)
+ {
+ this.windowName = windowName;
+ }
+
+ @XmlElement(name = "qname")
+ public void setQName(String qName)
+ {
+ this.qName = qName;
+ }
+
+ public String getWindowName()
+ {
+ return windowName;
+ }
+
+ public String getQName()
+ {
+ return qName;
+ }
+}
+
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WindowMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WindowMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WindowMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,194 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+import org.jboss.portal.metadata.portlet.DisplayNameMetaData;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class WindowMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+ protected String windowName;
+
+ protected String instanceRef;
+
+ protected ContentMetaData content;
+
+ protected String region;
+
+ protected String height;
+
+ protected String initialWindowState;
+
+ protected String initialMode;
+
+ protected PropertiesMetaData properties;
+
+ protected String listener;
+
+ protected List<DisplayNameMetaData> displayNames;
+
+ protected String resourceBundle;
+
+ protected List<String> supportedLocales;
+
+ @XmlElement(name = "window-name")
+ public void setWindowName(String windowName)
+ {
+ this.windowName = windowName;
+ }
+
+ @XmlElement(name = "instance-ref")
+ public void setInstanceRef(String instanceRef)
+ {
+ this.instanceRef = instanceRef;
+ }
+
+ @XmlElement(name = "content")
+ public void setContent(ContentMetaData content)
+ {
+ this.content = content;
+ }
+
+ @XmlElement(name = "region")
+ public void setRegion(String region)
+ {
+ this.region = region;
+ }
+
+ @XmlElement(name = "height")
+ public void setHeight(String height)
+ {
+ this.height = height;
+ }
+
+ @XmlElement(name = "initial-window-state")
+ public void setInitialWindowState(String initialWindowState)
+ {
+ this.initialWindowState = initialWindowState;
+ }
+
+ @XmlElement(name = "initial-mode")
+ public void setInitialMode(String initialMode)
+ {
+ this.initialMode = initialMode;
+ }
+
+ @XmlElement(name = "properties")
+ public void setProperties(PropertiesMetaData properties)
+ {
+ this.properties = properties;
+ }
+
+ @XmlElement(name = "listener")
+ public void setListener(String listener)
+ {
+ this.listener = listener;
+ }
+
+ @XmlElement(name = "display-name")
+ public void setDisplayNames(List<DisplayNameMetaData> displayNames)
+ {
+ this.displayNames = displayNames;
+ }
+
+ @XmlElement(name = "resource-bundle")
+ public void setResourceBundle(String resourceBundle)
+ {
+ this.resourceBundle = resourceBundle;
+ }
+
+ @XmlElement(name = "supported-locale")
+ public void setSupportedLocales(List<String> supportedLocales)
+ {
+ this.supportedLocales = supportedLocales;
+ }
+
+ public String getWindowName()
+ {
+ return windowName;
+ }
+
+ public String getInstanceRef()
+ {
+ return instanceRef;
+ }
+
+ public ContentMetaData getContent()
+ {
+ return content;
+ }
+
+ public String getRegion()
+ {
+ return region;
+ }
+
+ public String getHeight()
+ {
+ return height;
+ }
+
+ public String getInitialWindowState()
+ {
+ return initialWindowState;
+ }
+
+ public String getInitialMode()
+ {
+ return initialMode;
+ }
+
+ public PropertiesMetaData getProperties()
+ {
+ return properties;
+ }
+
+ public String getListener()
+ {
+ return listener;
+ }
+
+ public List<DisplayNameMetaData> getDisplayNames()
+ {
+ return displayNames;
+ }
+
+ public String getResourceBundle()
+ {
+ return resourceBundle;
+ }
+
+ public List<String> getSupportedLocales()
+ {
+ return supportedLocales;
+ }
+
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WindowStatesMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WindowStatesMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WindowStatesMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,52 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class WindowStatesMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected List<String> windowStates;
+
+ @XmlElement(name = "window-state")
+ public void setWindowStates(List<String> windowStates)
+ {
+ this.windowStates = windowStates;
+ }
+
+ public List<String> getWindowStates()
+ {
+ return windowStates;
+ }
+
+}
+
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WiringMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WiringMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portal/object/WiringMetaData.java 2008-12-16 04:17:59 UTC (rev 12388)
@@ -0,0 +1,65 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portal.object;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class WiringMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected String implicitMode;
+
+ protected List<EventWiringMetaData> eventWiring;
+
+ @XmlElement(name = "implicit-mode")
+ public void setImplicitMode(String implicitMode)
+ {
+ this.implicitMode = implicitMode;
+ }
+
+ @XmlElement(name = "event-wiring")
+ public void setEventWiring(List<EventWiringMetaData> eventWiring)
+ {
+ this.eventWiring = eventWiring;
+ }
+
+ public String getImplicitMode()
+ {
+ return implicitMode;
+ }
+
+ public List<EventWiringMetaData> getEventWiring()
+ {
+ return eventWiring;
+ }
+
+}
+
17 years, 7 months
JBoss Portal SVN: r12387 - modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet.
by portal-commits@lists.jboss.org
Author: mwringe
Date: 2008-12-15 23:17:25 -0500 (Mon, 15 Dec 2008)
New Revision: 12387
Added:
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/DisplayNameMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/InstanceMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PolicyPermissionMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletDeploymentInstanceMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletDeploymentInstancesMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletPreferenceMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletPreferencesMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/SecurityConstrainMetaData.java
Removed:
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/AnnotationPortletApplication10MetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/AnnotationPortletApplication20MetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/CustomPortletModeMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/CustomWindowStateMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/ListenerMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletApplication10MetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletApplication20MetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletMetaDataConstants.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PublicRenderParameterMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/UserAttributeMetaData.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/ValidationErrorHandler.java
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/adapter/
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/common/
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/event/
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/filter/
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/portlet/
modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/security/
Log:
Code update dump.
Deleted: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/AnnotationPortletApplication10MetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/AnnotationPortletApplication10MetaData.java 2008-12-16 03:21:29 UTC (rev 12386)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/AnnotationPortletApplication10MetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -1,47 +0,0 @@
-/******************************************************************************
- * 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.jboss.portal.metadata.portlet;
-
-import org.jboss.portal.metadata.portlet.PortletApplication10MetaData;
-import org.jboss.portal.metadata.portlet.PortletMetaDataConstants;
-import org.jboss.xb.annotations.JBossXmlSchema;
-
-import javax.xml.bind.annotation.XmlNs;
-import javax.xml.bind.annotation.XmlNsForm;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-
-/**
- * @author <a href="mailto:emuckenh@redhat.com">Emanuel Muckenhuber</a>
- * @version $Revision$
- */
-@XmlRootElement(name = "portlet-app")
-@XmlType(name = "portlet-appType")
-@JBossXmlSchema(xmlns = {@XmlNs(namespaceURI = PortletMetaDataConstants.PORTLET_JSR_168_NS, prefix = "portlet")},
- ignoreUnresolvedFieldOrClass = false,
- namespace = PortletMetaDataConstants.PORTLET_JSR_168_NS,
- elementFormDefault = XmlNsForm.QUALIFIED)
-public class AnnotationPortletApplication10MetaData extends PortletApplication10MetaData
-{
-}
\ No newline at end of file
Deleted: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/AnnotationPortletApplication20MetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/AnnotationPortletApplication20MetaData.java 2008-12-16 03:21:29 UTC (rev 12386)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/AnnotationPortletApplication20MetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -1,48 +0,0 @@
-/******************************************************************************
- * 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.jboss.portal.metadata.portlet;
-
-import org.jboss.portal.metadata.portlet.PortletApplication20MetaData;
-import org.jboss.portal.metadata.portlet.PortletMetaDataConstants;
-import org.jboss.xb.annotations.JBossXmlSchema;
-
-import javax.xml.bind.annotation.XmlNs;
-import javax.xml.bind.annotation.XmlNsForm;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-
-/**
- * @author <a href="mailto:emuckenh@redhat.com">Emanuel Muckenhuber</a>
- * @version $Revision$
- */
-
-@XmlRootElement(name = "portlet-app")
-@XmlType(name = "portlet-appType")
-@JBossXmlSchema(xmlns = {@XmlNs(namespaceURI = PortletMetaDataConstants.PORTLET_JSR_286_NS, prefix = "portlet")},
- ignoreUnresolvedFieldOrClass = false,
- namespace = PortletMetaDataConstants.PORTLET_JSR_286_NS,
- elementFormDefault = XmlNsForm.QUALIFIED)
-public class AnnotationPortletApplication20MetaData extends PortletApplication20MetaData
-{
-}
\ No newline at end of file
Deleted: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/CustomPortletModeMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/CustomPortletModeMetaData.java 2008-12-16 03:21:29 UTC (rev 12386)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/CustomPortletModeMetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -1,88 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat *
- * Copyright 2006, 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.jboss.portal.metadata.portlet;
-
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-import org.jboss.portal.metadata.portlet.common.DescribableMetaData;
-
-/**
- * @author <a href="mailto:emuckenh@redhat.com">Emanuel Muckenhuber</a>
- * @version $Revision$
- */
-@XmlType(name = "custom-portlet-modeType")
-public class CustomPortletModeMetaData extends DescribableMetaData
-{
-
- /** The custom portlet mode id*/
- private String id;
-
- /** The portlet mode */
- private String portletMode;
-
- /** Is portal managed */
- private boolean portalManaged = true;
-
- public CustomPortletModeMetaData() {}
-
- public CustomPortletModeMetaData(String id)
- {
- this.id = id;
- }
-
- @XmlAttribute(name = "id")
- public String getId()
- {
- return id;
- }
-
- public void setId(String id)
- {
- this.id = id;
- }
-
- @XmlElement(name = "portlet-mode")
- public String getPortletMode()
- {
- return portletMode;
- }
-
- public void setPortletMode(String portletMode)
- {
- this.portletMode = portletMode;
- }
-
- @XmlElement(name = "portal-managed", namespace = PortletMetaDataConstants.PORTLET_JSR_286_NS)
- public boolean isPortalManaged()
- {
- return portalManaged;
- }
-
- public void setPortalManaged(boolean portalManaged)
- {
- this.portalManaged = portalManaged;
- }
-
-}
Deleted: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/CustomWindowStateMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/CustomWindowStateMetaData.java 2008-12-16 03:21:29 UTC (rev 12386)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/CustomWindowStateMetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -1,74 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat *
- * Copyright 2006, 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.jboss.portal.metadata.portlet;
-
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-import org.jboss.portal.metadata.portlet.common.DescribableMetaData;
-
-/**
- * @author <a href="mailto:emuckenh@redhat.com">Emanuel Muckenhuber</a>
- * @version $Revision$
- */
-@XmlType(name = "custom-window-stateType")
-public class CustomWindowStateMetaData extends DescribableMetaData
-{
-
- /** The window state id */
- private String id;
-
- /** The window state */
- private String windowState;
-
- public CustomWindowStateMetaData() {}
-
- public CustomWindowStateMetaData(String id)
- {
- this.id = id;
- }
-
- @XmlAttribute(name = "id")
- public String getId()
- {
- return id;
- }
-
- public void setId(String id)
- {
- this.id = id;
- }
-
- @XmlElement(name = "window-state")
- public String getWindowState()
- {
- return windowState;
- }
-
- public void setWindowState(String windowState)
- {
- this.windowState = windowState;
- }
-
-}
\ No newline at end of file
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/DisplayNameMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/DisplayNameMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/DisplayNameMetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -0,0 +1,63 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portlet;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class DisplayNameMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected String lang;
+
+ protected String displayName;
+
+ @XmlAttribute(name = "xml:lang")
+ public void setLang(String lang)
+ {
+ this.lang = lang;
+ }
+
+ @XmlElement(name = "display-name")
+ public void setDisplayName(String displayName)
+ {
+ this.displayName = displayName;
+ }
+
+ public String getLang()
+ {
+ return lang;
+ }
+
+ public String getDisplayName()
+ {
+ return displayName;
+ }
+
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/InstanceMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/InstanceMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/InstanceMetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -0,0 +1,104 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portlet;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.apache.log4j.Logger;
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class InstanceMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected String instanceId;
+
+ protected String portletRef;
+
+ protected List<DisplayNameMetaData> displayNames;
+
+ protected PortletPreferencesMetaData portletPreferences;
+
+ protected SecurityConstrainMetaData securityContraint;
+
+ @XmlElement(name = "instance-id")
+ public void setInstanceId(String instanceId)
+ {
+ this.instanceId = instanceId;
+ }
+
+ @XmlElement(name = "portlet-ref")
+ public void setPortletRef(String portletRef)
+ {
+ this.portletRef = portletRef;
+ }
+
+ @XmlElement(name = "display-name")
+ public void setDisplayName(List<DisplayNameMetaData> displayNames)
+ {
+ this.displayNames = displayNames;
+ }
+
+ @XmlElement(name = "perferences")
+ public void setPreferences(PortletPreferencesMetaData preferences)
+ {
+ this.portletPreferences = preferences;
+ }
+
+ @XmlElement(name = "security-constraint")
+ public void setSecurityConstraint(SecurityConstrainMetaData securityConstraint)
+ {
+ this.securityContraint = securityConstraint;
+ }
+
+ public String getInstanceId()
+ {
+ return instanceId;
+ }
+
+ public String getPortletRef()
+ {
+ return portletRef;
+ }
+
+ public List<DisplayNameMetaData> getDisplayNames()
+ {
+ return displayNames;
+ }
+
+ public PortletPreferencesMetaData getPortletPreferences()
+ {
+ return portletPreferences;
+ }
+
+ public SecurityConstrainMetaData getSecurityContraint()
+ {
+ return securityContraint;
+ }
+
+}
Deleted: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/ListenerMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/ListenerMetaData.java 2008-12-16 03:21:29 UTC (rev 12386)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/ListenerMetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -1,95 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat *
- * Copyright 2006, 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.jboss.portal.metadata.portlet;
-
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
-import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
-
-import org.jboss.portal.common.i18n.LocalizedString;
-import org.jboss.portal.metadata.portlet.common.DescribableMetaData;
-import org.jboss.portal.metadata.portlet.adapter.LocalizedStringAdapter;
-
-/**
- * @author <a href="mailto:emuckenh@redhat.com">Emanuel Muckenhuber</a>
- * @version $Revision$
- */
-@XmlType(name = "listenerType")
-public class ListenerMetaData extends DescribableMetaData
-{
-
- /** The id */
- private String id;
-
- /** The display name */
- private LocalizedString displayName;
-
- /** The listener class */
- private String listenerClass;
-
- public ListenerMetaData() {}
-
- public ListenerMetaData(String id)
- {
- this.id = id;
- }
-
- @XmlAttribute(name = "id")
- public String getId()
- {
- return id;
- }
-
- public void setId(String id)
- {
- this.id = id;
- }
-
- @XmlElement(name = "display-name")
- @XmlJavaTypeAdapter(LocalizedStringAdapter.class)
- public LocalizedString getDisplayName()
- {
- return displayName;
- }
-
- public void setDisplayName(LocalizedString displayName)
- {
- this.displayName = displayName;
- }
-
- @XmlElement(name = "listener-class")
- @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
- public String getListenerClass()
- {
- return listenerClass;
- }
-
- public void setListenerClass(String listenerClass)
- {
- this.listenerClass = listenerClass;
- }
-
-}
-
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PolicyPermissionMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PolicyPermissionMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PolicyPermissionMetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -0,0 +1,74 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portlet;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class PolicyPermissionMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+ protected String actionName;
+
+ protected String roleName;
+
+ protected boolean unchecked = false;
+
+ @XmlElement(name = "action-name")
+ public void setActionName(String actionName)
+ {
+ this.actionName = actionName;
+ }
+
+ @XmlElement(name = "role-name")
+ public void setRoleName(String roleName)
+ {
+ this.roleName = roleName;
+ }
+
+ @XmlElement(name = "unchecked")
+ public void setUnchecked()
+ {
+ this.unchecked = true;
+ }
+
+ public String getActionName()
+ {
+ return actionName;
+ }
+
+ public String getRoleName()
+ {
+ return roleName;
+ }
+
+ public boolean isUnchecked()
+ {
+ return unchecked;
+ }
+
+}
Deleted: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletApplication10MetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletApplication10MetaData.java 2008-12-16 03:21:29 UTC (rev 12386)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletApplication10MetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -1,217 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat *
- * Copyright 2006, 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.jboss.portal.metadata.portlet;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.LinkedHashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
-
-import org.jboss.portal.metadata.portlet.portlet.PortletMetaData;
-import org.jboss.portal.metadata.portlet.security.SecurityConstraintMetaData;
-import org.jboss.portal.metadata.portlet.adapter.CustomPortletModeAdapter;
-import org.jboss.portal.metadata.portlet.adapter.CustomWindowStateAdapter;
-import org.jboss.portal.metadata.portlet.adapter.PortletListAdapter;
-import org.jboss.portal.metadata.portlet.adapter.UserAttributeAdapter;
-
-/**
- * @author <a href="mailto:emuckenh@redhat.com">Emanuel Muckenhuber</a>
- * @version $Revision$
- */
-
-@XmlRootElement(name = "portlet-app")
-@XmlType(name = "portlet-appType")
-public class PortletApplication10MetaData
-{
- /** The portlet application id. */
- private String id;
-
- /** The portlet application version. */
- private String version;
-
- /** A bunch of portlets. */
- private Map<String, PortletMetaData> portlets;
-
- /** The user attributes. */
- private Map<String, UserAttributeMetaData> userAttributes;
-
- /** The custom portlet mode. */
- private Map<String, CustomPortletModeMetaData> customPortletModes;
-
- /** The custom window states. */
- private Map<String, CustomWindowStateMetaData> customWindowStates;
-
- /** The security constraints */
- private List<SecurityConstraintMetaData> securityConstraints;
-
- @XmlAttribute(name = "id")
- public String getId()
- {
- return id;
- }
-
- public void setId(String id)
- {
- this.id = id;
- }
-
- @XmlAttribute(name = "version")
- public String getVersion()
- {
- return version;
- }
-
- public void setVersion(String version)
- {
- this.version = version;
- }
-
- @XmlElement(name = "portlet")
- @XmlJavaTypeAdapter(PortletListAdapter.class)
- public Map<String, PortletMetaData> getPortlets()
- {
- return portlets;
- }
-
- public void setPortlets(Map<String, PortletMetaData> portlets)
- {
- // Adding reference to the portlet application metadata
- for( PortletMetaData p : portlets.values())
- {
- p.setPortletApplication(this);
- }
- this.portlets = portlets;
- }
-
- public Collection<PortletMetaData> getPortletCollection()
- {
- return portlets != null ? portlets.values() : null;
- }
-
- public PortletMetaData getPortlet(String portletName)
- {
- return portlets.get(portletName);
- }
-
- public void addPortlet(PortletMetaData portlet)
- {
- if(this.portlets == null)
- {
- this.portlets = new LinkedHashMap<String, PortletMetaData>();
- }
- // Adding reference to the portlet application metadata
- portlet.setPortletApplication(this);
- this.portlets.put(portlet.getPortletName(), portlet);
- }
-
- @XmlElement(name = "user-attribute")
- @XmlJavaTypeAdapter(UserAttributeAdapter.class)
- public Map<String, UserAttributeMetaData> getUserAttributes()
- {
- return userAttributes;
- }
-
- public void setUserAttributes(Map<String, UserAttributeMetaData> userAttributes)
- {
- this.userAttributes = userAttributes;
- }
-
- public void addUserAttribute(UserAttributeMetaData userAttribute)
- {
- if( this.userAttributes == null )
- {
- this.userAttributes = new HashMap<String, UserAttributeMetaData>();
- }
- this.userAttributes.put(userAttribute.getName(), userAttribute);
- }
-
- @XmlElement(name = "custom-portlet-mode")
- @XmlJavaTypeAdapter(CustomPortletModeAdapter.class)
- public Map<String, CustomPortletModeMetaData> getCustomPortletModes()
- {
- return customPortletModes;
- }
-
- public void setCustomPortletModes(Map<String, CustomPortletModeMetaData> customPortletMode)
- {
- this.customPortletModes = customPortletMode;
- }
-
- public void addCustomPortletMode(CustomPortletModeMetaData portletMode)
- {
- if ( this.customPortletModes == null)
- {
- this.customPortletModes = new HashMap<String, CustomPortletModeMetaData>();
- }
- this.customPortletModes.put(portletMode.getPortletMode(), portletMode);
- }
-
- @XmlElement(name = "custom-window-state")
- @XmlJavaTypeAdapter(CustomWindowStateAdapter.class)
- public Map<String, CustomWindowStateMetaData> getCustomWindowStates()
- {
- return customWindowStates;
- }
-
- public void setCustomWindowStates(Map<String, CustomWindowStateMetaData> customWindowState)
- {
- this.customWindowStates = customWindowState;
- }
-
- public void addCustomWindowState(CustomWindowStateMetaData windowState)
- {
- if( this.customWindowStates == null )
- {
- this.customWindowStates = new HashMap<String, CustomWindowStateMetaData>();
- }
- this.customWindowStates.put(windowState.getWindowState(), windowState);
- }
-
- @XmlElement(name = "security-constraint")
- public List<SecurityConstraintMetaData> getSecurityConstraints()
- {
- return securityConstraints;
- }
-
- public void setSecurityConstraints(List<SecurityConstraintMetaData> securityConstraints)
- {
- this.securityConstraints = securityConstraints;
- }
-
- public void addSecurityConstraint(SecurityConstraintMetaData securityConstraint)
- {
- if(this.securityConstraints == null)
- {
- this.securityConstraints = new ArrayList<SecurityConstraintMetaData>();
- }
- this.securityConstraints.add(securityConstraint);
- }
-}
Deleted: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletApplication20MetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletApplication20MetaData.java 2008-12-16 03:21:29 UTC (rev 12386)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletApplication20MetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -1,238 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat *
- * Copyright 2006, 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.jboss.portal.metadata.portlet;
-
-import java.net.URI;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.LinkedHashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
-
-import org.jboss.portal.metadata.portlet.common.ContainerRuntimeMetaData;
-import org.jboss.portal.metadata.portlet.event.EventDefinitionMetaData;
-import org.jboss.portal.metadata.portlet.filter.FilterMappingMetaData;
-import org.jboss.portal.metadata.portlet.filter.FilterMetaData;
-import org.jboss.portal.metadata.portlet.adapter.ContainerRuntimeAdapter;
-import org.jboss.portal.metadata.portlet.adapter.FilterAdapter;
-
-/**
- * @author <a href="mailto:emuckenh@redhat.com">Emanuel Muckenhuber</a>
- * @version $Revision$
- */
-public class PortletApplication20MetaData extends PortletApplication10MetaData
-{
- /** The resource bundle (JSR 286) */
- private String resourceBundle;
-
- /** The default namespace URI (JSR 286) */
- private URI defaultNamespace;
-
- /** The filters (JSR 286) */
- private Map<String, FilterMetaData> filters;
-
- /** The filter mapping (JSR 286) */
- private List<FilterMappingMetaData> filterMapping;
-
- /** The events (JSR 286) */
- private List<EventDefinitionMetaData> events;
-
- /** The public render parameters */
- private List<PublicRenderParameterMetaData> publicRenderParameters;
-
- /** The url generation listener */
- private List<ListenerMetaData> listeners;
-
- /** The container runtime options */
- private Map<String, ContainerRuntimeMetaData> containerRuntimeOptions;
-
- @XmlElement(name = "resource-bundle", namespace = PortletMetaDataConstants.PORTLET_JSR_286_NS)
- public String getResourceBundle()
- {
- return resourceBundle;
- }
-
- public void setResourceBundle(String resourceBundle)
- {
- this.resourceBundle = resourceBundle;
- }
-
- @XmlElement(name = "default-namespace")
- public URI getDefaultNamespace()
- {
- return defaultNamespace;
- }
-
- public void setDefaultNamespace(URI defaultNamespace)
- {
- this.defaultNamespace = defaultNamespace;
- }
-
- @XmlElement(name = "filter", namespace = PortletMetaDataConstants.PORTLET_JSR_286_NS)
- @XmlJavaTypeAdapter(FilterAdapter.class)
- public Map<String, FilterMetaData> getFilters()
- {
- return this.filters;
- }
-
- public void setFilters(Map<String, FilterMetaData> filters)
- {
- this.filters = filters;
- }
-
- public Collection<FilterMetaData> getFilterCollection()
- {
- return this.filters != null ? this.filters.values() : null;
- }
-
- public FilterMetaData getFilter(String filterName)
- {
- return this.filters.get(filterName);
- }
-
- public void addFilter(FilterMetaData filter)
- {
- if ( this.filters == null)
- {
- this.filters = new LinkedHashMap<String, FilterMetaData>();
- }
- this.filters.put(filter.getFilterName(), filter);
- }
-
- @XmlElement(name = "filter-mapping", namespace = PortletMetaDataConstants.PORTLET_JSR_286_NS)
- public List<FilterMappingMetaData> getFilterMapping()
- {
- return filterMapping;
- }
-
- public void setFilterMapping(List<FilterMappingMetaData> filterMapping)
- {
- this.filterMapping = filterMapping;
- }
-
- public void addFilterMapping(FilterMappingMetaData filterMapping)
- {
- if(this.filterMapping == null)
- {
- this.filterMapping = new ArrayList<FilterMappingMetaData>();
- }
- this.filterMapping.add(filterMapping);
- }
-
- @XmlElement(name = "event-definition", namespace = PortletMetaDataConstants.PORTLET_JSR_286_NS)
- public List<EventDefinitionMetaData> getEvents()
- {
- return events;
- }
-
- public void setEvents(List<EventDefinitionMetaData> events)
- {
- this.events = events;
- }
-
- public void addEventDefinition(EventDefinitionMetaData eventDefinition)
- {
- if(this.events == null)
- {
- this.events = new ArrayList<EventDefinitionMetaData>();
- }
- this.events.add(eventDefinition);
- }
-
- @XmlElement(name = "public-render-parameter", namespace = PortletMetaDataConstants.PORTLET_JSR_286_NS)
- public List<PublicRenderParameterMetaData> getPublicRenderParameters()
- {
- return publicRenderParameters;
- }
-
- public void setPublicRenderParameters(List<PublicRenderParameterMetaData> publicRenderParameters)
- {
- this.publicRenderParameters = publicRenderParameters;
- }
-
- public void addPublicRenderParameter(PublicRenderParameterMetaData renderParameter)
- {
- if( this.publicRenderParameters == null)
- {
- this.publicRenderParameters = new ArrayList<PublicRenderParameterMetaData>();
- }
- this.publicRenderParameters.add(renderParameter);
- }
-
- @XmlElement(name = "listener", namespace = PortletMetaDataConstants.PORTLET_JSR_286_NS)
- public List<ListenerMetaData> getListeners()
- {
- return listeners;
- }
-
- public void setListeners(List<ListenerMetaData> listeners)
- {
- this.listeners = listeners;
- }
-
- public void addListener(ListenerMetaData listener)
- {
- if (this.listeners == null)
- {
- this.listeners = new ArrayList<ListenerMetaData>();
- }
- this.listeners.add(listener);
- }
-
- @XmlElement(name = "container-runtime-option",
- namespace = PortletMetaDataConstants.PORTLET_JSR_286_NS)
- @XmlJavaTypeAdapter(ContainerRuntimeAdapter.class)
- public Map<String, ContainerRuntimeMetaData> getContainerRuntimeOptions()
- {
- return containerRuntimeOptions;
- }
-
- public void setContainerRuntimeOptions(Map<String, ContainerRuntimeMetaData> containerRuntimeOptions)
- {
- this.containerRuntimeOptions = containerRuntimeOptions;
- }
-
- public ContainerRuntimeMetaData getContainerRuntimeOption(String option)
- {
- return this.containerRuntimeOptions.get(option);
- }
-
- public Set<String> getContainerRuntimeOptionSet()
- {
- return this.containerRuntimeOptions != null ? this.containerRuntimeOptions.keySet() : null;
- }
-
- public void addContainerRuntime(ContainerRuntimeMetaData option)
- {
- if (this.containerRuntimeOptions == null)
- {
- this.containerRuntimeOptions = new HashMap<String, ContainerRuntimeMetaData>();
- }
- this.containerRuntimeOptions.put(option.getName(), option);
- }
-}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletDeploymentInstanceMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletDeploymentInstanceMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletDeploymentInstanceMetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -0,0 +1,69 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portlet;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.logging.Logger;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class PortletDeploymentInstanceMetaData
+{
+ private static final Logger log = Logger.getLogger(PortletDeploymentInstanceMetaData.class);
+
+ protected InstanceMetaData instance;
+
+ protected boolean overwrite;
+
+ public void setInstance(InstanceMetaData instance)
+ {
+ this.instance = instance;
+ }
+
+ public InstanceMetaData getInstance()
+ {
+ return this.instance;
+ }
+
+ @XmlElement(name = "if-exists")
+ public void setIfExists(String ifExists)
+ {
+ if (ifExists.equals("overwrite"))
+ {
+ this.overwrite = true;
+ }
+ else if (!ifExists.equals("keep"))
+ {
+ log.warn("Unknow value for if-exists, expecting overwrite or keep");
+ }
+ }
+
+ public boolean getOverwrite()
+ {
+ return this.overwrite;
+ }
+
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletDeploymentInstancesMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletDeploymentInstancesMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletDeploymentInstancesMetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -0,0 +1,53 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portlet;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+@XmlRootElement(name = "deployments", namespace = "")
+public class PortletDeploymentInstancesMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected List<PortletDeploymentInstanceMetaData> deploymentInstances;
+
+ public List<PortletDeploymentInstanceMetaData> getDeploymentInstances()
+ {
+ return deploymentInstances;
+ }
+
+ @XmlElement(name = "deployment")
+ public void setDeploymentInstances(List<PortletDeploymentInstanceMetaData> deploymentInstances)
+ {
+ this.deploymentInstances = deploymentInstances;
+ }
+
+}
Deleted: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletMetaDataConstants.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletMetaDataConstants.java 2008-12-16 03:21:29 UTC (rev 12386)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletMetaDataConstants.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -1,45 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat *
- * Copyright 2006, 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.jboss.portal.metadata.portlet;
-
-import static javax.xml.XMLConstants.XML_NS_URI;
-
-/**
- * @author <a href="mailto:emuckenh@redhat.com">Emanuel Muckenhuber</a>
- * @version $Revision$
- */
-public final class PortletMetaDataConstants
-{
-
- /** The portlet version 1.0 namespace */
- public final static String PORTLET_JSR_168_NS = "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
-
- /** The portlet version 2.0 namespace */
- public final static String PORTLET_JSR_286_NS = "http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd";
-
- /** The xml namespace */
- public final static String NS_XML_NAMESPACE = XML_NS_URI;
-
- /** The default locale */
- public final static String DEFAULT_LOCALE = "en";
-}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletPreferenceMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletPreferenceMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletPreferenceMetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -0,0 +1,62 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portlet;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class PortletPreferenceMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected String name;
+
+ protected String value;
+
+ @XmlElement
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ @XmlElement
+ public void setValue(String value)
+ {
+ this.value = value;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public String getValue()
+ {
+ return value;
+ }
+
+}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletPreferencesMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletPreferencesMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PortletPreferencesMetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -0,0 +1,51 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portlet;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class PortletPreferencesMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected List<PortletPreferenceMetaData> preferences;
+
+ @XmlElement(name = "preference")
+ public void setPreference(List<PortletPreferenceMetaData> preferences)
+ {
+ this.preferences = preferences;
+ }
+
+ public List<PortletPreferenceMetaData> getPreferences()
+ {
+ return preferences;
+ }
+
+}
Deleted: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PublicRenderParameterMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PublicRenderParameterMetaData.java 2008-12-16 03:21:29 UTC (rev 12386)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/PublicRenderParameterMetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -1,129 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat *
- * Copyright 2006, 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.jboss.portal.metadata.portlet;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.namespace.QName;
-
-import org.jboss.portal.metadata.portlet.common.DescribableMetaData;
-
-/**
- * @author <a href="mailto:emuckenh@redhat.com">Emanuel Muckenhuber</a>
- * @version $Revision$
- */
-@XmlType(name = "public-render-parameterType")
-public class PublicRenderParameterMetaData extends DescribableMetaData
-{
-
- /** The public render parameter id */
- private String id;
-
- /** The public render parameter identifier */
- private String identifier;
-
- /** The QName */
- private QName qname;
-
- /** The name */
- private String name;
-
- /** The public render parameter alias */
- private List<QName> alias;
-
- public PublicRenderParameterMetaData() {}
-
- public PublicRenderParameterMetaData(String id)
- {
- this.id = id;
- }
-
- @XmlAttribute(name = "id")
- public String getId()
- {
- return id;
- }
-
- public void setId(String id)
- {
- this.id = id;
- }
-
- @XmlElement(name = "identifier")
- public String getIdentifier()
- {
- return identifier;
- }
-
- public void setIdentifier(String identifier)
- {
- this.identifier = identifier;
- }
-
- @XmlElement(name = "qname")
- public QName getQname()
- {
- return qname;
- }
-
- public void setQname(QName qname)
- {
- this.qname = qname;
- }
-
- @XmlElement(name = "name")
- public String getName()
- {
- return name;
- }
-
- public void setName(String name)
- {
- this.name = name;
- }
-
- @XmlElement(name = "alias")
- public List<QName> getAlias()
- {
- return alias;
- }
-
- public void setAlias(List<QName> alias)
- {
- this.alias = alias;
- }
-
- public void addAlias(QName alias)
- {
- if(this.alias == null)
- {
- this.alias = new ArrayList<QName>();
- }
- this.alias.add(alias);
- }
-
-}
Added: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/SecurityConstrainMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/SecurityConstrainMetaData.java (rev 0)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/SecurityConstrainMetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -0,0 +1,50 @@
+/******************************************************************************
+ * 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.jboss.portal.metadata.portlet;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author <a href="mailto:mwringe@redhat.com">Matt Wringe</a>
+ * @version $Revision$
+ */
+public class SecurityConstrainMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+
+ protected List<PolicyPermissionMetaData> policyPermission;
+
+ @XmlElement(name = "policy-permission")
+ public void setPolicyPermission(List<PolicyPermissionMetaData> policyPermission)
+ {
+ this.policyPermission = policyPermission;
+ }
+
+ public List<PolicyPermissionMetaData> getPolicyPermission()
+ {
+ return policyPermission;
+ }
+}
Deleted: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/UserAttributeMetaData.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/UserAttributeMetaData.java 2008-12-16 03:21:29 UTC (rev 12386)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/UserAttributeMetaData.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -1,74 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat *
- * Copyright 2006, 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.jboss.portal.metadata.portlet;
-
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-import org.jboss.portal.metadata.portlet.common.DescribableMetaData;
-
-/**
- * @author <a href="mailto:emuckenh@redhat.com">Emanuel Muckenhuber</a>
- * @version $Revision$
- */
-@XmlType(name = "user-attributeType")
-public class UserAttributeMetaData extends DescribableMetaData
-{
-
- /** The id */
- private String id;
-
- /** The name */
- private String name;
-
- public UserAttributeMetaData() {}
-
- public UserAttributeMetaData(String id)
- {
- this.id = id;
- }
-
- @XmlAttribute(name = "id")
- public String getId()
- {
- return id;
- }
-
- public void setId(String id)
- {
- this.id = id;
- }
-
- @XmlElement(name = "name")
- public String getName()
- {
- return name;
- }
-
- public void setName(String name)
- {
- this.name = name;
- }
-}
-
Deleted: modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/ValidationErrorHandler.java
===================================================================
--- modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/ValidationErrorHandler.java 2008-12-16 03:21:29 UTC (rev 12386)
+++ modules/metadata/trunk/metadata/src/main/java/org/jboss/portal/metadata/portlet/ValidationErrorHandler.java 2008-12-16 04:17:25 UTC (rev 12387)
@@ -1,52 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat *
- * Copyright 2006, 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.jboss.portal.metadata.portlet;
-
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-/**
- * @author <a href="mailto:emuckenh@redhat.com">Emanuel Muckenhuber</a>
- * @version $Revision$
- */
-public class ValidationErrorHandler implements ErrorHandler
-{
-
- public void error(SAXParseException e) throws SAXException
- {
- throw new SAXException("Syntax error on line: " + e.getLineNumber() + ", column: " + e.getColumnNumber() + "\n"
- + e.getMessage());
- }
-
- public void fatalError(SAXParseException e) throws SAXException
- {
- throw new SAXException("Fatal syntax error on line: " + e.getLineNumber() + ", column: " + e.getColumnNumber()
- + "\n" + e.getMessage());
- }
-
- public void warning(SAXParseException e) throws SAXException
- {
- // TODO - maybe logging or similar stuff
- }
-
-}
\ No newline at end of file
17 years, 7 months
JBoss Portal SVN: r12386 - modules/common/trunk/common/src/main/java/org/jboss/portal/common/net.
by portal-commits@lists.jboss.org
Author: mwringe
Date: 2008-12-15 22:21:29 -0500 (Mon, 15 Dec 2008)
New Revision: 12386
Modified:
modules/common/trunk/common/src/main/java/org/jboss/portal/common/net/URLNavigator.java
Log:
Add vfs protocol option for the URLNavigator.
Modified: modules/common/trunk/common/src/main/java/org/jboss/portal/common/net/URLNavigator.java
===================================================================
--- modules/common/trunk/common/src/main/java/org/jboss/portal/common/net/URLNavigator.java 2008-12-15 23:08:04 UTC (rev 12385)
+++ modules/common/trunk/common/src/main/java/org/jboss/portal/common/net/URLNavigator.java 2008-12-16 03:21:29 UTC (rev 12386)
@@ -93,6 +93,10 @@
{
return jarNav;
}
+ else if ("vfsfile".equals(protocol))
+ {
+ return fileNav;
+ }
else
{
throw new IllegalArgumentException("Not recognized " + protocol);
17 years, 7 months
JBoss Portal SVN: r12385 - branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes.
by portal-commits@lists.jboss.org
Author: sviluppatorefico
Date: 2008-12-15 18:08:04 -0500 (Mon, 15 Dec 2008)
New Revision: 12385
Modified:
branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource_it.properties
Log:
Modified: branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource_it.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource_it.properties 2008-12-15 17:01:45 UTC (rev 12384)
+++ branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource_it.properties 2008-12-15 23:08:04 UTC (rev 12385)
@@ -121,8 +121,9 @@
CMS_HELP=La Portlet CMS visualizza e salva i contenuti di un file da dentro la finestra di una Portlet, o, nel caso di un contenuto binario, fuori della finestra
CMS_TO_MODIFY=Per modificare il comportamento di questa Portlet,
CMS_CLICK_HERE=clicca qui
+CMS_SELECT_ACTION=Seleziona un\'azione
-CMS_QUERYERROR=The query you entered is not valid
+CMS_QUERYERROR=La query che hai inserito non \u00e8 valida
CMS_ADMIN_SET_READ_PERMISSIONS=Configura i permessi in lettura
CMS_ADMIN_SET_WRITE_PERMISSIONS=Configura i permessi in scrittura
@@ -130,4 +131,19 @@
CMS_ADMIN_SELECT_ROLES=Seleziona i ruoli che hanno accesso a questo nodo.
CMS_ADMIN_SELECT_USERS=Seleziona gli utenti che hanno accesso a questo nodo.
CMS_ADMIN_YOU_CAN_SELECT_CTRL_ROLES=Puoi selezionare pi\u00f9 ruoli usando il CTRL+click sui nomi dei ruoli.
-CMS_ADMIN_YOU_CAN_SELECT_CTRL_USERS=Puoi selezionare pi\u00f9 utenti usando il CTRL+click sui nomi degli utenti.
\ No newline at end of file
+CMS_ADMIN_YOU_CAN_SELECT_CTRL_USERS=Puoi selezionare pi\u00f9 utenti usando il CTRL+click sui nomi degli utenti.
+
+CMS_ACCESS_DENIED=Accesso negato
+CMS_ACCESS_DENIED_DESCRIPTION=Non ti \u00e8 permesso accedere alla risorsa
+CMS_ACCESS_DENIED_DESCRIPTION_PATH=Non ti \u00e8 permesso accedere alla risorsa
+
+CMS_MISSING_DOCUMENT=404 - Pagina non trovata
+CMS_MISSING_DOCUMENT_DESCRIPTION=Il documento a cui hai tentato di accedere non \u00e8 disponibile
+
+CMS_FILENAME_INVALID=Il nome del File non \u00e8 valido. Non sono permessi caratteri quali '.', '/', ':', '[', ']', '*', ''', '"', '|' o lo spazio.
+CMS_FOLDERNAME_INVALID=Il nome della cartella non \u00e8 valido. Non sono permessi caratteri quali '.', '/', ':', '[', ']', '*', ''', '"', '|' o lo spazio.
+
+CMS_MSG_DESTINATION_ALREADY_EXISTS=Il comando non pu\u00F2 essere eseguito, perch\u00e8 la destinazione esiste gi\u00e0.
+CMS_CANT_MOVE_SAME_DESTINATION=Non puoi spostare la cartella nella stessa destinazione
+
+CMS_DATE_PATTERN=MM/dd/yy HH:mm
\ No newline at end of file
17 years, 7 months