|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.core.ResourceImpl
org.wso2.carbon.registry.app.RemoteResourceImpl
public class RemoteResourceImpl
Implementation of a resource, to be used by the remote registry.
Field Summary |
---|
Fields inherited from class org.wso2.carbon.registry.core.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, versionableChange, versionNumber |
Constructor Summary | |
---|---|
RemoteResourceImpl()
|
Method Summary | |
---|---|
java.lang.String |
getAuthorizationString()
Method to obtain the authorization string. |
java.lang.Object |
getContent()
Method to get the content of the resource. |
java.io.InputStream |
getContentStream()
Method to get the content stream. |
void |
setAuthorizationString(java.lang.String authorizationString)
Method to set the authorization string. |
void |
setContentURL(java.net.URL contentURL)
Method to set to content url. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteResourceImpl()
Method Detail |
---|
public void setContentURL(java.net.URL contentURL)
contentURL
- the content url.public java.lang.String getAuthorizationString()
public void setAuthorizationString(java.lang.String authorizationString)
authorizationString
- the authorization string.public java.io.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 java.lang.Object getContent() throws RegistryException
ResourceImpl
getContent
in interface org.wso2.carbon.registry.api.Resource
getContent
in class ResourceImpl
RegistryException
- throws if the operation fail.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |