wt.inf.container
Class WTContainerHelper

java.lang.Object
  extended by wt.inf.container.WTContainerHelper

public final class WTContainerHelper
extends Object



Supported API: true

Extendable: false


Nested Class Summary
protected static class wt.inf.container.WTContainerHelper.ContainerConfig
           
protected static class wt.inf.container.WTContainerHelper.ContainerInfo
           
 
Field Summary
static WTContainerService service
          

Supported API: true
 
Method Summary
static WTContainer getContainer(WTContained contained)
          

Supported API: true
static void setContainer(WTContained contained, WTContainerRef container_ref)
          Assigns a container reference to an unpersisted contained object.
static void setPrivateAccess(WTContainer container, boolean private_access)
          Assigns the privateAccess property to an unpersisted container.
static void setPublicParentDomain(WTContainer container, AdminDomainRef public_parent)
          Assigns the parentPublicDomain property to an unpersisted container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

service

public static final WTContainerService service


Supported API: true

Method Detail

getContainer

public static WTContainer getContainer(WTContained contained)
                                throws WTException


Supported API: true

Parameters:
contained -
Returns:
the WTContained object's container.
Throws:
WTException

setContainer

public static void setContainer(WTContained contained,
                                WTContainerRef container_ref)
                         throws WTPropertyVetoException
Assigns a container reference to an unpersisted contained object.

Parameters:
contained -
container_ref -
Throws:
WTPropertyVetoException

setPrivateAccess

public static void setPrivateAccess(WTContainer container,
                                    boolean private_access)
                             throws WTPropertyVetoException
Assigns the privateAccess property to an unpersisted container. To change this property on a persistent container, use WTContainerService.makePrivate and WTContainerService.makePublic.

Supported API: true

Parameters:
container -
private_access -
Throws:
WTPropertyVetoException
See Also:
WTContainerService.makePrivate(wt.inf.container.WTContainer), WTContainerService.makePublic(wt.inf.container.WTContainer)

setPublicParentDomain

public static void setPublicParentDomain(WTContainer container,
                                         AdminDomainRef public_parent)
                                  throws WTPropertyVetoException
Assigns the parentPublicDomain property to an unpersisted container. To change this property on a persistent container, use WTContainerService.changePublicParentDomain

Supported API: true

Parameters:
container -
public_parent -
Throws:
WTPropertyVetoException
See Also:
WTContainerService.changePublicParentDomain(wt.inf.container.WTContainer, wt.admin.AdminDomainRef)