[portal-commits] JBoss Portal SVN: r8988 - in branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model: content and 1 other directory.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Sat Nov 17 08:53:13 EST 2007


Author: julien at jboss.com
Date: 2007-11-17 08:53:13 -0500 (Sat, 17 Nov 2007)
New Revision: 8988

Added:
   branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model/content/
   branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model/content/WindowContent.java
Log:
improve get markup of window

Added: branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model/content/WindowContent.java
===================================================================
--- branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model/content/WindowContent.java	                        (rev 0)
+++ branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model/content/WindowContent.java	2007-11-17 13:53:13 UTC (rev 8988)
@@ -0,0 +1,63 @@
+/******************************************************************************
+ * 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.presentation.model.content;
+
+/**
+ * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
+ * @version $Revision: 1.1 $
+ */
+public class WindowContent
+{
+
+   /** . */
+   private final long expirationMillis;
+
+   /** . */
+   private final String title;
+
+   /** . */
+   private final String markup;
+
+
+   public WindowContent(long expirationMillis, String title, String markup)
+   {
+      this.expirationMillis = expirationMillis;
+      this.title = title;
+      this.markup = markup;
+   }
+
+   public long getExpirationMillis()
+   {
+      return expirationMillis;
+   }
+
+   public String getTitle()
+   {
+      return title;
+   }
+
+   public String getMarkup()
+   {
+      return markup;
+   }
+}




More information about the portal-commits mailing list