public class RemoteResourceImpl extends ResourceImpl
authorUserName, content, contentModified, createdTime, dataAccessManager, dbBasedContentID, description, directory, id, lastModified, lastUpdaterUserName, matchingSnapshotID, mediaType, name, parentPath, path, pathID, permanentPath, properties, propertiesModified, resourceDAO, snapshotID, state, tenantId, userName, userRealm, uuid, versionableChange, versionNumber
Constructor and Description |
---|
RemoteResourceImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getAuthorizationString()
Method to obtain the authorization string.
|
Object |
getContent()
Method to get the content of the resource.
|
InputStream |
getContentStream()
Method to get the content stream.
|
void |
setAuthorizationString(String authorizationString)
Method to set the authorization string.
|
void |
setContentURL(URL contentURL)
Method to set to content url.
|
addAspect, addProperty, addPropertyWithNoUpdate, clearSessionInformation, discard, editPropertyValue, fillResourceCopy, getAspects, getAuthorUserName, getCreatedTime, getDbBasedContentID, getDescription, getId, getLastModified, getLastUpdaterUserName, getMatchingSnapshotID, getMediaType, getName, getParentPath, getPath, getPathID, getPermanentPath, getProperties, getProperty, getPropertyValues, getResourceDO, getResourceIDImpl, getShallowCopy, getSnapshotID, getState, getUUID, getVersionNumber, isContentModified, isPropertiesModified, isVersionableChange, prepareContentForPut, pullContentFromOriginal, removeAspect, removeProperty, removePropertyValue, removePropertyWithNoUpdate, setAuthorUserName, setContent, setContentModified, setContentStream, setContentStreamWithNoUpdate, setContentWithNoUpdate, setCreatedTime, setDataAccessManager, setDbBasedContentID, setDescription, setId, setLastModified, setLastUpdaterUserName, setMatchingSnapshotID, setMediaType, setName, setParentPath, setPath, setPathID, setProperties, setPropertiesModified, setPropertiesModifiedWithNoUpdate, setProperty, setProperty, setSessionInformation, setSnapshotID, setState, setTenantId, setUserName, setUserRealm, setUUID, setVersionableChange, setVersionNumber
public void setContentURL(URL contentURL)
contentURL
- the content url.public String getAuthorizationString()
public void setAuthorizationString(String authorizationString)
authorizationString
- the authorization string.public InputStream getContentStream() throws RegistryException
ResourceImpl
getContentStream
in interface org.wso2.carbon.registry.api.Resource
getContentStream
in class ResourceImpl
RegistryException
- throws if the operation fail.public Object getContent() throws RegistryException
ResourceImpl
getContent
in interface org.wso2.carbon.registry.api.Resource
getContent
in class ResourceImpl
RegistryException
- throws if the operation fail.Copyright © 2016 WSO2 Inc. All Rights Reserved.