From portal-commits at lists.jboss.org Sat Nov 17 08:53:13 2007 Content-Type: multipart/mixed; boundary="===============0495427445430439578==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r8988 - in branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model: content and 1 other directory. Date: Sat, 17 Nov 2007 08:53:13 -0500 Message-ID: --===============0495427445430439578== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: julien(a)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/mo= del/content/WindowContent.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 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 Julien Viet + * @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 =3D expirationMillis; + this.title =3D title; + this.markup =3D markup; + } + + public long getExpirationMillis() + { + return expirationMillis; + } + + public String getTitle() + { + return title; + } + + public String getMarkup() + { + return markup; + } +} --===============0495427445430439578==--