org.apache.jetspeed.om.common.portlet
Interface MutablePortletEntity

All Superinterfaces:
org.apache.pluto.om.Controller, org.apache.pluto.om.Model, org.apache.pluto.om.entity.PortletEntity, org.apache.pluto.om.entity.PortletEntityCtrl

public interface MutablePortletEntity
extends org.apache.pluto.om.entity.PortletEntity, org.apache.pluto.om.entity.PortletEntityCtrl

MutablePortletEntity

Version:
$Id: MutablePortletEntity.java 678081 2008-07-19 00:17:27Z ate $
Author:
David Sean Taylor

Field Summary
static java.lang.String PORTLET_ENTITY_ROOT
           
 
Method Summary
 java.lang.Long getOid()
           
 java.lang.String getPortletUniqueName()
           
 void setFragment(Fragment fragment)
           
 void storeChildren()
           Persistence callback to allow a PortletEntity instance to persist children objects (like portlet preferences) within the same transaction.
 
Methods inherited from interface org.apache.pluto.om.entity.PortletEntity
getDescription, getId, getPortletApplicationEntity, getPortletDefinition, getPortletWindowList, getPreferenceSet
 
Methods inherited from interface org.apache.pluto.om.entity.PortletEntityCtrl
reset, setId, setPortletDefinition, store
 

Field Detail

PORTLET_ENTITY_ROOT

static final java.lang.String PORTLET_ENTITY_ROOT
See Also:
Constant Field Values
Method Detail

getOid

java.lang.Long getOid()

getPortletUniqueName

java.lang.String getPortletUniqueName()

setFragment

void setFragment(Fragment fragment)

storeChildren

void storeChildren()

Persistence callback to allow a PortletEntity instance to persist children objects (like portlet preferences) within the same transaction.

This method must be called always from the #store() method. Using a callback from the persistence manager might not be reliable when the PortletEntity itself isn't changed but children might.

Notably condition when this might happen is the Pluto 1.0.1 preferences handling calling the portletEntity store() method



Copyright © 1999-2008 Apache Software Foundation. All Rights Reserved.