public class ContentAssociationImpl extends AbstractModelObject implements ContentAssociation
customProperties, description, descriptionId, id, info, modelProperties, modificationTime, resourceContainer, title, titleIdPROP_ASSOC_TYPE, PROP_DEST_ID, PROP_FORMAT_ID, PROP_SOURCE_ID, PROP_SOURCE_TYPE, TYPE_IDPROP_DESCRIPTION, PROP_DESCRIPTION_ID, PROP_ID, PROP_TITLE, PROP_TITLE_ID| Constructor and Description |
|---|
ContentAssociationImpl(String id,
ModelPersisterInfo key,
org.dom4j.Document document)
Instantiates a new content association for the given XML document
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAssociationType()
Gets the association type.
|
String |
getDestId()
Gets the dest id.
|
String |
getFormatId()
Gets the format id.
|
ModelObject |
getObject(RequestContext context)
Gets the object that is being associated.
|
String |
getSourceId()
Gets the source id.
|
String |
getSourceType()
Gets the source type.
|
String |
getTypeId()
Returns the type id of the model object.
|
boolean |
isPageAssociation()
Checks if is page association.
|
boolean |
isTemplateAssociation()
Checks if is template association.
|
void |
setAssociationType(String associationType)
Sets the association type.
|
void |
setDestId(String destId)
Sets the dest id.
|
void |
setFormatId(String formatId)
Sets the format id.
|
void |
setSourceId(String sourceId)
Sets the source id.
|
void |
setSourceType(String sourceType)
Sets the source type.
|
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 ContentAssociationImpl(String id, ModelPersisterInfo key, org.dom4j.Document document)
document - the documentpublic String getTypeId()
ModelObjectgetTypeId in interface ModelObjectgetTypeId in class AbstractModelObjectpublic String getSourceId()
ContentAssociationgetSourceId in interface ContentAssociationpublic void setSourceId(String sourceId)
ContentAssociationsetSourceId in interface ContentAssociationsourceId - the new source idpublic String getDestId()
ContentAssociationgetDestId in interface ContentAssociationpublic void setDestId(String destId)
ContentAssociationsetDestId in interface ContentAssociationdestId - the new dest idpublic String getAssociationType()
ContentAssociationgetAssociationType in interface ContentAssociationpublic void setSourceType(String sourceType)
ContentAssociationsetSourceType in interface ContentAssociationsourceType - the source typepublic String getSourceType()
ContentAssociationgetSourceType in interface ContentAssociationpublic void setAssociationType(String associationType)
ContentAssociationsetAssociationType in interface ContentAssociationassociationType - the new association typepublic String getFormatId()
ContentAssociationgetFormatId in interface ContentAssociationpublic void setFormatId(String formatId)
ContentAssociationsetFormatId in interface ContentAssociationformatId - the new format idpublic ModelObject getObject(RequestContext context)
ContentAssociationgetObject in interface ContentAssociationcontext - the contextpublic boolean isTemplateAssociation()
ContentAssociationisTemplateAssociation in interface ContentAssociationpublic boolean isPageAssociation()
isPageAssociation in interface ContentAssociationCopyright © 2005–2016 Alfresco Software. All rights reserved.