|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.surf.types.AbstractModelObject org.springframework.extensions.surf.types.PageAssociationImpl
public class PageAssociationImpl
Default page association implementation
Field Summary |
---|
Fields inherited from class org.springframework.extensions.surf.types.AbstractModelObject |
---|
CONTAINER_PROPERTIES, CONTAINER_RESOURCES, customProperties, description, descriptionId, document, id, info, modelProperties, modelVersion, modificationTime, resourceContainer, title, titleId |
Fields inherited from interface org.springframework.extensions.surf.types.PageAssociation |
---|
CHILD_ASSOCIATION_TYPE_ID, PROP_ASSOC_TYPE, PROP_DEST_ID, PROP_ORDER_ID, PROP_SOURCE_ID, TYPE_ID |
Fields inherited from interface org.springframework.extensions.surf.ModelObject |
---|
PROP_DESCRIPTION, PROP_DESCRIPTION_ID, PROP_ID, PROP_TITLE, PROP_TITLE_ID |
Constructor Summary | |
---|---|
PageAssociationImpl(String id,
ModelPersisterInfo key,
org.dom4j.Document document)
Instantiates a new page association for a given XML document |
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 class org.springframework.extensions.surf.types.AbstractModelObject |
---|
addResource, addResource, getBooleanProperty, getCustomProperties, getCustomProperty, getDescription, getDescriptionId, getDocument, getId, getKey, getModelProperties, getModelProperty, getModelVersion, getModificationTime, getPersisterId, getProperties, getProperty, getResource, getResourceContainer, getResources, getResourcesMap, getStoragePath, getTitle, getTitleId, isCustomProperty, isModelProperty, isSaved, removeCustomProperty, removeModelProperty, removeProperty, removeResource, setCustomProperty, setDescription, setDescriptionId, setId, setModelProperty, setModificationTime, setProperty, setTitle, setTitleId, toString, touch, toXML, updateResource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 |
Constructor Detail |
---|
public PageAssociationImpl(String id, ModelPersisterInfo key, org.dom4j.Document document)
document
- the documentMethod Detail |
---|
public String getTypeId()
ModelObject
getTypeId
in interface ModelObject
getTypeId
in interface PageAssociation
getTypeId
in class AbstractModelObject
public String getSourceId()
PageAssociation
getSourceId
in interface PageAssociation
public void setSourceId(String sourceId)
PageAssociation
setSourceId
in interface PageAssociation
sourceId
- the new source idpublic String getDestId()
PageAssociation
getDestId
in interface PageAssociation
public void setDestId(String destId)
PageAssociation
setDestId
in interface PageAssociation
destId
- the new dest idpublic String getAssociationType()
PageAssociation
getAssociationType
in interface PageAssociation
public void setAssociationType(String associationType)
PageAssociation
setAssociationType
in interface PageAssociation
associationType
- the new association typepublic String getOrderId()
PageAssociation
getOrderId
in interface PageAssociation
public void setOrderId(String orderId)
PageAssociation
setOrderId
in interface PageAssociation
orderId
- the new order idpublic Page getSourcePage(RequestContext context)
PageAssociation
getSourcePage
in interface PageAssociation
context
- the context
public Page getDestPage(RequestContext context)
PageAssociation
getDestPage
in interface PageAssociation
context
- the context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |