|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutboundConnectionModelController
This is the controller object for the outbound connection model.
The OutboundConnectionModelController object is instantiated from the connection model, if the application
wants to modify outbound connection configuration settings.
The controller object allows services to
Modifiable
nodes for a configuration setting, which provides functions to
modify a configuration setting
OutboundConnectionModel model;
˙˙˙
Context ctx = new javax.naming.InitialContext();
OutboundConnectionModelControllerHome home = (OutboundConnectionModelControllerHome)
ctx.lookup("portal:service/model/OutboundConnectionModelController");
OutboundConnectionModelController controller = home.getOutboundConnectionModelControllerProvider().
getOutboundConnectionModelController(model);
OutboundConnectionModelControllerHome
,
OutboundConnectionModel
,
PolicyMapping
,
PolicyRule
,
CookieRule
,
PolicyVariable
Method Summary | |
---|---|
boolean |
confirmDelete(Administrable aNode)
Check if the presented outbound connection model item can be removed. |
ModifiableNode |
create(java.lang.Class<?> aNodeClass,
CreationContext aContext)
Create a new outbound connection model element. |
void |
delete(Administrable elem)
remove the outbound connection model element. |
Methods inherited from interface com.ibm.portal.Committable |
---|
commit, dispose |
Methods inherited from interface com.ibm.portal.ModelController |
---|
confirmCreate, confirmGetModifiableNode, getModifiableNode, resolve |
Method Detail |
---|
ModifiableNode create(java.lang.Class<?> aNodeClass, CreationContext aContext) throws CannotInstantiateModifiableNodeException
create
in interface ModelController<Administrable,ModifiableNode>
aNodeClass
- The class of the object being created. Use one of the following classes
aContext
- the creation context. Defines information about the parent node and initial required settings.
Must not be null. Use the OutboundConnectionCreationContextBuilderFactory singleton to build
CreationContext
objects that fit to the node that you create.
- Returns:
- a modifiable node;
- Throws:
CannotInstantiateModifiableNodeException
- The object could not be created. The nested exception contains detail information.
boolean confirmDelete(Administrable aNode) throws ObjectNotFoundException
aNode
- The coonfiguration item. Note that only items are permitted, that are either owned by this controller,
or objects that are owned by the OutboundConnectionModel from which this controller item has been created).
ObjectNotFoundException
- The presented object does not exist. Probably, the item has already been removed.void delete(Administrable elem) throws ObjectNotFoundException, CannotDeleteNodeException
elem
- The element to be removed.
ObjectNotFoundException
- The object could not be found. Probably, it already has been removed.
CannotDeleteNodeException
- The node cannot be removed (for example, because it belongs to the system profile,
or the user does not have sufficient permissions to remove the item.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |