|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConsumerRegistrationServiceLocal
Method Summary | |
---|---|
void |
associatePortletToConsumer(int registrationHandle,
int portletInstanceId)
Associates a portletInstance with the consumer that the former was created for. |
void |
deregister(int registrationHandle)
Deregisters a consumer with this producer. |
void |
dissociatePortletFromConsumer(int registrationHandle,
int portletInstanceId)
Dissociates a portlet from a consumer it is associated with. |
List<com.bea.wsrp.producer.types.wsrp_producer_config.RegistrationPropertyDescriptionType> |
getRegistrationProperties(List uris)
Retrieves all configured registration properties. |
List<IPropertyDescription> |
getRegistrationPropertyDescriptions(List<String> uris)
Retrieves all configured registration properties. |
List<RegistrationPropertyValue> |
getRegistrationPropertyValues(int registrationHandle)
Retrieves registration properties and their values for the given consumer. |
boolean |
isPortletAssociated(int registrationHandle,
int portletInstanceId)
Determines if a portlet is associated with a consumer. |
boolean |
isRegistered(int registrationHandle)
Checks to see if a given registrationHandle is valid. |
void |
modifyRegistration(int registrationHandle,
String webappName,
String consumerName,
String consumerAgent,
Map properties,
boolean isStrict)
Modifies an existing registration for this producer. |
int |
register(String webappName,
String consumerName,
String consumerAgent,
Map properties,
boolean isStrict)
Registers a consumer with this producer. |
Methods inherited from interface javax.ejb.EJBLocalObject |
---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
int register(String webappName, String consumerName, String consumerAgent, Map properties, boolean isStrict) throws javax.ejb.EJBException
webappName
- The name of the webapp performing the registrationconsumerName
- The consumer's nameconsumerAgent
- The consumer's agentproperties
- The registration propertiesisStrict
- Flag to specify is registration should fail if any property value
is unacceptable
javax.ejb.EJBException
void modifyRegistration(int registrationHandle, String webappName, String consumerName, String consumerAgent, Map properties, boolean isStrict) throws javax.ejb.EJBException
registrationHandle
- The registration handle for the consumer to be deregisteredwebappName
- The name of the webapp performing the registration modificationconsumerName
- The consumer's nameconsumerAgent
- The consumer's agentproperties
- The registration propertiesisStrict
- Flag to specify is modify registration should fail if any property
value is unacceptable
javax.ejb.EJBException
void deregister(int registrationHandle) throws javax.ejb.EJBException
registrationHandle
- The registration handle for the consumer to be deregistered
javax.ejb.EJBException
boolean isRegistered(int registrationHandle) throws javax.ejb.EJBException
registrationHandle
- The registration handle to check for validity
javax.ejb.EJBException
void associatePortletToConsumer(int registrationHandle, int portletInstanceId) throws javax.ejb.EJBException
registrationHandle
- consumer registration handleportletInstanceId
- instance id of the portlet
javax.ejb.EJBException
boolean isPortletAssociated(int registrationHandle, int portletInstanceId) throws javax.ejb.EJBException
registrationHandle
- consumer registration handleportletInstanceId
- instance id of the portlet
javax.ejb.EJBException
List<com.bea.wsrp.producer.types.wsrp_producer_config.RegistrationPropertyDescriptionType> getRegistrationProperties(List uris) throws javax.ejb.EJBException
javax.ejb.EJBException
getRegistrationPropertyDescriptions(List)
List<RegistrationPropertyValue> getRegistrationPropertyValues(int registrationHandle) throws javax.ejb.EJBException
javax.ejb.EJBException
void dissociatePortletFromConsumer(int registrationHandle, int portletInstanceId) throws Exception
registrationHandle
- consumer registration handleportletInstanceId
- instance id of the portlet
Exception
- Indicates a generic error has occurred executing the operationList<IPropertyDescription> getRegistrationPropertyDescriptions(List<String> uris) throws Exception
uris
- The list of property set files to look at or null for all files
EJBException
Exception
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |