Server side implementation of AVM remote interface. Made Serializable

several classes that needed to be.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3489 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-08-14 02:34:39 +00:00
parent 1d9afc1030
commit c8ddf97f62
8 changed files with 19 additions and 9 deletions

View File

@@ -17,6 +17,8 @@
package org.alfresco.repo.avm;
import java.io.Serializable;
/**
* This class describes an AVM node object.
* It serves a similar purpose to the data structure
@@ -24,8 +26,10 @@ package org.alfresco.repo.avm;
*
* @author britt
*/
public class AVMNodeDescriptor
public class AVMNodeDescriptor implements Serializable
{
private static final long serialVersionUID = -7959606980486852184L;
/**
* The path that this was looked up with.
*/

View File

@@ -69,10 +69,9 @@ public interface AVMRemote
* starting at offset <code>offset</code> in <code>buff</code>
* @param handle The opaque handle to the server side output stream.
* @param buff The data buffer.
* @param offset The offset within the buffer.
* @param count The number of bytes to write.
*/
public void writeOutput(String handle, byte [] buff, int offset, int count);
public void writeOutput(String handle, byte [] buff, int count);
/**
* Close the server side output stream designated by the handle.

View File

@@ -29,7 +29,6 @@ import java.util.SortedMap;
import org.alfresco.repo.domain.PropertyValue;
import org.alfresco.service.cmr.repository.ContentData;
import org.alfresco.service.cmr.repository.ContentReader;
import org.alfresco.service.cmr.repository.ContentService;
import org.alfresco.service.cmr.repository.ContentWriter;
import org.alfresco.service.namespace.QName;

View File

@@ -22,7 +22,6 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.RandomAccessFile;
import java.util.Date;
import java.util.List;
import java.util.Map;

View File

@@ -21,7 +21,6 @@ import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.io.RandomAccessFile;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;

View File

@@ -17,14 +17,17 @@
package org.alfresco.repo.avm;
import java.io.Serializable;
import java.util.Date;
/**
* A value class for Data about an AVMStore.
* @author britt
*/
public class AVMStoreDescriptor
public class AVMStoreDescriptor implements Serializable
{
private static final long serialVersionUID = -4401863082685362175L;
/**
* The name.
*/

View File

@@ -17,13 +17,17 @@
package org.alfresco.repo.avm;
import java.io.Serializable;
/**
* A value class containing information about the layering state of a looked up
* node.
* @author britt
*/
public class LayeringDescriptor
public class LayeringDescriptor implements Serializable
{
private static final long serialVersionUID = -6911813236493434123L;
/**
* Whether the node is a background node.
*/

View File

@@ -17,14 +17,17 @@
package org.alfresco.repo.avm;
import java.io.Serializable;
import java.util.Date;
/**
* All the information about a particular version.
* @author britt
*/
public class VersionDescriptor
public class VersionDescriptor implements Serializable
{
private static final long serialVersionUID = 9045221398461856268L;
/**
* The name of the store this version belongs to.
*/