Skip to content

Commit

Permalink
Add case state lookup table
Browse files Browse the repository at this point in the history
  • Loading branch information
bpowers1215 committed Oct 18, 2017
1 parent 23487dc commit e3c38ee
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 1 deletion.
Expand Up @@ -1293,6 +1293,8 @@ public String getBubbleLabel() {
menu = new MenuItem(createStringResource("PageAdmin.menu.top.caseWorkItems.listAll"), PageCaseWorkItemsAll.class);
submenu.add(menu);
createFocusPageViewMenu(submenu, "PageAdmin.menu.top.caseWorkItems.view", PageCaseWorkItem.class);
menu = new MenuItem(createStringResource("PageAdmin.menu.top.case.new"), PageCase.class);
submenu.add(menu);
}

return item;
Expand Down
Expand Up @@ -235,7 +235,6 @@ private void initDeltaPanel(Form mainForm){
RepeatingView deltaScene = new RepeatingView(ID_DELTA_PANEL);

if (deltaType != null) {
//deltaType.setOid(shadowName);
ObjectDeltaOperationType delta = new ObjectDeltaOperationType().objectDelta(deltaType).resourceOid(caseDtoModel.getObject().getObjectOid());
delta.setResourceName(new PolyStringType(caseDtoModel.getObject().getObjectName()));
delta.setObjectName(new PolyStringType(shadowName));
Expand Down
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2017 Evolveum, AMI Praha
~
~ 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.
-->

<lookupTable oid="00000000-0000-0000-0000-000000000240"
xmlns='http://midpoint.evolveum.com/xml/ns/public/common/common-3'>

<name>States</name>

<row>
<key>open</key>
<label>Open</label>
</row>
<row>
<key>closed</key>
<label>Closed</label>
</row>

</lookupTable>
Expand Up @@ -1089,6 +1089,7 @@ PageAdmin.menu.top.workItems=Work items
PageAdmin.menu.top.caseWorkItems.list=My cases
PageAdmin.menu.top.caseWorkItems.listAll=All cases
PageAdmin.menu.top.caseWorkItems.view=View case
PageAdmin.menu.top.case.new=New case
pageAdmin.reports.description=Exporting reports
pageAdmin.reports=Reports
PageAdmin.menu.top.users.requestAssign=Request Assignment
Expand Down
Expand Up @@ -104,6 +104,7 @@
</xsd:documentation>
<xsd:appinfo>
<a:displayName>CaseType.state</a:displayName>
<a:valueEnumerationRef oid="00000000-0000-0000-0000-000000000240" type="tns:LookupTableType"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
Expand Down

0 comments on commit e3c38ee

Please sign in to comment.