public final class ScriptVersion extends Object implements Serializable
Constructor and Description |
---|
ScriptVersion(Version version,
ServiceRegistry services,
org.mozilla.javascript.Scriptable scope)
Construct
|
Modifier and Type | Method and Description |
---|---|
Date |
getCreatedDate()
Gets the date the version was created
|
String |
getCreator()
Gets the creator of the version
|
String |
getDescription()
Gets the version description (or checkin comment)
|
String |
getLabel()
Gets the version label
|
ScriptNode |
getNode()
Gets the node represented by this version
|
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef()
Gets the node ref represented by this version
|
String |
getType()
Gets the version type
|
Map<String,Serializable> |
getVersionProperties()
Get the map containing the version property values
|
Serializable |
getVersionProperty(String name)
Gets the value of a named version property.
|
public ScriptVersion(Version version, ServiceRegistry services, org.mozilla.javascript.Scriptable scope)
public Date getCreatedDate()
public String getCreator()
public String getLabel()
public String getType()
public String getDescription()
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
public ScriptNode getNode()
public Map<String,Serializable> getVersionProperties()
public Serializable getVersionProperty(String name)
name
- the name of the propertyCopyright © 2005–2017 Alfresco Software. All rights reserved.