org.springframework.extensions.surf.types
Interface Component

All Superinterfaces:
ModelObject, Serializable
All Known Implementing Classes:
ComponentImpl

public interface Component
extends ModelObject

Interface for a Component object type

Author:
muzquiano

Field Summary
static String PROP_CHROME
           
static String PROP_COMPONENT_TYPE_ID
           
static String PROP_GUID
           
static String PROP_REGION_ID
           
static String PROP_SCOPE
           
static String PROP_SOURCE_ID
           
static String PROP_URL
           
static String TYPE_ID
           
 
Fields inherited from interface org.springframework.extensions.surf.ModelObject
PROP_DESCRIPTION, PROP_DESCRIPTION_ID, PROP_ID, PROP_TITLE, PROP_TITLE_ID
 
Method Summary
 String getChrome()
          Gets the chrome.
 ComponentType getComponentType(RequestContext context)
          Gets the component type.
 String getComponentTypeId()
          Gets the component type id.
 String getGUID()
          Gets the GUID.
 String getRegionId()
          Gets the region id.
 String getScope()
          Gets the scope.
 String getSourceId()
          Gets the source id.
 Object getSourceObject(RequestContext context)
          Gets the source object.
 String getURL()
          Gets the URL.
 void setChrome(String chrome)
          Sets the chrome.
 void setComponentTypeId(String componentTypeId)
          Sets the component type id.
 void setGUID(String guid)
          Sets the GUID.
 void setRegionId(String regionId)
          Sets the region id.
 void setScope(String scope)
          Sets the scope.
 void setSourceId(String sourceId)
          Sets the source id.
 void setURL(String url)
          Sets the URL.
 
Methods inherited from interface org.springframework.extensions.surf.ModelObject
getBooleanProperty, getCustomProperties, getCustomProperty, getDescription, getDescriptionId, getDocument, getId, getKey, getModelProperties, getModelProperty, getModelVersion, getModificationTime, getPersisterId, getProperties, getProperty, getStoragePath, getTitle, getTitleId, getTypeId, isSaved, removeCustomProperty, removeModelProperty, removeProperty, setCustomProperty, setDescription, setDescriptionId, setModelProperty, setProperty, setTitle, setTitleId, touch, toXML
 

Field Detail

TYPE_ID

static final String TYPE_ID
See Also:
Constant Field Values

PROP_REGION_ID

static final String PROP_REGION_ID
See Also:
Constant Field Values

PROP_SOURCE_ID

static final String PROP_SOURCE_ID
See Also:
Constant Field Values

PROP_SCOPE

static final String PROP_SCOPE
See Also:
Constant Field Values

PROP_COMPONENT_TYPE_ID

static final String PROP_COMPONENT_TYPE_ID
See Also:
Constant Field Values

PROP_CHROME

static final String PROP_CHROME
See Also:
Constant Field Values

PROP_URL

static final String PROP_URL
See Also:
Constant Field Values

PROP_GUID

static final String PROP_GUID
See Also:
Constant Field Values
Method Detail

getRegionId

String getRegionId()
Gets the region id.

Returns:
the region id

setRegionId

void setRegionId(String regionId)
Sets the region id.

Parameters:
regionId - the new region id

getSourceId

String getSourceId()
Gets the source id.

Returns:
the source id

setSourceId

void setSourceId(String sourceId)
Sets the source id.

Parameters:
sourceId - the new source id

getScope

String getScope()
Gets the scope.

Returns:
the scope

setScope

void setScope(String scope)
Sets the scope.

Parameters:
scope - the new scope

getComponentTypeId

String getComponentTypeId()
Gets the component type id.

Returns:
the component type id

setComponentTypeId

void setComponentTypeId(String componentTypeId)
Sets the component type id.

Parameters:
componentTypeId - the new component type id

getChrome

String getChrome()
Gets the chrome.

Returns:
the chrome

setChrome

void setChrome(String chrome)
Sets the chrome.

Parameters:
chrome - the new chrome

getURL

String getURL()
Gets the URL.

Returns:
the URL

setURL

void setURL(String url)
Sets the URL.

Parameters:
url - the new URL

getGUID

String getGUID()
Gets the GUID.

Returns:
the GUID

setGUID

void setGUID(String guid)
Sets the GUID.

Parameters:
guid - the new GUID

getSourceObject

Object getSourceObject(RequestContext context)
Gets the source object.

Parameters:
context - request context
Returns:
the object

getComponentType

ComponentType getComponentType(RequestContext context)
Gets the component type.

Parameters:
context - the context
Returns:
the component type


Copyright © 2009 SpringSource, Inc. All Rights Reserved.