org.jasig.portal.channels.jsp.tree
Class BaseSurrogateImpl

java.lang.Object
  extended by org.jasig.portal.channels.jsp.tree.BaseSurrogateImpl
All Implemented Interfaces:
ISurrogate
Direct Known Subclasses:
DefaultSurrogate

Deprecated. All IChannel implementations should be migrated to portlets

@Deprecated
public abstract class BaseSurrogateImpl
extends Object
implements ISurrogate

A base class for surrogates providing default functionality that can be used by subclasses if appropriate and alleviating them from having to implement identical methods to conform to the ISurrogate interface.

Author:
Mark Boyd

Constructor Summary
BaseSurrogateImpl()
          Deprecated.  
 
Method Summary
 boolean canContainChildren(Object o)
          Deprecated. Returns false meaning that the domain object can't contain children.
 Object[] getAspects(Object o)
          Deprecated. Returns null meaning that the domain object has no aspects.
 Object[] getChildren(Object o)
          Deprecated. Returns null meaning that the domain object has no children.
 Object getLabelData(Object o)
          Deprecated. Returns null meaning that the domain object has no object specific label data for use in custome rendering.
 boolean hasAspects(Object o)
          Deprecated. Returns false meaning that the domain object has no aspects.
 boolean hasChildren(Object o)
          Deprecated. Returns false meaning that the domain object has no children.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jasig.portal.channels.jsp.tree.ISurrogate
canResolve, getId
 

Constructor Detail

BaseSurrogateImpl

public BaseSurrogateImpl()
Deprecated. 
Method Detail

getAspects

public Object[] getAspects(Object o)
Deprecated. 
Returns null meaning that the domain object has no aspects.

Specified by:
getAspects in interface ISurrogate
Returns:

getChildren

public Object[] getChildren(Object o)
Deprecated. 
Returns null meaning that the domain object has no children.

Specified by:
getChildren in interface ISurrogate

getLabelData

public Object getLabelData(Object o)
Deprecated. 
Returns null meaning that the domain object has no object specific label data for use in custome rendering.

Specified by:
getLabelData in interface ISurrogate
Returns:
the UI presentable label for o.

hasAspects

public boolean hasAspects(Object o)
Deprecated. 
Returns false meaning that the domain object has no aspects.

Specified by:
hasAspects in interface ISurrogate
Returns:

hasChildren

public boolean hasChildren(Object o)
Deprecated. 
Returns false meaning that the domain object has no children.

Specified by:
hasChildren in interface ISurrogate

canContainChildren

public boolean canContainChildren(Object o)
Deprecated. 
Returns false meaning that the domain object can't contain children.

Specified by:
canContainChildren in interface ISurrogate


Copyright © 2010 Jasig. All Rights Reserved.