net.dpml.transit.model
Interface LayoutModel

All Superinterfaces:
CodeBaseModel, Remote

public interface LayoutModel
extends CodeBaseModel

A LayoutModel maintains information about the configuration of a host or cache layout.

Version:
1.0.0
Author:
The Digital Product Meta Library

Method Summary
 void addLayoutListener(LayoutListener listener)
          Add a layout model listener.
 String getClassname()
          Return a possibly null classname.
 String getID()
          Return the immutable model identifier.
 String getTitle()
          Returns the title of the layout model.
 void removeLayoutListener(LayoutListener listener)
          Remove a layout model listener from the model.
 
Methods inherited from interface net.dpml.transit.model.CodeBaseModel
addCodeBaseListener, getCodeBaseURI, getParameters, removeCodeBaseListener
 

Method Detail

getID

public String getID()
             throws RemoteException
Return the immutable model identifier.

Returns:
the resolver identifier
Throws:
RemoteException - if a remote exception occurs

getClassname

public String getClassname()
                    throws RemoteException
Return a possibly null classname. If the classname is not null the manager represents a bootstrap layout model.

Returns:
the layout classname
Throws:
RemoteException - if a remote exception occurs

getTitle

public String getTitle()
                throws RemoteException
Returns the title of the layout model.

Returns:
the layout human readable title
Throws:
RemoteException - if a remote exception occurs

addLayoutListener

public void addLayoutListener(LayoutListener listener)
                       throws RemoteException
Add a layout model listener.

Parameters:
listener - the listener to add
Throws:
RemoteException - if a remote exception occurs

removeLayoutListener

public void removeLayoutListener(LayoutListener listener)
                          throws RemoteException
Remove a layout model listener from the model.

Parameters:
listener - the listener to remove
Throws:
RemoteException - if a remote exception occurs