com.arsdigita.kernel
Class ResourceTypeConfig

java.lang.Object
  extended bycom.arsdigita.kernel.ResourceTypeConfig

public class ResourceTypeConfig
extends Object

XXX JAVADOC XXX

Version:
$Id: //core-platform/dev/src/com/arsdigita/kernel/ResourceTypeConfig.java#7 $
Author:
Justin Ross
See Also:
ResourceType, ResourceConfigFormSection, Resource

Field Summary
static String versionId
           
 
Constructor Summary
protected ResourceTypeConfig()
          For use in generating default config components when Resource authors don't specify their own.
  ResourceTypeConfig(String resourceObjectType)
           
 
Method Summary
 void configureResource(Resource resource)
           
 ResourceConfigComponent getCreateComponent(ResourceType resType, RequestLocal parentResRL)
          Retrieves the component for creating an instance of a ResourceType.
 ResourceConfigFormSection getCreateFormSection(ResourceType resType, RequestLocal parentResRL)
           
 ResourceConfigComponent getModifyComponent(RequestLocal resource)
          Retrieves the component for modifying an instance of a ResourceType.
 ResourceConfigFormSection getModifyFormSection(RequestLocal application)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

ResourceTypeConfig

protected ResourceTypeConfig()
For use in generating default config components when Resource authors don't specify their own. Should only be used by PortletType.


ResourceTypeConfig

public ResourceTypeConfig(String resourceObjectType)
Method Detail

getCreateFormSection

public ResourceConfigFormSection getCreateFormSection(ResourceType resType,
                                                      RequestLocal parentResRL)

getModifyFormSection

public ResourceConfigFormSection getModifyFormSection(RequestLocal application)

getCreateComponent

public ResourceConfigComponent getCreateComponent(ResourceType resType,
                                                  RequestLocal parentResRL)
Retrieves the component for creating an instance of a ResourceType. The component should fire a completion event when it has finished processing.

See Also:
Completable.fireCompletionEvent(PageState)

getModifyComponent

public ResourceConfigComponent getModifyComponent(RequestLocal resource)
Retrieves the component for modifying an instance of a ResourceType. The component should fire a completion event when it has finished processing.

See Also:
Completable.fireCompletionEvent(PageState)

configureResource

public void configureResource(Resource resource)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC