edu.mit.stellar.api.ecm
Interface AtomNodeM


public interface AtomNodeM

AtomNodeM Interface for accessing writable properties of an atomNode in the ECM. An object implementing this interface is mutable.

Version:
$Revision: 29988 $, $Date: 2008-02-09 22:10:42 -0500 (Sat, 09 Feb 2008) $
Author:
MIT Stellar team

Method Summary
 void getValue(java.io.InputStream content)
          analogous to legacy Stellar, and JCR Property.
 void setMimeType(java.lang.String mimeType)
          analogous to legacy Stellar.
 void setName(java.lang.String Name)
          analogous to legacy Stellar.
 

Method Detail

setName

void setName(java.lang.String Name)
analogous to legacy Stellar. Set the name of this AtomNode. Will be used as 'filePath' in legacy Stellar.

Parameters:
name - The name.

setMimeType

void setMimeType(java.lang.String mimeType)
analogous to legacy Stellar. Set the mime type of the content of this AtomNode.

Parameters:
mimeType - The mime type of the document stored.

getValue

void getValue(java.io.InputStream content)
              throws java.lang.Exception
analogous to legacy Stellar, and JCR Property. Provide an InputStream containing the content to be stored.

Parameters:
content - The data to be stored.
Throws:
java.lang.Exception


Copyright © 2007-2008 MIT IS&T ISDA. All Rights Reserved.