|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.registration.impl.RegistrationImpl
public class RegistrationImpl
Constructor Summary | |
---|---|
RegistrationImpl(java.lang.String id,
ConsumerImpl consumer,
RegistrationStatus status,
java.util.Map properties)
|
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.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 |
RegistrationStatus |
getStatus()
Return the status of this specific registration. |
boolean |
hasEqualProperties(java.util.Map registrationProperties)
|
boolean |
hasEqualProperties(Registration registration)
|
void |
removeProperty(javax.xml.namespace.QName propertyName)
|
void |
removeProperty(java.lang.String propertyName)
|
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 |
setRegistrationPropertyValueFor(java.lang.String propertyName,
java.lang.Object value)
|
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 RegistrationImpl(java.lang.String id, ConsumerImpl consumer, RegistrationStatus status, java.util.Map properties)
Method Detail |
---|
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 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 removeProperty(javax.xml.namespace.QName propertyName)
removeProperty
in interface Registration
public void removeProperty(java.lang.String propertyName)
removeProperty
in interface Registration
public boolean hasEqualProperties(Registration registration)
hasEqualProperties
in interface Registration
public boolean hasEqualProperties(java.util.Map registrationProperties)
hasEqualProperties
in interface Registration
public void setRegistrationPropertyValueFor(java.lang.String propertyName, java.lang.Object value)
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
public void updateProperties(java.util.Map registrationProperties)
updateProperties
in interface Registration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |