info.aduna.gee.spectacle.gee
Class Profile

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

public class Profile
extends Object

Class Profile represents an end-user view on the content in an a12r publication server. It consists of any number of Views, that together determine the possible ways of navigation offered to the user of this profile.


Field Summary
protected  Channel _channel
           
 
Constructor Summary
Profile(Channel channel)
          Construct a new Profile that uses the specified Channel to store its information.
 
Method Summary
 void addView(View view, String mountPoint)
          Add a View to this profile at the specified mountpoint.
 Channel getChannel()
           
 void sync()
          Store this profile on the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_channel

protected Channel _channel
Constructor Detail

Profile

public Profile(Channel channel)
        throws ChannelException
Construct a new Profile that uses the specified Channel to store its information.

Parameters:
channel - to channel to store this profile's information in
Throws:
ChannelException
Method Detail

addView

public void addView(View view,
                    String mountPoint)
             throws ChannelException
Add a View to this profile at the specified mountpoint.

Parameters:
view - the View to add
mountPoint - the location in the navigation structure at which to add the specified View
Throws:
ChannelException

sync

public void sync()
          throws ChannelException
Store this profile on the server.

Throws:
ChannelException

getChannel

public Channel getChannel()
Returns:
the underlying Channel of this Profile


Copyright © 1997-2008 Aduna. All Rights Reserved.