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)
127604 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2) 127414 jvonka: Node Associations - create node with assocs (peer &/or secondary child) - can be optionally used to create (eg. mandatory) assoc(s) to other existing node(s) RA-925 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -30,6 +30,8 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.alfresco.rest.api.model.AssocChild;
|
||||
import org.alfresco.rest.api.model.AssocTarget;
|
||||
import org.alfresco.rest.api.model.Document;
|
||||
import org.alfresco.rest.api.model.Folder;
|
||||
import org.alfresco.rest.api.model.Node;
|
||||
@@ -223,6 +225,26 @@ public interface Nodes
|
||||
*/
|
||||
QName createQName(String qnameStr);
|
||||
|
||||
QName getAssocType(String assocTypeQNameStr);
|
||||
|
||||
QName getAssocType(String assocTypeQNameStr, boolean mandatory);
|
||||
|
||||
/**
|
||||
*
|
||||
* @param parentNodeId
|
||||
* @param entities
|
||||
* @return
|
||||
*/
|
||||
List<AssocChild> addChildren(String parentNodeId, List<AssocChild> entities);
|
||||
|
||||
/**
|
||||
*
|
||||
* @param sourceNodeId
|
||||
* @param entities
|
||||
* @return
|
||||
*/
|
||||
List<AssocTarget> addTargets(String sourceNodeId, List<AssocTarget> entities);
|
||||
|
||||
/**
|
||||
* API Constants - query parameters, etc
|
||||
*/
|
||||
|
Reference in New Issue
Block a user