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