org.springframework.extensions.surf.types
Interface PageAssociation

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

public interface PageAssociation
extends ModelObject

Interface for a PageAssociation object type

Author:
muzquiano

Field Summary
static String CHILD_ASSOCIATION_TYPE_ID
           
static String PROP_ASSOC_TYPE
           
static String PROP_DEST_ID
           
static String PROP_ORDER_ID
           
static String PROP_SOURCE_ID
           
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 getAssociationType()
          Gets the association type.
 String getDestId()
          Gets the dest id.
 Page getDestPage(RequestContext context)
          Gets the dest object.
 String getOrderId()
          Gets the order id.
 String getSourceId()
          Gets the source id.
 Page getSourcePage(RequestContext context)
          Gets the source page.
 String getTypeId()
          Returns the type id of the model object.
 void setAssociationType(String associationType)
          Sets the association type.
 void setDestId(String destId)
          Sets the dest id.
 void setOrderId(String orderId)
          Sets the order id.
 void setSourceId(String sourceId)
          Sets the source id.
 
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, 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_SOURCE_ID

static final String PROP_SOURCE_ID
See Also:
Constant Field Values

PROP_DEST_ID

static final String PROP_DEST_ID
See Also:
Constant Field Values

PROP_ASSOC_TYPE

static final String PROP_ASSOC_TYPE
See Also:
Constant Field Values

PROP_ORDER_ID

static final String PROP_ORDER_ID
See Also:
Constant Field Values

CHILD_ASSOCIATION_TYPE_ID

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

getTypeId

String getTypeId()
Description copied from interface: ModelObject
Returns the type id of the model object.

Specified by:
getTypeId in interface ModelObject
Returns:
The type 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

getDestId

String getDestId()
Gets the dest id.

Returns:
the dest id

setDestId

void setDestId(String destId)
Sets the dest id.

Parameters:
destId - the new dest id

getAssociationType

String getAssociationType()
Gets the association type.

Returns:
the association type

setAssociationType

void setAssociationType(String associationType)
Sets the association type.

Parameters:
associationType - the new association type

getOrderId

String getOrderId()
Gets the order id.

Returns:
the order id

setOrderId

void setOrderId(String orderId)
Sets the order id.

Parameters:
orderId - the new order id

getSourcePage

Page getSourcePage(RequestContext context)
Gets the source page.

Parameters:
context - the context
Returns:
the source page

getDestPage

Page getDestPage(RequestContext context)
Gets the dest object.

Parameters:
context - the context
Returns:
the dest object


Copyright © 2009 SpringSource, Inc. All Rights Reserved.