public class PageAssociationImpl extends AbstractModelObject implements PageAssociation
customProperties, description, descriptionId, id, info, modelProperties, modificationTime, resourceContainer, title, titleIdCHILD_ASSOCIATION_TYPE_ID, PROP_ASSOC_TYPE, PROP_DEST_ID, PROP_ORDER_ID, PROP_SOURCE_ID, TYPE_IDPROP_DESCRIPTION, PROP_DESCRIPTION_ID, PROP_ID, PROP_TITLE, PROP_TITLE_ID| Constructor and Description |
|---|
PageAssociationImpl(String id,
ModelPersisterInfo key,
org.dom4j.Document document)
Instantiates a new page association for a given XML document
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addResource, addResource, getBooleanProperty, getCustomProperties, getCustomProperty, getDescription, getDescriptionId, getDocument, getId, getKey, getModelProperties, getModelProperty, 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, updateXMLclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBooleanProperty, getCustomProperties, getCustomProperty, getDescription, getDescriptionId, getDocument, getId, getKey, getModelProperties, getModelProperty, getModificationTime, getPersisterId, getProperties, getProperty, getStoragePath, getTitle, getTitleId, isSaved, removeCustomProperty, removeModelProperty, removeProperty, setCustomProperty, setDescription, setDescriptionId, setModelProperty, setProperty, setTitle, setTitleId, touch, toXMLpublic PageAssociationImpl(String id, ModelPersisterInfo key, org.dom4j.Document document)
document - the documentpublic String getTypeId()
ModelObjectgetTypeId in interface ModelObjectgetTypeId in interface PageAssociationgetTypeId in class AbstractModelObjectpublic String getSourceId()
PageAssociationgetSourceId in interface PageAssociationpublic void setSourceId(String sourceId)
PageAssociationsetSourceId in interface PageAssociationsourceId - the new source idpublic String getDestId()
PageAssociationgetDestId in interface PageAssociationpublic void setDestId(String destId)
PageAssociationsetDestId in interface PageAssociationdestId - the new dest idpublic String getAssociationType()
PageAssociationgetAssociationType in interface PageAssociationpublic void setAssociationType(String associationType)
PageAssociationsetAssociationType in interface PageAssociationassociationType - the new association typepublic String getOrderId()
PageAssociationgetOrderId in interface PageAssociationpublic void setOrderId(String orderId)
PageAssociationsetOrderId in interface PageAssociationorderId - the new order idpublic Page getSourcePage(RequestContext context)
PageAssociationgetSourcePage in interface PageAssociationcontext - the contextpublic Page getDestPage(RequestContext context)
PageAssociationgetDestPage in interface PageAssociationcontext - the contextCopyright © 2005–2016 Alfresco Software. All rights reserved.