org.wso2.carbon.registry.core.Resource.getPermanentPath()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(69)

本文整理了Java中org.wso2.carbon.registry.core.Resource.getPermanentPath方法的一些代码示例,展示了Resource.getPermanentPath的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Resource.getPermanentPath方法的具体详情如下:
包路径:org.wso2.carbon.registry.core.Resource
类名称:Resource
方法名:getPermanentPath

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());

相关文章