ogre.dms.service
Interface DocumentTemplateManagementService

All Superinterfaces:
Remote

public interface DocumentTemplateManagementService
extends Remote


Method Summary
 boolean addAttValue(String ConfigKey, String TemplateID, Vector Context)
           
 boolean addNewTemplate(String templateName, String description)
          Deprecated. V3.0
 String addNewVDTemplate(VDTemplate vdTemplate)
           
 DMSResult commitDeleteDocumentTemplate(String userID, String documentTemplateID)
          delete document template
 DMSResult commitNewDocumentTemplate(String userID, DocumentTemplate documentTemplate)
          new document template
 DMSResult commitUpdateDocumentTemplate(String userID, String documentTemplateID, DocumentTemplate documetnTemplate)
          update document template
 DMSResult deleteExtraFeature(String useriD, String efKey)
          delete a extra feature
 boolean editTemplate(String templateID, Vector VDCIAttribute)
           
 Vector getAttributeTypeByTemplateID(String templateID)
           
 Vector getATTValueByID(String ConfigKey, String TemplateID)
           
 Vector getVDConfigByID(String templateID, String orderItem)
           
 Vector getVDConfigByName(String templateName, String orderItem)
           
 VDTemplate getVDTemplateByID(String templateID)
          Retrieve VDTemplate object
 Vector getVDTemplateIDList()
           
 List getVDTemplateList()
          Retrieve all VDTemplate object
 List getVDTemplateListByGroupID(String[] groupIDs)
          Retrieve all VDTemplate object according to VDTemplate's groupID
 boolean isAlive()
           
 DMSResult newExtraFeature(String userID, ExtraFeatureItem efi)
          new a extra feature
 boolean removeAttValue(String ConfigKey, String TemplateID)
           
 boolean removeTemplate(String templateID)
           
 boolean saveTemplate(VDTemplate vdTemplate, Vector VDCIAttribute)
           
 DMSResult updateExtraFeature(String userID, String efKey, ExtraFeatureItem efi)
          update a extra feature
 

Method Detail

commitNewDocumentTemplate

DMSResult commitNewDocumentTemplate(String userID,
                                    DocumentTemplate documentTemplate)
                                    throws RemoteException
new document template

Throws:
RemoteException

commitUpdateDocumentTemplate

DMSResult commitUpdateDocumentTemplate(String userID,
                                       String documentTemplateID,
                                       DocumentTemplate documetnTemplate)
                                       throws RemoteException
update document template

Throws:
RemoteException

commitDeleteDocumentTemplate

DMSResult commitDeleteDocumentTemplate(String userID,
                                       String documentTemplateID)
                                       throws RemoteException
delete document template

Throws:
RemoteException

newExtraFeature

DMSResult newExtraFeature(String userID,
                          ExtraFeatureItem efi)
                          throws RemoteException
new a extra feature

Throws:
RemoteException

updateExtraFeature

DMSResult updateExtraFeature(String userID,
                             String efKey,
                             ExtraFeatureItem efi)
                             throws RemoteException
update a extra feature

Throws:
RemoteException

deleteExtraFeature

DMSResult deleteExtraFeature(String useriD,
                             String efKey)
                             throws RemoteException
delete a extra feature

Throws:
RemoteException

addNewTemplate

boolean addNewTemplate(String templateName,
                       String description)
                       throws RemoteException
Deprecated. V3.0

Use #addNewVDTemplate(String, String) instead.

Throws:
RemoteException

addNewVDTemplate

String addNewVDTemplate(VDTemplate vdTemplate)
                        throws RemoteException
Parameters:
templateName -
description -
Returns:
vdTempateID
Throws:
RemoteException
Since:
V3.0

removeTemplate

boolean removeTemplate(String templateID)
                       throws RemoteException
Throws:
RemoteException

editTemplate

boolean editTemplate(String templateID,
                     Vector VDCIAttribute)
                     throws RemoteException
Throws:
RemoteException

saveTemplate

boolean saveTemplate(VDTemplate vdTemplate,
                     Vector VDCIAttribute)
                     throws RemoteException
Parameters:
templateID -
VDCIAttribute -
Returns:
Throws:
RemoteException
Since:
V3.0

getVDConfigByID

Vector getVDConfigByID(String templateID,
                       String orderItem)
                       throws RemoteException
Throws:
RemoteException

getVDConfigByName

Vector getVDConfigByName(String templateName,
                         String orderItem)
                         throws RemoteException
Throws:
RemoteException

addAttValue

boolean addAttValue(String ConfigKey,
                    String TemplateID,
                    Vector Context)
                    throws RemoteException
Throws:
RemoteException

removeAttValue

boolean removeAttValue(String ConfigKey,
                       String TemplateID)
                       throws RemoteException
Throws:
RemoteException

getATTValueByID

Vector getATTValueByID(String ConfigKey,
                       String TemplateID)
                       throws RemoteException
Throws:
RemoteException

getVDTemplateIDList

Vector getVDTemplateIDList()
                           throws RemoteException
Throws:
RemoteException

getVDTemplateList

List getVDTemplateList()
                       throws RemoteException
Retrieve all VDTemplate object

Returns:
List each element is VDTemplate
Throws:
RemoteException
Since:
V3.0

getVDTemplateListByGroupID

List getVDTemplateListByGroupID(String[] groupIDs)
                                throws RemoteException
Retrieve all VDTemplate object according to VDTemplate's groupID

Returns:
List each element is VDTemplate
Throws:
RemoteException
Since:
V3.0

getVDTemplateByID

VDTemplate getVDTemplateByID(String templateID)
                             throws RemoteException
Retrieve VDTemplate object

Returns:
VDTemplate
Throws:
RemoteException
Since:
V3.0

getAttributeTypeByTemplateID

Vector getAttributeTypeByTemplateID(String templateID)
                                    throws RemoteException
Throws:
RemoteException

isAlive

boolean isAlive()
                throws RemoteException
Throws:
RemoteException


Copyright(c) 2005-2012 by Flowring Technology Corp., 12 F., No 120, Sec 2, Gongdao 5th Rd., Hsin-Chu City 300, Taiwan(R.O.C.) All rights reserved.