|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Registration
A class representing an association between a consumer and a producer.
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 properties)
|
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 |
setStatus(RegistrationStatus status)
Update the registration status |
void |
updateProperties(java.util.Map registrationProperties)
|
Method Detail |
---|
java.lang.String getId()
RegistrationPolicy
to create a handle for this Registration.
void setRegistrationHandle(java.lang.String handle)
handle
- java.lang.String getRegistrationHandle()
Consumer getConsumer()
java.util.Map getProperties()
void setPropertyValueFor(javax.xml.namespace.QName propertyName, java.lang.Object value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
void setPropertyValueFor(java.lang.String propertyName, java.lang.Object value)
boolean hasEqualProperties(Registration registration)
boolean hasEqualProperties(java.util.Map properties)
RegistrationStatus getStatus()
void setStatus(RegistrationStatus status)
status
- the new statusvoid clearAssociatedState()
void updateProperties(java.util.Map registrationProperties)
void removeProperty(javax.xml.namespace.QName propertyName)
void removeProperty(java.lang.String propertyName)
java.lang.Object getPropertyValueFor(javax.xml.namespace.QName propertyName)
java.lang.Object getPropertyValueFor(java.lang.String propertyName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |