Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed portal page and relatd entities. #220

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 0 additions & 82 deletions entity/CommonEntitymodel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -385,88 +385,6 @@ under the License.
<key-map field-name="resourceTypeEnumId" related="enumId"/>
</relationship>
</entity>
<entity entity-name="PortalPortlet" package="org.apache.ofbiz.common.portal" group="ofbiz_transactional">
<field name="portalPortletId" type="id" is-pk="true"></field>
<field name="portletName" type="text-medium"></field>
<field name="screenName" type="text-long"></field>
<field name="screenLocation" type="text-long"></field>
<field name="editFormName" type="text-long"></field>
<field name="editFormLocation" type="text-long"></field>
<field name="description" type="text-long"></field>
<field name="screenshot" type="text-long"></field>
<field name="securityServiceName" type="text-long"><description>The service named here is used to see if current user can see the portlet on the list of available portlets; the screen that the portlet calls should also call this service to check permission and not render; the service named here must implement the &quot;permissionInterface&quot; service just like services used for service permissions</description></field>
<field name="securityMainAction" type="text-medium"><description>The main action which can be done with this portlet, possible values: CREATE UPDATE VIEW DELETE</description></field>
</entity>
<entity entity-name="PortletCategory" package="org.apache.ofbiz.common.portal" group="ofbiz_transactional">
<field name="portletCategoryId" type="id" is-pk="true"></field>
<field name="description" type="text-long"></field>
</entity>
<entity entity-name="PortletPortletCategory" package="org.apache.ofbiz.common.portal" group="ofbiz_transactional">
<field name="portalPortletId" type="id" is-pk="true"></field>
<field name="portletCategoryId" type="id" is-pk="true"></field>
<relationship type="one" fk-name="PPTLTCAT_PTPL" related="org.apache.ofbiz.common.portal.PortalPortlet">
<key-map field-name="portalPortletId"/>
</relationship>
<relationship type="one" fk-name="PPTLTCAT_PTLTCAT" related="org.apache.ofbiz.common.portal.PortletCategory">
<key-map field-name="portletCategoryId"/>
</relationship>
</entity>
<entity entity-name="PortalPage" package="org.apache.ofbiz.common.portal" group="ofbiz_transactional">
<field name="portalPageId" type="id" is-pk="true"></field>
<field name="portalPageName" type="text-medium"></field>
<field name="description" type="text-long"></field>
<field name="ownerUserLoginId" type="id-long"></field>
<field name="originalPortalPageId" type="id"><description>The system portal page this page is derived from</description></field>
<field name="parentPortalPageId" type="id"><description>the parent this page is belonging to, normally the startpage of the portal page group</description></field>
<field name="sequenceNum" type="number-integer"></field>
<field name="securityGroupId" type="id"></field>
<relationship type="one" fk-name="PortPage_PARENT" title="Parent" related="org.apache.ofbiz.common.portal.PortalPage">
<key-map field-name="parentPortalPageId" related="portalPageId"/>
</relationship>
<relationship type="one" fk-name="PORTPAGE_SECGRP" related="org.apache.ofbiz.security.securitygroup.SecurityGroup">
<key-map field-name="securityGroupId" related="groupId"/>
</relationship>
</entity>
<!-- TODO: skipped element view-entity -->
<entity entity-name="PortalPageColumn" package="org.apache.ofbiz.common.portal" group="ofbiz_transactional">
<field name="portalPageId" type="id" is-pk="true"></field>
<field name="columnSeqId" type="id" is-pk="true"></field>
<field name="columnWidthPixels" type="number-integer"></field>
<field name="columnWidthPercentage" type="number-integer"></field>
<relationship type="one" fk-name="PRTL_PGCOL_PAGE" related="org.apache.ofbiz.common.portal.PortalPage">
<key-map field-name="portalPageId"/>
</relationship>
</entity>
<entity entity-name="PortalPagePortlet" package="org.apache.ofbiz.common.portal" group="ofbiz_transactional">
<field name="portalPageId" type="id" is-pk="true"></field>
<field name="portalPortletId" type="id" is-pk="true"></field>
<field name="portletSeqId" type="id" is-pk="true"><description>Identify the portalPortlet instance in case more copy of the same portalPortlet are present in the same portalPage</description></field>
<field name="columnSeqId" type="id"></field>
<field name="sequenceNum" type="number-integer"></field>
<relationship type="one" fk-name="PRTL_PGPTLT_PAGE" related="org.apache.ofbiz.common.portal.PortalPage">
<key-map field-name="portalPageId"/>
</relationship>
<relationship type="one" fk-name="PRTL_PGPTLT_PTLT" related="org.apache.ofbiz.common.portal.PortalPortlet">
<key-map field-name="portalPortletId"/>
</relationship>
<relationship type="one-nofk" related="org.apache.ofbiz.common.portal.PortalPageColumn">
<key-map field-name="portalPageId"/>
<key-map field-name="columnSeqId"/>
</relationship>
</entity>
<!-- TODO: skipped element view-entity -->
<entity entity-name="PortletAttribute" package="org.apache.ofbiz.common.portal" group="ofbiz_transactional">
<field name="portalPageId" type="id" is-pk="true"></field>
<field name="portalPortletId" type="id" is-pk="true"></field>
<field name="portletSeqId" type="id" is-pk="true"></field>
<field name="attrName" type="id-long" is-pk="true"></field>
<field name="attrValue" type="text-long"></field>
<field name="attrDescription" type="text-long"></field>
<field name="attrType" type="text-long"></field>
<relationship type="one" fk-name="PTLT_ATTR_PTLT" related="org.apache.ofbiz.common.portal.PortalPortlet">
<key-map field-name="portalPortletId"/>
</relationship>
</entity>
<!-- TODO: skipped element view-entity -->
<entity entity-name="SystemProperty" package="org.apache.ofbiz.common.property" group="ofbiz_transactional">
<field name="systemResourceId" type="id-long" is-pk="true"></field>
Expand Down