mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
REPO-1138 / REPO-983: Add support for the isLocked property
- can optionally "include" when getting node info, listing children, ... git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
* #L%
|
||||
*/
|
||||
package org.alfresco.rest.api;
|
||||
|
||||
package org.alfresco.rest.api;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -45,7 +45,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.alfresco.service.cmr.repository.StoreRef;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
import org.springframework.extensions.webscripts.servlet.FormData;
|
||||
|
||||
|
||||
/**
|
||||
* File Folder (Nodes) API
|
||||
*
|
||||
@@ -54,31 +54,31 @@ import org.springframework.extensions.webscripts.servlet.FormData;
|
||||
* @author Gethin James
|
||||
* @author steveglover
|
||||
*/
|
||||
public interface Nodes
|
||||
{
|
||||
/**
|
||||
* Get the node representation for the given node.
|
||||
public interface Nodes
|
||||
{
|
||||
/**
|
||||
* Get the node representation for the given node.
|
||||
*
|
||||
* @param nodeId String
|
||||
* @return Node
|
||||
*/
|
||||
Node getNode(String nodeId);
|
||||
|
||||
/**
|
||||
* Get the document representation for the given node.
|
||||
* @param nodeId String
|
||||
* @return Node
|
||||
*/
|
||||
Node getNode(String nodeId);
|
||||
|
||||
/**
|
||||
* Get the document representation for the given node.
|
||||
*
|
||||
* @param nodeRef NodeRef
|
||||
* @return Document
|
||||
*/
|
||||
Document getDocument(NodeRef nodeRef);
|
||||
|
||||
/**
|
||||
* Get the folder representation for the given node.
|
||||
* @param nodeRef NodeRef
|
||||
* @return Document
|
||||
*/
|
||||
Document getDocument(NodeRef nodeRef);
|
||||
|
||||
/**
|
||||
* Get the folder representation for the given node.
|
||||
*
|
||||
* @param nodeRef NodeRef
|
||||
* @return Folder
|
||||
*/
|
||||
Folder getFolder(NodeRef nodeRef);
|
||||
* @param nodeRef NodeRef
|
||||
* @return Folder
|
||||
*/
|
||||
Folder getFolder(NodeRef nodeRef);
|
||||
|
||||
/**
|
||||
* Get the folder or document representation (as appropriate) for the given node.
|
||||
@@ -274,6 +274,7 @@ public interface Nodes
|
||||
String PARAM_INCLUDE_PATH = "path";
|
||||
String PARAM_INCLUDE_ASPECTNAMES = "aspectNames";
|
||||
String PARAM_INCLUDE_ISLINK = "isLink";
|
||||
String PARAM_INCLUDE_ISLOCKED = "isLocked";
|
||||
String PARAM_INCLUDE_ALLOWABLEOPERATIONS = "allowableOperations";
|
||||
|
||||
String PARAM_INCLUDE_ASSOCIATION = "association";
|
||||
@@ -295,10 +296,10 @@ public interface Nodes
|
||||
String PARAM_VERSION_MAJOR = "majorVersion"; // true if major, false if minor
|
||||
String PARAM_VERSION_COMMENT = "comment";
|
||||
|
||||
String PARAM_OVERWRITE = "overwrite";
|
||||
String PARAM_AUTO_RENAME = "autoRename";
|
||||
|
||||
String PARAM_OVERWRITE = "overwrite";
|
||||
String PARAM_AUTO_RENAME = "autoRename";
|
||||
|
||||
String PARAM_ISPRIMARY = "isPrimary";
|
||||
String PARAM_ASSOC_TYPE = "assocType";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user