mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD (5.2) to 5.2.N (5.2.1)
126349 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2) 118692 jvonka: Merge from DEV/SABRE_JANV1 (part 2) - RA-613 / RA-655 - File Folder API (PoC - experimental WIP) - TODO add tests +review backwards compat' (eg. favs) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126694 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
64
source/java/org/alfresco/rest/api/model/PathInfo.java
Normal file
64
source/java/org/alfresco/rest/api/model/PathInfo.java
Normal file
@@ -0,0 +1,64 @@
|
||||
package org.alfresco.rest.api.model;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Representation of a path info
|
||||
*
|
||||
* @author janv
|
||||
*
|
||||
*/
|
||||
public class PathInfo
|
||||
{
|
||||
private String name;
|
||||
private Boolean isComplete;
|
||||
private List<ElementInfo> elements;
|
||||
|
||||
public PathInfo()
|
||||
{
|
||||
}
|
||||
|
||||
public PathInfo(String name, Boolean isComplete, List<ElementInfo> elements)
|
||||
{
|
||||
this.name = name;
|
||||
this.isComplete = isComplete;
|
||||
this.elements = elements;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public Boolean getIsComplete() {
|
||||
return isComplete;
|
||||
}
|
||||
|
||||
public List<ElementInfo> getElements() {
|
||||
return elements;
|
||||
}
|
||||
|
||||
public class ElementInfo {
|
||||
|
||||
private String id;
|
||||
|
||||
private String name;
|
||||
|
||||
public ElementInfo()
|
||||
{
|
||||
}
|
||||
|
||||
public ElementInfo(String id, String name)
|
||||
{
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user