public class ModuleDeploymentImpl extends AbstractModelObject implements ModuleDeployment
customProperties, description, descriptionId, id, info, modelProperties, modificationTime, resourceContainer, title, titleIdPROP_EVALUATOR_OVERRIDE, PROP_EVALUATOR_PROPERTY_OVERRIDES, PROP_EXTENSION_MODULE, PROP_INDEX, PROP_MODULE_DEPLOYMENT_TYPE, TYPE_IDPROP_DESCRIPTION, PROP_DESCRIPTION_ID, PROP_ID, PROP_TITLE, PROP_TITLE_ID| Constructor and Description |
|---|
ModuleDeploymentImpl(String id,
ModelPersisterInfo key,
org.dom4j.Document document) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ModuleDeployment o) |
boolean |
equals(Object obj)
A
ModuleDeploymentImpl is considered equal to another object if that object is either
another ModuleDeployment with the same ID or an ExtensionModule with the same
ID. |
AdvancedComponent |
getAdvancedComponent(String id)
Checks to see if the module declares an extension to the
AdvancedComponent defined by the
supplied id. |
Map<String,AdvancedComponent> |
getAdvancedComponents() |
String |
getAutoDeployIndex() |
List<org.springframework.extensions.surf.extensibility.Customization> |
getCustomizations() |
String |
getEvaluator() |
String |
getEvaluatorOverride() |
Map<String,String> |
getEvaluatorProperties() |
Map<String,String> |
getEvaluatorPropertyOverrides() |
ExtensionModule |
getExtensionModule() |
String |
getExtensionModuleId() |
int |
getIndex() |
String |
getModuleDeploymentType() |
String |
getTypeId()
Returns the type id of the model object.
|
String |
getVersion() |
void |
setEvaluatorOverride(String evaluatorOverride) |
void |
setEvaluatorPropertyOverrides(Map<String,String> evaluatorProperties) |
void |
setExtensionModule(ExtensionModule extensionModule) |
void |
setExtensionModuleId(String extensionModuleId) |
void |
setIndex(int index) |
void |
setModuleDeploymentType(String extensionType) |
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, 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 ModuleDeploymentImpl(String id, ModelPersisterInfo key, org.dom4j.Document document)
public String getTypeId()
ModelObjectgetTypeId in interface ModelObjectgetTypeId in class AbstractModelObjectpublic String getModuleDeploymentType()
getModuleDeploymentType in interface ModuleDeploymentpublic void setModuleDeploymentType(String extensionType)
setModuleDeploymentType in interface ModuleDeploymentpublic String getExtensionModuleId()
getExtensionModuleId in interface ModuleDeploymentpublic void setExtensionModuleId(String extensionModuleId)
setExtensionModuleId in interface ModuleDeploymentpublic ExtensionModule getExtensionModule()
getExtensionModule in interface ModuleDeploymentpublic void setExtensionModule(ExtensionModule extensionModule)
setExtensionModule in interface ModuleDeploymentpublic int getIndex()
getIndex in interface ModuleDeploymentpublic void setIndex(int index)
setIndex in interface ModuleDeploymentpublic int compareTo(ModuleDeployment o)
compareTo in interface Comparable<ModuleDeployment>public boolean equals(Object obj)
A ModuleDeploymentImpl is considered equal to another object if that object is either
another ModuleDeployment with the same ID or an ExtensionModule with the same
ID. This implementation is based on the assumption that all module IDs (whether deployed or not) are unique
within the context of the application. The benefit of this is that Collection instances of can
use the .contains() method when comparing lists deployed and undeployed objects.
public String getVersion()
getVersion in interface ModuleDeploymentpublic String getAutoDeployIndex()
getAutoDeployIndex in interface ModuleDeploymentpublic String getEvaluator()
getEvaluator in interface ModuleDeploymentpublic Map<String,String> getEvaluatorProperties()
getEvaluatorProperties in interface ModuleDeploymentpublic void setEvaluatorOverride(String evaluatorOverride)
setEvaluatorOverride in interface ModuleDeploymentpublic void setEvaluatorPropertyOverrides(Map<String,String> evaluatorProperties)
setEvaluatorPropertyOverrides in interface ModuleDeploymentpublic String getEvaluatorOverride()
getEvaluatorOverride in interface ModuleDeploymentpublic Map<String,String> getEvaluatorPropertyOverrides()
getEvaluatorPropertyOverrides in interface ModuleDeploymentpublic Map<String,AdvancedComponent> getAdvancedComponents()
public AdvancedComponent getAdvancedComponent(String id)
ModuleDeploymentAdvancedComponent defined by the
supplied id. If the an extension has been declared then it is returned.getAdvancedComponent in interface ModuleDeploymentid - The identifier of the AdvancedComponent extension to retrieve.AdvancedComponent extension matching the supplied id.public List<org.springframework.extensions.surf.extensibility.Customization> getCustomizations()
getCustomizations in interface ModuleDeploymentCopyright © 2005–2016 Alfresco Software. All rights reserved.