package com.l7tech.server.service;

import com.l7tech.objectmodel.Alias;
import com.l7tech.objectmodel.AliasHeader;
import com.l7tech.objectmodel.FindException;
import com.l7tech.objectmodel.Goid;
import com.l7tech.objectmodel.OrganizationHeader;
import com.l7tech.objectmodel.PersistentEntity;
import com.l7tech.objectmodel.folder.FolderedEntityManager;
import java.util.Collection;

public interface AliasManager<AT extends Alias<ET>, ET extends PersistentEntity, HT extends OrganizationHeader>
   extends FolderedEntityManager<AT, AliasHeader<ET>> {
   AT findAliasByEntityAndFolder(Goid var1, Goid var2) throws FindException;

   Collection<AT> findAllAliasesForEntity(Goid var1) throws FindException;

   Collection<HT> expandEntityWithAliases(Collection<HT> var1) throws FindException;
}
