Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   *  Copyright (c) 2011 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK), Gatersleben, Germany.
   *  All rights reserved. This program and the accompanying materials
   *  are made available under the terms of the GNU Lesser Public License v2.1
   *  which accompanies this distribution, and is available at
   *  http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
   *
   *  Contributors:
   *      Leibniz Institute of Plant Genetics and Crop Plant Research (IPK), Gatersleben, Germany - RMI Client, FileChooser and WebDAV
  */
 package de.ipk_gatersleben.bit.bi.edal.rmi.client;
 
 import java.util.List;
 
 
SampleClient version of de.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataDirectory to use eDAL system like the stand-alone implementation.

Author(s):
arendd
 
Constructor for ClientPrimaryDataDirectory.

 
 		super(directoryclient);
 	}

 
 	}

 
 		return new ClientPrimaryDataFile(
	}

	public boolean exist(String paththrows RemoteException,
	}

else {
		}
	}

		for (PrimaryDataEntityRmiInterface primaryDataEntityRMI : rmiList) {
			if (primaryDataEntityRMI
						(PrimaryDataDirectoryRmiInterfaceprimaryDataEntityRMI,
else {
						(PrimaryDataFileRmiInterfaceprimaryDataEntityRMI,
			}
		}
		return myList;
	}

				internList.size());
		for (PrimaryDataEntityRmiInterface primaryDataEntity : internList) {
			if (primaryDataEntity.isDirectory(.getSubject())) {
else {
				externList.add(new ClientPrimaryDataFile(
						(PrimaryDataFileRmiInterfaceprimaryDataEntity,
			}
		}
		return externList;
	}

			PublicationStatus publicationStatus)
				.searchByPublicationStatus(publicationStatus,
				internList.size());
		for (PrimaryDataEntityRmiInterface primaryDataEntity : internList) {
			if (primaryDataEntity.isDirectory(.getSubject())) {
else {
				externList.add(new ClientPrimaryDataFile(
						(PrimaryDataFileRmiInterfaceprimaryDataEntity,
			}
		}
		return externList;
	}

			EnumDublinCoreElements elementUntypedData databoolean fuzzy,
			boolean recursiveIntoSubdirectoriesthrows RemoteException,
				.searchByDublinCoreElement(elementdatafuzzy,
						recursiveIntoSubdirectories,
				internList.size());
		for (PrimaryDataEntityRmiInterface primaryDataEntity : internList) {
			if (primaryDataEntity.isDirectory(.getSubject())) {
else {
				externList.add(new ClientPrimaryDataFile(
						(PrimaryDataFileRmiInterfaceprimaryDataEntity,
			}
		}
		return externList;
	}

			boolean fuzzyboolean recursiveIntoSubdirectories)
				.searchByMetaData(queryfuzzyrecursiveIntoSubdirectories,
				internList.size());
		for (PrimaryDataEntityRmiInterface primaryDataEntity : internList) {
			if (primaryDataEntity.isDirectory(.getSubject())) {
else {
				externList.add(new ClientPrimaryDataFile(
						(PrimaryDataFileRmiInterfaceprimaryDataEntity,
			}
		}
		return externList;
	}

de.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataDirectory.searchByKeyword(java.lang.String,boolean,boolean)

Parameters:
keyword the term to search over all elements.
fuzzy true: fuzzy search; false: exact search
recursiveIntoSubdirectories true: include also all sub de.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataDirectory recursively; false search only in the current de.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataDirectory object
Returns:
a unmodifiable java.util.List of de.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataEntity that match the keyword.
Throws:
de.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataDirectoryException if unable to search for the keyword.
java.rmi.RemoteException if unable to call remote function.
			boolean fuzzyboolean recursiveIntoSubdirectories)
				.searchByKeyword(keywordfuzzyrecursiveIntoSubdirectories,
				internList.size());
		for (PrimaryDataEntityRmiInterface primaryDataEntity : internList) {
			if (primaryDataEntity.isDirectory(.getSubject())) {
else {
				externList.add(new ClientPrimaryDataFile(
						(PrimaryDataFileRmiInterfaceprimaryDataEntity,
			}
		}
		return externList;
	}

	public void setMetaData(MetaData new_metadatathrows RemoteException,
				new_metadata.getSubject());
		this. = this.getVersions().last();
	}
New to GrepCode? Check out our FAQ X