Skip to main content
summaryrefslogtreecommitdiffstats
blob: 73f9ca72bbb59ec296c471a9f530ce0e838df52e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*******************************************************************************
 * Copyright (c) 2013 Boeing.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse  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.workflow.log;

import java.util.Date;
import org.eclipse.osee.ats.api.IAtsWorkItem;
import org.eclipse.osee.ats.api.user.IAtsUser;
import org.eclipse.osee.ats.api.util.IAtsChangeSet;
import org.eclipse.osee.ats.api.workdef.IAttributeResolver;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;

/**
 * @author Donald G. Dunne
 */
public interface IAtsLogFactory {

   IAtsLogItem newLogItem(LogType type, Date date, IAtsUser user, String state, String msg) ;

   IAtsLog getLogLoaded(IAtsWorkItem workItem, IAttributeResolver attrResolver);

   void writeToStore(IAtsWorkItem workItem, IAttributeResolver attrResolver, IAtsChangeSet changes);

   IAtsLog getLog();

   ILogStorageProvider getLogProvider(IAtsWorkItem workItem, IAttributeResolver attrResolver);

}

Back to the top