blob: a57c358fa1067e87d02bced9dc2f9d8a3bac663a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013 Boeing.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
package org.eclipse.osee.ats.api.team;
import java.util.List;
import org.eclipse.osee.ats.api.IAtsConfigObject;
import org.eclipse.osee.ats.api.agile.IAgileFeatureGroup;
import org.eclipse.osee.ats.api.agile.IAgileTeam;
import org.eclipse.osee.ats.api.ai.IAtsActionableItem;
import org.eclipse.osee.ats.api.country.IAtsCountry;
import org.eclipse.osee.ats.api.ev.IAtsWorkPackage;
import org.eclipse.osee.ats.api.insertion.IAtsInsertion;
import org.eclipse.osee.ats.api.insertion.IAtsInsertionActivity;
import org.eclipse.osee.ats.api.insertion.JaxInsertion;
import org.eclipse.osee.ats.api.insertion.JaxInsertionActivity;
import org.eclipse.osee.ats.api.program.IAtsProgram;
import org.eclipse.osee.ats.api.version.IAtsVersion;
import org.eclipse.osee.framework.core.data.ArtifactId;
import org.eclipse.osee.framework.core.data.IArtifactType;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
/**
* @author Donald G. Dunne
*/
public interface IAtsConfigItemFactory {
IAtsTeamDefinition getTeamDef(ArtifactId artifact) throws OseeCoreException;
IAtsActionableItem getActionableItem(ArtifactId artifact) throws OseeCoreException;
IAtsConfigObject getConfigObject(ArtifactId artifact) throws OseeCoreException;
IAtsVersion getVersion(ArtifactId artifact) throws OseeCoreException;
IAtsProgram getProgram(ArtifactId artifact);
IAgileTeam getAgileTeam(ArtifactId artifact);
IAgileFeatureGroup getAgileFeatureGroup(ArtifactId artifact);
IAtsInsertion getInsertion(ArtifactId artifact);
IAtsInsertion createInsertion(ArtifactId programArtifact, JaxInsertion newInsertion);
IAtsInsertion updateInsertion(JaxInsertion newInsertion);
void deleteInsertion(ArtifactId artifact);
IAtsInsertionActivity getInsertionActivity(ArtifactId artifact);
IAtsInsertionActivity createInsertionActivity(ArtifactId insertion, JaxInsertionActivity newActivity);
IAtsInsertionActivity updateInsertionActivity(JaxInsertionActivity newFeature);
void deleteInsertionActivity(ArtifactId artifact);
boolean isAtsConfigArtifact(ArtifactId artifact);
List<IArtifactType> getAtsConfigArtifactTypes();
IAtsCountry getCountry(ArtifactId artifact);
IAtsWorkPackage getWorkPackage(ArtifactId artifact);
}