|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jetspeed.components.portletentity.PortletEntityImpl
Portlet Entity default implementation.
| Nested Class Summary | |
(package private) class |
PortletEntityImpl.PortletEntityUserPrincipal
|
| Field Summary | |
private org.apache.pluto.om.entity.PortletApplicationEntity |
applicationEntity
|
protected String |
appName
|
private boolean |
dirty
|
static String |
ENTITY_DEFAULT_PRINCIPAL
|
private org.apache.jetspeed.om.page.Fragment |
fragment
|
private org.apache.jetspeed.util.JetspeedObjectID |
id
|
private static org.apache.commons.logging.Log |
log
|
private org.apache.pluto.om.entity.PortletEntity |
modifiedObject
|
static String |
NO_PRINCIPAL
|
private long |
oid
|
protected List |
originalPreferences
|
protected Map |
originalValues
|
protected static org.apache.jetspeed.components.portletentity.PortletEntityAccessComponent |
pac
|
protected Map |
perPrincipalPrefs
|
private org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite |
portletDefinition
|
private long |
portletId
|
protected String |
portletName
|
private org.apache.pluto.om.window.PortletWindowList |
portletWindows
|
protected ThreadLocal |
principalRef
|
protected static org.apache.jetspeed.components.portletregistry.PortletRegistry |
registry
|
| Fields inherited from interface org.apache.jetspeed.om.common.portlet.MutablePortletEntity |
PORTLET_ENTITY_ROOT |
| Constructor Summary | |
PortletEntityImpl()
|
|
PortletEntityImpl(org.apache.jetspeed.om.page.Fragment fragment)
|
|
| Method Summary | |
protected void |
backupValues(org.apache.pluto.om.common.PreferenceSet preferenceSet)
backupValues |
org.apache.pluto.om.common.Description |
getDescription(Locale arg0)
|
org.apache.pluto.om.common.ObjectID |
getId()
|
long |
getOid()
|
org.apache.pluto.om.entity.PortletApplicationEntity |
getPortletApplicationEntity()
|
org.apache.pluto.om.portlet.PortletDefinition |
getPortletDefinition()
|
String |
getPortletUniqueName()
|
org.apache.pluto.om.window.PortletWindowList |
getPortletWindowList()
|
org.apache.pluto.om.common.PreferenceSet |
getPreferenceSet()
getPreferenceSet |
org.apache.pluto.om.common.PreferenceSet |
getPreferenceSet(Principal principal)
|
Principal |
getPrincipal()
|
void |
postRemoval(org.apache.jetspeed.components.persistence.store.PersistenceStore store)
postRemoval |
void |
preRemoval(org.apache.jetspeed.components.persistence.store.PersistenceStore store)
preRemoval |
void |
reset()
reset |
void |
setFragment(org.apache.jetspeed.om.page.Fragment fragment)
|
void |
setId(String id)
|
void |
setPortletDefinition(org.apache.pluto.om.portlet.PortletDefinition composite)
setPortletDefinition |
protected void |
setPrincipal(Principal principal)
|
void |
store()
store |
void |
store(Principal principal)
|
String |
toString()
|
String |
toString(int indent)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private long oid
private long portletId
private org.apache.jetspeed.util.JetspeedObjectID id
protected static org.apache.jetspeed.components.portletentity.PortletEntityAccessComponent pac
protected static org.apache.jetspeed.components.portletregistry.PortletRegistry registry
private static final org.apache.commons.logging.Log log
protected List originalPreferences
protected Map perPrincipalPrefs
protected Map originalValues
private org.apache.pluto.om.entity.PortletApplicationEntity applicationEntity
private org.apache.pluto.om.window.PortletWindowList portletWindows
private org.apache.pluto.om.entity.PortletEntity modifiedObject
private org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portletDefinition
protected String portletName
protected String appName
private boolean dirty
private org.apache.jetspeed.om.page.Fragment fragment
protected ThreadLocal principalRef
public static final String NO_PRINCIPAL
public static final String ENTITY_DEFAULT_PRINCIPAL
| Constructor Detail |
public PortletEntityImpl(org.apache.jetspeed.om.page.Fragment fragment)
public PortletEntityImpl()
| Method Detail |
public org.apache.pluto.om.common.ObjectID getId()
getId in interface org.apache.pluto.om.entity.PortletEntitypublic long getOid()
public void setId(String id)
setId in interface org.apache.pluto.om.entity.PortletEntityCtrlpublic org.apache.pluto.om.common.PreferenceSet getPreferenceSet()
getPreferenceSet
getPreferenceSet in interface org.apache.pluto.om.entity.PortletEntityPortletEntity.getPreferenceSet()public org.apache.pluto.om.common.PreferenceSet getPreferenceSet(Principal principal)
protected void backupValues(org.apache.pluto.om.common.PreferenceSet preferenceSet)
backupValues
public org.apache.pluto.om.portlet.PortletDefinition getPortletDefinition()
getPortletDefinition in interface org.apache.pluto.om.entity.PortletEntitypublic org.apache.pluto.om.entity.PortletApplicationEntity getPortletApplicationEntity()
getPortletApplicationEntity in interface org.apache.pluto.om.entity.PortletEntitypublic org.apache.pluto.om.window.PortletWindowList getPortletWindowList()
getPortletWindowList in interface org.apache.pluto.om.entity.PortletEntity
public void store()
throws IOException
store
store in interface org.apache.pluto.om.entity.PortletEntityCtrlIOException
public void store(Principal principal)
throws IOException
IOException
public void reset()
throws IOException
reset
reset in interface org.apache.pluto.om.entity.PortletEntityCtrlIOExceptionpublic String toString()
public String toString(int indent)
public org.apache.pluto.om.common.Description getDescription(Locale arg0)
getDescription in interface org.apache.pluto.om.entity.PortletEntityPortletEntity.getDescription(java.util.Locale)public void setPortletDefinition(org.apache.pluto.om.portlet.PortletDefinition composite)
setPortletDefinition
setPortletDefinition in interface org.apache.pluto.om.entity.PortletEntityCtrlcomposite - public Principal getPrincipal()
getPrincipal in interface org.apache.jetspeed.om.common.portlet.PrincipalAwareprotected void setPrincipal(Principal principal)
principal - The principal to set.public void postRemoval(org.apache.jetspeed.components.persistence.store.PersistenceStore store)
postRemoval
postRemoval in interface org.apache.jetspeed.components.persistence.store.RemovalAwarestore -
{@link - org.apache.jetspeed.persistence.store.PersistenceStoreRuntimeExcpetion}
if the removal of the Preference related to this entity failsRemovalAware.postRemoval(org.apache.jetspeed.components.persistence.store.PersistenceStore)public void preRemoval(org.apache.jetspeed.components.persistence.store.PersistenceStore store)
preRemoval
not implemented.
preRemoval in interface org.apache.jetspeed.components.persistence.store.RemovalAwarestore - RemovalAware.preRemoval(org.apache.jetspeed.components.persistence.store.PersistenceStore)public String getPortletUniqueName()
getPortletUniqueName in interface org.apache.jetspeed.om.common.portlet.MutablePortletEntitypublic void setFragment(org.apache.jetspeed.om.page.Fragment fragment)
setFragment in interface org.apache.jetspeed.om.common.portlet.MutablePortletEntity
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||