<model name="emcon:EmisionConsModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Emision Contratos Model</description>
<author></author>
<version>1.0</version>
<imports>
<!– Import Alfresco Dictionary Definitions –>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<!– Import Alfresco Content Domain Model Definitions –>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
</imports>
<!– Introduction of new namespaces defined by this model –>
<!– NOTE: The following namespace custom.model should be changed to reflect your own namespace –>
<namespaces>
<namespace uri="EmisionConsModel.model" prefix="emcon"/>
</namespaces>
<types>
<!– Definicion de documentos administrativos relacionados con facturas –>
<type name="emcon:ContratosEmitidos">
<title>Contratos Emitidos</title>
<parent>cm:content</parent>
<properties>
<property name="emcon:fecha_contrato">
<title>Fecha emisión contrato</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="emcon:fecha_caducidad">
<title>Fecha caducidad contrato</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="emcon:estado">
<title>Estado Contrato</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
</types>
<aspects>
<aspect name="emcon:EmisionCons">
<title>Espacio Emision_Contratos</title>
</aspect>
</aspects>
</model>
<alfresco-config>
<config evaluator="string-compare" condition="Action Wizards">
<!– The list of transformers to show in the transform actions –>
<transformers>
<transformer name="application/rtf"/>
</transformers>
</config>
<config evaluator="string-compare" condition="Languages">
<languages>
<language locale="es_ES">Spanish</language>
</languages>
</config>
<config evaluator="string-compare" condition="Views">
<!– the views available in the client –>
<views>
<view-impl>org.alfresco.web.ui.common.renderer.data.RichListRenderer$DetailsViewRenderer</view-impl>
<view-impl>org.alfresco.web.ui.common.renderer.data.RichListRenderer$IconViewRenderer</view-impl>
<view-impl>org.alfresco.web.ui.common.renderer.data.RichListRenderer$ListViewRenderer</view-impl>
<view-impl>org.alfresco.web.bean.forums.ForumsBean$TopicBubbleViewRenderer</view-impl>
<!– default values for the views available in the client –>
<view-defaults>
<browse>
<!– allowable values: list|details|icons –>
<view>details</view>
<page-size>
<list>20</list>
<details>20</details>
<icons>20</icons>
</page-size>
</browse>
<forums>
<!– allowable values: list|details|icons –>
<view>list</view>
<page-size>
<list>20</list>
<details>20</details>
<icons>20</icons>
</page-size>
</forums>
<forum>
<!– allowable values: details –>
<view>details</view>
<page-size>
<details>20</details>
</page-size>
</forum>
<topic>
<!– allowable values: details|bubble –>
<view>bubble</view>
<sort-column>created</sort-column>
<!– allowable values: ascending|descending –>
<sort-direction>descending</sort-direction>
<page-size>
<bubble>5</bubble>
<details>20</details>
</page-size>
</topic>
</view-defaults>
</views>
</config>
<!– The config below shows how to incorporate the example model–>
<!– into the web client, for this to work you will need to –>
<!– rename example-model-context.xml.sample to example-model-context.xml –>
<config evaluator="node-type" condition="content">
<property-sheet>
<show-property name="author" show-in-edit-mode="false" show-in-view-mode="false" />
<show-property name="size" show-in-edit-mode="false" show-in-view-mode="false" />
<show-property name="mimetype" show-in-edit-mode="false" show-in-view-mode="false" />
<show-property name="modifier" show-in-edit-mode="false" show-in-view-mode="false" />
</property-sheet>
</config>
<config evaluator="aspect-name" condition="author">
<property-sheet>
<show-property name="author" show-in-edit-mode="false" show-in-view-mode="false"/>
</property-sheet>
</config>
<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="fraE:DocsAdmin" />
</content-types>
</config>
<config evaluator="node-type" condition="fraE:DocsAdmin">
<property-sheet>
<show-property name="title" show-in-edit-mode="false" show-in-view-mode="false" />
<show-property name="author" show-in-edit-mode="false" show-in-view-mode="false" />
<show-property name="size" show-in-edit-mode="false" show-in-view-mode="false" />
<show-property name="mimetype" show-in-edit-mode="false" show-in-view-mode="false" />
<show-property name="modifier" show-in-edit-mode="false" show-in-view-mode="false" />
<show-property name="cm:author" show-in-edit-mode="false" show-in-view-mode="false" />
<show-property name="fraE:id" />
<show-property name="fraE:date" />
<show-property name="fraE:type" />
<show-association name="fraE:relatedInvoices"
component-generator="AssociationWithLinksGenerator"
show-in-edit-mode="false"/>
<!– <show-association name="fraE:relatedInvoices" /> –>
</property-sheet>
</config>
<config evaluator="string-compare" condition="Action Wizards">
<subtypes>
<type name="fraE:DocsAdmin"/>
<type name="emfra:FacturasEmitidas"/>
<type name="emcon:ContratosEmitidos"/>
</subtypes>
<specialise-types>
<type name="fraE:DocsAdmin"/>
<type name="emfra:FacturasEmitidas"/>
<type name="emcon:ContratosEmitidos"/>
</specialise-types>
<aspects>
<aspect name="fraE:repoCertificados"/>
<aspect name="fraE:spaceEmpresa"/>
<aspect name="emfra:EmitirFras"/>
<aspect name="emcon:EmitirCons"/>
</aspects>
</config>
<config evaluator="string-compare" condition="Advanced Search">
<advanced-search>
<content-types>
<type name="fraE:DocsAdmin" />
<type name="conE:DocsAdmin" />
</content-types>
<custom-properties>
<meta-data type="fraE:DocsAdmin" property="fraE:id" />
<meta-data type="fraE:DocsAdmin" property="fraE:date" />
<meta-data type="fraE:DocsAdmin" property="fraE:type" />
</custom-properties>
</advanced-search>
</config>
<config evaluator="node-type" condition="fra:facturas">
<property-sheet>
<show-property name="size"
display-label-id="size"
converter="org.alfresco.faces.ByteSizeConverter"
show-in-edit-mode="false" show-in-view-mode="false"/>
<show-property name="modifier" show-in-edit-mode="false" show-in-view-mode="false" />
<show-property name="ownable" show-in-edit-mode="false" show-in-view-mode="false" />
</property-sheet>
</config>
<config evaluator="node-type" condition="emfra:FacturasEmitidas">
<property-sheet>
<show-property name="emfra:id"/>
<show-property name="emfra:date"/>
<show-property name="emfra:cif"/>
<show-property name="emfra:email"/>
<show-property name="emfra:nbEmpresaEmisora" show-in-edit-mode="false" show-in-view-mode="true"/>
</property-sheet>
</config>
<config evaluator="aspect-name" condition="emfra:CodigoEmision">
<property-sheet>
<show-property name="emfra:codigo" show-in-edit-mode="false" show-in-view-mode="false"/>
</property-sheet>
</config>
<!–
<config evaluator="aspect-name" condition="emcon:EmisionCons">
<property-sheet>
<show-property name="emcon:fecha_contrato"/>
<show-property name="emcon:fecha_caducidad"/>
<show-property name="emcon:estado"/>
</property-sheet>
</config>
–>
<config evaluator="node-type" condition="emcon:ContratosEmitidos">
<property-sheet>
<show-property name="emcon:fecha_contrato"/>
<show-property name="emcon:fecha_caducidad"/>
<show-property name="emcon:estado"/>
</property-sheet>
</config>
<config evaluator="aspect-name" condition="emcon:EmisionCons">
<property-sheet>
<show-property name="emcon:EmiCons" show-in-edit-mode="false" show-in-view-mode="false"/>
</property-sheet>
</config>
<config evaluator="string-compare" condition="Advanced Search EmFra">
<advanced-search>
<content-types>
<type name="emcon:ContratosEmitidos" />
</content-types>
<custom-properties>
<meta-data type="emcon:ContratosEmitidos" property="emcon:fecha_contrato" />
<meta-data type="emcon:ContratosEmitidos" property="emcon:fecha_caducidad" />
<meta-data type="emcon:ContratosEmitidos" property="emcon:estado" />
</custom-properties>
</advanced-search>
</config>
<config evaluator="string-compare" condition="Advanced Search EmCon">
<advanced-search>
<content-types>
<type name="emcon:ContratosEmitidos" />
</content-types>
<custom-properties>
<meta-data type="emcon:ContratosEmitidos" property="emcon:fecha_contrato" />
<meta-data type="emcon:ContratosEmitidos" property="emcon:fecha_caducidad" />
<meta-data type="emcon:ContratosEmitidos" property="emcon:estado" />
</custom-properties>
</advanced-search>
</config>
</alfresco-config>
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Registration of new models –>
<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<!– <value>alfresco/extension/incisModel.xml</value> –>
<!–<value>alfresco/extension/facturaRModel.xml</value> –>
<value>alfresco/extension/facturaModel.xml</value>
<value>alfresco/extension/fraExtensionModel.xml</value>
<value>alfresco/extension/EmisionFrasModel.xml</value>
<value>alfresco/extension/EmisionConsModel.xml</value>
</list>
</property>
</bean>
</beans>
<aspects>
<aspect name="emcon:EmisionCons">
<title>Espacio Emision_Contratos</title>
</aspect>
</aspects>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.