05.02.2013 Views

opsi manual opsi version 4.0.2 - opsi Download - uib

opsi manual opsi version 4.0.2 - opsi Download - uib

opsi manual opsi version 4.0.2 - opsi Download - uib

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>opsi</strong> <strong>manual</strong> <strong>opsi</strong> <strong>version</strong> <strong>4.0.2</strong><br />

Note<br />

If you have multiple depot server, you may have different <strong>version</strong>s of one product.<br />

The entries productClassIds and windowsSoftwareIds are not used right now.<br />

productProperty (definition of product properties)<br />

Describes the properties of a product which are defined while creating the package.<br />

Example for a productProperty object:<br />

method productProperty_getObjects [] {"productId":"jedit","productVersion":"4.5"}<br />

[<br />

{<br />

"ident" : "jedit;4.5;3;start_server",<br />

"description" : "Should the jedit derver started at every startup ?",<br />

"editable" : false,<br />

"defaultValues" :<br />

[<br />

false<br />

],<br />

"multiValue" : false,<br />

"productVersion" : "4.5",<br />

"possibleValues" :<br />

[<br />

false,<br />

true<br />

],<br />

"packageVersion" : "3",<br />

"type" : "BoolProductProperty",<br />

"propertyId" : "start_server",<br />

"productId" : "jedit"<br />

}<br />

]<br />

Note<br />

The real default values are stored in the context of the depot in a productPropertyState object.<br />

productPropertyState (depot or client specific product property settings)<br />

38 / 193<br />

Describes:<br />

* the default value of a product property on a given depot properties of a product which are defined while creating<br />

the package. * the client specific settings of product properies.<br />

Example for a productPropertyState objects:<br />

method productPropertyState_getObjects [] {"productId":"jedit"}<br />

[<br />

{<br />

"ident" : "jedit;start_server;sepiolina.vmnat.local",<br />

"objectId" : "sepiolina.vmnat.local",<br />

"values" :<br />

[<br />

false<br />

],<br />

"type" : "ProductPropertyState",<br />

"propertyId" : "start_server",<br />

"productId" : "jedit"<br />

},<br />

{

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!