|
||||||||||
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.
Field Summary | |
---|---|
protected java.lang.String |
appName
|
static java.lang.String |
ENTITY_DEFAULT_PRINCIPAL
|
protected long |
expiration
|
static java.lang.String |
NO_PRINCIPAL
|
protected java.util.Map |
originalValues
|
protected static PortletEntityAccessComponent |
pac
|
protected PrefsPreferenceSetImpl |
pagePreferenceSet
|
protected java.util.Map |
perPrincipalPrefs
|
protected static PageManager |
pm
|
protected java.lang.String |
portletName
|
protected static RequestContextComponent |
rcc
|
protected static PortletRegistry |
registry
|
protected int |
timeoutCount
|
Fields inherited from interface org.apache.jetspeed.om.common.portlet.MutablePortletEntity |
---|
PORTLET_ENTITY_ROOT |
Constructor Summary | |
---|---|
PortletEntityImpl()
|
|
PortletEntityImpl(Fragment fragment)
|
Method Summary | |
---|---|
protected void |
backupValues(org.apache.pluto.om.common.PreferenceSet preferenceSet)
backupValues |
org.apache.pluto.om.common.Description |
getDescription(java.util.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()
|
java.lang.String |
getPortletUniqueName()
|
org.apache.pluto.om.window.PortletWindowList |
getPortletWindowList()
|
org.apache.pluto.om.common.PreferenceSet |
getPreferenceSet()
getPreferenceSet |
org.apache.pluto.om.common.PreferenceSet |
getPreferenceSet(java.security.Principal principal)
|
java.security.Principal |
getPrincipal()
|
int |
getRenderTimeoutCount()
|
void |
incrementRenderTimeoutCount()
|
void |
postRemoval(PersistenceStore store)
postRemoval |
void |
preRemoval(PersistenceStore store)
preRemoval |
void |
reset()
reset |
void |
setExpiration(long expiration)
|
void |
setFragment(Fragment fragment)
|
void |
setId(java.lang.String id)
|
void |
setPortletDefinition(org.apache.pluto.om.portlet.PortletDefinition composite)
setPortletDefinition |
void |
setRenderTimeoutCount(int timeoutCount)
|
void |
store()
store |
void |
store(java.security.Principal principal)
|
void |
success()
|
java.lang.String |
toString()
|
java.lang.String |
toString(int indent)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static PortletEntityAccessComponent pac
protected static PortletRegistry registry
protected static RequestContextComponent rcc
protected static PageManager pm
protected PrefsPreferenceSetImpl pagePreferenceSet
protected java.util.Map perPrincipalPrefs
protected java.util.Map originalValues
protected java.lang.String portletName
protected java.lang.String appName
protected transient int timeoutCount
protected transient long expiration
public static final java.lang.String NO_PRINCIPAL
public static final java.lang.String ENTITY_DEFAULT_PRINCIPAL
Constructor Detail |
---|
public PortletEntityImpl(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(java.lang.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(java.security.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.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 java.io.IOException
store
store
in interface org.apache.pluto.om.entity.PortletEntityCtrl
java.io.IOException
public void store(java.security.Principal principal) throws java.io.IOException
java.io.IOException
public void reset() throws java.io.IOException
reset
reset
in interface org.apache.pluto.om.entity.PortletEntityCtrl
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(int indent)
public org.apache.pluto.om.common.Description getDescription(java.util.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 java.security.Principal getPrincipal()
getPrincipal
in interface PrincipalAware
public void postRemoval(PersistenceStore store)
postRemoval
postRemoval
in interface RemovalAware
store
-
{@link
- org.apache.jetspeed.persistence.store.PersistenceStoreRuntimeExcpetion}
if the removal of the java.util.prefs.Preference
related to this entity failsRemovalAware.postRemoval(org.apache.jetspeed.components.persistence.store.PersistenceStore)
public void preRemoval(PersistenceStore store)
preRemoval
not implemented.
preRemoval
in interface RemovalAware
store
- RemovalAware.preRemoval(org.apache.jetspeed.components.persistence.store.PersistenceStore)
public java.lang.String getPortletUniqueName()
getPortletUniqueName
in interface MutablePortletEntity
public void setFragment(Fragment fragment)
setFragment
in interface MutablePortletEntity
public int getRenderTimeoutCount()
getRenderTimeoutCount
in interface RenderTrackable
public void incrementRenderTimeoutCount()
incrementRenderTimeoutCount
in interface RenderTrackable
public void setExpiration(long expiration)
setExpiration
in interface RenderTrackable
public long getExpiration()
getExpiration
in interface RenderTrackable
public void success()
success
in interface RenderTrackable
public void setRenderTimeoutCount(int timeoutCount)
setRenderTimeoutCount
in interface RenderTrackable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |