net.sf.sail.core.curnit
Class Curnit

java.lang.Object
  extended by net.sf.sail.core.curnit.Curnit
All Implemented Interfaces:
ITitleAware, ICurnit

public class Curnit
extends java.lang.Object
implements ITitleAware, ICurnit

Author:
turadg

Constructor Summary
Curnit()
           
 
Method Summary
 void assemble()
           
 CurnitUuid getCurnitId()
           
 java.util.Collection<Pod> getReferencedPods()
           
 java.lang.Object getRootBean()
          This bean will added to the SessionContext
 PodUuid getRootPodId()
           
 java.lang.String getTitle()
           
 void initialize()
          This will be called before getRootBean.
 boolean isAssembled()
           
 void previewCurnit(java.awt.Component component)
           
 void saveCurnit(java.io.File file)
          Provides interface for saving a curnit
 void setCurnitId(CurnitUuid curnitId)
           
 void setRootPodId(PodUuid rootPodId)
           
 void setSessionContext(SessionContext sessionContext)
           
 void setTitle(java.lang.String curnitTitle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Curnit

public Curnit()
Method Detail

getCurnitId

public CurnitUuid getCurnitId()
Specified by:
getCurnitId in interface ICurnit
Returns:

setCurnitId

public void setCurnitId(CurnitUuid curnitId)

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface ITitleAware

setTitle

public void setTitle(java.lang.String curnitTitle)
Specified by:
setTitle in interface ITitleAware

assemble

public void assemble()

isAssembled

public boolean isAssembled()

getReferencedPods

public java.util.Collection<Pod> getReferencedPods()

getRootPodId

public PodUuid getRootPodId()

setRootPodId

public void setRootPodId(PodUuid rootPodId)
                  throws UnknownPodException
Throws:
UnknownPodException

getRootBean

public java.lang.Object getRootBean()
Description copied from interface: ICurnit
This bean will added to the SessionContext

Specified by:
getRootBean in interface ICurnit
Returns:

initialize

public void initialize()
Description copied from interface: ICurnit
This will be called before getRootBean. In the traditional curnit this does the assembly.

Specified by:
initialize in interface ICurnit

saveCurnit

public void saveCurnit(java.io.File file)
                throws java.io.FileNotFoundException,
                       java.lang.Exception
Description copied from interface: ICurnit
Provides interface for saving a curnit

Specified by:
saveCurnit in interface ICurnit
Parameters:
file - - file to save
Throws:
java.io.FileNotFoundException
java.lang.Exception

setSessionContext

public void setSessionContext(SessionContext sessionContext)
Specified by:
setSessionContext in interface ICurnit

previewCurnit

public void previewCurnit(java.awt.Component component)
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004-2008 TELS Center. All Rights Reserved.