Files
ofbiz-framework/applications/ecommerce/data/DemoBlogUsersData.xml
T
Alfred Maxwell Byers 9b0a33c64d This is all the front-end code and data required to implement the blog example in ecommerce.
It also relies on two service files committed earlier - BlogServices.java/xml

Not much attention has been paid to style or layout. We will count on the folks at HotWax Media to add their secret sauce.

The two areas on which the most attention were:

1. Getting the permission scheme to work correctly.
2. Getting the complex content rendering to work. It uses the widget screens as templates.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499264 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 05:17:03 +00:00

76 lines
5.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2001-2006 The Apache Software Foundation
Licensed 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="BLOGUSER_ADMIN" partyTypeId="PERSON" createdDate="2004-03-27 09:37:40.989" createdByUserLogin="admin" lastModifiedDate="2004-03-27 09:37:40.989" lastModifiedByUserLogin="admin"/>
<Person partyId="BLOGUSER_ADMIN" lastName="Blog" firstName="Admin"/>
<UserLogin userLoginId="blog_admin" partyId="BLOGUSER_ADMIN" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a"/>
<PartyRole partyId="BLOGUSER_ADMIN" roleTypeId="BLOG_ADMIN"/>
<ContentRole partyId="BLOGUSER_ADMIN" roleTypeId="BLOG_ADMIN" contentId="BLOGROOT" fromDate="2004-03-27 09:37:40.989"/>
<UserLoginSecurityGroup userLoginId="blog_admin" groupId="FULLADMIN" fromDate="2004-09-15 00:00:00.000"/>
<Party partyId="BLOGUSER_EDITOR" partyTypeId="PERSON" createdDate="2004-03-27 09:37:40.989" createdByUserLogin="admin" lastModifiedDate="2004-03-27 09:37:40.989" lastModifiedByUserLogin="admin"/>
<Person partyId="BLOGUSER_EDITOR" lastName="Blog" firstName="Editor"/>
<UserLogin userLoginId="blog_editor" partyId="BLOGUSER_EDITOR" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a"/>
<PartyRole partyId="BLOGUSER_EDITOR" roleTypeId="BLOG_ADMIN"/>
<ContentRole partyId="BLOGUSER_EDITOR" roleTypeId="BLOG_ADMIN" contentId="BLOGROOT" fromDate="2004-03-27 09:37:40.989"/>
<UserLoginSecurityGroup userLoginId="blog_editor" groupId="FULLADMIN" fromDate="2004-09-15 00:00:00.000"/>
<Party partyId="BLOGUSER_USER" partyTypeId="PERSON" createdDate="2004-03-27 09:37:40.989" createdByUserLogin="admin" lastModifiedDate="2004-03-27 09:37:40.989" lastModifiedByUserLogin="admin"/>
<Person partyId="BLOGUSER_USER" lastName="Blog" firstName="User"/>
<UserLogin userLoginId="blog_user" partyId="BLOGUSER_USER" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" fromDate="2004-09-15 00:00:00.000"/>
<PartyRole partyId="BLOGUSER_USER" roleTypeId="BLOG_ADMIN"/>
<PartyRole partyId="BLOGUSER_USER" roleTypeId="BLOG_AUTHOR"/>
<Party partyId="BLOGUSER_GUEST" partyTypeId="PERSON" createdDate="2004-10-20 09:37:40.989" createdByUserLogin="admin" lastModifiedDate="2004-10-20 09:37:40.989" lastModifiedByUserLogin="admin"/>
<Person partyId="BLOGUSER_GUEST" lastName="Blog" firstName="Guest"/>
<UserLogin userLoginId="blog_guest" partyId="BLOGUSER_GUEST" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a" fromDate="2004-09-15 00:00:00.000"/>
<Party partyId="AUTHOR_BIGAL" partyTypeId="PERSON" createdDate="2004-03-27 09:37:40.989" createdByUserLogin="admin" lastModifiedDate="2004-03-27 09:37:40.989" lastModifiedByUserLogin="admin"/>
<Person partyId="AUTHOR_BIGAL" lastName="Al" firstName="Big"/>
<UserLogin userLoginId="bigal" partyId="AUTHOR_BIGAL" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a"/>
<PartyRole partyId="AUTHOR_BIGAL" roleTypeId="BLOG_AUTHOR"/>
<ContentRole partyId="AUTHOR_BIGAL" roleTypeId="BLOG_AUTHOR" contentId="BLOGROOTBIGAL" fromDate="2004-03-27 09:37:40.989"/>
<ContentPurpose contentId="BLOGROOTBIGAL" contentPurposeTypeId="ARTICLE"/>
<!-- Updating BLOGROOTBIGAL with bigal as creator so that he will be found as "owner" for subrecords.
This is used in a screen permission test.
-->
<Content contentId="BLOGROOTBIGAL"
createdByUserLogin="bigal"
lastModifiedByUserLogin="bigal"
createdDate="2004-10-16 17:32:31.285"
lastModifiedDate="2004-10-16 17:32:31.291" />
<Party partyId="AUTHOR_MADMAX" partyTypeId="PERSON" createdDate="2004-03-27 09:37:40.989" createdByUserLogin="admin" lastModifiedDate="2004-03-27 09:37:40.989" lastModifiedByUserLogin="admin"/>
<Person partyId="AUTHOR_MADMAX" lastName="Max" firstName="Mad"/>
<UserLogin userLoginId="madmax" partyId="AUTHOR_MADMAX" currentPassword="47ca69ebb4bdc9ae0adec130880165d2cc05db1a"/>
<PartyRole partyId="AUTHOR_MADMAX" roleTypeId="BLOG_AUTHOR"/>
<ContentRole partyId="AUTHOR_MADMAX" roleTypeId="BLOG_AUTHOR" contentId="BLOGROOTMADMAX" fromDate="2004-03-27 09:37:40.989"/>
<ContentPurpose contentId="BLOGROOTMADMAX" contentPurposeTypeId="ARTICLE"/>
<!-- Updating biBLOGROOTMADMAXgal with madmax as creator so that he will be found as "owner" for subrecords.
This is used in a screen permission test.
-->
<Content contentId="BLOGROOTMADMAX"
createdByUserLogin="madmax"
lastModifiedByUserLogin="madmax"
createdDate="2004-10-16 17:32:31.285"
lastModifiedDate="2004-10-16 17:32:31.291" />
</entity-engine-xml>