public interface PortletEntityCtrl extends Controller
The PortletEntityCtrl
interface represents a single portlet occurance,
that can be shown on a single page or on multiple pages.
This interface defines the controller as known from the MVC pattern. Its purpose is to provide write access to the data stored in the model.
Modifier and Type | Method and Description |
---|---|
void |
reset()
Reset all changes made until the last
store
call in the persistent store. |
void |
setId(java.lang.String id)
binds an identifier to this portlet instance
|
void |
setPortletDefinition(PortletDefinition portletDefinition)
Sets the portlet definition for this entity.
|
void |
store()
Stores the object persistently
|
void setId(java.lang.String id)
id
- the new identifiervoid setPortletDefinition(PortletDefinition portletDefinition)
portletDefinition
- the portlet descriptionvoid store() throws java.io.IOException
java.io.IOException
- in case of trouble fulfilling the requestvoid reset() throws java.io.IOException
store
call in the persistent store.java.io.IOException
- in case of trouble fulfilling the requestCopyright © 2003-2013 . All Rights Reserved.