Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)

136752 jkaabimofrad: APPSREPO-147: Renamed 'pathInfo' to 'path' to be consistent with other APIs.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136757 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2017-05-15 15:38:50 +00:00
parent 4aa5513c75
commit b4dc28b838
3 changed files with 36 additions and 36 deletions

View File

@@ -589,7 +589,7 @@ public class QuickShareLinksImpl implements QuickShareLinks, RecognizedParamsExt
// in noAuth mode we don't return the path info
if (includeParam.contains(PARAM_INCLUDE_PATH))
{
qs.setPathInfo(nodes.lookupPathInfo(nodeRef, null));
qs.setPath(nodes.lookupPathInfo(nodeRef, null));
}
}

View File

@@ -52,7 +52,7 @@ public class QuickShareLink
private String nodeId;
private String name;
private PathInfo pathInfo;
private PathInfo path;
private ContentInfo content;
@@ -119,14 +119,14 @@ public class QuickShareLink
this.name = name;
}
public PathInfo getPathInfo()
public PathInfo getPath()
{
return pathInfo;
return path;
}
public void setPathInfo(PathInfo pathInfo)
public void setPath(PathInfo pathInfo)
{
this.pathInfo = pathInfo;
this.path = pathInfo;
}
public Date getModifiedAt()
@@ -177,7 +177,7 @@ public class QuickShareLink
sb.append("QuickShareLink [id=").append(getId());
sb.append(", nodeId=").append(getNodeId());
sb.append(", name=").append(getName());
sb.append(", pathInfo=").append(getPathInfo());
sb.append(", path=").append(getPath());
sb.append(", modifiedAt=").append(getModifiedAt());
sb.append(", modifiedByUser=").append(getModifiedByUser());
sb.append(", sharedByUser=").append(getSharedByUser());