// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) deadcode 
// Source File Name:   DocumentDelegate.java

package com.ptc.windchill.enterprise.doc.server;

import com.ptc.core.meta.common.TypeIdentifier;
import com.ptc.windchill.enterprise.nativeapp.server.ClientConfiguration;
import java.util.HashMap;
import java.util.Locale;
import wt.doc.WTDocument;
import wt.fc.Persistable;
import wt.inf.container.WTContainer;
import wt.util.WTException;

public interface DocumentDelegate
{

    public abstract WTDocument createDocument(TypeIdentifier typeidentifier, HashMap hashmap, Locale locale)
        throws WTException;

    public abstract WTDocument updateDocument(WTDocument wtdocument, HashMap hashmap, Locale locale)
        throws WTException;

    public abstract TypeIdentifier[] getDocumentType(Class class1, String s)
        throws WTException;

    public abstract HashMap getCreateDocumentAttributes(WTContainer wtcontainer, TypeIdentifier typeidentifier, HashMap hashmap, Locale locale)
        throws WTException;

    public abstract HashMap getUpdateDocumentAttributes(Persistable persistable, HashMap hashmap, Locale locale)
        throws WTException;

    public abstract HashMap getDetailsDocumentAttributes(Persistable persistable, HashMap hashmap, ClientConfiguration clientconfiguration, Locale locale)
        throws WTException;

    public abstract HashMap getCheckinDocumentAttributes(Persistable persistable, HashMap hashmap, Locale locale)
        throws WTException;
}
