|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.components.portletentity.PortletEntityImpl
public class 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
|
protected long |
expiration
|
private org.apache.jetspeed.om.page.Fragment |
fragment
|
private ThreadLocal |
fragmentPortletDefinition
|
private org.apache.jetspeed.util.JetspeedObjectID |
id
|
static String |
NO_PRINCIPAL
|
private long |
oid
|
protected Map |
originalValues
|
protected static org.apache.jetspeed.components.portletentity.PortletEntityAccessComponent |
pac
|
protected PrefsPreferenceSetImpl |
pagePreferenceSet
|
protected Map |
perPrincipalPrefs
|
protected static org.apache.jetspeed.page.PageManager |
pm
|
private org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite |
portletDefinition
|
protected String |
portletName
|
private org.apache.pluto.om.window.PortletWindowList |
portletWindows
|
protected static org.apache.jetspeed.request.RequestContextComponent |
rcc
|
protected static org.apache.jetspeed.components.portletregistry.PortletRegistry |
registry
|
protected int |
timeoutCount
|
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)
|
long |
getExpiration()
|
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)
|
private org.apache.pluto.om.common.PreferenceSet |
getPreferenceSetFromPage()
|
Principal |
getPrincipal()
|
int |
getRenderTimeoutCount()
|
void |
incrementRenderTimeoutCount()
|
private boolean |
isEditDefaultsMode()
|
private void |
mergePreferencesSet(PrefsPreferenceSetImpl userPrefSet)
|
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 |
setExpiration(long expiration)
|
void |
setFragment(org.apache.jetspeed.om.page.Fragment fragment)
|
void |
setId(String id)
|
void |
setPortletDefinition(org.apache.pluto.om.portlet.PortletDefinition composite)
setPortletDefinition |
void |
setRenderTimeoutCount(int timeoutCount)
|
void |
store()
store |
void |
store(Principal principal)
|
private void |
storeToPage()
|
void |
success()
|
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 org.apache.jetspeed.util.JetspeedObjectID id
protected static org.apache.jetspeed.components.portletentity.PortletEntityAccessComponent pac
protected static org.apache.jetspeed.components.portletregistry.PortletRegistry registry
protected static org.apache.jetspeed.request.RequestContextComponent rcc
protected static org.apache.jetspeed.page.PageManager pm
protected PrefsPreferenceSetImpl pagePreferenceSet
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.jetspeed.om.common.portlet.PortletDefinitionComposite portletDefinition
protected String portletName
protected String appName
private boolean dirty
private org.apache.jetspeed.om.page.Fragment fragment
private ThreadLocal fragmentPortletDefinition
protected transient int timeoutCount
protected transient long expiration
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.PortletEntity
public long getOid()
public void setId(String id)
setId
in interface org.apache.pluto.om.entity.PortletEntityCtrl
public org.apache.pluto.om.common.PreferenceSet getPreferenceSet()
getPreferenceSet
getPreferenceSet
in interface org.apache.pluto.om.entity.PortletEntity
PortletEntity.getPreferenceSet()
public org.apache.pluto.om.common.PreferenceSet getPreferenceSet(Principal principal)
private org.apache.pluto.om.common.PreferenceSet getPreferenceSetFromPage()
private void mergePreferencesSet(PrefsPreferenceSetImpl userPrefSet) throws BackingStoreException
BackingStoreException
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.PortletEntity
public org.apache.pluto.om.entity.PortletApplicationEntity getPortletApplicationEntity()
getPortletApplicationEntity
in interface org.apache.pluto.om.entity.PortletEntity
public 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.PortletEntityCtrl
IOException
public void store(Principal principal) throws IOException
IOException
private void storeToPage() throws IOException
IOException
public void reset() throws IOException
reset
reset
in interface org.apache.pluto.om.entity.PortletEntityCtrl
IOException
public String toString()
toString
in class Object
public String toString(int indent)
public org.apache.pluto.om.common.Description getDescription(Locale arg0)
getDescription
in interface org.apache.pluto.om.entity.PortletEntity
PortletEntity.getDescription(java.util.Locale)
public void setPortletDefinition(org.apache.pluto.om.portlet.PortletDefinition composite)
setPortletDefinition
setPortletDefinition
in interface org.apache.pluto.om.entity.PortletEntityCtrl
composite
- public Principal getPrincipal()
getPrincipal
in interface org.apache.jetspeed.om.common.portlet.PrincipalAware
public void postRemoval(org.apache.jetspeed.components.persistence.store.PersistenceStore store)
postRemoval
postRemoval
in interface org.apache.jetspeed.components.persistence.store.RemovalAware
store
-
{@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.RemovalAware
store
- RemovalAware.preRemoval(org.apache.jetspeed.components.persistence.store.PersistenceStore)
public String getPortletUniqueName()
getPortletUniqueName
in interface org.apache.jetspeed.om.common.portlet.MutablePortletEntity
public void setFragment(org.apache.jetspeed.om.page.Fragment fragment)
setFragment
in interface org.apache.jetspeed.om.common.portlet.MutablePortletEntity
public int getRenderTimeoutCount()
getRenderTimeoutCount
in interface org.apache.jetspeed.aggregator.RenderTrackable
public void incrementRenderTimeoutCount()
incrementRenderTimeoutCount
in interface org.apache.jetspeed.aggregator.RenderTrackable
public void setExpiration(long expiration)
setExpiration
in interface org.apache.jetspeed.aggregator.RenderTrackable
public long getExpiration()
getExpiration
in interface org.apache.jetspeed.aggregator.RenderTrackable
public void success()
success
in interface org.apache.jetspeed.aggregator.RenderTrackable
public void setRenderTimeoutCount(int timeoutCount)
setRenderTimeoutCount
in interface org.apache.jetspeed.aggregator.RenderTrackable
private boolean isEditDefaultsMode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |