001: /******************************************************************************
002: * JBoss, a division of Red Hat *
003: * Copyright 2006, Red Hat Middleware, LLC, and individual *
004: * contributors as indicated by the @authors tag. See the *
005: * copyright.txt in the distribution for a full listing of *
006: * individual contributors. *
007: * *
008: * This is free software; you can redistribute it and/or modify it *
009: * under the terms of the GNU Lesser General Public License as *
010: * published by the Free Software Foundation; either version 2.1 of *
011: * the License, or (at your option) any later version. *
012: * *
013: * This software is distributed in the hope that it will be useful, *
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of *
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
016: * Lesser General Public License for more details. *
017: * *
018: * You should have received a copy of the GNU Lesser General Public *
019: * License along with this software; if not, write to the Free *
020: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
021: * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
022: ******************************************************************************/package org.jboss.portal.core.impl.model.portal;
023:
024: import org.jboss.portal.core.model.portal.Context;
025:
026: import java.util.Collection;
027:
028: /**
029: * An implementation of the <code>Context</code> interface for dashboards.
030: *
031: * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
032: * @version $Revision: 8786 $
033: */
034: public abstract class DashboardContext implements Context {
035:
036: public Collection getChildren() {
037: throw new UnsupportedOperationException();
038: }
039:
040: public Collection getChildren(int mask) {
041: throw new UnsupportedOperationException();
042: }
043:
044: //
045: // public Portal getPortal(String name) throws IllegalArgumentException
046: // {
047: // return null; //To change body of implemented methods use File | Settings | File Templates.
048: // }
049: //
050: // public Portal createPortal(String name) throws DuplicatePortalObjectException, IllegalArgumentException
051: // {
052: // return null; //To change body of implemented methods use File | Settings | File Templates.
053: // }
054: //
055: // public Portal getDefaultPortal()
056: // {
057: // return null; //To change body of implemented methods use File | Settings | File Templates.
058: // }
059: //
060: // public PortalContainer getPortalContainer(String name) throws IllegalArgumentException
061: // {
062: // return null; //To change body of implemented methods use File | Settings | File Templates.
063: // }
064: //
065: // public PortalContainer createPortalContainer(String name) throws DuplicatePortalObjectException, IllegalArgumentException
066: // {
067: // return null; //To change body of implemented methods use File | Settings | File Templates.
068: // }
069: //
070: // public PortalObjectId getId()
071: // {
072: // return null; //To change body of implemented methods use File | Settings | File Templates.
073: // }
074: //
075: // public int getType()
076: // {
077: // return 0; //To change body of implemented methods use File | Settings | File Templates.
078: // }
079: //
080: // public String getName()
081: // {
082: // return null; //To change body of implemented methods use File | Settings | File Templates.
083: // }
084: //
085: // public String getListener()
086: // {
087: // return null; //To change body of implemented methods use File | Settings | File Templates.
088: // }
089: //
090: // public void setListener(String listener)
091: // {
092: // //To change body of implemented methods use File | Settings | File Templates.
093: // }
094: //
095: // public Collection getChildren()
096: // {
097: // return null; //To change body of implemented methods use File | Settings | File Templates.
098: // }
099: //
100: // public Collection getChildren(int mask)
101: // {
102: // return null; //To change body of implemented methods use File | Settings | File Templates.
103: // }
104: //
105: // public PortalObject getParent()
106: // {
107: // return null; //To change body of implemented methods use File | Settings | File Templates.
108: // }
109: //
110: // public PortalObject getChild(String name)
111: // {
112: // return null; //To change body of implemented methods use File | Settings | File Templates.
113: // }
114: //
115: // public void destroyChild(String name) throws NoSuchPortalObjectException, IllegalArgumentException
116: // {
117: // //To change body of implemented methods use File | Settings | File Templates.
118: // }
119: //
120: // public PortalObject copy(PortalObject parent, String name, boolean deep) throws DuplicatePortalObjectException, IllegalArgumentException
121: // {
122: // return null; //To change body of implemented methods use File | Settings | File Templates.
123: // }
124: //
125: // public String getProperty(String name) throws IllegalArgumentException
126: // {
127: // return null; //To change body of implemented methods use File | Settings | File Templates.
128: // }
129: //
130: // public Map getProperties()
131: // {
132: // return null; //To change body of implemented methods use File | Settings | File Templates.
133: // }
134: //
135: // public String getDeclaredProperty(String name) throws IllegalArgumentException
136: // {
137: // return null; //To change body of implemented methods use File | Settings | File Templates.
138: // }
139: //
140: // public void setDeclaredProperty(String name, String value) throws IllegalArgumentException
141: // {
142: // //To change body of implemented methods use File | Settings | File Templates.
143: // }
144: //
145: // public Map getDeclaredProperties()
146: // {
147: // return null; //To change body of implemented methods use File | Settings | File Templates.
148: // }
149: }
|