Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/OrderDemoData.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/OrderDemoData.xml
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/OrderDemoData.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/PartyDemoData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/PartyDemoData.xml?rev=1823177&view=auto
==============================================================================
---
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/PartyDemoData.xml
(added)
+++
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/PartyDemoData.xml
Mon Feb 5 14:13:04 2018
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<entity-engine-xml>
+ <!-- Party Manager security -->
+ <SecurityGroup groupName="Party Admin" description="Party Admin group, has
all party permissions." groupId="PARTYADMIN"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="PARTYADMIN" permissionId="PARTYMGR_ADMIN"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="PARTYADMIN" permissionId="OFBTOOLS_VIEW"/>
+
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FULLADMIN" permissionId="PARTYMGR_ADMIN"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_CREATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_DELETE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_UPDATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_NOTE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_VIEW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_STS_UPDATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_GRP_UPDATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_REL_CREATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_REL_UPDATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_ROLE_CREATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_ROLE_DELETE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_PCM_CREATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_PCM_UPDATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_PCM_DELETE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_SRC_CREATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_CME_CREATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_CME_UPDATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="PARTYMGR_CME_DELETE"/>
+
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="VIEWADMIN" permissionId="PARTYMGR_VIEW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="VIEWADMIN" permissionId="PARTYMGR_NOTE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="BIZADMIN" permissionId="PARTYMGR_ADMIN"/>
+
+ <!-- Security Management security -->
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FULLADMIN" permissionId="SECURITY_ADMIN"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="SECURITY_CREATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="SECURITY_DELETE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="SECURITY_UPDATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="SECURITY_VIEW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="VIEWADMIN" permissionId="SECURITY_VIEW"/>
+
+ <SecurityGroup groupName="Security Admin" description="Security Admin
group, has all permissions to modify security settings in party manager."
groupId="SECURITYADMIN"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="SECURITYADMIN" permissionId="SECURITY_ADMIN"/>
+
+ <!-- allow admin and demo employee to read company EMail -->
+ <Party partyId="admin" statusId="PARTY_ENABLED"/>
+ <Party partyId="Company" statusId="PARTY_ENABLED"/>
+ <Party partyId="DemoEmployee" statusId="PARTY_ENABLED"/>
+ <PartyRole partyId="admin" roleTypeId="EMAIL_ADMIN"/>
+ <PartyRole partyId="Company" roleTypeId="_NA_"/>
+ <PartyRole partyId="DemoEmployee" roleTypeId="EMAIL_ADMIN"/>
+ <PartyStatus partyId="admin" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
+ <PartyStatus partyId="Company" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
+ <PartyStatus partyId="DemoEmployee" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
+ <PartyRelationship partyIdFrom="admin" roleTypeIdFrom="EMAIL_ADMIN"
partyIdTo="Company" roleTypeIdTo="_NA_" fromDate="2000-01-01 00:00:00"/>
+ <PartyRelationship partyIdFrom="DemoEmployee" roleTypeIdFrom="EMAIL_ADMIN"
partyIdTo="Company" roleTypeIdTo="_NA_" fromDate="2000-01-01 00:00:00"/>
+
+ <ContactMech contactMechId="admin" contactMechTypeId="EMAIL_ADDRESS"
infoString="[email protected]"/>
+ <PartyContactMech partyId="admin" contactMechId="admin"
fromDate="2003-01-01 00:00:00.0" allowSolicitation="Y"/>
+ <PartyContactMechPurpose contactMechPurposeTypeId="PRIMARY_EMAIL"
partyId="admin" contactMechId="admin" fromDate="2003-01-01 00:00:00.0"/>
+
+ <!-- Party Identification numbers-->
+ <Party partyId="DemoSupplier" statusId="PARTY_ENABLED"
partyTypeId="PARTY_GROUP"/>
+ <PartyGroup partyId="DemoSupplier" groupName="Demo Supplier"/>
+ <PartyRole partyId="DemoSupplier" roleTypeId="ACCOUNT"/>
+ <PartyRole partyId="DemoSupplier" roleTypeId="SUPPLIER"/>
+ <PartyRole partyId="DemoSupplier" roleTypeId="BILL_FROM_VENDOR"/>
+ <PartyRole partyId="DemoSupplier" roleTypeId="SHIP_FROM_VENDOR"/>
+ <PartyRole partyId="DemoSupplier" roleTypeId="SUPPLIER_AGENT"/>
+ <PartyStatus partyId="DemoSupplier" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
+ <ContactMech contactMechId="9001" contactMechTypeId="POSTAL_ADDRESS"/>
+ <PartyContactMech partyId="DemoSupplier" contactMechId="9001"
fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
+ <PostalAddress contactMechId="9001" toName="Demo Supplier Company"
address1="2004 Factory Blvd" city="City of Industry" postalCode="90000"
countryGeoId="USA" stateProvinceGeoId="CA"/>
+ <PartyContactMechPurpose partyId="DemoSupplier" contactMechId="9001"
contactMechPurposeTypeId="BILLING_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
+ <PartyContactMechPurpose partyId="DemoSupplier" contactMechId="9001"
contactMechPurposeTypeId="GENERAL_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
+ <PartyContactMechPurpose partyId="DemoSupplier" contactMechId="9001"
contactMechPurposeTypeId="PAYMENT_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
+ <UserLogin userLoginId="DemoSupplier"
currentPassword="{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a"
partyId="DemoSupplier"/>
+ <PartyIdentificationType partyIdentificationTypeId="CARD_ID"
description="Person card identification number"/>
+ <PartyIdentificationType partyIdentificationTypeId="SIRET"
description="French company identification number (SIRET)"/>
+ <PartyIdentification partyId="DemoSupplier"
partyIdentificationTypeId="SIRET" idValue="1234 5678 90123"/>
+
+ <Party partyId="AcctBigSupplier"/>
+
+ <!-- email from an unknown party -->
+ <CommunicationEvent communicationEventId="9000"
communicationEventTypeId="EMAIL_COMMUNICATION" statusId="COM_UNKNOWN_PARTY"
contactMechTypeId="EMAIL_ADDRESS" contactMechIdTo="admin" roleTypeIdFrom="_NA_"
roleTypeIdTo="_NA_" partyIdTo="admin" entryDate="2008-07-28 13:55:55.827"
datetimeStarted="2008-07-28 13:55:19.0" subject="Why i would use the OFBiz
system" contentMimeTypeId="text/plain" content="Every time i think of you, only
you...you are always on my mind......." note="Sent from: [email protected]; Sent
Name from: Jo Easy User; Sent to: [email protected]; Delivered-To:
[email protected]; " fromString="[email protected]"
toString="[email protected]"/>
+ <PartyRole partyId="admin" roleTypeId="ADDRESSEE"/>
+ <CommunicationEventRole communicationEventId="9000" partyId="admin"
roleTypeId="ADDRESSEE" contactMechId="admin" statusId="COM_ROLE_CREATED"/>
+
+ <!-- new registration notification -->
+ <EmailTemplateSetting emailTemplateSettingId="PARTY_REGISTER"
bodyScreenLocation="component://party/widget/partymgr/PartyScreens.xml#CreateUserNotification"
subject="New Account Created" bccAddress="[email protected]"
fromAddress="[email protected]"/>
+
+ <!-- make admin an employee of Company -->
+ <PartyRole partyId="admin" roleTypeId="CONTACT"/>
+ <PartyRole partyId="Company" roleTypeId="ACCOUNT"/>
+ <PartyRelationship partyIdFrom="Company" roleTypeIdFrom="ACCOUNT"
partyIdTo="admin" roleTypeIdTo="CONTACT" fromDate="2000-01-01 00:00:00.000"
partyRelationshipTypeId="EMPLOYMENT"/>
+
+</entity-engine-xml>
Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/PartyDemoData.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/PartyDemoData.xml
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/PartyDemoData.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/ProductDemoData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/ProductDemoData.xml?rev=1823177&view=auto
==============================================================================
---
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/ProductDemoData.xml
(added)
+++
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/ProductDemoData.xml
Mon Feb 5 14:13:04 2018
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<entity-engine-xml>
+ <!-- Catalog Manager security -->
+ <SecurityGroup description="Limited Catalog Admin group, has limited
catalog permissions." groupId="CATALOGADMIN_LTD" groupName="Catalog Admin
(Limited)"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="CATALOGADMIN_LTD" permissionId="CATALOG_VIEW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="CATALOGADMIN_LTD" permissionId="CATALOG_ROLE_CREATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="CATALOGADMIN_LTD" permissionId="CATALOG_ROLE_UPDATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="CATALOGADMIN_LTD" permissionId="CATALOG_ROLE_DELETE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="CATALOGADMIN_LTD" permissionId="OFBTOOLS_VIEW"/>
+
+ <SecurityGroup description="Catalog Admin group, has all catalog
permissions." groupId="CATALOGADMIN" groupName="Catalog Admin"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="CATALOGADMIN" permissionId="CATALOG_ADMIN"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="CATALOGADMIN" permissionId="CATALOG_PRICE_MAINT"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="CATALOGADMIN" permissionId="OFBTOOLS_VIEW"/>
+ <!-- NOTE DEJ20070810 where did this come from? has duplicate ID of that
above: <SecurityGroup description="Catalog Admin View and Purchase Allow
Products" groupId="CATALOGADMIN"/> -->
+
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="CATALOG_VIEW_ALLOW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="CATALOG_PURCHASE_ALLOW"/>
+
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FULLADMIN" permissionId="CATALOG_ADMIN"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FULLADMIN" permissionId="CATALOG_PRICE_MAINT"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FULLADMIN" permissionId="CATALOG_VIEW_ALLOW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FULLADMIN" permissionId="CATALOG_PURCHASE_ALLOW"/>
+
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="CATALOG_CREATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="CATALOG_DELETE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="CATALOG_UPDATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="CATALOG_VIEW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="CATALOG_PRICE_MAINT"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="CATALOG_VIEW_ALLOW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="CATALOG_PURCHASE_ALLOW"/>
+
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="VIEWADMIN" permissionId="CATALOG_VIEW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="BIZADMIN" permissionId="CATALOG_ADMIN"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="BIZADMIN" permissionId="CATALOG_PRICE_MAINT"/>
+
+ <!-- Image Management security -->
+ <SecurityGroup description="Image Management Admin." groupId="IMAGEADMIN"
groupName="Image Admin"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="IMAGEADMIN" permissionId="IMAGE_MANAGEMENT_ADMIN"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="IMAGEADMIN" permissionId="IMAGE_MANAGEMENT_APPROVE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="IMAGEADMIN" permissionId="IMAGE_MANAGEMENT_UPLOAD"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FULLADMIN" permissionId="IMAGE_MANAGEMENT_ADMIN"/>
+
+ <SecurityGroup description="Image Management Approve"
groupId="IMAGEAPPROVE" groupName="Image Approve"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="IMAGEAPPROVE" permissionId="IMAGE_MANAGEMENT_APPROVE"/>
+
+ <SecurityGroup description="Image Management Upload."
groupId="IMAGEUPLOAD" groupName="Image Load"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="IMAGEUPLOAD" permissionId="IMAGE_MANAGEMENT_UPLOAD"/>
+
+ <!-- Facility Security Group Demo Data -->
+ <!-- Facility Manager security -->
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FULLADMIN" permissionId="FACILITY_ADMIN"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="FACILITY_CREATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="FACILITY_DELETE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="FACILITY_UPDATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="FACILITY_VIEW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="VIEWADMIN" permissionId="FACILITY_VIEW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="BIZADMIN" permissionId="FACILITY_ADMIN"/>
+
+ <!-- Product Demo Data -->
+ <Facility facilityId="WebStoreWarehouse" facilityTypeId="WAREHOUSE"
facilityName="Web Store Warehouse"
+ description="Warehouse exclusively for the Web Store "
ownerPartyId="Company"
+ defaultInventoryItemTypeId="NON_SERIAL_INV_ITEM"
defaultWeightUomId="WT_lb" defaultDaysToShip="25" geoPointId="9000"/>
+ <!-- Limited user demo -->
+ <UserLoginSecurityGroup groupId="CATALOGADMIN_LTD" userLoginId="ltdadmin"
fromDate="2001-01-01 12:00:00.0"/>
+ <UserLoginSecurityGroup groupId="CATALOGADMIN_LTD" userLoginId="ltdadmin1"
fromDate="2001-01-01 12:00:00.0"/>
+
+ <!-- Image Management user demo -->
+ <Party partyId="imageAdmin" partyTypeId="PERSON" statusId="PARTY_ENABLED"/>
+ <Person partyId="imageAdmin" firstName="Image Management"
lastName="Administrator"/>
+ <PartyStatus partyId="imageAdmin" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
+ <UserLogin userLoginId="imageAdmin" partyId="imageAdmin"
currentPassword="{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a"/>
+ <UserLoginSecurityGroup userLoginId="imageAdmin" groupId="FULLADMIN"
fromDate="2010-01-01 12:00:00.0"/>
+ <UserLoginSecurityGroup userLoginId="imageAdmin" groupId="IMAGEADMIN"
fromDate="2010-01-01 12:00:00.0"/>
+
+ <Party partyId="imageApprove" partyTypeId="PERSON"
statusId="PARTY_ENABLED"/>
+ <Person partyId="imageApprove" firstName="Image Management"
lastName="Approve"/>
+ <PartyStatus partyId="imageApprove" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
+ <UserLogin userLoginId="imageApprove" partyId="imageApprove"
currentPassword="{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a"/>
+ <UserLoginSecurityGroup userLoginId="imageApprove" groupId="FLEXADMIN"
fromDate="2010-01-01 12:00:00.0"/>
+ <UserLoginSecurityGroup userLoginId="imageApprove" groupId="IMAGEAPPROVE"
fromDate="2010-01-01 12:00:00.0"/>
+
+ <Party partyId="imageUpload" partyTypeId="PERSON"
statusId="PARTY_ENABLED"/>
+ <Person partyId="imageUpload" firstName="Image Management"
lastName="Upload"/>
+ <PartyStatus partyId="imageUpload" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
+ <UserLogin userLoginId="imageUpload" partyId="imageUpload"
currentPassword="{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a"/>
+ <UserLoginSecurityGroup userLoginId="imageUpload" groupId="CATALOGADMIN"
fromDate="2010-01-01 12:00:00.0"/>
+ <UserLoginSecurityGroup userLoginId="imageUpload" groupId="IMAGEUPLOAD"
fromDate="2010-01-01 12:00:00.0"/>
+
+ <PartyRole partyId="admin" roleTypeId="IMAGEAPPROVER"/>
+ <!-- Product store group management demo -->
+ <ProductStoreGroupType productStoreGroupTypeId="PSGT_AREA"
description="Area cover"/>
+
+</entity-engine-xml>
Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/ProductDemoData.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/ProductDemoData.xml
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/ProductDemoData.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/SecurityExtDemoData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/SecurityExtDemoData.xml?rev=1823177&view=auto
==============================================================================
---
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/SecurityExtDemoData.xml
(added)
+++
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/SecurityExtDemoData.xml
Mon Feb 5 14:13:04 2018
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<entity-engine-xml>
+ <!-- OFBiz Core security -->
+ <Party partyId="_NA_" partyTypeId="PERSON" statusId="PARTY_ENABLED"/>
+ <Person partyId="_NA_"/>
+ <PartyRole partyId="_NA_" roleTypeId="CARRIER"/>
+ <PartyRole partyId="_NA_" roleTypeId="_NA_"/>
+
+ <Party partyId="admin" partyTypeId="PERSON" statusId="PARTY_ENABLED"/>
+ <Person firstName="THE" lastName="ADMINISTRATOR" middleName="PRIVILEGED"
partyId="admin" personalTitle="Mr."/>
+ <PartyRole partyId="admin" roleTypeId="BUYER"/>
+ <PartyRole partyId="admin" roleTypeId="MANAGER"/>
+ <PartyRole partyId="admin" roleTypeId="ORDER_CLERK"/>
+ <PartyRole partyId="admin" roleTypeId="SHIPMENT_CLERK"/>
+ <PartyRole partyId="admin" roleTypeId="SALES_REP"/>
+ <PartyRole partyId="admin" roleTypeId="_NA_"/>
+ <PartyStatus partyId="admin" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
+
+ <Party partyId="ltdadmin" partyTypeId="PERSON" statusId="PARTY_ENABLED"/>
+ <Person firstName="Limited" lastName="Administrator" middleName=""
partyId="ltdadmin" personalTitle="Mr."/>
+ <PartyRole partyId="ltdadmin" roleTypeId="ORDER_CLERK"/>
+ <PartyRole partyId="ltdadmin" roleTypeId="LTD_ADMIN"/>
+ <PartyRole partyId="ltdadmin" roleTypeId="_NA_"/>
+ <PartyStatus partyId="ltdadmin" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
+ <PartyContactMech partyId="ltdadmin" contactMechId="admin"
fromDate="2003-01-01 00:00:00.0" allowSolicitation="Y"/>
+
+ <!-- Adding another limited admin record(i.e with partyId ltdadmin1) to
test role based security -->
+
+ <Party partyId="ltdadmin1" partyTypeId="PERSON" statusId="PARTY_ENABLED"/>
+ <Person firstName="Limited" lastName="Administrator1" middleName=""
partyId="ltdadmin1" personalTitle="Mr."/>
+ <PartyRole partyId="ltdadmin1" roleTypeId="ORDER_CLERK"/>
+ <PartyRole partyId="ltdadmin1" roleTypeId="LTD_ADMIN"/>
+ <PartyRole partyId="ltdadmin1" roleTypeId="_NA_"/>
+ <PartyStatus partyId="ltdadmin1" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
+ <PartyContactMech partyId="ltdadmin1" contactMechId="admin"
fromDate="2003-01-01 00:00:00.0" allowSolicitation="Y"/>
+
+ <Party partyId="externaluser" partyTypeId="PERSON"
statusId="PARTY_ENABLED"/>
+ <Person firstName="External" lastName="User" middleName=""
partyId="externaluser" personalTitle="Mr."/>
+ <PartyRole partyId="externaluser" roleTypeId="SUPPLIER"/>
+ <PartyStatus partyId="externaluser" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
+ <PartyContactMech partyId="externaluser" contactMechId="admin"
fromDate="2003-01-01 00:00:00.0" allowSolicitation="Y"/>
+
+ <Party partyId="bizadmin" partyTypeId="PERSON" statusId="PARTY_ENABLED"/>
+ <Person partyId="bizadmin" firstName="Business" lastName="Administrator"/>
+ <PartyRole partyId="bizadmin" roleTypeId="BUYER"/>
+ <PartyRole partyId="bizadmin" roleTypeId="MANAGER"/>
+ <PartyRole partyId="bizadmin" roleTypeId="ORDER_CLERK"/>
+ <PartyRole partyId="bizadmin" roleTypeId="SHIPMENT_CLERK"/>
+ <PartyRole partyId="bizadmin" roleTypeId="SALES_REP"/>
+ <PartyRole partyId="bizadmin" roleTypeId="_NA_"/>
+ <PartyStatus partyId="bizadmin" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
+ <PartyContactMech partyId="bizadmin" contactMechId="admin"
fromDate="2003-01-01 00:00:00.0" allowSolicitation="Y"/>
+
+ <UserLogin userLoginId="admin" partyId="admin"/>
+ <UserLogin userLoginId="flexadmin" partyId="admin"/>
+ <UserLogin userLoginId="demoadmin" partyId="admin"/>
+ <UserLogin userLoginId="ltdadmin" partyId="ltdadmin"/>
+ <UserLogin userLoginId="ltdadmin1" partyId="ltdadmin1"/>
+ <UserLogin userLoginId="bizadmin" partyId="bizadmin"/>
+
+ <EmailTemplateSetting emailTemplateSettingId="EMAIL_PASSWORD" subject="New
Password Sent (${userLoginId})" fromAddress="[email protected]"
+ description="Used to send a new password at user
request"/>
+
+</entity-engine-xml>
Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/SecurityExtDemoData.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/SecurityExtDemoData.xml
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/SecurityExtDemoData.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/WorkEffortDemoData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/WorkEffortDemoData.xml?rev=1823177&view=auto
==============================================================================
---
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/WorkEffortDemoData.xml
(added)
+++
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/WorkEffortDemoData.xml
Mon Feb 5 14:13:04 2018
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<entity-engine-xml>
+ <!-- Work Effort security -->
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FULLADMIN" permissionId="WORKEFFORTMGR_ADMIN"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="WORKEFFORTMGR_CREATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="WORKEFFORTMGR_DELETE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="WORKEFFORTMGR_UPDATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="WORKEFFORTMGR_VIEW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="WORKEFFORTMGR_ROLE_CREATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="WORKEFFORTMGR_ROLE_UPDATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="WORKEFFORTMGR_ROLE_VIEW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="VIEWADMIN" permissionId="WORKEFFORTMGR_VIEW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="BIZADMIN" permissionId="WORKEFFORTMGR_ADMIN"/>
+
+ <SecurityGroup groupId="WORKEFFORT_USER" description="WorkEffort user
group; all limited workeffort permissions." groupName="WorkEffort User"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="WORKEFFORT_USER" permissionId="WORKEFFORTMGR_VIEW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="WORKEFFORT_USER" permissionId="WORKEFFORTMGR_ROLE_VIEW"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="WORKEFFORT_USER" permissionId="WORKEFFORTMGR_ROLE_CREATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="WORKEFFORT_USER" permissionId="WORKEFFORTMGR_ROLE_UPDATE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="WORKEFFORT_USER" permissionId="WORKEFFORTMGR_ROLE_DELETE"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="WORKEFFORT_USER" permissionId="OFBTOOLS_VIEW"/>
+
+ <SecurityGroup description="WorkEffort Admin group, has all workeffort
permissions." groupId="WORKEFFORTADMIN" groupName="WorkEffort Admin"/>
+ <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="WORKEFFORTADMIN" permissionId="WORKEFFORTMGR_ADMIN"/>
+
+ <!-- Recurring calendar event demo - set up a staff meeting on the first
Monday of each month -->
+ <TemporalExpression tempExprId="STAFF_MTG" tempExprTypeId="INTERSECTION"
description="First Monday of Each Month"/>
+ <TemporalExpressionAssoc fromTempExprId="STAFF_MTG"
toTempExprId="1ST_MONDAY_IN_MONTH"/>
+ <TemporalExpressionAssoc fromTempExprId="STAFF_MTG"
toTempExprId="MINUTE_00"/>
+ <TemporalExpressionAssoc fromTempExprId="STAFF_MTG"
toTempExprId="HOUR_10"/>
+ <WorkEffort workEffortId="STAFF_MTG" workEffortTypeId="MEETING"
currentStatusId="CAL_TENTATIVE" lastStatusUpdate="2008-01-01 00:00:00.0"
scopeEnumId="WES_PUBLIC" workEffortName="Staff Meeting" description="Staff
Meeting" tempExprId="STAFF_MTG" estimatedStartDate="2008-01-01 00:00:00.0"
estimatedMilliSeconds="3600000"/>
+ <FixedAsset fixedAssetId="DEMO_PROJECTOR" fixedAssetName="Overhead
Projector" fixedAssetTypeId="EQUIPMENT" purchaseCost="2000"
purchaseCostUomId="USD"/>
+ <WorkEffortFixedAssetAssign workEffortId="STAFF_MTG"
fixedAssetId="DEMO_PROJECTOR" statusId="FA_ASGN_REQUESTED"
availabilityStatusId="WEFA_IN_USE" fromDate="2008-01-01 00:00:00.0"/>
+
+ <Party partyId="WorkEffortUser" partyTypeId="PERSON"
statusId="PARTY_ENABLED" />
+ <Person partyId="WorkEffortUser" firstName="WorkEffort" lastName="User" />
+ <PartyStatus partyId="WorkEffortUser" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
+ <UserLogin userLoginId="WorkEffortUser" partyId="WorkEffortUser"
currentPassword="{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a" />
+ <UserLoginSecurityGroup groupId="WORKEFFORT_USER"
userLoginId="WorkEffortUser" fromDate="2011-01-01 00:00:00.0" />
+
+ <PartyRole partyId="admin" roleTypeId="CAL_OWNER"/>
+ <PartyRole partyId="admin" roleTypeId="CAL_ATTENDEE"/>
+
+ <!-- Publish the staff meeting calendar event in iCalendar format -->
+ <WorkEffort workEffortId="CALENDAR_PUB_DEMO"
workEffortTypeId="PUBLISH_PROPS" currentStatusId="CAL_CANCELLED"
scopeEnumId="WES_PUBLIC" description="Demo Project 1 Customer 1"
workEffortName="iCalendar Publish Demonstration"/>
+ <WorkEffortPartyAssignment workEffortId="CALENDAR_PUB_DEMO"
partyId="admin" statusId="PRTYASGN_ASSIGNED" roleTypeId="CAL_OWNER"
fromDate="2008-01-01 00:00:00.0"/>
+ <WorkEffortAssoc workEffortIdFrom="CALENDAR_PUB_DEMO"
workEffortIdTo="STAFF_MTG" workEffortAssocTypeId="WORK_EFF_DEPENDENCY"
fromDate="2008-01-01 00:00:00.0"/>
+
+ <!-- Project Manager demo data -->
+ <Party partyId="DemoEmployee1" statusId="PARTY_ENABLED"/><!-- further
defined in the projectmanager -->
+ <Party partyId="DemoEmployee2" statusId="PARTY_ENABLED"/>
+ <Party partyId="DemoEmployee3" statusId="PARTY_ENABLED"/>
+
+ <PartyRole partyId="DemoEmployee1" roleTypeId="CAL_OWNER"/>
+ <PartyRole partyId="DemoEmployee2" roleTypeId="CAL_ATTENDEE"/>
+ <PartyRole partyId="DemoEmployee3" roleTypeId="CAL_ATTENDEE"/>
+
+ <WorkEffort workEffortId="PROJECT_PUB_DEMO"
workEffortTypeId="PUBLISH_PROPS" currentStatusId="CAL_CANCELLED"
scopeEnumId="WES_PRIVATE" description="Demo Project 1 Customer 1"
workEffortName="Project iCalendar Publish Demonstration"/>
+ <WorkEffortPartyAssignment workEffortId="PROJECT_PUB_DEMO"
partyId="DemoEmployee1" statusId="PRTYASGN_ASSIGNED" roleTypeId="CAL_OWNER"
fromDate="2008-01-01 00:00:00.0"/>
+ <WorkEffortPartyAssignment workEffortId="STAFF_MTG"
partyId="DemoEmployee1" statusId="PRTYASGN_ASSIGNED" roleTypeId="CAL_OWNER"
availabilityStatusId="WEPA_AV_BUSY" fromDate="2008-01-01 00:00:00.0"/>
+ <WorkEffortPartyAssignment workEffortId="STAFF_MTG"
partyId="DemoEmployee2" statusId="PRTYASGN_ASSIGNED" roleTypeId="CAL_ATTENDEE"
availabilityStatusId="WEPA_AV_BUSY" fromDate="2008-01-01 00:00:00.0"/>
+ <WorkEffortPartyAssignment workEffortId="STAFF_MTG"
partyId="DemoEmployee3" statusId="PRTYASGN_ASSIGNED" roleTypeId="CAL_ATTENDEE"
availabilityStatusId="WEPA_AV_BUSY" fromDate="2008-01-01 00:00:00.0"/>
+ <WorkEffortPartyAssignment workEffortId="STAFF_MTG" partyId="admin"
statusId="PRTYASGN_ASSIGNED" roleTypeId="CAL_ATTENDEE"
availabilityStatusId="WEPA_AV_BUSY" fromDate="2008-01-01 00:00:00.0"/>
+ <!-- one off event -->
+ <WorkEffort workEffortId="OneOffMeeting" workEffortTypeId="MEETING"
currentStatusId="CAL_TENTATIVE" lastStatusUpdate="2008-01-01 00:00:00.0"
scopeEnumId="WES_PRIVATE" workEffortName="One off Meeting june 12"
description="Staff Meeting" estimatedStartDate="2009-06-12 09:00:00.0"
estimatedCompletionDate="2009-06-12 10:00:00.0"/>
+ <WorkEffortAssoc workEffortIdFrom="PROJECT_PUB_DEMO"
workEffortIdTo="OneOffMeeting" workEffortAssocTypeId="WORK_EFF_DEPENDENCY"
fromDate="2008-01-01 00:00:00.0"/>
+ <WorkEffortPartyAssignment workEffortId="OneOffMeeting"
partyId="DemoEmployee1" statusId="PRTYASGN_ASSIGNED" roleTypeId="CAL_OWNER"
availabilityStatusId="WEPA_AV_BUSY" fromDate="2008-01-01 00:00:00.0"/>
+ <WorkEffortPartyAssignment workEffortId="OneOffMeeting"
partyId="DemoEmployee2" statusId="PRTYASGN_ASSIGNED" roleTypeId="CAL_ATTENDEE"
availabilityStatusId="WEPA_AV_BUSY" fromDate="2008-01-01 00:00:00.0"/>
+ <WorkEffortPartyAssignment workEffortId="OneOffMeeting" partyId="admin"
statusId="PRTYASGN_ASSIGNED" roleTypeId="CAL_ATTENDEE"
availabilityStatusId="WEPA_AV_BUSY" fromDate="2008-01-01 00:00:00.0"/>
+ <!-- private one off event for employee1 should not show with admin-->
+ <WorkEffort workEffortId="PrivateDemoEmployee1" workEffortTypeId="MEETING"
currentStatusId="CAL_TENTATIVE" lastStatusUpdate="2008-01-01 00:00:00.0"
scopeEnumId="WES_PRIVATE" workEffortName="My Wifes birthday june 29"
description="The birthday i should never forget" estimatedStartDate="2009-06-29
00:00:00.0" estimatedCompletionDate="2009-06-29 23:00:00.0"/>
+ <WorkEffortAssoc workEffortIdFrom="PROJECT_PUB_DEMO"
workEffortIdTo="PrivateDemoEmployee1"
workEffortAssocTypeId="WORK_EFF_DEPENDENCY" fromDate="2008-01-01 00:00:00.0"/>
+ <WorkEffortPartyAssignment workEffortId="PrivateDemoEmployee1"
partyId="DemoEmployee1" statusId="PRTYASGN_ASSIGNED" roleTypeId="CAL_OWNER"
availabilityStatusId="WEPA_AV_BUSY" fromDate="2008-01-01 00:00:00.0"/>
+ <!-- public event -->
+ <WorkEffort workEffortId="PublicEvent" workEffortTypeId="MEETING"
currentStatusId="CAL_TENTATIVE" lastStatusUpdate="2008-01-01 00:00:00.0"
scopeEnumId="WES_PUBLIC" workEffortName="The general company party june 17"
description="General Party" locationDesc="Tom's Banquet Hall"
estimatedStartDate="2009-06-17 19:00:00.0" estimatedCompletionDate="2009-06-17
23:00:00.0"/>
+ <WorkEffortAssoc workEffortIdFrom="PROJECT_PUB_DEMO"
workEffortIdTo="PublicEvent" workEffortAssocTypeId="WORK_EFF_DEPENDENCY"
fromDate="2008-01-01 00:00:00.0"/>
+
+</entity-engine-xml>
Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/WorkEffortDemoData.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/WorkEffortDemoData.xml
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange:
ofbiz/ofbiz-framework/trunk/applications/datamodel/data/demo/WorkEffortDemoData.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: ofbiz/ofbiz-framework/trunk/applications/datamodel/ofbiz-component.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/datamodel/ofbiz-component.xml?rev=1823177&r1=1823176&r2=1823177&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/datamodel/ofbiz-component.xml
(original)
+++ ofbiz/ofbiz-framework/trunk/applications/datamodel/ofbiz-component.xml Mon
Feb 5 14:13:04 2018
@@ -51,4 +51,17 @@ under the License.
<entity-resource type="data" reader-name="seed" loader="main"
location="data/seed/MarketingSeedData.xml"/>
<entity-resource type="data" reader-name="seed" loader="main"
location="data/seed/CommonExtSeedData.xml"/>
+ <!-- All components demo data -->
+ <entity-resource type="data" reader-name="demo" loader="main"
location="data/demo/PartyDemoData.xml"/>
+ <entity-resource type="data" reader-name="demo" loader="main"
location="data/demo/SecurityExtDemoData.xml"/>
+ <entity-resource type="data" reader-name="demo" loader="main"
location="data/demo/ContentDemoData.xml"/>
+ <entity-resource type="data" reader-name="demo" loader="main"
location="data/demo/WorkEffortDemoData.xml"/>
+ <entity-resource type="data" reader-name="demo" loader="main"
location="data/demo/ProductDemoData.xml"/>
+ <entity-resource type="data" reader-name="demo" loader="main"
location="data/demo/ManufacturingDemoData.xml"/>
+ <entity-resource type="data" reader-name="demo" loader="main"
location="data/demo/AccountingDemoData.xml"/>
+ <entity-resource type="data" reader-name="demo" loader="main"
location="data/demo/HumanresDemoData.xml"/>
+ <entity-resource type="data" reader-name="demo" loader="main"
location="data/demo/OrderDemoData.xml"/>
+ <entity-resource type="data" reader-name="demo" loader="main"
location="data/demo/MarketingDemoData.xml"/>
+ <entity-resource type="data" reader-name="demo" loader="main"
location="data/demo/CommonExtDemoData.xml"/>
+
</ofbiz-component>
Modified:
ofbiz/ofbiz-framework/trunk/applications/humanres/data/HumanResDemoData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/humanres/data/HumanResDemoData.xml?rev=1823177&r1=1823176&r2=1823177&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/humanres/data/HumanResDemoData.xml
(original)
+++ ofbiz/ofbiz-framework/trunk/applications/humanres/data/HumanResDemoData.xml
Mon Feb 5 14:13:04 2018
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<entity-engine-xml>
- <Party partyId="DemoEmployee" statusId="PARTY_ENABLED"/>
- <PartyRole partyId="DemoEmployee" roleTypeId="EMPLOYEE"/><!-- data
completed by components loaded later -->
- <PartyStatus partyId="DemoEmployee" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
-
- <RateAmount rateTypeId="AVERAGE_PAY_RATE" rateCurrencyUomId="USD"
periodTypeId="RATE_MONTH" workEffortId="_NA_" partyId="DemoEmployee"
emplPositionTypeId="_NA_" fromDate="2000-01-30 17:58:56.038" rateAmount="2300"/>
- <RateAmount rateTypeId="AVERAGE_PAY_RATE" rateCurrencyUomId="USD"
periodTypeId="RATE_MONTH" workEffortId="_NA_" partyId="_NA_"
emplPositionTypeId="PROGRAMMER" fromDate="2000-01-30 17:58:56.038"
rateAmount="2000"/>
- <EmplPosition emplPositionId="DEMO100" statusId="EMPL_POS_ACTIVE"
partyId="Company" emplPositionTypeId="PROGRAMMER" salaryFlag="Y" exemptFlag="Y"
fulltimeFlag="Y" temporaryFlag="Y"/>
- <EmplPositionFulfillment emplPositionId="DEMO100" partyId="DemoEmployee"
fromDate="2009-01-30 17:58:02.745"/>
- <EmplPositionTypeRate emplPositionTypeId="PROGRAMMER"
rateTypeId="AVERAGE_PAY_RATE" fromDate="2009-01-30 17:58:56.038"/>
- <Employment roleTypeIdFrom="INTERNAL_ORGANIZATIO" roleTypeIdTo="EMPLOYEE"
partyIdFrom="Company" partyIdTo="DemoEmployee" fromDate="2000-01-30
17:50:15.767"/>
-
- <Party partyId="DemoApprover" partyTypeId="PERSON"
statusId="PARTY_ENABLED"/>
- <Person partyId="DemoApprover" firstName="Demo" lastName="Approver"/>
- <PartyStatus partyId="DemoApprover" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
-
- <UserLogin userLoginId="demoapprover"
currentPassword="{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a"
requirePasswordChange="N" partyId="DemoApprover"/>
- <UserLoginSecurityGroup groupId="HUMANRES_APPROVER"
userLoginId="demoapprover" fromDate="2001-01-01 12:00:00.0"/>
-
- <UserLogin userLoginId="demoemployee"
currentPassword="{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a"
requirePasswordChange="N" partyId="DemoEmployee"/>
- <SecurityPermission description="Employee can check the status of his
requests and trainings assigned to him with this permission."
permissionId="EMPLOYEE_VIEW"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="HUMANRES_EMPLOYEE" permissionId="EMPLOYEE_VIEW"/>
- <UserLoginSecurityGroup groupId="HUMANRES_EMPLOYEE"
userLoginId="demoemployee" fromDate="2001-01-01 12:00:00.0"/>
-
-</entity-engine-xml>
Modified:
ofbiz/ofbiz-framework/trunk/applications/humanres/data/HumanResSecurityGroupDemoData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/humanres/data/HumanResSecurityGroupDemoData.xml?rev=1823177&r1=1823176&r2=1823177&view=diff
==============================================================================
---
ofbiz/ofbiz-framework/trunk/applications/humanres/data/HumanResSecurityGroupDemoData.xml
(original)
+++
ofbiz/ofbiz-framework/trunk/applications/humanres/data/HumanResSecurityGroupDemoData.xml
Mon Feb 5 14:13:04 2018
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<entity-engine-xml>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FULLADMIN" permissionId="HUMANRES_ADMIN"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="HUMANRES_CREATE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="HUMANRES_DELETE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="HUMANRES_UPDATE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="HUMANRES_VIEW"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="VIEWADMIN" permissionId="HUMANRES_VIEW"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="BIZADMIN" permissionId="HUMANRES_ADMIN"/>
-
- <!-- OFBiz Recruitment security -->
- <SecurityGroup groupId="HUMANRES_ADMIN" description="This security group
is for those who have full access to the human resource component."
groupName="Humanres Admin"/>
- <SecurityGroup groupId="HUMANRES_APPROVER" description="This security
group is for those who will approve the internal job posting application."
groupName="Humanres Approver"/>
- <SecurityGroup groupId="HUMANRES_EMPLOYEE" description="This security
group is for all the employees who want to apply for internal Job Posting."
groupName="Humanres Employee"/>
-
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="HUMANRES_ADMIN" permissionId="HUMANRES_ADMIN"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="HUMANRES_APPROVER" permissionId="HUMANRES_VIEW"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="HUMANRES_APPROVER" permissionId="HUMANRES_CREATE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="HUMANRES_APPROVER" permissionId="PARTYMGR_VIEW"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="HUMANRES_APPROVER" permissionId="OFBTOOLS_VIEW"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="HUMANRES_APPROVER" permissionId="HUMANRES_UPDATE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="HUMANRES_APPROVER" permissionId="HUMANRES_APPROVE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="HUMANRES_EMPLOYEE" permissionId="HUMANRES_VIEW"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="HUMANRES_EMPLOYEE" permissionId="HUMANRES_CREATE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="HUMANRES_EMPLOYEE" permissionId="PARTYMGR_VIEW"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="HUMANRES_EMPLOYEE" permissionId="OFBTOOLS_VIEW"/>
-
-
-</entity-engine-xml>
Modified: ofbiz/ofbiz-framework/trunk/applications/humanres/ofbiz-component.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/humanres/ofbiz-component.xml?rev=1823177&r1=1823176&r2=1823177&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/humanres/ofbiz-component.xml
(original)
+++ ofbiz/ofbiz-framework/trunk/applications/humanres/ofbiz-component.xml Mon
Feb 5 14:13:04 2018
@@ -26,9 +26,7 @@ under the License.
<entity-resource type="data" reader-name="seed" loader="main"
location="data/HumanResHelpData.xml"/>
<entity-resource type="data" reader-name="seed" loader="main"
location="data/HumanResSecurityPermissionSeedData.xml"/>
- <entity-resource type="data" reader-name="demo" loader="main"
location="data/HumanResSecurityGroupDemoData.xml"/>
<entity-resource type="data" reader-name="seed" loader="main"
location="data/HumanResPortletData.xml"/>
- <entity-resource type="data" reader-name="demo" loader="main"
location="data/HumanResDemoData.xml"/>
<service-resource type="model" loader="main"
location="servicedef/services.xml"/>
<service-resource type="model" loader="main"
location="servicedef/services_ability.xml"/>
<service-resource type="model" loader="main"
location="servicedef/services_employment.xml"/>
Modified:
ofbiz/ofbiz-framework/trunk/applications/manufacturing/data/ManufacturingExampleData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/manufacturing/data/ManufacturingExampleData.xml?rev=1823177&r1=1823176&r2=1823177&view=diff
==============================================================================
---
ofbiz/ofbiz-framework/trunk/applications/manufacturing/data/ManufacturingExampleData.xml
(original)
+++
ofbiz/ofbiz-framework/trunk/applications/manufacturing/data/ManufacturingExampleData.xml
Mon Feb 5 14:13:04 2018
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<entity-engine-xml>
-
- <!-- Task Formulae -->
- <CustomMethod customMethodId="6000" customMethodTypeId="TASK_FORMULA"
customMethodName="exampleTaskFormula" description="Example task formula (qty *
estimatedMilliSeconds * 10)"/>
- <!-- Bom Formulae -->
- <CustomMethod customMethodId="6001" customMethodTypeId="BOM_FORMULA"
customMethodName="exampleComponentFormula" description="Example bom formula
(qty * k)"/>
- <CustomMethod customMethodId="6002" customMethodTypeId="BOM_FORMULA"
customMethodName="linearComponentFormula" description="Bom formula for linear
components"/>
-
- <TechDataCalendarWeek calendarWeekId="DEMO_WEEK" description="Demo
calendar week of 8hours/days 5days/week starting at 8h30 from monday to friday"
mondayStartTime="08:30:00" mondayCapacity="2.88E7" tuesdayStartTime="08:30:00"
tuesdayCapacity="2.88E7" wednesdayStartTime="08:30:00"
wednesdayCapacity="2.88E7" thursdayStartTime="08:30:00"
thursdayCapacity="2.88E7" fridayStartTime="08:30:00" fridayCapacity="2.88E7"/>
- <TechDataCalendar calendarId="DEMO_CALENDAR" description="Demo Workcenter
Calendar" calendarWeekId="DEMO_WEEK"/>
- <TechDataCalendarExcDay calendarId="DEMO_CALENDAR"
exceptionDateStartTime="2004-12-24 00:01:00.0" exceptionCapacity="0"
description="Christmas Day"/>
-
- <FixedAsset fixedAssetId="DEMO_MACHINE_GROUP"
fixedAssetTypeId="GROUP_EQUIPMENT" fixedAssetName="Demo Machine Group"/>
- <FixedAssetGeoPoint fixedAssetId="DEMO_MACHINE_GROUP" geoPointId="9000"
fromDate="2009-01-09 00:00:00.000"/>
- <FixedAsset fixedAssetId="DEMO_MACHINE" fixedAssetName="Demo Machine"
fixedAssetTypeId="PRODUCTION_EQUIPMENT" parentFixedAssetId="DEMO_MACHINE_GROUP"
calendarId="DEMO_CALENDAR" purchaseCost="50000" purchaseCostUomId="USD"/>
- <FixedAssetGeoPoint fixedAssetId="DEMO_MACHINE" geoPointId="9000"
fromDate="2009-01-09 00:00:00.000"/>
-
- <FixedAsset fixedAssetId="DEMO_FOOD_GROUP"
fixedAssetTypeId="GROUP_EQUIPMENT" fixedAssetName="Demo Food Group"/>
- <FixedAssetGeoPoint fixedAssetId="DEMO_FOOD_GROUP" geoPointId="9000"
fromDate="2009-01-09 00:00:00.000"/>
- <FixedAsset fixedAssetId="DEMO_FOOD" fixedAssetName="Demo Food"
fixedAssetTypeId="PRODUCTION_EQUIPMENT" parentFixedAssetId="DEMO_FOOD_GROUP"
calendarId="DEMO_CALENDAR" purchaseCost="7000" purchaseCostUomId="USD"/>
- <FixedAssetGeoPoint fixedAssetId="DEMO_FOOD" geoPointId="9000"
fromDate="2009-01-09 00:00:00.000"/>
-
- <FixedAsset fixedAssetId="DEMO_PROD_EQUIPMT_1" fixedAssetName="Demo
Production Equipment One" fixedAssetTypeId="PRODUCTION_EQUIPMENT"
dateAcquired="2005-01-01 00:01:00.0" expectedEndOfLife="2010-01-01"
calendarId="DEMO_CALENDAR" salvageValue="50" purchaseCost="1000"
purchaseCostUomId="USD"/>
- <FixedAssetGeoPoint fixedAssetId="DEMO_PROD_EQUIPMT_1" geoPointId="9000"
fromDate="2009-01-09 00:00:00.000"/>
- <FixedAsset fixedAssetId="DEMO_PROD_EQUIPMT_2" fixedAssetName="Demo
Production Equipment Two" fixedAssetTypeId="PRODUCTION_EQUIPMENT"
dateAcquired="2005-01-01 00:01:00.0" expectedEndOfLife="2010-01-01"
calendarId="DEMO_CALENDAR" salvageValue="50" purchaseCost="1000"
purchaseCostUomId="USD"/>
- <FixedAssetGeoPoint fixedAssetId="DEMO_PROD_EQUIPMT_2" geoPointId="9000"
fromDate="2009-01-09 00:00:00.000"/>
-
- <FixedAsset fixedAssetId="DEMO_BOOK_GROUP"
fixedAssetTypeId="GROUP_EQUIPMENT" fixedAssetName="Demo Book Group"/>
- <FixedAssetGeoPoint fixedAssetId="DEMO_BOOK_GROUP" geoPointId="9000"
fromDate="2011-08-02 00:00:00.000"/>
- <FixedAsset fixedAssetId="DEMO_BOOK" fixedAssetName="Demo Book"
fixedAssetTypeId="PRODUCTION_EQUIPMENT" parentFixedAssetId="DEMO_BOOK_GROUP"
calendarId="DEMO_CALENDAR" purchaseCost="200" purchaseCostUomId="USD"/>
- <FixedAssetGeoPoint fixedAssetId="DEMO_BOOK" geoPointId="9000"
fromDate="2011-08-02 00:00:00.000"/>
-
- <FixedAssetDepMethod depreciationCustomMethodId="STR_LINE_DEP_FORMULA"
fixedAssetId="DEMO_PROD_EQUIPMT_1"/>
- <FixedAssetDepMethod depreciationCustomMethodId="DBL_DECL_DEP_FORMULA"
fixedAssetId="DEMO_PROD_EQUIPMT_2"/>
-</entity-engine-xml>
Modified:
ofbiz/ofbiz-framework/trunk/applications/manufacturing/data/ManufacturingSecurityGroupDemoData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/manufacturing/data/ManufacturingSecurityGroupDemoData.xml?rev=1823177&r1=1823176&r2=1823177&view=diff
==============================================================================
---
ofbiz/ofbiz-framework/trunk/applications/manufacturing/data/ManufacturingSecurityGroupDemoData.xml
(original)
+++
ofbiz/ofbiz-framework/trunk/applications/manufacturing/data/ManufacturingSecurityGroupDemoData.xml
Mon Feb 5 14:13:04 2018
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<entity-engine-xml>
- <!-- Manufacturing Manager security -->
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FULLADMIN" permissionId="MANUFACTURING_ADMIN"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="MANUFACTURING_CREATE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="MANUFACTURING_DELETE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="MANUFACTURING_UPDATE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="MANUFACTURING_VIEW"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="VIEWADMIN" permissionId="MANUFACTURING_VIEW"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="BIZADMIN" permissionId="MANUFACTURING_ADMIN"/>
-</entity-engine-xml>
Modified:
ofbiz/ofbiz-framework/trunk/applications/manufacturing/ofbiz-component.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/manufacturing/ofbiz-component.xml?rev=1823177&r1=1823176&r2=1823177&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/manufacturing/ofbiz-component.xml
(original)
+++ ofbiz/ofbiz-framework/trunk/applications/manufacturing/ofbiz-component.xml
Mon Feb 5 14:13:04 2018
@@ -29,11 +29,9 @@ under the License.
<!-- entity resources: model(s), eca(s) and group definitions -->
<entity-resource type="data" reader-name="seed" loader="main"
location="data/ManufacturingSecurityPermissionSeedData.xml"/>
- <entity-resource type="data" reader-name="demo" loader="main"
location="data/ManufacturingSecurityGroupDemoData.xml"/>
<entity-resource type="data" reader-name="seed" loader="main"
location="data/ManufacturingHelpData_EN.xml"/>
<entity-resource type="data" reader-name="seed" loader="main"
location="data/ManufacturingHelpData_NL.xml"/>
<!--<entity-resource type="data" reader-name="seed-initial" loader="main"
location="data/ManufacturingScheduledServices.xml"/>-->
- <entity-resource type="data" reader-name="demo" loader="main"
location="data/ManufacturingExampleData.xml"/>
<!-- service resources: model(s) [definitions], eca(s) and group
definitions -->
<service-resource type="model" loader="main"
location="servicedef/services.xml"/>
Modified:
ofbiz/ofbiz-framework/trunk/applications/marketing/data/MarketingSecurityGroupDemoData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/marketing/data/MarketingSecurityGroupDemoData.xml?rev=1823177&r1=1823176&r2=1823177&view=diff
==============================================================================
---
ofbiz/ofbiz-framework/trunk/applications/marketing/data/MarketingSecurityGroupDemoData.xml
(original)
+++
ofbiz/ofbiz-framework/trunk/applications/marketing/data/MarketingSecurityGroupDemoData.xml
Mon Feb 5 14:13:04 2018
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<entity-engine-xml>
- <!-- Marketing Manager security -->
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FULLADMIN" permissionId="MARKETING_ADMIN"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="MARKETING_CREATE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="MARKETING_DELETE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="MARKETING_UPDATE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="MARKETING_VIEW"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="VIEWADMIN" permissionId="MARKETING_VIEW"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="BIZADMIN" permissionId="MARKETING_ADMIN"/>
-
- <!-- SFA security -->
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FULLADMIN" permissionId="SFA_ADMIN"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="SFA_CREATE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="SFA_DELETE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="SFA_UPDATE"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="FLEXADMIN" permissionId="SFA_VIEW"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="VIEWADMIN" permissionId="SFA_VIEW"/>
- <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
groupId="BIZADMIN" permissionId="SFA_ADMIN"/>
-
-</entity-engine-xml>
Modified:
ofbiz/ofbiz-framework/trunk/applications/marketing/data/SfaSystemPropertyData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/marketing/data/SfaSystemPropertyData.xml?rev=1823177&r1=1823176&r2=1823177&view=diff
==============================================================================
---
ofbiz/ofbiz-framework/trunk/applications/marketing/data/SfaSystemPropertyData.xml
(original)
+++
ofbiz/ofbiz-framework/trunk/applications/marketing/data/SfaSystemPropertyData.xml
Mon Feb 5 14:13:04 2018
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<entity-engine-xml>
-<!--
-if the save.outgoing.directory is specified the file will be saved there else
it will be saved under OFBIZ_HOME
-sfa.properties setting is: #save.outgoing.directory=
--->
- <SystemProperty systemResourceId="sfa"
systemPropertyId="save.outgoing.directory" systemPropertyValue=""
- description="If the save.outgoing.directory is specified the file will be
saved there, else it will be saved under OFBIZ_HOME"
- />
-</entity-engine-xml>
\ No newline at end of file
Modified:
ofbiz/ofbiz-framework/trunk/applications/marketing/data/sfaDemoData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/marketing/data/sfaDemoData.xml?rev=1823177&r1=1823176&r2=1823177&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/marketing/data/sfaDemoData.xml
(original)
+++ ofbiz/ofbiz-framework/trunk/applications/marketing/data/sfaDemoData.xml Mon
Feb 5 14:13:04 2018
@@ -1,158 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-<entity-engine-xml>
-
- <!-- demo accounts -->
- <Party partyId="sfa100" partyTypeId="PARTY_GROUP"
statusId="PARTY_ENABLED"/>
- <PartyGroup partyId="sfa100" groupName="A profitable Account"/>
- <PartyRole partyId="sfa100" roleTypeId="_NA_"/>
- <PartyRole partyId="sfa100" roleTypeId="ACCOUNT"/>
- <PartyStatus partyId="sfa100" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
- <ContactMech contactMechId="sfa100" contactMechTypeId="POSTAL_ADDRESS"/>
- <ContactMech contactMechId="sfa101" contactMechTypeId="TELECOM_NUMBER"/>
- <ContactMech contactMechId="sfa102" contactMechTypeId="EMAIL_ADDRESS"
infoString="[email protected]"/>
- <PostalAddress contactMechId="sfa100" address1="151 Madison street."
city="Edison" postalCode="32451" countryGeoId="USA" stateProvinceGeoId="CA"/>
- <TelecomNumber contactMechId="sfa101" countryCode="1" areaCode="33"
contactNumber="12456"/>
- <PartyContactMech partyId="sfa100" contactMechId="sfa100"
fromDate="2000-01-01 00:00:00.000"/>
- <PartyContactMech partyId="sfa100" contactMechId="sfa101"
fromDate="2000-01-01 00:00:00.000"/>
- <PartyContactMech partyId="sfa100" contactMechId="sfa102"
fromDate="2000-01-01 00:00:00.000"/>
- <PartyContactMechPurpose partyId="sfa100" contactMechId="sfa100"
contactMechPurposeTypeId="GENERAL_LOCATION" fromDate="2000-01-01 00:00:00.000"/>
- <PartyContactMechPurpose partyId="sfa100" contactMechId="sfa101"
contactMechPurposeTypeId="PRIMARY_PHONE" fromDate="2000-01-01 00:00:00.000"/>
- <PartyContactMechPurpose partyId="sfa100" contactMechId="sfa102"
contactMechPurposeTypeId="PRIMARY_EMAIL" fromDate="2000-01-01 00:00:00.000"/>
-
- <!-- demo contacts -->
- <Party partyId="DemoCustomer1" statusId="PARTY_ENABLED"/>
- <PartyRole partyId="DemoCustomer1" roleTypeId="CONTACT"/>
- <PartyStatus partyId="DemoCustomer1" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
- <PartyRelationship partyIdFrom="sfa100" roleTypeIdFrom="ACCOUNT"
partyIdTo="DemoCustomer1" roleTypeIdTo="CONTACT" fromDate="2000-01-01
00:00:00.000" partyRelationshipTypeId="EMPLOYMENT"/>
- <Party partyId="DemoCustomer2" statusId="PARTY_ENABLED"/>
- <PartyRole partyId="DemoCustomer2" roleTypeId="CONTACT"/>
- <PartyStatus partyId="DemoCustomer2" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
- <PartyRelationship partyIdFrom="DemoCustCompany" roleTypeIdFrom="ACCOUNT"
partyIdTo="DemoCustomer2" roleTypeIdTo="CONTACT" fromDate="2000-01-01
00:00:00.000" partyRelationshipTypeId="EMPLOYMENT"/>
- <Party partyId="DemoCustomer3" statusId="PARTY_ENABLED"/>
- <PartyRole partyId="DemoCustomer3" roleTypeId="CONTACT"/>
- <PartyStatus partyId="DemoCustomer3" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
- <PartyRelationship partyIdFrom="DemoCustCompany" roleTypeIdFrom="ACCOUNT"
partyIdTo="DemoCustomer3" roleTypeIdTo="CONTACT" fromDate="2000-01-01
00:00:00.000" partyRelationshipTypeId="EMPLOYMENT"/>
-
- <!-- Demo Lead Owners -->
- <Party partyId="DemoLeadOwner" partyTypeId="PERSON"
statusId="PARTY_ENABLED"/>
- <Person partyId="DemoLeadOwner" firstName="Demo" lastName="LeadOwner"/>
- <PartyRole partyId="DemoLeadOwner" roleTypeId="_NA_"/>
- <PartyRole partyId="DemoLeadOwner" roleTypeId="OWNER"/>
- <PartyStatus partyId="DemoLeadOwner" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
- <PartyRelationship partyIdFrom="Company" roleTypeIdFrom="_NA_"
partyIdTo="DemoLeadOwner" roleTypeIdTo="_NA_"
partyRelationshipTypeId="EMPLOYMENT" fromDate="2000-01-01 00:00:00"/>
- <UserLogin userLoginId="DemoLeadOwner"
currentPassword="{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a"
partyId="DemoLeadOwner" enabled="Y"/>
- <!-- FIXME: Establish SecurityGroup for SFA. This user should have access
only to SFA -->
- <UserLoginSecurityGroup groupId="FULLADMIN" userLoginId="DemoLeadOwner"
fromDate="2001-05-13 00:00:00.000"/>
-
- <Party partyId="DemoLeadOwner1" partyTypeId="PERSON"
statusId="PARTY_ENABLED"/>
- <Person partyId="DemoLeadOwner1" firstName="Demo" lastName="LeadOwner1"/>
- <PartyRole partyId="DemoLeadOwner1" roleTypeId="_NA_"/>
- <PartyRole partyId="DemoLeadOwner1" roleTypeId="OWNER"/>
- <PartyStatus partyId="DemoLeadOwner1" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
- <PartyRelationship partyIdFrom="Company" roleTypeIdFrom="_NA_"
partyIdTo="DemoLeadOwner1" roleTypeIdTo="_NA_"
partyRelationshipTypeId="EMPLOYMENT" fromDate="2000-01-01 00:00:00"/>
- <UserLogin userLoginId="DemoLeadOwner1"
currentPassword="{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a"
partyId="DemoLeadOwner1" enabled="Y"/>
- <!-- FIXME: Establish SecurityGroup for SFA. This user should have access
only to SFA -->
- <UserLoginSecurityGroup groupId="FULLADMIN" userLoginId="DemoLeadOwner1"
fromDate="2001-05-13 00:00:00.000"/>
-
- <!-- Demo Leads -->
- <Party partyId="sfa102" partyTypeId="PARTY_GROUP"
statusId="PARTY_ENABLED"/>
- <PartyGroup partyId="sfa102" groupName="A promising Lead Company"/>
- <PartyRole partyId="sfa102" roleTypeId="ACCOUNT_LEAD"/>
- <PartyRole partyId="sfa102" roleTypeId="_NA_"/>
- <PartyStatus partyId="sfa102" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
- <Party partyId="sfa101" partyTypeId="PERSON" statusId="PARTY_ENABLED"/>
- <Person partyId="sfa101" firstName="John" lastName="Lead"/>
- <PartyRole partyId="sfa101" roleTypeId="_NA_"/>
- <PartyRole partyId="sfa101" roleTypeId="LEAD"/>
- <PartyStatus partyId="sfa101" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
- <!-- company to lead relationship -->
- <PartyRelationship partyIdFrom="sfa102" roleTypeIdFrom="ACCOUNT_LEAD"
partyIdTo="sfa101" roleTypeIdTo="LEAD" fromDate="2000-01-01 00:00:00.000"
partyRelationshipTypeId="EMPLOYMENT"/>
- <!-- owner to lead relationship -->
- <PartyRelationship partyIdFrom="DemoLeadOwner" roleTypeIdFrom="OWNER"
partyIdTo="sfa101" roleTypeIdTo="LEAD" fromDate="2000-01-01 00:00:00.000"
partyRelationshipTypeId="LEAD_OWNER"/>
- <ContactMech contactMechId="sfa103" contactMechTypeId="EMAIL_ADDRESS"
infoString="[email protected]"/>
- <PartyContactMech partyId="sfa101" contactMechId="sfa103"
fromDate="2000-01-01 00:00:00.000"/>
- <PartyContactMechPurpose partyId="sfa101" contactMechId="sfa103"
contactMechPurposeTypeId="PRIMARY_EMAIL" fromDate="2000-01-01 00:00:00.000"/>
- <!-- Status Valid Change -->
- <StatusValidChange statusId="PARTY_ENABLED" statusIdTo="LEAD_CONVERTED"
transitionName="Convert Lead To Contact"/>
- <StatusValidChange statusId="LEAD_CONVERTED" statusIdTo="PARTY_DISABLED"
transitionName="Disabled"/>
-
- <Party partyId="DemoLead" partyTypeId="PERSON" statusId="PARTY_ENABLED"/>
- <Person partyId="DemoLead" firstName="Demo" lastName="Lead"/>
- <PartyRole partyId="DemoLead" roleTypeId="_NA_"/>
- <PartyRole partyId="DemoLead" roleTypeId="LEAD"/>
- <PartyStatus partyId="DemoLead" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
-
- <Party partyId="DemoLead1" partyTypeId="PERSON" statusId="PARTY_ENABLED"/>
- <Person partyId="DemoLead1" firstName="Demo" lastName="Lead1"/>
- <PartyRole partyId="DemoLead1" roleTypeId="_NA_"/>
- <PartyRole partyId="DemoLead1" roleTypeId="LEAD"/>
- <PartyStatus partyId="DemoLead1" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
-
- <Party partyId="DemoLead2" partyTypeId="PERSON" statusId="PARTY_ENABLED"/>
- <Person partyId="DemoLead2" firstName="Demo" lastName="Lead2"/>
- <PartyRole partyId="DemoLead2" roleTypeId="_NA_"/>
- <PartyRole partyId="DemoLead2" roleTypeId="LEAD"/>
- <PartyStatus partyId="DemoLead2" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
-
- <Party partyId="DemoLead3" partyTypeId="PERSON" statusId="PARTY_ENABLED"/>
- <Person partyId="DemoLead3" firstName="Demo" lastName="Lead3"/>
- <PartyRole partyId="DemoLead3" roleTypeId="_NA_"/>
- <PartyRole partyId="DemoLead3" roleTypeId="LEAD"/>
- <PartyStatus partyId="DemoLead3" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
-
- <Party partyId="DemoLead4" partyTypeId="PERSON" statusId="PARTY_ENABLED"/>
- <Person partyId="DemoLead4" firstName="Demo" lastName="Lead4"/>
- <PartyRole partyId="DemoLead4" roleTypeId="_NA_"/>
- <PartyRole partyId="DemoLead4" roleTypeId="LEAD"/>
- <PartyStatus partyId="DemoLead4" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
-
- <!-- Lead Owners Team -->
- <Party partyId="DemoLeadOwnersGroup" partyTypeId="TEAM"
statusId="PARTY_ENABLED"/>
- <PartyGroup partyId="DemoLeadOwnersGroup" groupName="A Group of Lead
Owners"/>
- <PartyRole partyId="DemoLeadOwnersGroup" roleTypeId="_NA_"/>
- <PartyRole partyId="DemoLeadOwnersGroup"
roleTypeId="INTERNAL_ORGANIZATIO"/>
- <PartyStatus partyId="DemoLeadOwnersGroup" statusId="PARTY_ENABLED"
statusDate="2001-01-01 12:00:00.0"/>
- <PartyRelationship partyIdFrom="Company" partyIdTo="DemoLeadOwnersGroup"
partyRelationshipTypeId="GROUP_ROLLUP" roleTypeIdFrom="_NA_"
roleTypeIdTo="_NA_" fromDate="2001-05-13 00:00:00.000"/>
-
- <!-- Leads of DemoLeadOwner -->
- <PartyRelationship partyIdFrom="DemoLeadOwner" roleTypeIdFrom="OWNER"
partyIdTo="DemoLead" roleTypeIdTo="LEAD" fromDate="2001-05-13 00:00:00.000"
partyRelationshipTypeId="LEAD_OWNER"/>
- <PartyRelationship partyIdFrom="DemoLeadOwner" roleTypeIdFrom="OWNER"
partyIdTo="DemoLead1" roleTypeIdTo="LEAD" fromDate="2001-05-13 00:00:00.000"
partyRelationshipTypeId="LEAD_OWNER"/>
- <PartyRelationship partyIdFrom="DemoLeadOwner" roleTypeIdFrom="OWNER"
partyIdTo="DemoLead2" roleTypeIdTo="LEAD" fromDate="2001-05-13 00:00:00.000"
partyRelationshipTypeId="LEAD_OWNER"/>
-
- <!-- Leads of DemoLeadOwner1 -->
- <PartyRelationship partyIdFrom="DemoLeadOwner1" roleTypeIdFrom="OWNER"
partyIdTo="DemoLead3" roleTypeIdTo="LEAD" fromDate="2001-05-13 00:00:00.000"
partyRelationshipTypeId="LEAD_OWNER"/>
- <PartyRelationship partyIdFrom="DemoLeadOwner1" roleTypeIdFrom="OWNER"
partyIdTo="DemoLead4" roleTypeIdTo="LEAD" fromDate="2001-05-13 00:00:00.000"
partyRelationshipTypeId="LEAD_OWNER"/>
-
- <PartyRelationship partyIdFrom="DemoLeadOwnersGroup"
roleTypeIdFrom="INTERNAL_ORGANIZATIO" partyIdTo="DemoLeadOwner"
roleTypeIdTo="OWNER" fromDate="2001-05-13 00:00:00.000"
partyRelationshipTypeId="LEAD_OWN_GRP_MEMBER"/>
- <PartyRelationship partyIdFrom="DemoLeadOwnersGroup"
roleTypeIdFrom="INTERNAL_ORGANIZATIO" partyIdTo="DemoLeadOwner1"
roleTypeIdTo="OWNER" fromDate="2001-05-13 00:00:00.000"
partyRelationshipTypeId="LEAD_OWN_GRP_MEMBER"/>
-
- <SalesOpportunityStage opportunityStageId="SOSTG_PROSPECT"
description="Prospect" defaultProbability="0.050000" sequenceNum="1"/>
- <SalesOpportunityStage opportunityStageId="SOSTG_PROPOSAL"
description="Proposal" defaultProbability="0.200000" sequenceNum="2"/>
- <SalesOpportunityStage opportunityStageId="SOSTG_QUOTED"
description="Quoted" defaultProbability="0.400000" sequenceNum="3"/>
- <SalesOpportunityStage opportunityStageId="SOSTG_CLOSED"
description="Closed" defaultProbability="1.000000" sequenceNum="4"/>
-
- <Enumeration enumId="SLSOPP_ECOMMERCE" enumTypeId="SLSOPP_TYP_ENUM"
description="Ecommerce"/>
- <Enumeration enumId="SLSOPP_ERP" enumTypeId="SLSOPP_TYP_ENUM"
description="ERP"/>
- <Enumeration enumId="SLSOPP_INSTALL" enumTypeId="SLSOPP_TYP_ENUM"
description="Installation"/>
- <Enumeration enumId="SLSOPP_CUSTM" enumTypeId="SLSOPP_TYP_ENUM"
description="Customization"/>
- <Enumeration enumId="SLSOPP_SUPPORT" enumTypeId="SLSOPP_TYP_ENUM"
description="Support plan"/>
-
-</entity-engine-xml>
Modified: ofbiz/ofbiz-framework/trunk/applications/marketing/ofbiz-component.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/marketing/ofbiz-component.xml?rev=1823177&r1=1823176&r2=1823177&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/marketing/ofbiz-component.xml
(original)
+++ ofbiz/ofbiz-framework/trunk/applications/marketing/ofbiz-component.xml Mon
Feb 5 14:13:04 2018
@@ -25,12 +25,9 @@ under the License.
<classpath type="dir" location="config"/>
<entity-resource type="data" reader-name="seed" loader="main"
location="data/MarketingSecurityPermissionSeedData.xml"/>
- <entity-resource type="data" reader-name="demo" loader="main"
location="data/MarketingSecurityGroupDemoData.xml"/>
<entity-resource type="data" reader-name="seed" loader="main"
location="data/MarketingHelpData.xml"/>
<entity-resource type="data" reader-name="seed" loader="main"
location="data/SfaPortletData.xml"/>
- <entity-resource type="data" reader-name="demo" loader="main"
location="data/SfaSystemPropertyData.xml"/>
- <entity-resource type="data" reader-name="demo" loader="main"
location="data/sfaDemoData.xml"/>
-
+
<service-resource type="model" loader="main"
location="servicedef/services.xml"/>
<service-resource type="model" loader="main"
location="servicedef/services_contact.xml"/>
<service-resource type="model" loader="main"
location="servicedef/services_opportunity.xml"/>