本文整理了Java中org.wso2.carbon.registry.core.Resource.getPermanentPath
方法的一些代码示例,展示了Resource.getPermanentPath
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Resource.getPermanentPath
方法的具体详情如下:
包路径:org.wso2.carbon.registry.core.Resource
类名称:Resource
方法名:getPermanentPath
暂无
代码示例来源:origin: org.wso2.carbon.governance/org.wso2.carbon.mashup.javascript.hostobjects.registry
public String jsGet_permanentPath() {
return this.resource.getPermanentPath();
}
代码示例来源:origin: org.wso2.carbon.registry/org.wso2.carbon.registry.cmis
String permanentPath = node.getPermanentPath();
代码示例来源:origin: org.wso2.carbon.registry/org.wso2.carbon.registry.resource
versionsBean.setPermalink(currentResource.getPermanentPath());
currentResource.discard();
代码示例来源:origin: org.wso2.carbon.registry/org.wso2.carbon.registry.ws.client
public static WSResource transformResourceToWSResource(Resource resource, DataHandler dataHandler) {
WSResource wsResource = new WSResource();
wsResource.setContentFile(dataHandler);
wsResource.setAuthorUserName(resource.getAuthorUserName());
if (resource.getCreatedTime() != null) wsResource.setCreatedTime(resource.getCreatedTime().getTime());
// wsResource.setDbBasedContentID(resource)
wsResource.setDescription(resource.getDescription());
wsResource.setId(resource.getId());
if (resource.getLastModified() != null) wsResource.setLastModified(resource.getLastModified().getTime());
wsResource.setLastUpdaterUserName(resource.getLastUpdaterUserName());
// wsResource.setMatchingSnapshotID(resource.get)
wsResource.setMediaType(resource.getMediaType());
// wsResource.setName(resource.)
wsResource.setParentPath(resource.getParentPath());
wsResource.setPath(resource.getPath());
// wsResource.setPathID();
wsResource.setPermanentPath(resource.getPermanentPath());
if (!resource.getProperties().isEmpty()) wsResource.setProperties(getPropertiesForWSResource(resource.getProperties()));
wsResource.setState(resource.getState());
wsResource.setUUID(resource.getUUID());
// resource.get
return wsResource;
}
代码示例来源:origin: org.wso2.carbon.registry/org.wso2.carbon.registry.resource
} else {
bean.setVersionView(false);
bean.setPermalink(resource.getPermanentPath());
内容来源于网络,如有侵权,请联系作者删除!