- Changed generation of unique identifier, no longer appears as a field on the create screens, instead gets generated after the node is persisted, the identifier is then generated using the same algorithm as used for records i.e. year-<pad0><node-dbid>. The idenifier still appears on the edit screen so can be changed if desired.

- Moved the StreamArchive webscript implementation to remote API project so it can be re-used by other non RM webscripts
- Added skeleton for transfer REST API

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15687 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2009-08-11 22:12:48 +00:00
parent fe4d547316
commit 5162e3e2e5

View File

@@ -285,6 +285,10 @@ public class TypeFormProcessor extends ContentModelFormProcessor
// create the parent NodeRef // create the parent NodeRef
parentRef = new NodeRef((String)destination.getValue()); parentRef = new NodeRef((String)destination.getValue());
// remove the destination data to avoid warning during persistence, this can
// always be retrieved by looking up the created node's parent
data.removeFieldData(DESTINATION);
// TODO: determine what association to use when creating the node in the destination, // TODO: determine what association to use when creating the node in the destination,
// defaults to ContentModel.ASSOC_CONTAINS // defaults to ContentModel.ASSOC_CONTAINS