public final class ScriptResource extends ScriptBase
context, properties| Constructor and Description |
|---|
ScriptResource(RequestContext context,
Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.extensions.webscripts.ScriptableMap<String,Serializable> |
buildProperties() |
ScriptResourceContent |
getContent() |
String |
getContentUrl() |
String |
getEndpointId() |
String |
getId() |
boolean |
getIsContainer() |
ScriptResourceContent |
getMetadata() |
String |
getMetadataUrl() |
String |
getName() |
String |
getObjectId() |
String |
getObjectTypeId() |
String |
getProtocolId() |
getConfig, getObject, getObjectService, getProperties, getRequestContext, toStringpublic ScriptResource(RequestContext context, Resource resource)
protected org.springframework.extensions.webscripts.ScriptableMap<String,Serializable> buildProperties()
buildProperties in class ScriptBasepublic String getId()
public String getProtocolId()
public String getEndpointId()
public String getObjectId()
public String getObjectTypeId()
public String getName()
public ScriptResourceContent getContent()
public String getContentUrl()
public ScriptResourceContent getMetadata()
public String getMetadataUrl()
public boolean getIsContainer()
Copyright © 2005–2016 Alfresco Software. All rights reserved.