| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.portal.model.controller.CreationContextBuilderFactory
public abstract class CreationContextBuilderFactory
A factory for creating and combining CreationContexts.
The factory offers a set of methods (new...
) to create individual
contexts for all contexts which extend CreationContext.
In addition, the combine(CreationContext[]) method allows to create a
context which exposes all interfaces of the individual contexts provided to it.
Example use to create a context which supports both IdentifiableCreationContext and ContentPageCreationContext:
final CreationContextBuilderFactory factory = CreationContextBuilderFactory.getInstance(); final CreationContext[] arr = new CreationContext[2]; arr[0] = factory.newContentPageCreationContext(false); arr[1] = factory.newIdentifiableCreationContext(predefinedID); return factory.combine(arr);
Field Summary | |
---|---|
protected static java.lang.String | COPYRIGHT
|
protected static Logger | LOGGER
|
Constructor Summary | |
---|---|
protected | CreationContextBuilderFactory()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String COPYRIGHT
protected static final Logger LOGGER
Constructor Detail |
---|
protected CreationContextBuilderFactory()
Method Detail |
---|
public static CreationContextBuilderFactory getInstance()
null
protected static void setInstance(CreationContextBuilderFactory aFactory)
null
public abstract CreationContext combine(CreationContext[] contexts)
null
objects.
public abstract ContentNodeCreationContext newContentNodeCreationContext(boolean isPrivate)
public abstract ContentPageCreationContext newContentPageCreationContext(boolean isPrivate)
public abstract DerivedContentPageCreationContext newDerivedContentPageCreationContext(boolean isPrivate, ContentPage aDerivationParent)
null
.
public abstract IdentifiableCreationContext newIdentifiableCreationContext(ObjectID anObjectID)
null
.
public abstract LayoutControlCreationContext newLayoutControlCreationContext(Identifiable portletDefinition, Identifiable portletEntity)
null
.null
.
public abstract PortletDefinitionCloningContext newPortletDefinitionCloningContext(ObjectID portletDefinitionID, Identifiable domainProvider)
null
.null
.
public abstract PortletEntityCreationContext newPortletEntityCreationContext(ObjectID parentID, Identifiable domainProvider)
null
.null
.
public abstract WireCreationContext newWireCreationContext(Identifiable aTargetPage, Identifiable aSourceLayoutControl, Identifiable aTargetLayoutControl, Identifiable aSourceEndpoint, Identifiable aTargetEndpoint, Identifiable aUser)
null
.null
.null
.null
.null
can be set.
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |