|
||||||||||
| 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, uuid, versionableChange, versionNumber |
| Constructor Summary | |
|---|---|
RemoteResourceImpl()
|
|
| Method Summary | |
|---|---|
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. |
| 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(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.ResourcegetContentStream in class ResourceImplRegistryException - throws if the operation fail.
public Object getContent()
throws RegistryException
ResourceImpl
getContent in interface org.wso2.carbon.registry.api.ResourcegetContent in class ResourceImplRegistryException - throws if the operation fail.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||