org.opencrx.kernel.contract1.cci2
Interface ContractCreator

All Superinterfaces:
AlertSender, Auditee, BasicObject, Cloneable, ContextCapable, Creatable, CrxObject, Exporter, ExtentCapable, Importer, Indexed, LocalizedFieldContainer, Modifiable, SecureObject
All Known Subinterfaces:
ContractCreator, SalesContractCreator, SalesContractCreator
All Known Implementing Classes:
ContractCreator, SalesContractCreator

public interface ContractCreator
extends CrxObject

Class ContractCreator


Nested Class Summary
static interface ContractCreator.Identity
          Object Identity
 
Method Summary
 CreateContractResult createContract(CreateContractParams in)
           
 Date getActiveOn()
          Retrieves the value for the attribute activeOn.
<T extends ContractGroup>
List<T>
getContractGroup()
          Retrieves the Collection of objects referenced by contractGroup.
<T extends ContractType>
List<T>
getContractType()
          Retrieves the Collection of objects referenced by contractType.
 ContractType getDefaultType()
          Retrieves the value for the reference defaultType.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 String getName()
          Retrieves the value for the attribute name.
 short getPriority()
          Retrieves the value for the attribute priority.
 void setActiveOn(Date activeOn)
          Sets a new value for the attribute activeOn.
 void setDefaultType(ContractType defaultType)
          Sets a new value for the reference defaultType.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setName(String name)
          Sets a new value for the attribute name.
 void setPriority(short priority)
          Sets a new value for the attribute priority.
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAssignedTimer, getAttachedDocument, getCategory, getDisabledReason, getDocumentFolderAssignment, getExternalLink, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.LocalizedFieldContainer
getLocalizedField
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 

Method Detail

getActiveOn

Date getActiveOn()
Retrieves the value for the attribute activeOn.

Returns:
The non-null value for attribute activeOn.

setActiveOn

void setActiveOn(Date activeOn)
Sets a new value for the attribute activeOn.

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

getContractGroup

<T extends ContractGroup> List<T> getContractGroup()
Retrieves the Collection of objects referenced by contractGroup.

Returns:
The Collection of referenced objects.

getContractType

<T extends ContractType> List<T> getContractType()
Retrieves the Collection of objects referenced by contractType.

Returns:
The Collection of referenced objects.

createContract

CreateContractResult createContract(CreateContractParams in)

getDefaultType

ContractType getDefaultType()
Retrieves the value for the reference defaultType.

Returns:
The – possibly null – value for this reference.

setDefaultType

void setDefaultType(ContractType defaultType)
Sets a new value for the reference defaultType.

Parameters:
defaultType - The new – possibly null – value for this reference.

getDescription

String getDescription()
Retrieves the possibly null value for the optional attribute description.

Returns:
The possibly null value for attribute description.

setDescription

void setDescription(String description)
Sets a new value for the attribute description.

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

getName

String getName()
Retrieves the value for the attribute name.

Returns:
The non-null value for attribute name.

setName

void setName(String name)
Sets a new value for the attribute name.

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

getPriority

short getPriority()
Retrieves the value for the attribute priority.

Returns:
The non-null value for attribute priority.

setPriority

void setPriority(short priority)
Sets a new value for the attribute priority.

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


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