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;
+ }
+
+}
+