wt.inf.container
Interface CanCreateDelegate

All Known Implementing Classes:
DefaultCanCreateDelegate

public interface CanCreateDelegate

Delegated to by WTContainerService.checkCreate.

Supported API: true

Extendable: true


Method Summary
 boolean canCreate(Class container_class, WTUser user, WTContainerRef parent_ref)
          

Supported API: false
 void checkCreate(Class container_class, WTUser user, WTContainerRef parent_ref)
          Implementations should throw WTContainerExceptions to indicate that the create is vetoed.
 

Method Detail

checkCreate

public void checkCreate(Class container_class,
                        WTUser user,
                        WTContainerRef parent_ref)
                 throws WTException
Implementations should throw WTContainerExceptions to indicate that the create is vetoed.

Supported API: false

Parameters:
container_class -
user -
parent_ref -
Throws:
WTException

canCreate

public boolean canCreate(Class container_class,
                         WTUser user,
                         WTContainerRef parent_ref)
                  throws WTException


Supported API: false

Parameters:
container_class -
user -
parent_ref -
Returns:
boolean
Throws:
WTException