public abstract class AbstractResource extends Object implements Resource
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
bytes |
protected String |
endpointId |
protected FrameworkBean |
frameworkUtil |
protected String |
name |
protected String |
objectId |
protected String |
protocolId |
| Constructor and Description |
|---|
AbstractResource(String protocolId,
String endpointId,
String objectId,
FrameworkBean frameworkUtil) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEndpointId()
Returns the endpoint of the resource
|
String |
getName()
Gets the name.
|
String |
getObjectId()
Returns the object id of the resource
|
String |
getProtocolId()
Gets the protocol id
|
String |
getResourceId()
Gets the resource id.
|
void |
setEndpointId(String endpointId)
Sets the endpoint of the resource
|
void |
setName(String name)
Sets the name.
|
void |
setObjectId(String objectId)
Sets the object id.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContent, getContentURL, getMetadata, getMetadataURL, getObjectTypeId, isContainerprotected String name
protected String protocolId
protected String objectId
protected String endpointId
protected byte[] bytes
protected FrameworkBean frameworkUtil
public AbstractResource(String protocolId, String endpointId, String objectId, FrameworkBean frameworkUtil)
public String getResourceId()
ResourcegetResourceId in interface Resourcepublic String getProtocolId()
ResourcegetProtocolId in interface Resourcepublic String getObjectId()
ResourcegetObjectId in interface Resourcepublic void setObjectId(String objectId)
ResourcesetObjectId in interface ResourceobjectId - the new object idpublic void setEndpointId(String endpointId)
ResourcesetEndpointId in interface ResourceendpointId - Stringpublic String getEndpointId()
ResourcegetEndpointId in interface ResourceCopyright © 2005–2016 Alfresco Software. All rights reserved.