Code Search for Developers
 
 
  

DomainEntityDeleterLocal.java from Texai at Krugle


Show DomainEntityDeleterLocal.java syntax highlighted


package org.texai.kb.ejb.session;

import java.util.UUID;
import javax.ejb.Local;
import org.texai.kb.ejb.session.shared.AssociationFinderLocal;
import org.texai.kb.ejb.session.shared.TermDefinitionAccessorLocal;
import org.texai.kb.ejb.session.shared.TermDeleterFacadeLocal;
import org.texai.kb.ejb.session.shared.TermFinderFacadeLocal;
import org.texai.kb.entity.AtomicTerm;


/**
 * This is the business interface for DomainEntityDeleter enterprise bean.
 */
@Local
public interface DomainEntityDeleterLocal {
  
  /** Deletes the given domain entity from the knowledge base.
   *
   * @param domainEntity the domain entity
   */
  void deleteDomainEntity(final Object domainEntity);

  /** Deletes the domain entity having the given term id from the knowledge base
   *
   * @param termId the id of the atomic term that represents the domain entity
   */
  void  deleteDomainEntity(final UUID termId);

  /** Deletes the given domain entity represented by the given instance term from the knowledge base
   *
   * @param instanceTerm the atomic term that represents the domain entity
   */
  void  deleteDomainEntity(final AtomicTerm instanceTerm);

  /** Sets the term finder during out-of-the-container unit testing.
   *
   * @param termFinderFacade the term finder
   */
  void setTermFinderFacade(final TermFinderFacadeLocal termFinderFacade);
  
  /** Sets the term deleter during out-of-the-container unit testing.
   *
   * @param termDeleterFacade the term deleter
   */
  void setTermDeleterFacade(final TermDeleterFacadeLocal termDeleterFacade);
  
  /** Sets the association finder during out-of-the-container unit testing.
   *
   * @param associationFinder the association finder
   */
  void setAssociationFinder(final AssociationFinderLocal associationFinder);
  
  /** Sets the term definition accessor during out-of-the-container unit testing.
   *
   * @param termDefinitionAccessor the term definition accessor
   */
  void setTermDefinitionAccessor(final TermDefinitionAccessorLocal termDefinitionAccessor);
  
  /** Injects the shared session bean dependencies when executed out of the container. */
  void injectSharedBeanDependencies();
  
}




See more files for this project here

Texai

Texai is an chatbot that intelligently seeks to acquire knowledge and friendly behaviors.

Project homepage: http://sourceforge.net/projects/texai
Programming language(s): Java,Shell Script,XML
License: other

  shared/
    AssociationEditorBean.java
    AssociationEditorLocal.java
    AssociationFinderBean.java
    AssociationFinderLocal.java
    KBPartitionFacadeBean.java
    KBPartitionFacadeLocal.java
    KBShardFacadeBean.java
    TermDeleterFacadeBean.java
    TermDeleterFacadeLocal.java
    TermFinderFacadeBean.java
    TermFinderFacadeLocal.java
    TermManagerBean.java
    TermManagerLocal.java
  AbstractDomainEntityAccessor.java
  DomainEntityDeleterBean.java
  DomainEntityDeleterLocal.java
  DomainEntityLoaderBean.java
  DomainEntityLoaderLocal.java
  DomainEntityManagerBean.java
  DomainEntityManagerLocal.java
  DomainEntityPersisterBean.java
  DomainEntityPersisterLocal.java
  package.html