|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.core.impl.portlet.state.PersistentRegistration
public class PersistentRegistration
Nested Class Summary | |
---|---|
class |
PersistentRegistration.Properties
Implement registration properties semantics, mostly validation and equality. |
Constructor Summary | |
---|---|
PersistentRegistration(java.util.Map properties,
RegistrationStatus status)
|
Method Summary | |
---|---|
void |
clearAssociatedState()
Clears any state (cloned portlet information, session, etc) associated with this Registration |
Consumer |
getConsumer()
Return the consumer owning this registration. |
java.lang.String |
getId()
Retrieves the internal identifier for this Registration. |
java.lang.Long |
getKey()
|
java.lang.String |
getPersistentHandle()
|
java.util.Map |
getPersistentProperties()
|
RegistrationStatus |
getPersistentStatus()
|
java.util.Map |
getProperties()
Retrieve the properties associated with this Registration. |
java.lang.Object |
getPropertyValueFor(javax.xml.namespace.QName propertyName)
|
java.lang.Object |
getPropertyValueFor(java.lang.String propertyName)
|
java.lang.String |
getRegistrationHandle()
Retrieves the handle associated with this Registration |
PersistentConsumer |
getRelatedConsumer()
|
java.util.Set |
getRelatedPortletStates()
|
RegistrationStatus |
getStatus()
Return the status of this specific registration. |
boolean |
hasEqualProperties(java.util.Map properties)
|
boolean |
hasEqualProperties(Registration registration)
|
void |
removeProperty(javax.xml.namespace.QName propertyName)
|
void |
removeProperty(java.lang.String propertyName)
|
void |
setKey(java.lang.Long key)
|
void |
setPersistentHandle(java.lang.String persistentHandle)
|
void |
setPersistentProperties(java.util.Map persistentProperties)
|
void |
setPersistentStatus(RegistrationStatus persistentStatus)
|
void |
setPropertyValueFor(javax.xml.namespace.QName propertyName,
java.lang.Object value)
|
void |
setPropertyValueFor(java.lang.String propertyName,
java.lang.Object value)
|
void |
setRegistrationHandle(java.lang.String handle)
Sets the handle for this Registration. |
void |
setRelatedConsumer(PersistentConsumer relatedConsumer)
|
void |
setRelatedPortletStates(java.util.Set relatedPortletStates)
|
void |
setStatus(RegistrationStatus status)
Update the registration status |
void |
updateProperties(java.util.Map registrationProperties)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistentRegistration(java.util.Map properties, RegistrationStatus status)
Method Detail |
---|
public java.lang.Long getKey()
public void setKey(java.lang.Long key)
public java.util.Set getRelatedPortletStates()
public void setRelatedPortletStates(java.util.Set relatedPortletStates)
public java.lang.String getPersistentHandle()
public void setPersistentHandle(java.lang.String persistentHandle)
public PersistentConsumer getRelatedConsumer()
public void setRelatedConsumer(PersistentConsumer relatedConsumer)
public RegistrationStatus getPersistentStatus()
public void setPersistentStatus(RegistrationStatus persistentStatus)
public java.util.Map getPersistentProperties()
public void setPersistentProperties(java.util.Map persistentProperties)
public java.lang.String getId()
Registration
RegistrationPolicy
to create a handle for this Registration.
getId
in interface Registration
public void setRegistrationHandle(java.lang.String handle)
Registration
setRegistrationHandle
in interface Registration
public java.lang.String getRegistrationHandle()
Registration
getRegistrationHandle
in interface Registration
public Consumer getConsumer()
Registration
getConsumer
in interface Registration
public java.util.Map getProperties()
Registration
getProperties
in interface Registration
public void setPropertyValueFor(javax.xml.namespace.QName propertyName, java.lang.Object value)
setPropertyValueFor
in interface Registration
public void setPropertyValueFor(java.lang.String propertyName, java.lang.Object value)
setPropertyValueFor
in interface Registration
public void removeProperty(javax.xml.namespace.QName propertyName)
removeProperty
in interface Registration
public void removeProperty(java.lang.String propertyName)
removeProperty
in interface Registration
public java.lang.Object getPropertyValueFor(javax.xml.namespace.QName propertyName)
getPropertyValueFor
in interface Registration
public java.lang.Object getPropertyValueFor(java.lang.String propertyName)
getPropertyValueFor
in interface Registration
public void updateProperties(java.util.Map registrationProperties)
updateProperties
in interface Registration
public boolean hasEqualProperties(Registration registration)
hasEqualProperties
in interface Registration
public boolean hasEqualProperties(java.util.Map properties)
hasEqualProperties
in interface Registration
public RegistrationStatus getStatus()
Registration
getStatus
in interface Registration
public void setStatus(RegistrationStatus status)
Registration
setStatus
in interface Registration
status
- the new statuspublic void clearAssociatedState()
Registration
clearAssociatedState
in interface Registration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |