-<?xml version="1.0" encoding="UTF-8"?>\r
-<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="object" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="08c07c03-a97f-496c-ba55-729ff2d71763">\r
- <property name="ireport.zoom" value="1.0"/>\r
- <property name="ireport.x" value="0"/>\r
- <property name="ireport.y" value="0"/>\r
- <style name="Title" fontName="SansSerif" fontSize="26" isBold="true" pdfFontName="Helvetica-Bold"/>\r
- <style name="SubTitle" forecolor="#666666" fontName="SansSerif" fontSize="18"/>\r
- <style name="Column header" forecolor="#666666" fontName="SansSerif" fontSize="12" isBold="true"/>\r
- <style name="Detail" fontName="SansSerif" fontSize="12"/>\r
- <parameter name="tenantid" class="java.lang.String" isForPrompting="false">\r
- <defaultValueExpression><![CDATA[15]]></defaultValueExpression>\r
- </parameter>\r
- <parameter name="csid" class="java.lang.String">\r
- <defaultValueExpression><![CDATA["7449dce7-68c4-4561-ba00"]]></defaultValueExpression>\r
- </parameter>\r
- <queryString>\r
- <![CDATA[SELECT\r
-ac.acquisitionreferencenumber acquisitionNumber,\r
-h1.name AS "csid",\r
-co.objectnumber AS "objectnumber",\r
-ong.objectName AS "objectname",\r
-dg.datedisplaydate AS "acquisitiondate",\r
-case when (bd.item is not null and bd.item <> '') then\r
- regexp_replace(bd.item, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end AS description,\r
-case when (oppp.objectproductionpeople is not null and oppp.objectproductionpeople <> '') then\r
- regexp_replace(oppp.objectproductionpeople, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end as productionpeople,\r
-case when (oppr.objectproductionperson is not null and oppr.objectproductionperson <> '') then\r
- regexp_replace(oppr.objectproductionperson, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end as productionperson,\r
-case when (opog.objectproductionorganization is not null and opog.objectproductionorganization <> '') then\r
- regexp_replace(opog.objectproductionorganization, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end as productionorg,\r
-case when (aca.item is not null and aca.item <> '') then\r
- regexp_replace(aca.item, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end as donor\r
-\r
-FROM acquisitions_common ac\r
-JOIN hierarchy h1 ON (ac.id=h1.id)\r
-LEFT OUTER JOIN relations_common rc1 ON (h1.name=rc1.subjectcsid)\r
-LEFT OUTER JOIN hierarchy h2 ON (rc1.objectcsid=h2.name)\r
-\r
-left outer JOIN collectionobjects_common co ON (h2.id=co.id)\r
-LEFT OUTER JOIN hierarchy h3 ON (co.id = h3.parentid AND h3.primarytype='objectNameGroup' AND h3.pos=0)\r
-LEFT OUTER JOIN objectnamegroup ong ON (ong.id=h3.id)\r
-LEFT OUTER JOIN collectionobjects_common_briefdescriptions bd ON (bd.id=co.id and bd.pos=0)\r
-left outer join hierarchy h4 on (co.id=h4.parentid and h4.pos=0 and h4.name='collectionobjects_common:objectProductionPeopleGroupList')\r
-left outer join objectproductionpeoplegroup oppp on (oppp.id=h4.id)\r
-left outer join hierarchy h5 on (co.id=h5.parentid and h5.pos=0 and h5.name='collectionobjects_common:objectProductionPersonGroupList')\r
-left outer join objectproductionpersongroup oppr on (oppr.id=h5.id)\r
-left outer join hierarchy h6 on (co.id=h6.parentid and h6.pos=0 and h6.name='collectionobjects_common:objectProductionOrganizationGroupList')\r
-left outer join objectproductionorganizationgroup opog on (opog.id=h6.id)\r
-left outer join hierarchy h7 on (ac.id=h7.parentid and h7.pos=0and h7.name='acquisitions_common:acquisitionDateGroupList')\r
-left outer join structureddategroup dg on (dg.id=h7.id)\r
-LEFT OUTER JOIN acquisitions_common_acquisitionsources aca ON (aca.id=ac.id and aca.pos=0)\r
-\r
-WHERE rc1.subjectcsid = $P{csid}\r
-\r
-ORDER BY objectnumber]]>\r
- </queryString>\r
- <field name="acquisitionnumber" class="java.lang.String"/>\r
- <field name="csid" class="java.lang.String"/>\r
- <field name="objectnumber" class="java.lang.String"/>\r
- <field name="objectname" class="java.lang.String"/>\r
- <field name="acquisitiondate" class="java.lang.String"/>\r
- <field name="description" class="java.lang.String"/>\r
- <field name="productionpeople" class="java.lang.String"/>\r
- <field name="productionperson" class="java.lang.String"/>\r
- <field name="productionorg" class="java.lang.String"/>\r
- <field name="donor" class="java.lang.String"/>\r
- <background>\r
- <band splitType="Stretch"/>\r
- </background>\r
- <title>\r
- <band height="110" splitType="Stretch">\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="84aa8fff-608d-4c31-a918-14b813036fd7" style="SubTitle" stretchType="RelativeToTallestObject" x="168" y="50" width="140" height="20" forecolor="#000000" backcolor="#FFFFFF"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{acquisitionnumber}]]></textFieldExpression>\r
- </textField>\r
- <staticText>\r
- <reportElement uuid="69990504-b50a-48e9-88fc-19a1010bbae4" x="0" y="0" width="263" height="30"/>\r
- <textElement verticalAlignment="Middle">\r
- <font fontName="SansSerif" size="18" isBold="true"/>\r
- </textElement>\r
- <text><![CDATA[Acquisitions]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="d9182f79-7a9e-42d8-84d2-7154e34034fe" stretchType="RelativeToTallestObject" x="0" y="50" width="161" height="20"/>\r
- <textElement>\r
- <font size="14" isBold="false"/>\r
- </textElement>\r
- <text><![CDATA[Acquisition number:]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="2687142f-de8b-4957-b105-5be3a8f5a2fb" stretchType="RelativeToTallestObject" x="0" y="70" width="161" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Acquisition date:]]></text>\r
- </staticText>\r
- <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true">\r
- <reportElement uuid="3da88d0c-9b92-47ee-a807-065f399c2ace" stretchType="RelativeToTallestObject" x="168" y="70" width="140" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{acquisitiondate}]]></textFieldExpression>\r
- </textField>\r
- <staticText>\r
- <reportElement uuid="da8a92a1-bf94-42ec-8f88-8ead64071ae0" stretchType="RelativeToTallestObject" x="0" y="90" width="161" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Acquisition source:]]></text>\r
- </staticText>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="f5fd09dd-780e-42a9-9bc6-0c0e3af4949f" stretchType="RelativeToTallestObject" x="168" y="90" width="581" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{donor}]]></textFieldExpression>\r
- </textField>\r
- </band>\r
- </title>\r
- <pageHeader>\r
- <band splitType="Stretch"/>\r
- </pageHeader>\r
- <columnHeader>\r
- <band height="22" splitType="Stretch">\r
- <line>\r
- <reportElement uuid="1ce943ae-cab4-4309-8e47-305d860c1690" positionType="FixRelativeToBottom" x="0" y="20" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- <staticText>\r
- <reportElement uuid="92a14667-488b-4088-a178-3b8c005e0932" style="Column header" stretchType="RelativeToTallestObject" x="1" y="2" width="85" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Identification #]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="9865ca77-7ebc-4103-a359-9ed1e9902c36" style="Column header" stretchType="RelativeToTallestObject" x="88" y="2" width="105" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Object name]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="2bd24c32-4992-4087-9f7a-326cb0445e52" style="Column header" stretchType="RelativeToTallestObject" x="198" y="2" width="170" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Brief description]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="6a1a1a95-9170-4e2f-9d39-5fad0b499eea" style="Column header" stretchType="RelativeToTallestObject" x="513" y="2" width="135" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Production person]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="60d214ef-d17c-4ceb-86de-b9f7a0c5119e" style="Column header" stretchType="RelativeToTallestObject" x="653" y="2" width="98" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Production people]]></text>\r
- </staticText>\r
- <line>\r
- <reportElement uuid="bd80f668-c43d-4f65-ab98-e3a612201ac9" x="0" y="0" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- <staticText>\r
- <reportElement uuid="347ab508-9fe0-4afc-9c8b-d7e1d9ee5ea6" style="Column header" stretchType="RelativeToTallestObject" x="373" y="2" width="135" height="15"/>\r
- <textElement>\r
- <font size="9" isBold="true"/>\r
- </textElement>\r
- <text><![CDATA[Production organization]]></text>\r
- </staticText>\r
- </band>\r
- </columnHeader>\r
- <detail>\r
- <band height="18" splitType="Stretch">\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="7cabe161-1233-454c-a786-a51931ff9aa8" style="Detail" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="2" width="85" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{objectnumber}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="3919b36e-e625-4915-9fcc-3ac98171d69c" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="88" y="2" width="105" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{objectname}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="7fd7e2f0-7df3-4c7a-9ef8-4cbb0e79485a" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="513" y="2" width="135" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{productionperson}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="d1bfe218-b60c-4cd9-aae6-0ea2a9de1b60" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="198" y="2" width="170" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="cbb7bb13-38c5-4943-822b-851dc5c0e61e" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="653" y="2" width="81" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{productionpeople}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="cf2f15c9-6bac-462e-88d2-6e3fe1dd35cd" stretchType="RelativeToTallestObject" x="373" y="2" width="135" height="16"/>\r
- <textElement>\r
- <font size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{productionorg}]]></textFieldExpression>\r
- </textField>\r
- </band>\r
- </detail>\r
- <columnFooter>\r
- <band height="14" splitType="Stretch">\r
- <line>\r
- <reportElement uuid="07724d84-7837-4f5a-9e36-3868854ca40e" positionType="FixRelativeToBottom" x="0" y="7" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- </band>\r
- </columnFooter>\r
- <pageFooter>\r
- <band height="22" splitType="Stretch">\r
- <textField>\r
- <reportElement uuid="07372a6b-10f3-46f9-90af-00219d63d73b" style="Column header" x="316" y="3" width="80" height="18"/>\r
- <textElement textAlignment="Right">\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>\r
- </textField>\r
- <textField evaluationTime="Report">\r
- <reportElement uuid="d64e5229-e7ff-4bee-bbaa-36efd809998f" style="Column header" x="396" y="3" width="40" height="18"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>\r
- </textField>\r
- <textField pattern="EEEEE dd MMMMM yyyy">\r
- <reportElement uuid="3d1a9a39-7e7a-4ffb-b991-c5a468b58d92" style="Column header" x="0" y="3" width="197" height="18"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>\r
- </textField>\r
- <image onErrorType="Icon">\r
- <reportElement uuid="92d4e522-3d77-4464-85f0-face1a366667" x="629" y="2" width="120" height="20"/>\r
- <imageExpression><![CDATA["https://pahma.cspace.berkeley.edu/collectionspace/ui/pahma/images/header-logo-cspace.png"]]></imageExpression>\r
- </image>\r
- <staticText>\r
- <reportElement uuid="508adf6d-5e27-489d-b869-f859f4ca2b02" x="550" y="1" width="70" height="17"/>\r
- <textElement textAlignment="Right" verticalAlignment="Middle">\r
- <font size="12"/>\r
- </textElement>\r
- <text><![CDATA[powered by]]></text>\r
- </staticText>\r
- </band>\r
- </pageFooter>\r
- <summary>\r
- <band splitType="Stretch"/>\r
- </summary>\r
-</jasperReport>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="object" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="08c07c03-a97f-496c-ba55-729ff2d71763">
+ <property name="ireport.zoom" value="1.0"/>
+ <property name="ireport.x" value="0"/>
+ <property name="ireport.y" value="0"/>
+ <style name="Title" fontName="SansSerif" fontSize="26" isBold="true" pdfFontName="Helvetica-Bold"/>
+ <style name="SubTitle" forecolor="#666666" fontName="SansSerif" fontSize="18"/>
+ <style name="Column header" forecolor="#666666" fontName="SansSerif" fontSize="12" isBold="true"/>
+ <style name="Detail" fontName="SansSerif" fontSize="12"/>
+ <parameter name="tenantid" class="java.lang.String" isForPrompting="false">
+ <defaultValueExpression><![CDATA[15]]></defaultValueExpression>
+ </parameter>
+ <parameter name="csid" class="java.lang.String">
+ <defaultValueExpression><![CDATA["7449dce7-68c4-4561-ba00"]]></defaultValueExpression>
+ </parameter>
+ <queryString>
+ <![CDATA[SELECT
+ac.acquisitionreferencenumber acquisitionNumber,
+h1.name AS "csid",
+co.objectnumber AS "objectnumber",
+ong.objectName AS "objectname",
+dg.datedisplaydate AS "acquisitiondate",
+case when (bd.item is not null and bd.item <> '') then
+ regexp_replace(bd.item, '^.*\)''(.*)''$', '\1')
+ else ''
+end AS description,
+case when (oppp.objectproductionpeople is not null and oppp.objectproductionpeople <> '') then
+ regexp_replace(oppp.objectproductionpeople, '^.*\)''(.*)''$', '\1')
+ else ''
+end as productionpeople,
+case when (oppr.objectproductionperson is not null and oppr.objectproductionperson <> '') then
+ regexp_replace(oppr.objectproductionperson, '^.*\)''(.*)''$', '\1')
+ else ''
+end as productionperson,
+case when (opog.objectproductionorganization is not null and opog.objectproductionorganization <> '') then
+ regexp_replace(opog.objectproductionorganization, '^.*\)''(.*)''$', '\1')
+ else ''
+end as productionorg,
+case when (aca.item is not null and aca.item <> '') then
+ regexp_replace(aca.item, '^.*\)''(.*)''$', '\1')
+ else ''
+end as donor
+
+FROM acquisitions_common ac
+JOIN hierarchy h1 ON (ac.id=h1.id)
+LEFT OUTER JOIN relations_common rc1 ON (h1.name=rc1.subjectcsid)
+LEFT OUTER JOIN hierarchy h2 ON (rc1.objectcsid=h2.name)
+
+left outer JOIN collectionobjects_common co ON (h2.id=co.id)
+LEFT OUTER JOIN hierarchy h3 ON (co.id = h3.parentid AND h3.primarytype='objectNameGroup' AND h3.pos=0)
+LEFT OUTER JOIN objectnamegroup ong ON (ong.id=h3.id)
+LEFT OUTER JOIN collectionobjects_common_briefdescriptions bd ON (bd.id=co.id and bd.pos=0)
+left outer join hierarchy h4 on (co.id=h4.parentid and h4.pos=0 and h4.name='collectionobjects_common:objectProductionPeopleGroupList')
+left outer join objectproductionpeoplegroup oppp on (oppp.id=h4.id)
+left outer join hierarchy h5 on (co.id=h5.parentid and h5.pos=0 and h5.name='collectionobjects_common:objectProductionPersonGroupList')
+left outer join objectproductionpersongroup oppr on (oppr.id=h5.id)
+left outer join hierarchy h6 on (co.id=h6.parentid and h6.pos=0 and h6.name='collectionobjects_common:objectProductionOrganizationGroupList')
+left outer join objectproductionorganizationgroup opog on (opog.id=h6.id)
+left outer join hierarchy h7 on (ac.id=h7.parentid and h7.pos=0and h7.name='acquisitions_common:acquisitionDateGroupList')
+left outer join structureddategroup dg on (dg.id=h7.id)
+LEFT OUTER JOIN acquisitions_common_acquisitionsources aca ON (aca.id=ac.id and aca.pos=0)
+
+WHERE rc1.subjectcsid = $P{csid}
+
+ORDER BY objectnumber]]>
+ </queryString>
+ <field name="acquisitionnumber" class="java.lang.String"/>
+ <field name="csid" class="java.lang.String"/>
+ <field name="objectnumber" class="java.lang.String"/>
+ <field name="objectname" class="java.lang.String"/>
+ <field name="acquisitiondate" class="java.lang.String"/>
+ <field name="description" class="java.lang.String"/>
+ <field name="productionpeople" class="java.lang.String"/>
+ <field name="productionperson" class="java.lang.String"/>
+ <field name="productionorg" class="java.lang.String"/>
+ <field name="donor" class="java.lang.String"/>
+ <background>
+ <band splitType="Stretch"/>
+ </background>
+ <title>
+ <band height="110" splitType="Stretch">
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="84aa8fff-608d-4c31-a918-14b813036fd7" style="SubTitle" stretchType="RelativeToTallestObject" x="168" y="50" width="140" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
+ <textElement>
+ <font fontName="SansSerif" size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{acquisitionnumber}]]></textFieldExpression>
+ </textField>
+ <staticText>
+ <reportElement uuid="69990504-b50a-48e9-88fc-19a1010bbae4" x="0" y="0" width="263" height="30"/>
+ <textElement verticalAlignment="Middle">
+ <font fontName="SansSerif" size="18" isBold="true"/>
+ </textElement>
+ <text><![CDATA[Acquisitions]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="d9182f79-7a9e-42d8-84d2-7154e34034fe" stretchType="RelativeToTallestObject" x="0" y="50" width="161" height="20"/>
+ <textElement>
+ <font size="14" isBold="false"/>
+ </textElement>
+ <text><![CDATA[Acquisition number:]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="2687142f-de8b-4957-b105-5be3a8f5a2fb" stretchType="RelativeToTallestObject" x="0" y="70" width="161" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Acquisition date:]]></text>
+ </staticText>
+ <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true">
+ <reportElement uuid="3da88d0c-9b92-47ee-a807-065f399c2ace" stretchType="RelativeToTallestObject" x="168" y="70" width="140" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{acquisitiondate}]]></textFieldExpression>
+ </textField>
+ <staticText>
+ <reportElement uuid="da8a92a1-bf94-42ec-8f88-8ead64071ae0" stretchType="RelativeToTallestObject" x="0" y="90" width="161" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Acquisition source:]]></text>
+ </staticText>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="f5fd09dd-780e-42a9-9bc6-0c0e3af4949f" stretchType="RelativeToTallestObject" x="168" y="90" width="581" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{donor}]]></textFieldExpression>
+ </textField>
+ </band>
+ </title>
+ <pageHeader>
+ <band splitType="Stretch"/>
+ </pageHeader>
+ <columnHeader>
+ <band height="22" splitType="Stretch">
+ <line>
+ <reportElement uuid="1ce943ae-cab4-4309-8e47-305d860c1690" positionType="FixRelativeToBottom" x="0" y="20" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ <staticText>
+ <reportElement uuid="92a14667-488b-4088-a178-3b8c005e0932" style="Column header" stretchType="RelativeToTallestObject" x="1" y="2" width="85" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Identification #]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="9865ca77-7ebc-4103-a359-9ed1e9902c36" style="Column header" stretchType="RelativeToTallestObject" x="88" y="2" width="105" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Object name]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="2bd24c32-4992-4087-9f7a-326cb0445e52" style="Column header" stretchType="RelativeToTallestObject" x="198" y="2" width="170" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Brief description]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="6a1a1a95-9170-4e2f-9d39-5fad0b499eea" style="Column header" stretchType="RelativeToTallestObject" x="513" y="2" width="135" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Production person]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="60d214ef-d17c-4ceb-86de-b9f7a0c5119e" style="Column header" stretchType="RelativeToTallestObject" x="653" y="2" width="98" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Production people]]></text>
+ </staticText>
+ <line>
+ <reportElement uuid="bd80f668-c43d-4f65-ab98-e3a612201ac9" x="0" y="0" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ <staticText>
+ <reportElement uuid="347ab508-9fe0-4afc-9c8b-d7e1d9ee5ea6" style="Column header" stretchType="RelativeToTallestObject" x="373" y="2" width="135" height="15"/>
+ <textElement>
+ <font size="9" isBold="true"/>
+ </textElement>
+ <text><![CDATA[Production organization]]></text>
+ </staticText>
+ </band>
+ </columnHeader>
+ <detail>
+ <band height="18" splitType="Stretch">
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="7cabe161-1233-454c-a786-a51931ff9aa8" style="Detail" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="2" width="85" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{objectnumber}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="3919b36e-e625-4915-9fcc-3ac98171d69c" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="88" y="2" width="105" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{objectname}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="7fd7e2f0-7df3-4c7a-9ef8-4cbb0e79485a" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="513" y="2" width="135" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{productionperson}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="d1bfe218-b60c-4cd9-aae6-0ea2a9de1b60" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="198" y="2" width="170" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="cbb7bb13-38c5-4943-822b-851dc5c0e61e" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="653" y="2" width="81" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{productionpeople}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="cf2f15c9-6bac-462e-88d2-6e3fe1dd35cd" stretchType="RelativeToTallestObject" x="373" y="2" width="135" height="16"/>
+ <textElement>
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{productionorg}]]></textFieldExpression>
+ </textField>
+ </band>
+ </detail>
+ <columnFooter>
+ <band height="14" splitType="Stretch">
+ <line>
+ <reportElement uuid="07724d84-7837-4f5a-9e36-3868854ca40e" positionType="FixRelativeToBottom" x="0" y="7" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ </band>
+ </columnFooter>
+ <pageFooter>
+ <band height="22" splitType="Stretch">
+ <textField>
+ <reportElement uuid="07372a6b-10f3-46f9-90af-00219d63d73b" style="Column header" x="316" y="3" width="80" height="18"/>
+ <textElement textAlignment="Right">
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
+ </textField>
+ <textField evaluationTime="Report">
+ <reportElement uuid="d64e5229-e7ff-4bee-bbaa-36efd809998f" style="Column header" x="396" y="3" width="40" height="18"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
+ </textField>
+ <textField pattern="EEEEE dd MMMMM yyyy">
+ <reportElement uuid="3d1a9a39-7e7a-4ffb-b991-c5a468b58d92" style="Column header" x="0" y="3" width="197" height="18"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
+ </textField>
+ <image onErrorType="Icon">
+ <reportElement uuid="92d4e522-3d77-4464-85f0-face1a366667" x="629" y="2" width="120" height="20"/>
+ <imageExpression><![CDATA["https://pahma.cspace.berkeley.edu/collectionspace/ui/pahma/images/header-logo-cspace.png"]]></imageExpression>
+ </image>
+ <staticText>
+ <reportElement uuid="508adf6d-5e27-489d-b869-f859f4ca2b02" x="550" y="1" width="70" height="17"/>
+ <textElement textAlignment="Right" verticalAlignment="Middle">
+ <font size="12"/>
+ </textElement>
+ <text><![CDATA[powered by]]></text>
+ </staticText>
+ </band>
+ </pageFooter>
+ <summary>
+ <band splitType="Stretch"/>
+ </summary>
+</jasperReport>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="object" language="groovy" pageWidth="612" pageHeight="792" columnWidth="572" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="9fa99a0a-cb25-4ae4-a669-9592fcf6fea0">\r
- <property name="ireport.zoom" value="1.0"/>\r
- <property name="ireport.x" value="0"/>\r
- <property name="ireport.y" value="0"/>\r
- <style name="Title" fontName="SansSerif" fontSize="26" isBold="true" pdfFontName="Helvetica-Bold"/>\r
- <style name="SubTitle" forecolor="#666666" fontName="SansSerif" fontSize="18"/>\r
- <style name="Column header" forecolor="#666666" fontName="SansSerif" fontSize="12" isBold="true"/>\r
- <style name="Detail" fontName="SansSerif" fontSize="12"/>\r
- <parameter name="tenantid" class="java.lang.String" isForPrompting="false">\r
- <defaultValueExpression><![CDATA[15]]></defaultValueExpression>\r
- </parameter>\r
- <parameter name="csid" class="java.lang.String">\r
- <defaultValueExpression><![CDATA["c8517f96-a264-4e91-87e3"]]></defaultValueExpression>\r
- </parameter>\r
- <queryString>\r
- <![CDATA[select\r
-gc.title groupTitle,\r
-gc.scopenote scopeNote,\r
-case when (gc.owner is not null and gc.owner <> '') then\r
- regexp_replace(gc.owner, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end AS owner,\r
-h1.name AS "csid",\r
-co.objectnumber objectNumber,\r
-sd.datedisplaydate fieldCollectionDate,\r
-ong.objectName objectName,\r
-case when (bd.item is not null and bd.item <> '') then\r
- regexp_replace(bd.item, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end AS description\r
-\r
-FROM groups_common gc\r
-JOIN hierarchy h1 ON (gc.id=h1.id)\r
-LEFT OUTER JOIN relations_common rc1 ON (h1.name=rc1.subjectcsid)\r
-LEFT OUTER JOIN hierarchy h2 ON (rc1.objectcsid=h2.name)\r
-LEFT OUTER JOIN collectionobjects_common co ON (h2.id=co.id)\r
-\r
-LEFT OUTER JOIN hierarchy h3 ON (co.id = h3.parentid AND h3.primarytype='objectNameGroup' AND h3.pos=0)\r
-LEFT OUTER JOIN objectnamegroup ong ON (ong.id=h3.id)\r
-\r
-LEFT OUTER JOIN collectionobjects_common_briefdescriptions bd ON (bd.id=co.id and bd.pos=0)\r
-\r
-left outer join hierarchy h4 on (h2.id = h4.parentid and h4.name = 'collectionobjects_common:fieldCollectionDateGroup')\r
-left outer join structureddategroup sd on (h4.id = sd.id)\r
-\r
-where rc1.subjectcsid = $P{csid}\r
-\r
-order by objectNumber]]>\r
- </queryString>\r
- <field name="grouptitle" class="java.lang.String"/>\r
- <field name="scopenote" class="java.lang.String"/>\r
- <field name="owner" class="java.lang.String"/>\r
- <field name="csid" class="java.lang.String"/>\r
- <field name="objectnumber" class="java.lang.String"/>\r
- <field name="fieldcollectiondate" class="java.lang.String"/>\r
- <field name="objectname" class="java.lang.String"/>\r
- <field name="description" class="java.lang.String"/>\r
- <background>\r
- <band splitType="Stretch"/>\r
- </background>\r
- <title>\r
- <band height="105" splitType="Stretch">\r
- <staticText>\r
- <reportElement uuid="9e3edb8c-c915-44c5-aef2-d2451b62f26e" x="0" y="0" width="263" height="30"/>\r
- <textElement verticalAlignment="Middle">\r
- <font fontName="SansSerif" size="18" isBold="true"/>\r
- </textElement>\r
- <text><![CDATA[Object Group Report]]></text>\r
- </staticText>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="ffbefba5-bdd8-47eb-a9f6-d85d1f1e3c44" style="SubTitle" stretchType="RelativeToTallestObject" x="70" y="65" width="244" height="20" forecolor="#000000" backcolor="#FFFFFF"/>\r
- <textElement verticalAlignment="Top">\r
- <font fontName="SansSerif" size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{grouptitle}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="70cd7a91-bca3-48c4-9123-ab94514d6b31" style="Detail" stretchType="RelativeToTallestObject" x="320" y="65" width="250" height="40" backcolor="#CCCCCC"/>\r
- <textElement verticalAlignment="Top">\r
- <font fontName="SansSerif" isItalic="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{scopenote}]]></textFieldExpression>\r
- </textField>\r
- <staticText>\r
- <reportElement uuid="c70ce854-4bf3-412e-a842-b15308377344" x="0" y="65" width="70" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Title:]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="1f6fee3b-268f-4712-95ec-2838b24a43bc" x="0" y="85" width="70" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Owner:]]></text>\r
- </staticText>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="eb709d53-8668-436c-8cbe-f1ac018a2682" stretchType="RelativeToTallestObject" x="70" y="85" width="244" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{owner}]]></textFieldExpression>\r
- </textField>\r
- </band>\r
- </title>\r
- <pageHeader>\r
- <band height="22" splitType="Stretch">\r
- <line>\r
- <reportElement uuid="90972487-85c1-41a6-8188-ec53e333f1ff" positionType="FixRelativeToBottom" x="0" y="1" width="570" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- <staticText>\r
- <reportElement uuid="5ed1e9d7-31b1-4b4c-9613-23510c781476" style="Column header" stretchType="RelativeToTallestObject" x="0" y="2" width="90" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Identification #]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="79d291d1-c477-47b9-9794-98ffdb0422b4" style="Column header" stretchType="RelativeToTallestObject" x="95" y="2" width="120" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Object name]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="53062783-4c1b-4c4a-bd9a-f52412e18b95" style="Column header" stretchType="RelativeToTallestObject" x="335" y="2" width="138" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Brief description]]></text>\r
- </staticText>\r
- <line>\r
- <reportElement uuid="c5079e12-d439-4bca-a5c7-56b8c48c2ee9" positionType="FixRelativeToBottom" x="0" y="20" width="570" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- <staticText>\r
- <reportElement uuid="07fdf405-e9ca-4f34-b8dd-540db9bc0819" style="Column header" stretchType="RelativeToTallestObject" x="217" y="2" width="110" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Field collection date]]></text>\r
- </staticText>\r
- </band>\r
- </pageHeader>\r
- <detail>\r
- <band height="21" splitType="Stretch">\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="c9f761c7-d296-4000-99be-22a8cb4c6d0d" style="Detail" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="2" width="92" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{objectnumber}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="86b252eb-eff5-4353-b989-67cbaedafb55" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="95" y="2" width="120" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{objectname}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="acf79eab-fcac-4beb-8309-10b1f434ee32" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="335" y="2" width="235" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="ebef13fb-c2c2-42a2-bc7a-0aa2ad7f1a65" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="217" y="2" width="114" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{fieldcollectiondate}]]></textFieldExpression>\r
- </textField>\r
- </band>\r
- </detail>\r
- <columnFooter>\r
- <band height="13" splitType="Stretch">\r
- <line>\r
- <reportElement uuid="3ca9906b-6a90-433b-88e7-6f8643cf9548" positionType="FixRelativeToBottom" x="0" y="2" width="570" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- </band>\r
- </columnFooter>\r
- <pageFooter>\r
- <band height="22" splitType="Stretch">\r
- <textField>\r
- <reportElement uuid="2d2d2814-9766-4894-8937-2616b9cd45ce" style="Column header" x="226" y="0" width="80" height="20"/>\r
- <textElement textAlignment="Right">\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>\r
- </textField>\r
- <textField evaluationTime="Report">\r
- <reportElement uuid="82318b7d-4665-4f6b-b7c7-d4c0c735bb1f" style="Column header" x="306" y="0" width="40" height="20"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>\r
- </textField>\r
- <textField pattern="EEEEE dd MMMMM yyyy">\r
- <reportElement uuid="0c1ad9dc-c6e1-4b39-8f4b-675116c85bfa" style="Column header" x="0" y="0" width="190" height="20"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>\r
- </textField>\r
- <image onErrorType="Icon">\r
- <reportElement uuid="44c4bdb0-9df3-4c99-bfd3-c0994fa5fe8d" x="450" y="0" width="120" height="20"/>\r
- <imageExpression><![CDATA["https://pahma.cspace.berkeley.edu/collectionspace/ui/pahma/images/header-logo-cspace.png"]]></imageExpression>\r
- </image>\r
- <staticText>\r
- <reportElement uuid="0074b0c4-86b0-4c0e-b613-1fa1230b0fcd" x="371" y="1" width="70" height="17"/>\r
- <textElement textAlignment="Right" verticalAlignment="Middle">\r
- <font size="12"/>\r
- </textElement>\r
- <text><![CDATA[powered by]]></text>\r
- </staticText>\r
- </band>\r
- </pageFooter>\r
- <lastPageFooter>\r
- <band height="40">\r
- <textField evaluationTime="Report">\r
- <reportElement uuid="3c9d6a75-a6dc-4c52-95e0-cb01f6e5ea10" style="Column header" x="380" y="20" width="190" height="20"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA["End of report. "+$V{REPORT_COUNT}+ " objects listed."]]></textFieldExpression>\r
- </textField>\r
- <textField pattern="EEEEE dd MMMMM yyyy">\r
- <reportElement uuid="451218a1-79fe-4330-8eaa-07d48477f045" style="Column header" x="0" y="20" width="180" height="20"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>\r
- </textField>\r
- <textField>\r
- <reportElement uuid="b8804a56-da75-4826-99d6-b59098734f0d" style="Column header" x="226" y="20" width="80" height="20"/>\r
- <textElement textAlignment="Right">\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>\r
- </textField>\r
- <textField evaluationTime="Report">\r
- <reportElement uuid="5195a1c9-8035-47d6-b660-3c6c83ecf81d" style="Column header" x="306" y="20" width="40" height="20"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>\r
- </textField>\r
- <image onErrorType="Icon">\r
- <reportElement uuid="20a7701e-defe-4c7b-bef9-999bcbc9fe13" x="450" y="0" width="120" height="20"/>\r
- <imageExpression><![CDATA["https://pahma.cspace.berkeley.edu/collectionspace/ui/pahma/images/header-logo-cspace.png"]]></imageExpression>\r
- </image>\r
- <staticText>\r
- <reportElement uuid="775624fe-8bb6-4605-b9c7-ba7274e0332c" x="371" y="1" width="70" height="17"/>\r
- <textElement textAlignment="Right" verticalAlignment="Middle">\r
- <font size="12"/>\r
- </textElement>\r
- <text><![CDATA[powered by]]></text>\r
- </staticText>\r
- </band>\r
- </lastPageFooter>\r
- <summary>\r
- <band splitType="Stretch"/>\r
- </summary>\r
-</jasperReport>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="object" language="groovy" pageWidth="612" pageHeight="792" columnWidth="572" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="9fa99a0a-cb25-4ae4-a669-9592fcf6fea0">
+ <property name="ireport.zoom" value="1.0"/>
+ <property name="ireport.x" value="0"/>
+ <property name="ireport.y" value="0"/>
+ <style name="Title" fontName="SansSerif" fontSize="26" isBold="true" pdfFontName="Helvetica-Bold"/>
+ <style name="SubTitle" forecolor="#666666" fontName="SansSerif" fontSize="18"/>
+ <style name="Column header" forecolor="#666666" fontName="SansSerif" fontSize="12" isBold="true"/>
+ <style name="Detail" fontName="SansSerif" fontSize="12"/>
+ <parameter name="tenantid" class="java.lang.String" isForPrompting="false">
+ <defaultValueExpression><![CDATA[15]]></defaultValueExpression>
+ </parameter>
+ <parameter name="csid" class="java.lang.String">
+ <defaultValueExpression><![CDATA["c8517f96-a264-4e91-87e3"]]></defaultValueExpression>
+ </parameter>
+ <queryString>
+ <![CDATA[select
+gc.title groupTitle,
+gc.scopenote scopeNote,
+case when (gc.owner is not null and gc.owner <> '') then
+ regexp_replace(gc.owner, '^.*\)''(.*)''$', '\1')
+ else ''
+end AS owner,
+h1.name AS "csid",
+co.objectnumber objectNumber,
+sd.datedisplaydate fieldCollectionDate,
+ong.objectName objectName,
+case when (bd.item is not null and bd.item <> '') then
+ regexp_replace(bd.item, '^.*\)''(.*)''$', '\1')
+ else ''
+end AS description
+
+FROM groups_common gc
+JOIN hierarchy h1 ON (gc.id=h1.id)
+LEFT OUTER JOIN relations_common rc1 ON (h1.name=rc1.subjectcsid)
+LEFT OUTER JOIN hierarchy h2 ON (rc1.objectcsid=h2.name)
+LEFT OUTER JOIN collectionobjects_common co ON (h2.id=co.id)
+
+LEFT OUTER JOIN hierarchy h3 ON (co.id = h3.parentid AND h3.primarytype='objectNameGroup' AND h3.pos=0)
+LEFT OUTER JOIN objectnamegroup ong ON (ong.id=h3.id)
+
+LEFT OUTER JOIN collectionobjects_common_briefdescriptions bd ON (bd.id=co.id and bd.pos=0)
+
+left outer join hierarchy h4 on (h2.id = h4.parentid and h4.name = 'collectionobjects_common:fieldCollectionDateGroup')
+left outer join structureddategroup sd on (h4.id = sd.id)
+
+where rc1.subjectcsid = $P{csid}
+
+order by objectNumber]]>
+ </queryString>
+ <field name="grouptitle" class="java.lang.String"/>
+ <field name="scopenote" class="java.lang.String"/>
+ <field name="owner" class="java.lang.String"/>
+ <field name="csid" class="java.lang.String"/>
+ <field name="objectnumber" class="java.lang.String"/>
+ <field name="fieldcollectiondate" class="java.lang.String"/>
+ <field name="objectname" class="java.lang.String"/>
+ <field name="description" class="java.lang.String"/>
+ <background>
+ <band splitType="Stretch"/>
+ </background>
+ <title>
+ <band height="105" splitType="Stretch">
+ <staticText>
+ <reportElement uuid="9e3edb8c-c915-44c5-aef2-d2451b62f26e" x="0" y="0" width="263" height="30"/>
+ <textElement verticalAlignment="Middle">
+ <font fontName="SansSerif" size="18" isBold="true"/>
+ </textElement>
+ <text><![CDATA[Object Group Report]]></text>
+ </staticText>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="ffbefba5-bdd8-47eb-a9f6-d85d1f1e3c44" style="SubTitle" stretchType="RelativeToTallestObject" x="70" y="65" width="244" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
+ <textElement verticalAlignment="Top">
+ <font fontName="SansSerif" size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{grouptitle}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="70cd7a91-bca3-48c4-9123-ab94514d6b31" style="Detail" stretchType="RelativeToTallestObject" x="320" y="65" width="250" height="40" backcolor="#CCCCCC"/>
+ <textElement verticalAlignment="Top">
+ <font fontName="SansSerif" isItalic="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{scopenote}]]></textFieldExpression>
+ </textField>
+ <staticText>
+ <reportElement uuid="c70ce854-4bf3-412e-a842-b15308377344" x="0" y="65" width="70" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Title:]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="1f6fee3b-268f-4712-95ec-2838b24a43bc" x="0" y="85" width="70" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Owner:]]></text>
+ </staticText>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="eb709d53-8668-436c-8cbe-f1ac018a2682" stretchType="RelativeToTallestObject" x="70" y="85" width="244" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{owner}]]></textFieldExpression>
+ </textField>
+ </band>
+ </title>
+ <pageHeader>
+ <band height="22" splitType="Stretch">
+ <line>
+ <reportElement uuid="90972487-85c1-41a6-8188-ec53e333f1ff" positionType="FixRelativeToBottom" x="0" y="1" width="570" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ <staticText>
+ <reportElement uuid="5ed1e9d7-31b1-4b4c-9613-23510c781476" style="Column header" stretchType="RelativeToTallestObject" x="0" y="2" width="90" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Identification #]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="79d291d1-c477-47b9-9794-98ffdb0422b4" style="Column header" stretchType="RelativeToTallestObject" x="95" y="2" width="120" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Object name]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="53062783-4c1b-4c4a-bd9a-f52412e18b95" style="Column header" stretchType="RelativeToTallestObject" x="335" y="2" width="138" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Brief description]]></text>
+ </staticText>
+ <line>
+ <reportElement uuid="c5079e12-d439-4bca-a5c7-56b8c48c2ee9" positionType="FixRelativeToBottom" x="0" y="20" width="570" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ <staticText>
+ <reportElement uuid="07fdf405-e9ca-4f34-b8dd-540db9bc0819" style="Column header" stretchType="RelativeToTallestObject" x="217" y="2" width="110" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Field collection date]]></text>
+ </staticText>
+ </band>
+ </pageHeader>
+ <detail>
+ <band height="21" splitType="Stretch">
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="c9f761c7-d296-4000-99be-22a8cb4c6d0d" style="Detail" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="2" width="92" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{objectnumber}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="86b252eb-eff5-4353-b989-67cbaedafb55" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="95" y="2" width="120" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{objectname}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="acf79eab-fcac-4beb-8309-10b1f434ee32" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="335" y="2" width="235" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="ebef13fb-c2c2-42a2-bc7a-0aa2ad7f1a65" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="217" y="2" width="114" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{fieldcollectiondate}]]></textFieldExpression>
+ </textField>
+ </band>
+ </detail>
+ <columnFooter>
+ <band height="13" splitType="Stretch">
+ <line>
+ <reportElement uuid="3ca9906b-6a90-433b-88e7-6f8643cf9548" positionType="FixRelativeToBottom" x="0" y="2" width="570" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ </band>
+ </columnFooter>
+ <pageFooter>
+ <band height="22" splitType="Stretch">
+ <textField>
+ <reportElement uuid="2d2d2814-9766-4894-8937-2616b9cd45ce" style="Column header" x="226" y="0" width="80" height="20"/>
+ <textElement textAlignment="Right">
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
+ </textField>
+ <textField evaluationTime="Report">
+ <reportElement uuid="82318b7d-4665-4f6b-b7c7-d4c0c735bb1f" style="Column header" x="306" y="0" width="40" height="20"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
+ </textField>
+ <textField pattern="EEEEE dd MMMMM yyyy">
+ <reportElement uuid="0c1ad9dc-c6e1-4b39-8f4b-675116c85bfa" style="Column header" x="0" y="0" width="190" height="20"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
+ </textField>
+ <image onErrorType="Icon">
+ <reportElement uuid="44c4bdb0-9df3-4c99-bfd3-c0994fa5fe8d" x="450" y="0" width="120" height="20"/>
+ <imageExpression><![CDATA["https://pahma.cspace.berkeley.edu/collectionspace/ui/pahma/images/header-logo-cspace.png"]]></imageExpression>
+ </image>
+ <staticText>
+ <reportElement uuid="0074b0c4-86b0-4c0e-b613-1fa1230b0fcd" x="371" y="1" width="70" height="17"/>
+ <textElement textAlignment="Right" verticalAlignment="Middle">
+ <font size="12"/>
+ </textElement>
+ <text><![CDATA[powered by]]></text>
+ </staticText>
+ </band>
+ </pageFooter>
+ <lastPageFooter>
+ <band height="40">
+ <textField evaluationTime="Report">
+ <reportElement uuid="3c9d6a75-a6dc-4c52-95e0-cb01f6e5ea10" style="Column header" x="380" y="20" width="190" height="20"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA["End of report. "+$V{REPORT_COUNT}+ " objects listed."]]></textFieldExpression>
+ </textField>
+ <textField pattern="EEEEE dd MMMMM yyyy">
+ <reportElement uuid="451218a1-79fe-4330-8eaa-07d48477f045" style="Column header" x="0" y="20" width="180" height="20"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement uuid="b8804a56-da75-4826-99d6-b59098734f0d" style="Column header" x="226" y="20" width="80" height="20"/>
+ <textElement textAlignment="Right">
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
+ </textField>
+ <textField evaluationTime="Report">
+ <reportElement uuid="5195a1c9-8035-47d6-b660-3c6c83ecf81d" style="Column header" x="306" y="20" width="40" height="20"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
+ </textField>
+ <image onErrorType="Icon">
+ <reportElement uuid="20a7701e-defe-4c7b-bef9-999bcbc9fe13" x="450" y="0" width="120" height="20"/>
+ <imageExpression><![CDATA["https://pahma.cspace.berkeley.edu/collectionspace/ui/pahma/images/header-logo-cspace.png"]]></imageExpression>
+ </image>
+ <staticText>
+ <reportElement uuid="775624fe-8bb6-4605-b9c7-ba7274e0332c" x="371" y="1" width="70" height="17"/>
+ <textElement textAlignment="Right" verticalAlignment="Middle">
+ <font size="12"/>
+ </textElement>
+ <text><![CDATA[powered by]]></text>
+ </staticText>
+ </band>
+ </lastPageFooter>
+ <summary>
+ <band splitType="Stretch"/>
+ </summary>
+</jasperReport>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="object" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="08c07c03-a97f-496c-ba55-729ff2d71763">\r
- <property name="ireport.zoom" value="1.0"/>\r
- <property name="ireport.x" value="0"/>\r
- <property name="ireport.y" value="0"/>\r
- <style name="Title" fontName="SansSerif" fontSize="26" isBold="true" pdfFontName="Helvetica-Bold"/>\r
- <style name="SubTitle" forecolor="#666666" fontName="SansSerif" fontSize="18"/>\r
- <style name="Column header" forecolor="#666666" fontName="SansSerif" fontSize="12" isBold="true"/>\r
- <style name="Detail" fontName="SansSerif" fontSize="12"/>\r
- <parameter name="tenantid" class="java.lang.String" isForPrompting="false">\r
- <defaultValueExpression><![CDATA[15]]></defaultValueExpression>\r
- </parameter>\r
- <parameter name="csid" class="java.lang.String">\r
- <defaultValueExpression><![CDATA["33227ec7-6f81-40d3-90a6"]]></defaultValueExpression>\r
- </parameter>\r
- <queryString>\r
- <![CDATA[SELECT\r
-inc.entrynumber entryNumber,\r
-inc.entrynote entryNote,\r
-inc.entryDate entryDate,\r
-inc.returnDate returnDate,\r
-h1.name AS "csid",\r
-co.objectnumber AS "objectnumber",\r
-case when (co.fieldcollectionplace is not null and co.fieldcollectionplace <> '') then\r
- regexp_replace(co.fieldcollectionplace , '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end AS site,\r
-ong.objectName AS "objectname",\r
-case when (bd.item is not null and bd.item <> '') then\r
- regexp_replace(bd.item, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end AS description,\r
-case when (oppp.objectproductionpeople is not null and oppp.objectproductionpeople <> '') then\r
- regexp_replace(oppp.objectproductionpeople, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end as productionpeople\r
-\r
-FROM intakes_common inc\r
-JOIN hierarchy h1 ON (inc.id=h1.id)\r
-LEFT OUTER JOIN relations_common rc1 ON (h1.name=rc1.subjectcsid)\r
-LEFT OUTER JOIN hierarchy h2 ON (rc1.objectcsid=h2.name)\r
-LEFT OUTER JOIN collectionobjects_common co ON (h2.id=co.id)\r
-\r
-LEFT OUTER JOIN hierarchy h3 ON (co.id = h3.parentid AND h3.primarytype='objectNameGroup' AND h3.pos=0)\r
-LEFT OUTER JOIN objectnamegroup ong ON (ong.id=h3.id)\r
-\r
-LEFT OUTER JOIN collectionobjects_common_briefdescriptions bd ON (bd.id=co.id and bd.pos=0)\r
-\r
-left outer join hierarchy h4 on (co.id=h4.parentid and h4.pos=0 and h4.name='collectionobjects_common:objectProductionPeopleGroupList')\r
-left outer join objectproductionpeoplegroup oppp on (oppp.id=h4.id)\r
-WHERE rc1.subjectcsid = $P{csid}\r
-ORDER BY objectnumber]]>\r
- </queryString>\r
- <field name="entrynumber" class="java.lang.String"/>\r
- <field name="entrynote" class="java.lang.String"/>\r
- <field name="entrydate" class="java.sql.Timestamp"/>\r
- <field name="returndate" class="java.sql.Timestamp"/>\r
- <field name="csid" class="java.lang.String"/>\r
- <field name="objectnumber" class="java.lang.String"/>\r
- <field name="site" class="java.lang.String"/>\r
- <field name="objectname" class="java.lang.String"/>\r
- <field name="description" class="java.lang.String"/>\r
- <field name="productionpeople" class="java.lang.String"/>\r
- <background>\r
- <band splitType="Stretch"/>\r
- </background>\r
- <title>\r
- <band height="105" splitType="Stretch">\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="84aa8fff-608d-4c31-a918-14b813036fd7" style="SubTitle" stretchType="RelativeToTallestObject" x="130" y="55" width="168" height="20" forecolor="#000000" backcolor="#FFFFFF"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{entrynumber}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="7fbe9d26-6c00-4726-a25a-9a448f2d9898" style="Detail" stretchType="RelativeToTallestObject" x="465" y="55" width="285" height="50" backcolor="#CCCCCC"/>\r
- <textElement>\r
- <font fontName="SansSerif" isItalic="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{entrynote}]]></textFieldExpression>\r
- </textField>\r
- <staticText>\r
- <reportElement uuid="69990504-b50a-48e9-88fc-19a1010bbae4" x="0" y="0" width="263" height="30"/>\r
- <textElement verticalAlignment="Middle">\r
- <font fontName="SansSerif" size="18" isBold="true"/>\r
- </textElement>\r
- <text><![CDATA[Object Entry Report]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="f113d7fc-92fa-4b77-97ed-972025e72852" x="0" y="55" width="120" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Entry number:]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="a2781f5c-8c21-4966-beac-e947c9016c0b" x="0" y="85" width="105" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Entry date:]]></text>\r
- </staticText>\r
- <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true">\r
- <reportElement uuid="d5f04dde-cd9f-49b0-8f38-d7ad5b54e281" x="108" y="85" width="115" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{entrydate}]]></textFieldExpression>\r
- </textField>\r
- <staticText>\r
- <reportElement uuid="24865297-7eae-4b57-ac80-e021edc8a4a6" x="225" y="85" width="115" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Return date:]]></text>\r
- </staticText>\r
- <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true">\r
- <reportElement uuid="ecd1cc1b-ef0b-4660-865a-bf57ed25dbdf" x="340" y="85" width="115" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{returndate}]]></textFieldExpression>\r
- </textField>\r
- </band>\r
- </title>\r
- <pageHeader>\r
- <band splitType="Stretch"/>\r
- </pageHeader>\r
- <columnHeader>\r
- <band height="22" splitType="Stretch">\r
- <line>\r
- <reportElement uuid="1ce943ae-cab4-4309-8e47-305d860c1690" positionType="FixRelativeToBottom" x="0" y="20" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- <staticText>\r
- <reportElement uuid="92a14667-488b-4088-a178-3b8c005e0932" style="Column header" stretchType="RelativeToTallestObject" x="1" y="2" width="90" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Identification #]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="9865ca77-7ebc-4103-a359-9ed1e9902c36" style="Column header" stretchType="RelativeToTallestObject" x="95" y="2" width="120" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Object name]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="2bd24c32-4992-4087-9f7a-326cb0445e52" style="Column header" stretchType="RelativeToTallestObject" x="220" y="2" width="240" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Brief description]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="6a1a1a95-9170-4e2f-9d39-5fad0b499eea" style="Column header" stretchType="RelativeToTallestObject" x="465" y="2" width="150" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Field collection place ]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="60d214ef-d17c-4ceb-86de-b9f7a0c5119e" style="Column header" stretchType="RelativeToTallestObject" x="620" y="2" width="130" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Production People]]></text>\r
- </staticText>\r
- <line>\r
- <reportElement uuid="5d769355-f5c6-4e18-82c3-47e9c0551cd0" x="0" y="0" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- </band>\r
- </columnHeader>\r
- <detail>\r
- <band height="18" splitType="Stretch">\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="7cabe161-1233-454c-a786-a51931ff9aa8" style="Detail" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="2" width="90" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{objectnumber}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="3919b36e-e625-4915-9fcc-3ac98171d69c" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="95" y="2" width="120" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{objectname}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="7fd7e2f0-7df3-4c7a-9ef8-4cbb0e79485a" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="465" y="2" width="150" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{site}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="d1bfe218-b60c-4cd9-aae6-0ea2a9de1b60" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="220" y="2" width="240" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="cbb7bb13-38c5-4943-822b-851dc5c0e61e" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="620" y="2" width="130" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{productionpeople}]]></textFieldExpression>\r
- </textField>\r
- </band>\r
- </detail>\r
- <columnFooter>\r
- <band height="14" splitType="Stretch">\r
- <line>\r
- <reportElement uuid="07724d84-7837-4f5a-9e36-3868854ca40e" positionType="FixRelativeToBottom" x="0" y="7" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- </band>\r
- </columnFooter>\r
- <pageFooter>\r
- <band height="22" splitType="Stretch">\r
- <textField>\r
- <reportElement uuid="07372a6b-10f3-46f9-90af-00219d63d73b" style="Column header" x="316" y="3" width="80" height="18"/>\r
- <textElement textAlignment="Right">\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>\r
- </textField>\r
- <textField evaluationTime="Report">\r
- <reportElement uuid="d64e5229-e7ff-4bee-bbaa-36efd809998f" style="Column header" x="396" y="3" width="40" height="18"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>\r
- </textField>\r
- <textField pattern="EEEEE dd MMMMM yyyy">\r
- <reportElement uuid="3d1a9a39-7e7a-4ffb-b991-c5a468b58d92" style="Column header" x="0" y="3" width="197" height="18"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>\r
- </textField>\r
- <image onErrorType="Icon">\r
- <reportElement uuid="92d4e522-3d77-4464-85f0-face1a366667" x="629" y="2" width="120" height="20"/>\r
- <imageExpression><![CDATA["https://pahma.cspace.berkeley.edu/collectionspace/ui/pahma/images/header-logo-cspace.png"]]></imageExpression>\r
- </image>\r
- <staticText>\r
- <reportElement uuid="508adf6d-5e27-489d-b869-f859f4ca2b02" x="550" y="1" width="70" height="17"/>\r
- <textElement textAlignment="Right" verticalAlignment="Middle">\r
- <font size="12"/>\r
- </textElement>\r
- <text><![CDATA[powered by]]></text>\r
- </staticText>\r
- </band>\r
- </pageFooter>\r
- <summary>\r
- <band splitType="Stretch"/>\r
- </summary>\r
-</jasperReport>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="object" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="08c07c03-a97f-496c-ba55-729ff2d71763">
+ <property name="ireport.zoom" value="1.0"/>
+ <property name="ireport.x" value="0"/>
+ <property name="ireport.y" value="0"/>
+ <style name="Title" fontName="SansSerif" fontSize="26" isBold="true" pdfFontName="Helvetica-Bold"/>
+ <style name="SubTitle" forecolor="#666666" fontName="SansSerif" fontSize="18"/>
+ <style name="Column header" forecolor="#666666" fontName="SansSerif" fontSize="12" isBold="true"/>
+ <style name="Detail" fontName="SansSerif" fontSize="12"/>
+ <parameter name="tenantid" class="java.lang.String" isForPrompting="false">
+ <defaultValueExpression><![CDATA[15]]></defaultValueExpression>
+ </parameter>
+ <parameter name="csid" class="java.lang.String">
+ <defaultValueExpression><![CDATA["33227ec7-6f81-40d3-90a6"]]></defaultValueExpression>
+ </parameter>
+ <queryString>
+ <![CDATA[SELECT
+inc.entrynumber entryNumber,
+inc.entrynote entryNote,
+inc.entryDate entryDate,
+inc.returnDate returnDate,
+h1.name AS "csid",
+co.objectnumber AS "objectnumber",
+case when (co.fieldcollectionplace is not null and co.fieldcollectionplace <> '') then
+ regexp_replace(co.fieldcollectionplace , '^.*\)''(.*)''$', '\1')
+ else ''
+end AS site,
+ong.objectName AS "objectname",
+case when (bd.item is not null and bd.item <> '') then
+ regexp_replace(bd.item, '^.*\)''(.*)''$', '\1')
+ else ''
+end AS description,
+case when (oppp.objectproductionpeople is not null and oppp.objectproductionpeople <> '') then
+ regexp_replace(oppp.objectproductionpeople, '^.*\)''(.*)''$', '\1')
+ else ''
+end as productionpeople
+
+FROM intakes_common inc
+JOIN hierarchy h1 ON (inc.id=h1.id)
+LEFT OUTER JOIN relations_common rc1 ON (h1.name=rc1.subjectcsid)
+LEFT OUTER JOIN hierarchy h2 ON (rc1.objectcsid=h2.name)
+LEFT OUTER JOIN collectionobjects_common co ON (h2.id=co.id)
+
+LEFT OUTER JOIN hierarchy h3 ON (co.id = h3.parentid AND h3.primarytype='objectNameGroup' AND h3.pos=0)
+LEFT OUTER JOIN objectnamegroup ong ON (ong.id=h3.id)
+
+LEFT OUTER JOIN collectionobjects_common_briefdescriptions bd ON (bd.id=co.id and bd.pos=0)
+
+left outer join hierarchy h4 on (co.id=h4.parentid and h4.pos=0 and h4.name='collectionobjects_common:objectProductionPeopleGroupList')
+left outer join objectproductionpeoplegroup oppp on (oppp.id=h4.id)
+WHERE rc1.subjectcsid = $P{csid}
+ORDER BY objectnumber]]>
+ </queryString>
+ <field name="entrynumber" class="java.lang.String"/>
+ <field name="entrynote" class="java.lang.String"/>
+ <field name="entrydate" class="java.sql.Timestamp"/>
+ <field name="returndate" class="java.sql.Timestamp"/>
+ <field name="csid" class="java.lang.String"/>
+ <field name="objectnumber" class="java.lang.String"/>
+ <field name="site" class="java.lang.String"/>
+ <field name="objectname" class="java.lang.String"/>
+ <field name="description" class="java.lang.String"/>
+ <field name="productionpeople" class="java.lang.String"/>
+ <background>
+ <band splitType="Stretch"/>
+ </background>
+ <title>
+ <band height="105" splitType="Stretch">
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="84aa8fff-608d-4c31-a918-14b813036fd7" style="SubTitle" stretchType="RelativeToTallestObject" x="130" y="55" width="168" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
+ <textElement>
+ <font fontName="SansSerif" size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{entrynumber}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="7fbe9d26-6c00-4726-a25a-9a448f2d9898" style="Detail" stretchType="RelativeToTallestObject" x="465" y="55" width="285" height="50" backcolor="#CCCCCC"/>
+ <textElement>
+ <font fontName="SansSerif" isItalic="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{entrynote}]]></textFieldExpression>
+ </textField>
+ <staticText>
+ <reportElement uuid="69990504-b50a-48e9-88fc-19a1010bbae4" x="0" y="0" width="263" height="30"/>
+ <textElement verticalAlignment="Middle">
+ <font fontName="SansSerif" size="18" isBold="true"/>
+ </textElement>
+ <text><![CDATA[Object Entry Report]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="f113d7fc-92fa-4b77-97ed-972025e72852" x="0" y="55" width="120" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Entry number:]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="a2781f5c-8c21-4966-beac-e947c9016c0b" x="0" y="85" width="105" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Entry date:]]></text>
+ </staticText>
+ <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true">
+ <reportElement uuid="d5f04dde-cd9f-49b0-8f38-d7ad5b54e281" x="108" y="85" width="115" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{entrydate}]]></textFieldExpression>
+ </textField>
+ <staticText>
+ <reportElement uuid="24865297-7eae-4b57-ac80-e021edc8a4a6" x="225" y="85" width="115" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Return date:]]></text>
+ </staticText>
+ <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true">
+ <reportElement uuid="ecd1cc1b-ef0b-4660-865a-bf57ed25dbdf" x="340" y="85" width="115" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{returndate}]]></textFieldExpression>
+ </textField>
+ </band>
+ </title>
+ <pageHeader>
+ <band splitType="Stretch"/>
+ </pageHeader>
+ <columnHeader>
+ <band height="22" splitType="Stretch">
+ <line>
+ <reportElement uuid="1ce943ae-cab4-4309-8e47-305d860c1690" positionType="FixRelativeToBottom" x="0" y="20" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ <staticText>
+ <reportElement uuid="92a14667-488b-4088-a178-3b8c005e0932" style="Column header" stretchType="RelativeToTallestObject" x="1" y="2" width="90" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Identification #]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="9865ca77-7ebc-4103-a359-9ed1e9902c36" style="Column header" stretchType="RelativeToTallestObject" x="95" y="2" width="120" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Object name]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="2bd24c32-4992-4087-9f7a-326cb0445e52" style="Column header" stretchType="RelativeToTallestObject" x="220" y="2" width="240" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Brief description]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="6a1a1a95-9170-4e2f-9d39-5fad0b499eea" style="Column header" stretchType="RelativeToTallestObject" x="465" y="2" width="150" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Field collection place ]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="60d214ef-d17c-4ceb-86de-b9f7a0c5119e" style="Column header" stretchType="RelativeToTallestObject" x="620" y="2" width="130" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Production People]]></text>
+ </staticText>
+ <line>
+ <reportElement uuid="5d769355-f5c6-4e18-82c3-47e9c0551cd0" x="0" y="0" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ </band>
+ </columnHeader>
+ <detail>
+ <band height="18" splitType="Stretch">
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="7cabe161-1233-454c-a786-a51931ff9aa8" style="Detail" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="2" width="90" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{objectnumber}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="3919b36e-e625-4915-9fcc-3ac98171d69c" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="95" y="2" width="120" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{objectname}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="7fd7e2f0-7df3-4c7a-9ef8-4cbb0e79485a" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="465" y="2" width="150" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{site}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="d1bfe218-b60c-4cd9-aae6-0ea2a9de1b60" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="220" y="2" width="240" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="cbb7bb13-38c5-4943-822b-851dc5c0e61e" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="620" y="2" width="130" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{productionpeople}]]></textFieldExpression>
+ </textField>
+ </band>
+ </detail>
+ <columnFooter>
+ <band height="14" splitType="Stretch">
+ <line>
+ <reportElement uuid="07724d84-7837-4f5a-9e36-3868854ca40e" positionType="FixRelativeToBottom" x="0" y="7" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ </band>
+ </columnFooter>
+ <pageFooter>
+ <band height="22" splitType="Stretch">
+ <textField>
+ <reportElement uuid="07372a6b-10f3-46f9-90af-00219d63d73b" style="Column header" x="316" y="3" width="80" height="18"/>
+ <textElement textAlignment="Right">
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
+ </textField>
+ <textField evaluationTime="Report">
+ <reportElement uuid="d64e5229-e7ff-4bee-bbaa-36efd809998f" style="Column header" x="396" y="3" width="40" height="18"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
+ </textField>
+ <textField pattern="EEEEE dd MMMMM yyyy">
+ <reportElement uuid="3d1a9a39-7e7a-4ffb-b991-c5a468b58d92" style="Column header" x="0" y="3" width="197" height="18"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
+ </textField>
+ <image onErrorType="Icon">
+ <reportElement uuid="92d4e522-3d77-4464-85f0-face1a366667" x="629" y="2" width="120" height="20"/>
+ <imageExpression><![CDATA["https://pahma.cspace.berkeley.edu/collectionspace/ui/pahma/images/header-logo-cspace.png"]]></imageExpression>
+ </image>
+ <staticText>
+ <reportElement uuid="508adf6d-5e27-489d-b869-f859f4ca2b02" x="550" y="1" width="70" height="17"/>
+ <textElement textAlignment="Right" verticalAlignment="Middle">
+ <font size="12"/>
+ </textElement>
+ <text><![CDATA[powered by]]></text>
+ </staticText>
+ </band>
+ </pageFooter>
+ <summary>
+ <band splitType="Stretch"/>
+ </summary>
+</jasperReport>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="object" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="08c07c03-a97f-496c-ba55-729ff2d71763">\r
- <property name="ireport.zoom" value="1.0"/>\r
- <property name="ireport.x" value="0"/>\r
- <property name="ireport.y" value="0"/>\r
- <style name="Title" fontName="SansSerif" fontSize="26" isBold="true" pdfFontName="Helvetica-Bold"/>\r
- <style name="SubTitle" forecolor="#666666" fontName="SansSerif" fontSize="18"/>\r
- <style name="Column header" forecolor="#666666" fontName="SansSerif" fontSize="12" isBold="true"/>\r
- <style name="Detail" fontName="SansSerif" fontSize="12"/>\r
- <parameter name="tenantid" class="java.lang.String" isForPrompting="false">\r
- <defaultValueExpression><![CDATA[15]]></defaultValueExpression>\r
- </parameter>\r
- <parameter name="csid" class="java.lang.String">\r
- <defaultValueExpression><![CDATA["a450d86b-68d9-431b-ba0a"]]></defaultValueExpression>\r
- </parameter>\r
- <queryString>\r
- <![CDATA[SELECT\r
-lic.loaninnumber loanInNumber,\r
-case when (lg.lender is not null and lg.lender <> '') then\r
- regexp_replace(lg.lender, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end AS lender,\r
-lic.loanInDate as loanInDate,\r
-lic.loanReturnDate as loanReturnDate,\r
-lic.loanInNote as loanInNote,\r
-h1.name AS "csid",\r
-co.objectnumber AS "objectnumber",\r
-case when (co.fieldcollectionplace is not null and co.fieldcollectionplace <> '') then\r
- regexp_replace(co.fieldcollectionplace , '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end AS site,\r
-ong.objectName AS "objectname",\r
-case when (bd.item is not null and bd.item <> '') then\r
- regexp_replace(bd.item, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end AS description,\r
-case when (oppp.objectproductionpeople is not null and oppp.objectproductionpeople <> '') then\r
- regexp_replace(oppp.objectproductionpeople, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end as productionpeople\r
-\r
-FROM loansin_common lic\r
-JOIN hierarchy h1 ON (lic.id=h1.id)\r
-LEFT OUTER JOIN relations_common rc1 ON (h1.name=rc1.subjectcsid)\r
-LEFT OUTER JOIN hierarchy h2 ON (rc1.objectcsid=h2.name)\r
-LEFT OUTER JOIN collectionobjects_common co ON (h2.id=co.id)\r
-\r
-LEFT OUTER JOIN hierarchy h3 ON (co.id = h3.parentid AND h3.primarytype='objectNameGroup' AND h3.pos=0)\r
-LEFT OUTER JOIN objectnamegroup ong ON (ong.id=h3.id)\r
-\r
-LEFT OUTER JOIN collectionobjects_common_briefdescriptions bd ON (bd.id=co.id and bd.pos=0)\r
-\r
-left outer join hierarchy h4 on (co.id=h4.parentid and h4.pos=0 and h4.name='collectionobjects_common:objectProductionPeopleGroupList')\r
-left outer join objectproductionpeoplegroup oppp on (oppp.id=h4.id)\r
-\r
-\r
-left outer join hierarchy hlgl on (lic.id=hlgl.parentid and hlgl.pos=0 and hlgl.name='loansin_common:lenderGroupList')\r
-left outer join lendergroup lg on (lg.id=hlgl.id)\r
-\r
-WHERE rc1.subjectcsid = $P{csid}\r
-\r
-ORDER BY objectnumber]]>\r
- </queryString>\r
- <field name="loaninnumber" class="java.lang.String"/>\r
- <field name="lender" class="java.lang.String"/>\r
- <field name="loanindate" class="java.sql.Timestamp"/>\r
- <field name="loanreturndate" class="java.sql.Timestamp"/>\r
- <field name="loaninnote" class="java.lang.String"/>\r
- <field name="csid" class="java.lang.String"/>\r
- <field name="objectnumber" class="java.lang.String"/>\r
- <field name="site" class="java.lang.String"/>\r
- <field name="objectname" class="java.lang.String"/>\r
- <field name="description" class="java.lang.String"/>\r
- <field name="productionpeople" class="java.lang.String"/>\r
- <background>\r
- <band splitType="Stretch"/>\r
- </background>\r
- <title>\r
- <band height="105" splitType="Stretch">\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="84aa8fff-608d-4c31-a918-14b813036fd7" style="SubTitle" stretchType="RelativeToTallestObject" x="145" y="45" width="281" height="20" forecolor="#000000" backcolor="#FFFFFF"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{loaninnumber}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="7fbe9d26-6c00-4726-a25a-9a448f2d9898" style="Detail" stretchType="RelativeToTallestObject" x="145" y="65" width="281" height="20" backcolor="#CCCCCC"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="14" isItalic="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{lender}]]></textFieldExpression>\r
- </textField>\r
- <staticText>\r
- <reportElement uuid="69990504-b50a-48e9-88fc-19a1010bbae4" x="0" y="0" width="263" height="30"/>\r
- <textElement verticalAlignment="Middle">\r
- <font fontName="SansSerif" size="18" isBold="true"/>\r
- </textElement>\r
- <text><![CDATA[In Loan Objects]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="f279217c-b0ba-4fb6-8ab0-02d7e3668e4f" x="0" y="45" width="145" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Loan in number:]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="50f2679c-ebc0-464a-9a0c-1c60ded21f01" stretchType="RelativeToTallestObject" x="0" y="65" width="145" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Lender:]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="1c342ca2-e638-4306-8949-458bfa615682" stretchType="RelativeToTallestObject" x="0" y="85" width="115" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Loan in date:]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="b5be4118-57ae-4bca-a22f-6996db31e110" stretchType="RelativeToTallestObject" x="235" y="85" width="110" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Return date:]]></text>\r
- </staticText>\r
- <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true">\r
- <reportElement uuid="f292d56e-e4d0-49ea-b748-0d84fec1340b" stretchType="RelativeToTallestObject" x="115" y="85" width="115" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{loanindate}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true">\r
- <reportElement uuid="4f68a97d-cd04-47b2-a0a0-7081345f92ed" x="345" y="85" width="115" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{loanreturndate}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="efd074e2-215c-442c-a919-059c354dd624" stretchType="RelativeToTallestObject" x="465" y="45" width="285" height="60"/>\r
- <textElement>\r
- <font size="12"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{loaninnote}]]></textFieldExpression>\r
- </textField>\r
- </band>\r
- </title>\r
- <pageHeader>\r
- <band splitType="Stretch"/>\r
- </pageHeader>\r
- <columnHeader>\r
- <band height="22" splitType="Stretch">\r
- <line>\r
- <reportElement uuid="1ce943ae-cab4-4309-8e47-305d860c1690" positionType="FixRelativeToBottom" x="0" y="20" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- <staticText>\r
- <reportElement uuid="92a14667-488b-4088-a178-3b8c005e0932" style="Column header" stretchType="RelativeToTallestObject" x="1" y="2" width="90" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Identification #]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="9865ca77-7ebc-4103-a359-9ed1e9902c36" style="Column header" stretchType="RelativeToTallestObject" x="95" y="2" width="120" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Object name]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="2bd24c32-4992-4087-9f7a-326cb0445e52" style="Column header" stretchType="RelativeToTallestObject" x="220" y="2" width="240" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Brief description]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="6a1a1a95-9170-4e2f-9d39-5fad0b499eea" style="Column header" stretchType="RelativeToTallestObject" x="465" y="2" width="150" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Field collection place ]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="60d214ef-d17c-4ceb-86de-b9f7a0c5119e" style="Column header" stretchType="RelativeToTallestObject" x="620" y="2" width="130" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Production people]]></text>\r
- </staticText>\r
- <line>\r
- <reportElement uuid="dde73d80-89f5-4300-880d-cfb10424ca0d" x="0" y="0" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- </band>\r
- </columnHeader>\r
- <detail>\r
- <band height="18" splitType="Stretch">\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="7cabe161-1233-454c-a786-a51931ff9aa8" style="Detail" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="2" width="90" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{objectnumber}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="3919b36e-e625-4915-9fcc-3ac98171d69c" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="95" y="2" width="120" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{objectname}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="7fd7e2f0-7df3-4c7a-9ef8-4cbb0e79485a" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="465" y="2" width="150" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{site}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="d1bfe218-b60c-4cd9-aae6-0ea2a9de1b60" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="220" y="2" width="240" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="cbb7bb13-38c5-4943-822b-851dc5c0e61e" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="620" y="2" width="130" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{productionpeople}]]></textFieldExpression>\r
- </textField>\r
- </band>\r
- </detail>\r
- <columnFooter>\r
- <band height="14" splitType="Stretch">\r
- <line>\r
- <reportElement uuid="07724d84-7837-4f5a-9e36-3868854ca40e" positionType="FixRelativeToBottom" x="0" y="7" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- </band>\r
- </columnFooter>\r
- <pageFooter>\r
- <band height="22" splitType="Stretch">\r
- <textField>\r
- <reportElement uuid="07372a6b-10f3-46f9-90af-00219d63d73b" style="Column header" x="316" y="3" width="80" height="18"/>\r
- <textElement textAlignment="Right">\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>\r
- </textField>\r
- <textField evaluationTime="Report">\r
- <reportElement uuid="d64e5229-e7ff-4bee-bbaa-36efd809998f" style="Column header" x="396" y="3" width="40" height="18"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>\r
- </textField>\r
- <textField pattern="EEEEE dd MMMMM yyyy">\r
- <reportElement uuid="3d1a9a39-7e7a-4ffb-b991-c5a468b58d92" style="Column header" x="0" y="3" width="197" height="18"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>\r
- </textField>\r
- <image onErrorType="Icon">\r
- <reportElement uuid="92d4e522-3d77-4464-85f0-face1a366667" x="629" y="2" width="120" height="20"/>\r
- <imageExpression><![CDATA["https://pahma.cspace.berkeley.edu/collectionspace/ui/pahma/images/header-logo-cspace.png"]]></imageExpression>\r
- </image>\r
- <staticText>\r
- <reportElement uuid="508adf6d-5e27-489d-b869-f859f4ca2b02" x="550" y="1" width="70" height="17"/>\r
- <textElement textAlignment="Right" verticalAlignment="Middle">\r
- <font size="12"/>\r
- </textElement>\r
- <text><![CDATA[powered by]]></text>\r
- </staticText>\r
- </band>\r
- </pageFooter>\r
- <summary>\r
- <band splitType="Stretch"/>\r
- </summary>\r
-</jasperReport>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="object" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="08c07c03-a97f-496c-ba55-729ff2d71763">
+ <property name="ireport.zoom" value="1.0"/>
+ <property name="ireport.x" value="0"/>
+ <property name="ireport.y" value="0"/>
+ <style name="Title" fontName="SansSerif" fontSize="26" isBold="true" pdfFontName="Helvetica-Bold"/>
+ <style name="SubTitle" forecolor="#666666" fontName="SansSerif" fontSize="18"/>
+ <style name="Column header" forecolor="#666666" fontName="SansSerif" fontSize="12" isBold="true"/>
+ <style name="Detail" fontName="SansSerif" fontSize="12"/>
+ <parameter name="tenantid" class="java.lang.String" isForPrompting="false">
+ <defaultValueExpression><![CDATA[15]]></defaultValueExpression>
+ </parameter>
+ <parameter name="csid" class="java.lang.String">
+ <defaultValueExpression><![CDATA["a450d86b-68d9-431b-ba0a"]]></defaultValueExpression>
+ </parameter>
+ <queryString>
+ <![CDATA[SELECT
+lic.loaninnumber loanInNumber,
+case when (lg.lender is not null and lg.lender <> '') then
+ regexp_replace(lg.lender, '^.*\)''(.*)''$', '\1')
+ else ''
+end AS lender,
+lic.loanInDate as loanInDate,
+lic.loanReturnDate as loanReturnDate,
+lic.loanInNote as loanInNote,
+h1.name AS "csid",
+co.objectnumber AS "objectnumber",
+case when (co.fieldcollectionplace is not null and co.fieldcollectionplace <> '') then
+ regexp_replace(co.fieldcollectionplace , '^.*\)''(.*)''$', '\1')
+ else ''
+end AS site,
+ong.objectName AS "objectname",
+case when (bd.item is not null and bd.item <> '') then
+ regexp_replace(bd.item, '^.*\)''(.*)''$', '\1')
+ else ''
+end AS description,
+case when (oppp.objectproductionpeople is not null and oppp.objectproductionpeople <> '') then
+ regexp_replace(oppp.objectproductionpeople, '^.*\)''(.*)''$', '\1')
+ else ''
+end as productionpeople
+
+FROM loansin_common lic
+JOIN hierarchy h1 ON (lic.id=h1.id)
+LEFT OUTER JOIN relations_common rc1 ON (h1.name=rc1.subjectcsid)
+LEFT OUTER JOIN hierarchy h2 ON (rc1.objectcsid=h2.name)
+LEFT OUTER JOIN collectionobjects_common co ON (h2.id=co.id)
+
+LEFT OUTER JOIN hierarchy h3 ON (co.id = h3.parentid AND h3.primarytype='objectNameGroup' AND h3.pos=0)
+LEFT OUTER JOIN objectnamegroup ong ON (ong.id=h3.id)
+
+LEFT OUTER JOIN collectionobjects_common_briefdescriptions bd ON (bd.id=co.id and bd.pos=0)
+
+left outer join hierarchy h4 on (co.id=h4.parentid and h4.pos=0 and h4.name='collectionobjects_common:objectProductionPeopleGroupList')
+left outer join objectproductionpeoplegroup oppp on (oppp.id=h4.id)
+
+
+left outer join hierarchy hlgl on (lic.id=hlgl.parentid and hlgl.pos=0 and hlgl.name='loansin_common:lenderGroupList')
+left outer join lendergroup lg on (lg.id=hlgl.id)
+
+WHERE rc1.subjectcsid = $P{csid}
+
+ORDER BY objectnumber]]>
+ </queryString>
+ <field name="loaninnumber" class="java.lang.String"/>
+ <field name="lender" class="java.lang.String"/>
+ <field name="loanindate" class="java.sql.Timestamp"/>
+ <field name="loanreturndate" class="java.sql.Timestamp"/>
+ <field name="loaninnote" class="java.lang.String"/>
+ <field name="csid" class="java.lang.String"/>
+ <field name="objectnumber" class="java.lang.String"/>
+ <field name="site" class="java.lang.String"/>
+ <field name="objectname" class="java.lang.String"/>
+ <field name="description" class="java.lang.String"/>
+ <field name="productionpeople" class="java.lang.String"/>
+ <background>
+ <band splitType="Stretch"/>
+ </background>
+ <title>
+ <band height="105" splitType="Stretch">
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="84aa8fff-608d-4c31-a918-14b813036fd7" style="SubTitle" stretchType="RelativeToTallestObject" x="145" y="45" width="281" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
+ <textElement>
+ <font fontName="SansSerif" size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{loaninnumber}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="7fbe9d26-6c00-4726-a25a-9a448f2d9898" style="Detail" stretchType="RelativeToTallestObject" x="145" y="65" width="281" height="20" backcolor="#CCCCCC"/>
+ <textElement>
+ <font fontName="SansSerif" size="14" isItalic="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{lender}]]></textFieldExpression>
+ </textField>
+ <staticText>
+ <reportElement uuid="69990504-b50a-48e9-88fc-19a1010bbae4" x="0" y="0" width="263" height="30"/>
+ <textElement verticalAlignment="Middle">
+ <font fontName="SansSerif" size="18" isBold="true"/>
+ </textElement>
+ <text><![CDATA[In Loan Objects]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="f279217c-b0ba-4fb6-8ab0-02d7e3668e4f" x="0" y="45" width="145" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Loan in number:]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="50f2679c-ebc0-464a-9a0c-1c60ded21f01" stretchType="RelativeToTallestObject" x="0" y="65" width="145" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Lender:]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="1c342ca2-e638-4306-8949-458bfa615682" stretchType="RelativeToTallestObject" x="0" y="85" width="115" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Loan in date:]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="b5be4118-57ae-4bca-a22f-6996db31e110" stretchType="RelativeToTallestObject" x="235" y="85" width="110" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Return date:]]></text>
+ </staticText>
+ <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true">
+ <reportElement uuid="f292d56e-e4d0-49ea-b748-0d84fec1340b" stretchType="RelativeToTallestObject" x="115" y="85" width="115" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{loanindate}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true">
+ <reportElement uuid="4f68a97d-cd04-47b2-a0a0-7081345f92ed" x="345" y="85" width="115" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{loanreturndate}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="efd074e2-215c-442c-a919-059c354dd624" stretchType="RelativeToTallestObject" x="465" y="45" width="285" height="60"/>
+ <textElement>
+ <font size="12"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{loaninnote}]]></textFieldExpression>
+ </textField>
+ </band>
+ </title>
+ <pageHeader>
+ <band splitType="Stretch"/>
+ </pageHeader>
+ <columnHeader>
+ <band height="22" splitType="Stretch">
+ <line>
+ <reportElement uuid="1ce943ae-cab4-4309-8e47-305d860c1690" positionType="FixRelativeToBottom" x="0" y="20" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ <staticText>
+ <reportElement uuid="92a14667-488b-4088-a178-3b8c005e0932" style="Column header" stretchType="RelativeToTallestObject" x="1" y="2" width="90" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Identification #]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="9865ca77-7ebc-4103-a359-9ed1e9902c36" style="Column header" stretchType="RelativeToTallestObject" x="95" y="2" width="120" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Object name]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="2bd24c32-4992-4087-9f7a-326cb0445e52" style="Column header" stretchType="RelativeToTallestObject" x="220" y="2" width="240" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Brief description]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="6a1a1a95-9170-4e2f-9d39-5fad0b499eea" style="Column header" stretchType="RelativeToTallestObject" x="465" y="2" width="150" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Field collection place ]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="60d214ef-d17c-4ceb-86de-b9f7a0c5119e" style="Column header" stretchType="RelativeToTallestObject" x="620" y="2" width="130" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Production people]]></text>
+ </staticText>
+ <line>
+ <reportElement uuid="dde73d80-89f5-4300-880d-cfb10424ca0d" x="0" y="0" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ </band>
+ </columnHeader>
+ <detail>
+ <band height="18" splitType="Stretch">
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="7cabe161-1233-454c-a786-a51931ff9aa8" style="Detail" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="2" width="90" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{objectnumber}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="3919b36e-e625-4915-9fcc-3ac98171d69c" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="95" y="2" width="120" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{objectname}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="7fd7e2f0-7df3-4c7a-9ef8-4cbb0e79485a" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="465" y="2" width="150" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{site}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="d1bfe218-b60c-4cd9-aae6-0ea2a9de1b60" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="220" y="2" width="240" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="cbb7bb13-38c5-4943-822b-851dc5c0e61e" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="620" y="2" width="130" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{productionpeople}]]></textFieldExpression>
+ </textField>
+ </band>
+ </detail>
+ <columnFooter>
+ <band height="14" splitType="Stretch">
+ <line>
+ <reportElement uuid="07724d84-7837-4f5a-9e36-3868854ca40e" positionType="FixRelativeToBottom" x="0" y="7" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ </band>
+ </columnFooter>
+ <pageFooter>
+ <band height="22" splitType="Stretch">
+ <textField>
+ <reportElement uuid="07372a6b-10f3-46f9-90af-00219d63d73b" style="Column header" x="316" y="3" width="80" height="18"/>
+ <textElement textAlignment="Right">
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
+ </textField>
+ <textField evaluationTime="Report">
+ <reportElement uuid="d64e5229-e7ff-4bee-bbaa-36efd809998f" style="Column header" x="396" y="3" width="40" height="18"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
+ </textField>
+ <textField pattern="EEEEE dd MMMMM yyyy">
+ <reportElement uuid="3d1a9a39-7e7a-4ffb-b991-c5a468b58d92" style="Column header" x="0" y="3" width="197" height="18"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
+ </textField>
+ <image onErrorType="Icon">
+ <reportElement uuid="92d4e522-3d77-4464-85f0-face1a366667" x="629" y="2" width="120" height="20"/>
+ <imageExpression><![CDATA["https://pahma.cspace.berkeley.edu/collectionspace/ui/pahma/images/header-logo-cspace.png"]]></imageExpression>
+ </image>
+ <staticText>
+ <reportElement uuid="508adf6d-5e27-489d-b869-f859f4ca2b02" x="550" y="1" width="70" height="17"/>
+ <textElement textAlignment="Right" verticalAlignment="Middle">
+ <font size="12"/>
+ </textElement>
+ <text><![CDATA[powered by]]></text>
+ </staticText>
+ </band>
+ </pageFooter>
+ <summary>
+ <band splitType="Stretch"/>
+ </summary>
+</jasperReport>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="object" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="08c07c03-a97f-496c-ba55-729ff2d71763">\r
- <property name="ireport.zoom" value="1.0"/>\r
- <property name="ireport.x" value="0"/>\r
- <property name="ireport.y" value="0"/>\r
- <style name="Title" fontName="SansSerif" fontSize="26" isBold="true" pdfFontName="Helvetica-Bold"/>\r
- <style name="SubTitle" forecolor="#666666" fontName="SansSerif" fontSize="18"/>\r
- <style name="Column header" forecolor="#666666" fontName="SansSerif" fontSize="12" isBold="true"/>\r
- <style name="Detail" fontName="SansSerif" fontSize="12"/>\r
- <parameter name="tenantid" class="java.lang.String" isForPrompting="false">\r
- <defaultValueExpression><![CDATA[15]]></defaultValueExpression>\r
- </parameter>\r
- <parameter name="csid" class="java.lang.String">\r
- <defaultValueExpression><![CDATA["a024db12-84c6-45b1-889f"]]></defaultValueExpression>\r
- </parameter>\r
- <queryString>\r
- <![CDATA[SELECT\r
-loc.loanoutnumber loanOutNumber,\r
-case when (loc.borrower is not null and loc.borrower <> '') then\r
- regexp_replace(loc.borrower, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end AS borrower,\r
-loc.loanOutDate loanOutDate,\r
-loc.loanReturnDate loanReturnDate,\r
-loc.loanOutNote loanOutNote,\r
-h1.name AS "csid",\r
-co.objectnumber AS "objectnumber",\r
-case when (co.fieldcollectionplace is not null and co.fieldcollectionplace <> '') then\r
- regexp_replace(co.fieldcollectionplace , '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end AS site,\r
-ong.objectName AS "objectname",\r
-case when (bd.item is not null and bd.item <> '') then\r
- regexp_replace(bd.item, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end AS description,\r
-case when (oppp.objectproductionpeople is not null and oppp.objectproductionpeople <> '') then\r
- regexp_replace(oppp.objectproductionpeople, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end as productionpeople\r
-FROM loansout_common loc\r
-JOIN hierarchy h1 ON (loc.id=h1.id)\r
-LEFT OUTER JOIN relations_common rc1 ON (h1.name=rc1.subjectcsid)\r
-LEFT OUTER JOIN hierarchy h2 ON (rc1.objectcsid=h2.name)\r
-LEFT OUTER JOIN collectionobjects_common co ON (h2.id=co.id)\r
-\r
-LEFT OUTER JOIN hierarchy h3 ON (co.id = h3.parentid AND h3.primarytype='objectNameGroup' AND h3.pos=0)\r
-LEFT OUTER JOIN objectnamegroup ong ON (ong.id=h3.id)\r
-\r
-LEFT OUTER JOIN collectionobjects_common_briefdescriptions bd ON (bd.id=co.id and bd.pos=0)\r
-\r
-left outer join hierarchy h4 on (co.id=h4.parentid and h4.pos=0 and h4.name='collectionobjects_common:objectProductionPeopleGroupList')\r
-left outer join objectproductionpeoplegroup oppp on (oppp.id=h4.id)\r
-\r
-WHERE rc1.subjectcsid = $P{csid}\r
-\r
-ORDER BY objectnumber]]>\r
- </queryString>\r
- <field name="loanoutnumber" class="java.lang.String"/>\r
- <field name="borrower" class="java.lang.String"/>\r
- <field name="loanoutdate" class="java.sql.Timestamp"/>\r
- <field name="loanreturndate" class="java.sql.Timestamp"/>\r
- <field name="loanoutnote" class="java.lang.String"/>\r
- <field name="csid" class="java.lang.String"/>\r
- <field name="objectnumber" class="java.lang.String"/>\r
- <field name="site" class="java.lang.String"/>\r
- <field name="objectname" class="java.lang.String"/>\r
- <field name="description" class="java.lang.String"/>\r
- <field name="productionpeople" class="java.lang.String"/>\r
- <background>\r
- <band splitType="Stretch"/>\r
- </background>\r
- <title>\r
- <band height="105" splitType="Stretch">\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="84aa8fff-608d-4c31-a918-14b813036fd7" style="SubTitle" stretchType="RelativeToTallestObject" x="147" y="45" width="279" height="20" forecolor="#000000" backcolor="#FFFFFF"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{loanoutnumber}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="7fbe9d26-6c00-4726-a25a-9a448f2d9898" style="Detail" stretchType="RelativeToTallestObject" x="147" y="65" width="279" height="20" backcolor="#CCCCCC"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="14" isItalic="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{borrower}]]></textFieldExpression>\r
- </textField>\r
- <staticText>\r
- <reportElement uuid="69990504-b50a-48e9-88fc-19a1010bbae4" x="0" y="0" width="263" height="30"/>\r
- <textElement verticalAlignment="Middle">\r
- <font fontName="SansSerif" size="18" isBold="true"/>\r
- </textElement>\r
- <text><![CDATA[Out Loan Objects]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="aa379c82-d45d-472b-931b-e47449ccab67" x="0" y="45" width="145" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Out loan number:]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="7299d92b-a300-49fb-a9f9-1f53061ab771" x="0" y="65" width="145" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Borrower:]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="636b93e7-e887-40bf-8632-2039a5c90f9e" x="0" y="85" width="125" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Loan out date:]]></text>\r
- </staticText>\r
- <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true">\r
- <reportElement uuid="876d47ba-b950-4827-9458-f9293d350644" x="125" y="85" width="115" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{loanoutdate}]]></textFieldExpression>\r
- </textField>\r
- <staticText>\r
- <reportElement uuid="ec7da350-157b-4236-b010-4f65f10e1c99" x="245" y="85" width="110" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Return date:]]></text>\r
- </staticText>\r
- <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true">\r
- <reportElement uuid="9cce7312-940d-4770-90ad-94b774907345" x="355" y="85" width="115" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{loanreturndate}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="789354c3-9bd8-4783-a496-76f844d39164" x="480" y="45" width="270" height="60"/>\r
- <textElement>\r
- <font size="12"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{loanoutnote}]]></textFieldExpression>\r
- </textField>\r
- </band>\r
- </title>\r
- <pageHeader>\r
- <band splitType="Stretch"/>\r
- </pageHeader>\r
- <columnHeader>\r
- <band height="22" splitType="Stretch">\r
- <line>\r
- <reportElement uuid="1ce943ae-cab4-4309-8e47-305d860c1690" positionType="FixRelativeToBottom" x="0" y="20" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- <staticText>\r
- <reportElement uuid="92a14667-488b-4088-a178-3b8c005e0932" style="Column header" stretchType="RelativeToTallestObject" x="1" y="2" width="90" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Identification #]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="9865ca77-7ebc-4103-a359-9ed1e9902c36" style="Column header" stretchType="RelativeToTallestObject" x="95" y="2" width="120" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Object name]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="2bd24c32-4992-4087-9f7a-326cb0445e52" style="Column header" stretchType="RelativeToTallestObject" x="220" y="2" width="240" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Brief description]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="6a1a1a95-9170-4e2f-9d39-5fad0b499eea" style="Column header" stretchType="RelativeToTallestObject" x="465" y="2" width="150" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Field collection place ]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="60d214ef-d17c-4ceb-86de-b9f7a0c5119e" style="Column header" stretchType="RelativeToTallestObject" x="620" y="2" width="130" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Production people]]></text>\r
- </staticText>\r
- <line>\r
- <reportElement uuid="bd80f668-c43d-4f65-ab98-e3a612201ac9" x="0" y="0" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- </band>\r
- </columnHeader>\r
- <detail>\r
- <band height="18" splitType="Stretch">\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="7cabe161-1233-454c-a786-a51931ff9aa8" style="Detail" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="2" width="90" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{objectnumber}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="3919b36e-e625-4915-9fcc-3ac98171d69c" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="95" y="2" width="120" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{objectname}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="7fd7e2f0-7df3-4c7a-9ef8-4cbb0e79485a" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="465" y="2" width="150" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{site}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="d1bfe218-b60c-4cd9-aae6-0ea2a9de1b60" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="220" y="2" width="240" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="cbb7bb13-38c5-4943-822b-851dc5c0e61e" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="620" y="2" width="130" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{productionpeople}]]></textFieldExpression>\r
- </textField>\r
- </band>\r
- </detail>\r
- <columnFooter>\r
- <band height="14" splitType="Stretch">\r
- <line>\r
- <reportElement uuid="07724d84-7837-4f5a-9e36-3868854ca40e" positionType="FixRelativeToBottom" x="0" y="7" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- </band>\r
- </columnFooter>\r
- <pageFooter>\r
- <band height="22" splitType="Stretch">\r
- <textField>\r
- <reportElement uuid="07372a6b-10f3-46f9-90af-00219d63d73b" style="Column header" x="316" y="3" width="80" height="18"/>\r
- <textElement textAlignment="Right">\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>\r
- </textField>\r
- <textField evaluationTime="Report">\r
- <reportElement uuid="d64e5229-e7ff-4bee-bbaa-36efd809998f" style="Column header" x="396" y="3" width="40" height="18"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>\r
- </textField>\r
- <textField pattern="EEEEE dd MMMMM yyyy">\r
- <reportElement uuid="3d1a9a39-7e7a-4ffb-b991-c5a468b58d92" style="Column header" x="0" y="3" width="197" height="18"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>\r
- </textField>\r
- <image onErrorType="Icon">\r
- <reportElement uuid="92d4e522-3d77-4464-85f0-face1a366667" x="629" y="2" width="120" height="20"/>\r
- <imageExpression><![CDATA["https://pahma.cspace.berkeley.edu/collectionspace/ui/pahma/images/header-logo-cspace.png"]]></imageExpression>\r
- </image>\r
- <staticText>\r
- <reportElement uuid="508adf6d-5e27-489d-b869-f859f4ca2b02" x="550" y="1" width="70" height="17"/>\r
- <textElement textAlignment="Right" verticalAlignment="Middle">\r
- <font size="12"/>\r
- </textElement>\r
- <text><![CDATA[powered by]]></text>\r
- </staticText>\r
- </band>\r
- </pageFooter>\r
- <summary>\r
- <band splitType="Stretch"/>\r
- </summary>\r
-</jasperReport>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="object" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="08c07c03-a97f-496c-ba55-729ff2d71763">
+ <property name="ireport.zoom" value="1.0"/>
+ <property name="ireport.x" value="0"/>
+ <property name="ireport.y" value="0"/>
+ <style name="Title" fontName="SansSerif" fontSize="26" isBold="true" pdfFontName="Helvetica-Bold"/>
+ <style name="SubTitle" forecolor="#666666" fontName="SansSerif" fontSize="18"/>
+ <style name="Column header" forecolor="#666666" fontName="SansSerif" fontSize="12" isBold="true"/>
+ <style name="Detail" fontName="SansSerif" fontSize="12"/>
+ <parameter name="tenantid" class="java.lang.String" isForPrompting="false">
+ <defaultValueExpression><![CDATA[15]]></defaultValueExpression>
+ </parameter>
+ <parameter name="csid" class="java.lang.String">
+ <defaultValueExpression><![CDATA["a024db12-84c6-45b1-889f"]]></defaultValueExpression>
+ </parameter>
+ <queryString>
+ <![CDATA[SELECT
+loc.loanoutnumber loanOutNumber,
+case when (loc.borrower is not null and loc.borrower <> '') then
+ regexp_replace(loc.borrower, '^.*\)''(.*)''$', '\1')
+ else ''
+end AS borrower,
+loc.loanOutDate loanOutDate,
+loc.loanReturnDate loanReturnDate,
+loc.loanOutNote loanOutNote,
+h1.name AS "csid",
+co.objectnumber AS "objectnumber",
+case when (co.fieldcollectionplace is not null and co.fieldcollectionplace <> '') then
+ regexp_replace(co.fieldcollectionplace , '^.*\)''(.*)''$', '\1')
+ else ''
+end AS site,
+ong.objectName AS "objectname",
+case when (bd.item is not null and bd.item <> '') then
+ regexp_replace(bd.item, '^.*\)''(.*)''$', '\1')
+ else ''
+end AS description,
+case when (oppp.objectproductionpeople is not null and oppp.objectproductionpeople <> '') then
+ regexp_replace(oppp.objectproductionpeople, '^.*\)''(.*)''$', '\1')
+ else ''
+end as productionpeople
+FROM loansout_common loc
+JOIN hierarchy h1 ON (loc.id=h1.id)
+LEFT OUTER JOIN relations_common rc1 ON (h1.name=rc1.subjectcsid)
+LEFT OUTER JOIN hierarchy h2 ON (rc1.objectcsid=h2.name)
+LEFT OUTER JOIN collectionobjects_common co ON (h2.id=co.id)
+
+LEFT OUTER JOIN hierarchy h3 ON (co.id = h3.parentid AND h3.primarytype='objectNameGroup' AND h3.pos=0)
+LEFT OUTER JOIN objectnamegroup ong ON (ong.id=h3.id)
+
+LEFT OUTER JOIN collectionobjects_common_briefdescriptions bd ON (bd.id=co.id and bd.pos=0)
+
+left outer join hierarchy h4 on (co.id=h4.parentid and h4.pos=0 and h4.name='collectionobjects_common:objectProductionPeopleGroupList')
+left outer join objectproductionpeoplegroup oppp on (oppp.id=h4.id)
+
+WHERE rc1.subjectcsid = $P{csid}
+
+ORDER BY objectnumber]]>
+ </queryString>
+ <field name="loanoutnumber" class="java.lang.String"/>
+ <field name="borrower" class="java.lang.String"/>
+ <field name="loanoutdate" class="java.sql.Timestamp"/>
+ <field name="loanreturndate" class="java.sql.Timestamp"/>
+ <field name="loanoutnote" class="java.lang.String"/>
+ <field name="csid" class="java.lang.String"/>
+ <field name="objectnumber" class="java.lang.String"/>
+ <field name="site" class="java.lang.String"/>
+ <field name="objectname" class="java.lang.String"/>
+ <field name="description" class="java.lang.String"/>
+ <field name="productionpeople" class="java.lang.String"/>
+ <background>
+ <band splitType="Stretch"/>
+ </background>
+ <title>
+ <band height="105" splitType="Stretch">
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="84aa8fff-608d-4c31-a918-14b813036fd7" style="SubTitle" stretchType="RelativeToTallestObject" x="147" y="45" width="279" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
+ <textElement>
+ <font fontName="SansSerif" size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{loanoutnumber}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="7fbe9d26-6c00-4726-a25a-9a448f2d9898" style="Detail" stretchType="RelativeToTallestObject" x="147" y="65" width="279" height="20" backcolor="#CCCCCC"/>
+ <textElement>
+ <font fontName="SansSerif" size="14" isItalic="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{borrower}]]></textFieldExpression>
+ </textField>
+ <staticText>
+ <reportElement uuid="69990504-b50a-48e9-88fc-19a1010bbae4" x="0" y="0" width="263" height="30"/>
+ <textElement verticalAlignment="Middle">
+ <font fontName="SansSerif" size="18" isBold="true"/>
+ </textElement>
+ <text><![CDATA[Out Loan Objects]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="aa379c82-d45d-472b-931b-e47449ccab67" x="0" y="45" width="145" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Out loan number:]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="7299d92b-a300-49fb-a9f9-1f53061ab771" x="0" y="65" width="145" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Borrower:]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="636b93e7-e887-40bf-8632-2039a5c90f9e" x="0" y="85" width="125" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Loan out date:]]></text>
+ </staticText>
+ <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true">
+ <reportElement uuid="876d47ba-b950-4827-9458-f9293d350644" x="125" y="85" width="115" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{loanoutdate}]]></textFieldExpression>
+ </textField>
+ <staticText>
+ <reportElement uuid="ec7da350-157b-4236-b010-4f65f10e1c99" x="245" y="85" width="110" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Return date:]]></text>
+ </staticText>
+ <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true">
+ <reportElement uuid="9cce7312-940d-4770-90ad-94b774907345" x="355" y="85" width="115" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{loanreturndate}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="789354c3-9bd8-4783-a496-76f844d39164" x="480" y="45" width="270" height="60"/>
+ <textElement>
+ <font size="12"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{loanoutnote}]]></textFieldExpression>
+ </textField>
+ </band>
+ </title>
+ <pageHeader>
+ <band splitType="Stretch"/>
+ </pageHeader>
+ <columnHeader>
+ <band height="22" splitType="Stretch">
+ <line>
+ <reportElement uuid="1ce943ae-cab4-4309-8e47-305d860c1690" positionType="FixRelativeToBottom" x="0" y="20" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ <staticText>
+ <reportElement uuid="92a14667-488b-4088-a178-3b8c005e0932" style="Column header" stretchType="RelativeToTallestObject" x="1" y="2" width="90" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Identification #]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="9865ca77-7ebc-4103-a359-9ed1e9902c36" style="Column header" stretchType="RelativeToTallestObject" x="95" y="2" width="120" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Object name]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="2bd24c32-4992-4087-9f7a-326cb0445e52" style="Column header" stretchType="RelativeToTallestObject" x="220" y="2" width="240" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Brief description]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="6a1a1a95-9170-4e2f-9d39-5fad0b499eea" style="Column header" stretchType="RelativeToTallestObject" x="465" y="2" width="150" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Field collection place ]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="60d214ef-d17c-4ceb-86de-b9f7a0c5119e" style="Column header" stretchType="RelativeToTallestObject" x="620" y="2" width="130" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Production people]]></text>
+ </staticText>
+ <line>
+ <reportElement uuid="bd80f668-c43d-4f65-ab98-e3a612201ac9" x="0" y="0" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ </band>
+ </columnHeader>
+ <detail>
+ <band height="18" splitType="Stretch">
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="7cabe161-1233-454c-a786-a51931ff9aa8" style="Detail" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="2" width="90" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{objectnumber}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="3919b36e-e625-4915-9fcc-3ac98171d69c" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="95" y="2" width="120" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{objectname}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="7fd7e2f0-7df3-4c7a-9ef8-4cbb0e79485a" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="465" y="2" width="150" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{site}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="d1bfe218-b60c-4cd9-aae6-0ea2a9de1b60" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="220" y="2" width="240" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="cbb7bb13-38c5-4943-822b-851dc5c0e61e" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="620" y="2" width="130" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{productionpeople}]]></textFieldExpression>
+ </textField>
+ </band>
+ </detail>
+ <columnFooter>
+ <band height="14" splitType="Stretch">
+ <line>
+ <reportElement uuid="07724d84-7837-4f5a-9e36-3868854ca40e" positionType="FixRelativeToBottom" x="0" y="7" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ </band>
+ </columnFooter>
+ <pageFooter>
+ <band height="22" splitType="Stretch">
+ <textField>
+ <reportElement uuid="07372a6b-10f3-46f9-90af-00219d63d73b" style="Column header" x="316" y="3" width="80" height="18"/>
+ <textElement textAlignment="Right">
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
+ </textField>
+ <textField evaluationTime="Report">
+ <reportElement uuid="d64e5229-e7ff-4bee-bbaa-36efd809998f" style="Column header" x="396" y="3" width="40" height="18"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
+ </textField>
+ <textField pattern="EEEEE dd MMMMM yyyy">
+ <reportElement uuid="3d1a9a39-7e7a-4ffb-b991-c5a468b58d92" style="Column header" x="0" y="3" width="197" height="18"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
+ </textField>
+ <image onErrorType="Icon">
+ <reportElement uuid="92d4e522-3d77-4464-85f0-face1a366667" x="629" y="2" width="120" height="20"/>
+ <imageExpression><![CDATA["https://pahma.cspace.berkeley.edu/collectionspace/ui/pahma/images/header-logo-cspace.png"]]></imageExpression>
+ </image>
+ <staticText>
+ <reportElement uuid="508adf6d-5e27-489d-b869-f859f4ca2b02" x="550" y="1" width="70" height="17"/>
+ <textElement textAlignment="Right" verticalAlignment="Middle">
+ <font size="12"/>
+ </textElement>
+ <text><![CDATA[powered by]]></text>
+ </staticText>
+ </band>
+ </pageFooter>
+ <summary>
+ <band splitType="Stretch"/>
+ </summary>
+</jasperReport>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="object" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="08c07c03-a97f-496c-ba55-729ff2d71763">\r
- <property name="ireport.zoom" value="1.0"/>\r
- <property name="ireport.x" value="0"/>\r
- <property name="ireport.y" value="0"/>\r
- <style name="Title" fontName="SansSerif" fontSize="26" isBold="true" pdfFontName="Helvetica-Bold"/>\r
- <style name="SubTitle" forecolor="#666666" fontName="SansSerif" fontSize="18"/>\r
- <style name="Column header" forecolor="#666666" fontName="SansSerif" fontSize="12" isBold="true"/>\r
- <style name="Detail" fontName="SansSerif" fontSize="12"/>\r
- <parameter name="tenantid" class="java.lang.String" isForPrompting="false">\r
- <defaultValueExpression><![CDATA[15]]></defaultValueExpression>\r
- </parameter>\r
- <parameter name="csid" class="java.lang.String">\r
- <defaultValueExpression><![CDATA["84248e96-d55f-49e6-a32a"]]></defaultValueExpression>\r
- </parameter>\r
- <queryString>\r
- <![CDATA[SELECT\r
-oec.exitnumber exitNumber,\r
-oec.exitnote exitNote,\r
-dg.dateDisplayDate AS "exitdate",\r
-case when (oec.currentOwner is not null and oec.currentOwner <> '') then\r
- regexp_replace(oec.currentOwner , '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end AS owner,\r
-h1.name AS "csid",\r
-co.objectnumber AS "objectnumber",\r
-case when (co.fieldcollectionplace is not null and co.fieldcollectionplace <> '') then\r
- regexp_replace(co.fieldcollectionplace , '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end AS site,\r
--- co.fieldcollectionnote fieldcollectionnote,\r
-ong.objectName AS "objectname",\r
-case when (bd.item is not null and bd.item <> '') then\r
- regexp_replace(bd.item, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end AS description,\r
-case when (oppp.objectproductionpeople is not null and oppp.objectproductionpeople <> '') then\r
- regexp_replace(oppp.objectproductionpeople, '^.*\)''(.*)''$', '\1')\r
- else ''\r
-end as productionpeople\r
-\r
-FROM objectexit_common oec\r
-JOIN hierarchy h1 ON (oec.id=h1.id)\r
-LEFT OUTER JOIN relations_common rc1 ON (h1.name=rc1.subjectcsid)\r
-LEFT OUTER JOIN hierarchy h2 ON (rc1.objectcsid=h2.name)\r
-LEFT OUTER JOIN collectionobjects_common co ON (h2.id=co.id)\r
-\r
-LEFT OUTER JOIN hierarchy h3 ON (co.id = h3.parentid AND h3.primarytype='objectNameGroup' AND h3.pos=0)\r
-LEFT OUTER JOIN objectnamegroup ong ON (ong.id=h3.id)\r
-\r
-LEFT OUTER JOIN collectionobjects_common_briefdescriptions bd ON (bd.id=co.id and bd.pos=0)\r
-\r
-left outer join hierarchy h4 on (co.id=h4.parentid and h4.pos=0 and h4.name='collectionobjects_common:objectProductionPeopleGroupList')\r
-left outer join objectproductionpeoplegroup oppp on (oppp.id=h4.id)\r
-left outer join hierarchy h5 on (oec.id=h5.parentid and h5.name='objectexit_common:exitDateGroup')\r
-left outer join structureddategroup dg on (dg.id=h5.id)\r
-\r
-WHERE rc1.subjectcsid = $P{csid}\r
-\r
-ORDER BY objectnumber]]>\r
- </queryString>\r
- <field name="exitnumber" class="java.lang.String"/>\r
- <field name="exitnote" class="java.lang.String"/>\r
- <field name="exitdate" class="java.lang.String"/>\r
- <field name="owner" class="java.lang.String"/>\r
- <field name="csid" class="java.lang.String"/>\r
- <field name="objectnumber" class="java.lang.String"/>\r
- <field name="site" class="java.lang.String"/>\r
- <field name="objectname" class="java.lang.String"/>\r
- <field name="description" class="java.lang.String"/>\r
- <field name="productionpeople" class="java.lang.String"/>\r
- <background>\r
- <band splitType="Stretch"/>\r
- </background>\r
- <title>\r
- <band height="105" splitType="Stretch">\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="84aa8fff-608d-4c31-a918-14b813036fd7" style="SubTitle" stretchType="RelativeToTallestObject" x="112" y="45" width="200" height="20" forecolor="#000000" backcolor="#FFFFFF"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{exitnumber}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="7fbe9d26-6c00-4726-a25a-9a448f2d9898" style="Detail" stretchType="RelativeToTallestObject" x="390" y="45" width="362" height="60" backcolor="#CCCCCC"/>\r
- <textElement>\r
- <font fontName="SansSerif" isItalic="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{exitnote}]]></textFieldExpression>\r
- </textField>\r
- <staticText>\r
- <reportElement uuid="69990504-b50a-48e9-88fc-19a1010bbae4" x="0" y="0" width="263" height="30"/>\r
- <textElement verticalAlignment="Middle">\r
- <font fontName="SansSerif" size="18" isBold="true"/>\r
- </textElement>\r
- <text><![CDATA[Object Exit Report]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="da483779-b28f-46c4-a3f0-f31ce1ea71c3" stretchType="RelativeToTallestObject" x="0" y="45" width="110" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Exit number:]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="d44cb9fb-57dd-42f1-bdc4-d786eb7c52b2" stretchType="RelativeToTallestObject" x="0" y="85" width="110" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Owner:]]></text>\r
- </staticText>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="b2375c1b-71fc-4acb-bed1-f9e939debb6d" stretchType="RelativeToTallestObject" x="112" y="85" width="273" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{owner}]]></textFieldExpression>\r
- </textField>\r
- <staticText>\r
- <reportElement uuid="2c38b8f6-d99b-4c15-bc3d-73d717e319a2" stretchType="RelativeToTallestObject" x="0" y="65" width="110" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <text><![CDATA[Exit date:]]></text>\r
- </staticText>\r
- <textField>\r
- <reportElement uuid="30f0df12-71e2-440b-9eca-b29a264af06c" stretchType="RelativeToTallestObject" x="112" y="65" width="200" height="20"/>\r
- <textElement>\r
- <font size="14"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{exitdate}]]></textFieldExpression>\r
- </textField>\r
- </band>\r
- </title>\r
- <pageHeader>\r
- <band splitType="Stretch"/>\r
- </pageHeader>\r
- <columnHeader>\r
- <band height="22" splitType="Stretch">\r
- <line>\r
- <reportElement uuid="1ce943ae-cab4-4309-8e47-305d860c1690" positionType="FixRelativeToBottom" x="0" y="20" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- <staticText>\r
- <reportElement uuid="92a14667-488b-4088-a178-3b8c005e0932" style="Column header" stretchType="RelativeToTallestObject" x="1" y="2" width="90" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Identification #]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="9865ca77-7ebc-4103-a359-9ed1e9902c36" style="Column header" stretchType="RelativeToTallestObject" x="95" y="2" width="120" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Object name]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="2bd24c32-4992-4087-9f7a-326cb0445e52" style="Column header" stretchType="RelativeToTallestObject" x="220" y="2" width="240" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Brief description]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="6a1a1a95-9170-4e2f-9d39-5fad0b499eea" style="Column header" stretchType="RelativeToTallestObject" x="465" y="2" width="150" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Field collection place ]]></text>\r
- </staticText>\r
- <staticText>\r
- <reportElement uuid="60d214ef-d17c-4ceb-86de-b9f7a0c5119e" style="Column header" stretchType="RelativeToTallestObject" x="620" y="2" width="130" height="15"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <text><![CDATA[Production people]]></text>\r
- </staticText>\r
- <line>\r
- <reportElement uuid="bd80f668-c43d-4f65-ab98-e3a612201ac9" x="0" y="0" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- </band>\r
- </columnHeader>\r
- <detail>\r
- <band height="18" splitType="Stretch">\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="7cabe161-1233-454c-a786-a51931ff9aa8" style="Detail" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="2" width="90" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{objectnumber}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="3919b36e-e625-4915-9fcc-3ac98171d69c" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="95" y="2" width="120" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{objectname}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="7fd7e2f0-7df3-4c7a-9ef8-4cbb0e79485a" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="465" y="2" width="150" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{site}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="d1bfe218-b60c-4cd9-aae6-0ea2a9de1b60" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="220" y="2" width="240" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>\r
- </textField>\r
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">\r
- <reportElement uuid="cbb7bb13-38c5-4943-822b-851dc5c0e61e" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="620" y="2" width="130" height="16"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="9"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[$F{productionpeople}]]></textFieldExpression>\r
- </textField>\r
- </band>\r
- </detail>\r
- <columnFooter>\r
- <band height="14" splitType="Stretch">\r
- <line>\r
- <reportElement uuid="07724d84-7837-4f5a-9e36-3868854ca40e" positionType="FixRelativeToBottom" x="0" y="7" width="752" height="1"/>\r
- <graphicElement>\r
- <pen lineWidth="0.5" lineColor="#999999"/>\r
- </graphicElement>\r
- </line>\r
- </band>\r
- </columnFooter>\r
- <pageFooter>\r
- <band height="22" splitType="Stretch">\r
- <textField>\r
- <reportElement uuid="07372a6b-10f3-46f9-90af-00219d63d73b" style="Column header" x="316" y="3" width="80" height="18"/>\r
- <textElement textAlignment="Right">\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>\r
- </textField>\r
- <textField evaluationTime="Report">\r
- <reportElement uuid="d64e5229-e7ff-4bee-bbaa-36efd809998f" style="Column header" x="396" y="3" width="40" height="18"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>\r
- </textField>\r
- <textField pattern="EEEEE dd MMMMM yyyy">\r
- <reportElement uuid="3d1a9a39-7e7a-4ffb-b991-c5a468b58d92" style="Column header" x="0" y="3" width="197" height="18"/>\r
- <textElement>\r
- <font fontName="SansSerif" size="10" isBold="false"/>\r
- </textElement>\r
- <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>\r
- </textField>\r
- <image onErrorType="Icon">\r
- <reportElement uuid="92d4e522-3d77-4464-85f0-face1a366667" x="629" y="2" width="120" height="20"/>\r
- <imageExpression><![CDATA["https://pahma.cspace.berkeley.edu/collectionspace/ui/pahma/images/header-logo-cspace.png"]]></imageExpression>\r
- </image>\r
- <staticText>\r
- <reportElement uuid="508adf6d-5e27-489d-b869-f859f4ca2b02" x="550" y="1" width="70" height="17"/>\r
- <textElement textAlignment="Right" verticalAlignment="Middle">\r
- <font size="12"/>\r
- </textElement>\r
- <text><![CDATA[powered by]]></text>\r
- </staticText>\r
- </band>\r
- </pageFooter>\r
- <summary>\r
- <band splitType="Stretch"/>\r
- </summary>\r
-</jasperReport>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="object" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="08c07c03-a97f-496c-ba55-729ff2d71763">
+ <property name="ireport.zoom" value="1.0"/>
+ <property name="ireport.x" value="0"/>
+ <property name="ireport.y" value="0"/>
+ <style name="Title" fontName="SansSerif" fontSize="26" isBold="true" pdfFontName="Helvetica-Bold"/>
+ <style name="SubTitle" forecolor="#666666" fontName="SansSerif" fontSize="18"/>
+ <style name="Column header" forecolor="#666666" fontName="SansSerif" fontSize="12" isBold="true"/>
+ <style name="Detail" fontName="SansSerif" fontSize="12"/>
+ <parameter name="tenantid" class="java.lang.String" isForPrompting="false">
+ <defaultValueExpression><![CDATA[15]]></defaultValueExpression>
+ </parameter>
+ <parameter name="csid" class="java.lang.String">
+ <defaultValueExpression><![CDATA["84248e96-d55f-49e6-a32a"]]></defaultValueExpression>
+ </parameter>
+ <queryString>
+ <![CDATA[SELECT
+oec.exitnumber exitNumber,
+oec.exitnote exitNote,
+dg.dateDisplayDate AS "exitdate",
+case when (oec.currentOwner is not null and oec.currentOwner <> '') then
+ regexp_replace(oec.currentOwner , '^.*\)''(.*)''$', '\1')
+ else ''
+end AS owner,
+h1.name AS "csid",
+co.objectnumber AS "objectnumber",
+case when (co.fieldcollectionplace is not null and co.fieldcollectionplace <> '') then
+ regexp_replace(co.fieldcollectionplace , '^.*\)''(.*)''$', '\1')
+ else ''
+end AS site,
+-- co.fieldcollectionnote fieldcollectionnote,
+ong.objectName AS "objectname",
+case when (bd.item is not null and bd.item <> '') then
+ regexp_replace(bd.item, '^.*\)''(.*)''$', '\1')
+ else ''
+end AS description,
+case when (oppp.objectproductionpeople is not null and oppp.objectproductionpeople <> '') then
+ regexp_replace(oppp.objectproductionpeople, '^.*\)''(.*)''$', '\1')
+ else ''
+end as productionpeople
+
+FROM objectexit_common oec
+JOIN hierarchy h1 ON (oec.id=h1.id)
+LEFT OUTER JOIN relations_common rc1 ON (h1.name=rc1.subjectcsid)
+LEFT OUTER JOIN hierarchy h2 ON (rc1.objectcsid=h2.name)
+LEFT OUTER JOIN collectionobjects_common co ON (h2.id=co.id)
+
+LEFT OUTER JOIN hierarchy h3 ON (co.id = h3.parentid AND h3.primarytype='objectNameGroup' AND h3.pos=0)
+LEFT OUTER JOIN objectnamegroup ong ON (ong.id=h3.id)
+
+LEFT OUTER JOIN collectionobjects_common_briefdescriptions bd ON (bd.id=co.id and bd.pos=0)
+
+left outer join hierarchy h4 on (co.id=h4.parentid and h4.pos=0 and h4.name='collectionobjects_common:objectProductionPeopleGroupList')
+left outer join objectproductionpeoplegroup oppp on (oppp.id=h4.id)
+left outer join hierarchy h5 on (oec.id=h5.parentid and h5.name='objectexit_common:exitDateGroup')
+left outer join structureddategroup dg on (dg.id=h5.id)
+
+WHERE rc1.subjectcsid = $P{csid}
+
+ORDER BY objectnumber]]>
+ </queryString>
+ <field name="exitnumber" class="java.lang.String"/>
+ <field name="exitnote" class="java.lang.String"/>
+ <field name="exitdate" class="java.lang.String"/>
+ <field name="owner" class="java.lang.String"/>
+ <field name="csid" class="java.lang.String"/>
+ <field name="objectnumber" class="java.lang.String"/>
+ <field name="site" class="java.lang.String"/>
+ <field name="objectname" class="java.lang.String"/>
+ <field name="description" class="java.lang.String"/>
+ <field name="productionpeople" class="java.lang.String"/>
+ <background>
+ <band splitType="Stretch"/>
+ </background>
+ <title>
+ <band height="105" splitType="Stretch">
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="84aa8fff-608d-4c31-a918-14b813036fd7" style="SubTitle" stretchType="RelativeToTallestObject" x="112" y="45" width="200" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
+ <textElement>
+ <font fontName="SansSerif" size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{exitnumber}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="7fbe9d26-6c00-4726-a25a-9a448f2d9898" style="Detail" stretchType="RelativeToTallestObject" x="390" y="45" width="362" height="60" backcolor="#CCCCCC"/>
+ <textElement>
+ <font fontName="SansSerif" isItalic="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{exitnote}]]></textFieldExpression>
+ </textField>
+ <staticText>
+ <reportElement uuid="69990504-b50a-48e9-88fc-19a1010bbae4" x="0" y="0" width="263" height="30"/>
+ <textElement verticalAlignment="Middle">
+ <font fontName="SansSerif" size="18" isBold="true"/>
+ </textElement>
+ <text><![CDATA[Object Exit Report]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="da483779-b28f-46c4-a3f0-f31ce1ea71c3" stretchType="RelativeToTallestObject" x="0" y="45" width="110" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Exit number:]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="d44cb9fb-57dd-42f1-bdc4-d786eb7c52b2" stretchType="RelativeToTallestObject" x="0" y="85" width="110" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Owner:]]></text>
+ </staticText>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="b2375c1b-71fc-4acb-bed1-f9e939debb6d" stretchType="RelativeToTallestObject" x="112" y="85" width="273" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{owner}]]></textFieldExpression>
+ </textField>
+ <staticText>
+ <reportElement uuid="2c38b8f6-d99b-4c15-bc3d-73d717e319a2" stretchType="RelativeToTallestObject" x="0" y="65" width="110" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <text><![CDATA[Exit date:]]></text>
+ </staticText>
+ <textField>
+ <reportElement uuid="30f0df12-71e2-440b-9eca-b29a264af06c" stretchType="RelativeToTallestObject" x="112" y="65" width="200" height="20"/>
+ <textElement>
+ <font size="14"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{exitdate}]]></textFieldExpression>
+ </textField>
+ </band>
+ </title>
+ <pageHeader>
+ <band splitType="Stretch"/>
+ </pageHeader>
+ <columnHeader>
+ <band height="22" splitType="Stretch">
+ <line>
+ <reportElement uuid="1ce943ae-cab4-4309-8e47-305d860c1690" positionType="FixRelativeToBottom" x="0" y="20" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ <staticText>
+ <reportElement uuid="92a14667-488b-4088-a178-3b8c005e0932" style="Column header" stretchType="RelativeToTallestObject" x="1" y="2" width="90" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Identification #]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="9865ca77-7ebc-4103-a359-9ed1e9902c36" style="Column header" stretchType="RelativeToTallestObject" x="95" y="2" width="120" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Object name]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="2bd24c32-4992-4087-9f7a-326cb0445e52" style="Column header" stretchType="RelativeToTallestObject" x="220" y="2" width="240" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Brief description]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="6a1a1a95-9170-4e2f-9d39-5fad0b499eea" style="Column header" stretchType="RelativeToTallestObject" x="465" y="2" width="150" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Field collection place ]]></text>
+ </staticText>
+ <staticText>
+ <reportElement uuid="60d214ef-d17c-4ceb-86de-b9f7a0c5119e" style="Column header" stretchType="RelativeToTallestObject" x="620" y="2" width="130" height="15"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <text><![CDATA[Production people]]></text>
+ </staticText>
+ <line>
+ <reportElement uuid="bd80f668-c43d-4f65-ab98-e3a612201ac9" x="0" y="0" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ </band>
+ </columnHeader>
+ <detail>
+ <band height="18" splitType="Stretch">
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="7cabe161-1233-454c-a786-a51931ff9aa8" style="Detail" positionType="Float" stretchType="RelativeToTallestObject" x="0" y="2" width="90" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{objectnumber}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="3919b36e-e625-4915-9fcc-3ac98171d69c" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="95" y="2" width="120" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{objectname}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="7fd7e2f0-7df3-4c7a-9ef8-4cbb0e79485a" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="465" y="2" width="150" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{site}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="d1bfe218-b60c-4cd9-aae6-0ea2a9de1b60" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="220" y="2" width="240" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>
+ </textField>
+ <textField isStretchWithOverflow="true" isBlankWhenNull="true">
+ <reportElement uuid="cbb7bb13-38c5-4943-822b-851dc5c0e61e" style="Detail" stretchType="RelativeToTallestObject" mode="Transparent" x="620" y="2" width="130" height="16"/>
+ <textElement>
+ <font fontName="SansSerif" size="9"/>
+ </textElement>
+ <textFieldExpression><![CDATA[$F{productionpeople}]]></textFieldExpression>
+ </textField>
+ </band>
+ </detail>
+ <columnFooter>
+ <band height="14" splitType="Stretch">
+ <line>
+ <reportElement uuid="07724d84-7837-4f5a-9e36-3868854ca40e" positionType="FixRelativeToBottom" x="0" y="7" width="752" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineColor="#999999"/>
+ </graphicElement>
+ </line>
+ </band>
+ </columnFooter>
+ <pageFooter>
+ <band height="22" splitType="Stretch">
+ <textField>
+ <reportElement uuid="07372a6b-10f3-46f9-90af-00219d63d73b" style="Column header" x="316" y="3" width="80" height="18"/>
+ <textElement textAlignment="Right">
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
+ </textField>
+ <textField evaluationTime="Report">
+ <reportElement uuid="d64e5229-e7ff-4bee-bbaa-36efd809998f" style="Column header" x="396" y="3" width="40" height="18"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
+ </textField>
+ <textField pattern="EEEEE dd MMMMM yyyy">
+ <reportElement uuid="3d1a9a39-7e7a-4ffb-b991-c5a468b58d92" style="Column header" x="0" y="3" width="197" height="18"/>
+ <textElement>
+ <font fontName="SansSerif" size="10" isBold="false"/>
+ </textElement>
+ <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
+ </textField>
+ <image onErrorType="Icon">
+ <reportElement uuid="92d4e522-3d77-4464-85f0-face1a366667" x="629" y="2" width="120" height="20"/>
+ <imageExpression><![CDATA["https://pahma.cspace.berkeley.edu/collectionspace/ui/pahma/images/header-logo-cspace.png"]]></imageExpression>
+ </image>
+ <staticText>
+ <reportElement uuid="508adf6d-5e27-489d-b869-f859f4ca2b02" x="550" y="1" width="70" height="17"/>
+ <textElement textAlignment="Right" verticalAlignment="Middle">
+ <font size="12"/>
+ </textElement>
+ <text><![CDATA[powered by]]></text>
+ </staticText>
+ </band>
+ </pageFooter>
+ <summary>
+ <band splitType="Stretch"/>
+ </summary>
+</jasperReport>