Changeset 28985
- Timestamp:
- 01/12/08 14:55:11 (11 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
org.nuxeo.ecm.client/trunk/nuxeo-client-commands/src/main/java/org/nuxeo/ecm/client/commands/repository/PutCommand.java
r28984 r28985 59 59 RepositoryInstance repo = context.getRepositoryInstance(); 60 60 61 String name = localFile.getName() + "_" + System.currentTimeMillis();61 String name = localFile.getName();// + "_" + System.currentTimeMillis(); 62 62 DocumentModel file = new DocumentModelImpl(parent.getPathAsString(), name, "File"); 63 63 file = repo.createDocument(file); org.nuxeo.ecm.client/trunk/nuxeo-client-commands/src/main/resources/OSGI-INF/Commands.xml
r28984 r28985 70 70 <command name="rm" class="org.nuxeo.ecm.client.commands.repository.RmCommand"> 71 71 <description>Remove specified (or current) document</description> 72 <params> 73 <param index="0" type="doc"/> 74 </params> 72 75 <help> 73 76 TODO … … 77 80 <command name="put" class="org.nuxeo.ecm.client.commands.repository.PutCommand"> 78 81 <description>Create a new file document from a local file</description> 82 <params> 83 <param index="0" type="file"/> 84 <param index="1" type="doc"/> 85 </params> 79 86 <help> 80 87 TODO
