info.aduna.gee.spectacle.gee
Class View

java.lang.Object
  extended by info.aduna.gee.spectacle.gee.View

public class View
extends Object

Class View represents one particular view on the content in an a12r publication server. It contains navigation and selection criteria, that work together to provide a way to access the content.


Field Summary
static Object VIEW_OCCURRING_SELECTION
           
static Object VIEW_SHARED_SELECTION
           
 
Constructor Summary
View(Channel channel)
          Construct a new View, using the specified channel.
View(View view, Set labels, Object selectionType, String translation, String startPoint)
          Construct a new View on an existing View (i.e.
 
Method Summary
 void addTo(Channel channel, String mountPoint)
          Add this View to a Profile channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIEW_SHARED_SELECTION

public static Object VIEW_SHARED_SELECTION

VIEW_OCCURRING_SELECTION

public static Object VIEW_OCCURRING_SELECTION
Constructor Detail

View

public View(Channel channel)
Construct a new View, using the specified channel. A View constructed in this manner contains only navigation paths without any filtering/selection.

Parameters:
channel - the channel that contains the View.

View

public View(View view,
            Set labels,
            Object selectionType,
            String translation,
            String startPoint)
Construct a new View on an existing View (i.e. apply selection criteria).

Parameters:
view - the View to create a sub-View on
labels - the content selection labels
selectionType - one of VIEW_SHARED_SELECTION, VIEW_OCCURRING_SELECTION
translation - the URL of the translation table or null
startPoint - the subpath of the subscription or null
Method Detail

addTo

public void addTo(Channel channel,
                  String mountPoint)
           throws ChannelException
Add this View to a Profile channel.

Parameters:
channel - the (logged in) profile to add this view to
mountPoint - the mountPoint or null
Throws:
ChannelException


Copyright © 1997-2008 Aduna. All Rights Reserved.