org.opencrx.kernel.base.cci2
Interface TemplateEnabled

All Known Subinterfaces:
AbstractContract, AbstractContract, DepotContract, DepotContract, DepotHolder, DepotHolder, Invoice, Invoice, Lead, Lead, Opportunity, Opportunity, Quote, Quote, SalesOrder, SalesOrder, Site, Site, TemplateEnabled, Warehouse, Warehouse
All Known Implementing Classes:
DepotContract, DepotHolder, Invoice, Lead, Opportunity, Quote, SalesOrder, Site, Warehouse

public interface TemplateEnabled

Abstract class TemplateEnabled


Method Summary
<T extends TemplateApplyReplacementsResult>
T
applyReplacements()
           
<T extends TemplateCreateObjectResult>
T
createObject(String name)
           
<T extends org.openmdx.base.cci2.Void>
T
deleteObject()
           
<T extends TemplateReplacement>
Collection<T>
getReplacement()
          Retrieves a set containing all the elements for the reference replacement.
 String getTemplateReferenceFilter()
          Retrieves the value for the attribute templateReferenceFilter.
 Boolean isTemplate()
           
 void setTemplate(Boolean isTemplate)
          Sets a new value for the attribute isTemplate.
 void setTemplateReferenceFilter(String templateReferenceFilter)
          Sets a new value for the attribute templateReferenceFilter.
 

Method Detail

applyReplacements

<T extends TemplateApplyReplacementsResult> T applyReplacements()
                                                            throws RefException
Throws:
RefException

createObject

<T extends TemplateCreateObjectResult> T createObject(String name)
                                                  throws RefException
Throws:
RefException

deleteObject

<T extends org.openmdx.base.cci2.Void> T deleteObject()
                                                  throws RefException
Throws:
RefException

isTemplate

Boolean isTemplate()
Returns:
The possibly null value for attribute isTemplate.

setTemplate

void setTemplate(Boolean isTemplate)
Sets a new value for the attribute isTemplate.

Parameters:
isTemplate - The possibly null new value for attribute isTemplate.

getReplacement

<T extends TemplateReplacement> Collection<T> getReplacement()
Retrieves a set containing all the elements for the reference replacement.

Returns:
A set containing all the elements for this reference.

getTemplateReferenceFilter

String getTemplateReferenceFilter()
Retrieves the value for the attribute templateReferenceFilter.

Returns:
The non-null value for attribute templateReferenceFilter.

setTemplateReferenceFilter

void setTemplateReferenceFilter(String templateReferenceFilter)
Sets a new value for the attribute templateReferenceFilter.

Parameters:
templateReferenceFilter - The non-null new value for attribute templateReferenceFilter.


This software is published under the BSD license. Copyright © 2003-2007, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.