public class HDBModelParams
extends java.lang.Object
Constructor and Description |
---|
HDBModelParams(java.lang.String type)
Deprecated.
Use methods
HDBModel#newCreateContentParams(String, WGContent) , HDBModel.newUpdateContentParams(WGContent) or HDBModel.newDeleteContentParams(WGContent) |
HDBModelParams(de.innovationgate.webgate.api.WGContent content)
Deprecated.
Use methods
HDBModel#newCreateContentParams(String, WGContent) , HDBModel.newUpdateContentParams(WGContent) or HDBModel.newDeleteContentParams(WGContent) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentClass()
Returns the content class of the document on which the operation will be done
|
java.lang.String |
getCreateContentID()
Returns a content ID that should be assigned to a created content of the operation
|
java.lang.Object |
getCustomParam()
Returns a custom parameter passed to the operation
|
Form |
getForm()
Returns the WebTML form to be injected to the operation
|
HDBModelProcess |
getProcess()
Return a process to be executed on the operation
|
de.innovationgate.webgate.api.WGContent |
getRefDocument()
Returns the reference document for the operation
|
de.innovationgate.webgate.api.WGContentKey |
getRefDocumentKey()
Returns the key of the reference document for the operation
|
java.lang.String |
getType()
Returns the type of document on which the operation is performed (Values of constants TYPE_... on
HDBModel ) |
void |
setContentClass(java.lang.String contentClass)
Sets the content class of the document on which the operation will be done
|
void |
setCreateContentID(java.lang.String createContentID)
Sets a content ID that should be assigned to a created content of the operation
|
void |
setCustomParam(java.lang.Object customParam)
Sets a custom parameter that is passed to the operation
|
void |
setForm(Form form)
Sets a WebTML form to be injected to the operation
|
void |
setProcess(HDBModelProcess process)
Sets a process to be executed on the operation
|
void |
setRefDocument(de.innovationgate.webgate.api.WGContent refDocument)
Sets the reference document for the operation
|
void |
setRefDocumentKey(de.innovationgate.webgate.api.WGContentKey refDocumentKey)
Sets the key of the reference document for the operation
|
void |
setUpdateModuleProcess(de.innovationgate.webgate.api.WGDatabase db,
java.lang.String moduleName)
Sets a TMLScript module of the given database to be executed as process on this operation
|
public HDBModelParams(java.lang.String type)
HDBModel#newCreateContentParams(String, WGContent)
, HDBModel.newUpdateContentParams(WGContent)
or HDBModel.newDeleteContentParams(WGContent)
type
- Type of document to update. Use constants TYPE_... on HDBModel
public HDBModelParams(de.innovationgate.webgate.api.WGContent content) throws de.innovationgate.webgate.api.WGAPIException
HDBModel#newCreateContentParams(String, WGContent)
, HDBModel.newUpdateContentParams(WGContent)
or HDBModel.newDeleteContentParams(WGContent)
content
- Document on which the operation will be performedde.innovationgate.webgate.api.WGAPIException
public HDBModelProcess getProcess()
public void setProcess(HDBModelProcess process)
public java.lang.String getContentClass()
public void setContentClass(java.lang.String contentClass)
public java.lang.Object getCustomParam()
public void setCustomParam(java.lang.Object customParam)
public java.lang.String getType()
HDBModel
)public void setForm(Form form)
public Form getForm()
public java.lang.String getCreateContentID()
public void setCreateContentID(java.lang.String createContentID)
public de.innovationgate.webgate.api.WGContent getRefDocument()
public void setRefDocument(de.innovationgate.webgate.api.WGContent refDocument) throws de.innovationgate.webgate.api.WGAPIException
de.innovationgate.webgate.api.WGAPIException
public de.innovationgate.webgate.api.WGContentKey getRefDocumentKey()
public void setRefDocumentKey(de.innovationgate.webgate.api.WGContentKey refDocumentKey)
public void setUpdateModuleProcess(de.innovationgate.webgate.api.WGDatabase db, java.lang.String moduleName)
db
- App containing the modulemoduleName
- Name of a TMLScript module to execute