package org.splat.service.dto;
import org.splat.dal.bo.som.ProgressState;
-import org.splat.dal.dao.som.Database;
-
-
import org.splat.service.technical.IndexServiceImpl;
-import org.splat.dal.bo.som.KnowledgeElement;
-import org.splat.dal.bo.som.ProgressState;
-import org.splat.dal.bo.som.Study;
-import org.splat.dal.bo.som.Study.Properties;
/**
* Stand proxy for entities such as Study and Knowledge Element returned by Lucene-based searches.
* One of these properties is the internal persistent identifier of the object represented by a proxy allowing the
* user of this interface to load the object from the database.
*
- * @see Database#selectStudiesWhere(Study.Properties...)
- * @see Database#selectKnowledgeElementsWhere(KnowledgeElement.Properties)
- * @see Database#selectStudy(int)
- * @see Database#selectKnowledgeElement(int)
* @see IndexServiceImpl
* @see IndexServiceImpl.ObjectProxy
* @author Daniel Brunier-Coulin
public interface Proxy {
- public String getAuthorName ();
+ String getAuthorName ();
/**
* Returns the internal persistent identifier of the object represented by this proxy. The returned identifier can be used
* for selecting the corresponding persistent object from the database.
* @return the internal persistent identifier of the object represented by this proxy.
*/
- public Long getIndex ();
+ Long getIndex ();
- public ProgressState getProgressState ();
+ ProgressState getProgressState ();
/**
* Returns the external reference number of the object represented by this proxy. The returned reference is formated
* according to the format defined in the configuration file of the application.
* @return the external reference number of the object represented by this proxy.
*/
- public String getReference ();
+ String getReference ();
- public String getTitle ();
+ String getTitle ();
/**
* Returns the type of the object represented by this proxy. Depending on the implementation, the returned type may or
* may not be localized in the current locale of final user.
* @return the type of the object represented by this proxy.
*/
- public String getType ();
+ String getType ();
}
\ No newline at end of file