Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
2247b5bd
Commit
2247b5bd
authored
Sep 11, 2019
by
Chamath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WorkFlowTemplates service added.
parent
bde271d9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
0 deletions
+57
-0
BaseSearchWorkFlowTemplate.java
...ebApp/src/performa/search/BaseSearchWorkFlowTemplate.java
+0
-0
SearchWorkFlowTemplate.java
cmsWebApp/src/performa/search/SearchWorkFlowTemplate.java
+31
-0
SearchWorkFlowTemplate.xml
cmsWebApp/src/performa/search/SearchWorkFlowTemplate.xml
+20
-0
GeneralConfig_performa.xml
...pp/webroot/extensions/performa/GeneralConfig_performa.xml
+6
-0
No files found.
cmsWebApp/src/performa/search/BaseSearchWorkFlowTemplate.java
0 → 100644
View file @
2247b5bd
This diff is collapsed.
Click to expand it.
cmsWebApp/src/performa/search/SearchWorkFlowTemplate.java
0 → 100644
View file @
2247b5bd
package
performa
.
search
;
import
oneit.objstore.*
;
import
oneit.objstore.rdbms.filters.*
;
import
performa.orm.*
;
public
class
SearchWorkFlowTemplate
extends
BaseSearchWorkFlowTemplate
{
private
static
final
long
serialVersionUID
=
0L
;
// This constructor should not be called
public
SearchWorkFlowTemplate
()
{
// Do not add any code to this, always put it in initialiseNewObject
}
@Override
public
BaseBusinessClass
[]
doSearch
()
{
BaseWorkFlowTemplate
.
SearchAll
searchByAll
=
WorkFlowTemplate
.
SearchByAll
();
if
(
isTrue
(
getOnlyGlobalTemplates
()))
{
return
searchByAll
.
andIsGlobalTemplate
(
new
EqualsFilter
<>(
Boolean
.
TRUE
)).
search
(
getTransaction
());
}
return
searchByAll
.
andIsGlobalTemplate
(
new
IsNotNullFilter
<>()).
search
(
getTransaction
());
}
}
\ No newline at end of file
cmsWebApp/src/performa/search/SearchWorkFlowTemplate.xml
0 → 100644
View file @
2247b5bd
<?xml version="1.0" encoding="UTF-8"?>
<ROOT
xmlns:xsi=
'http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation=
'http://www.oneit.com.au/schemas/5.2/BusinessObject.xsd'
>
<BUSINESSCLASS
name=
"SearchWorkFlowTemplate"
package=
"performa.search"
superclass=
"SearchExecutor"
>
<IMPORT
value=
"oneit.servlets.orm.*"
/>
<IMPORT
value=
"performa.orm.*"
/>
<IMPORT
value=
"performa.orm.types.*"
/>
<TABLE
tablePrefix=
"object"
polymorphic=
"FALSE"
>
<ATTRIB
name=
"OnlyGlobalTemplates"
type=
"Boolean"
/>
</TABLE>
</BUSINESSCLASS>
</ROOT>
\ No newline at end of file
cmsWebApp/webroot/extensions/performa/GeneralConfig_performa.xml
View file @
2247b5bd
...
@@ -76,6 +76,12 @@
...
@@ -76,6 +76,12 @@
<QueryType
factory=
"String"
name=
"All"
value=
"performa.search.SearchMessageTemplate"
/>
<QueryType
factory=
"String"
name=
"All"
value=
"performa.search.SearchMessageTemplate"
/>
</NODE>
</NODE>
<NODE
name=
"WorkFlowTemplates"
factory=
"Participant"
class=
"oneit.appservices.ws.services.ORMSearchJSONService"
boClass=
"performa.orm.WorkFlowTemplate"
privilege=
"*"
>
<Overview>
This service returns all the Workflow Templates
</Overview>
<QueryType
factory=
"String"
name=
"All"
value=
"performa.search.SearchWorkFlowTemplate"
/>
</NODE>
<NODE
name=
"SaveMessageAsCopy"
factory=
"Participant"
class=
"performa.ws.SaveMessageAsCopy"
privilege=
"*"
>
<NODE
name=
"SaveMessageAsCopy"
factory=
"Participant"
class=
"performa.ws.SaveMessageAsCopy"
privilege=
"*"
>
<INHERITS
nodename=
"SaveWebService::.*"
mandatory=
"false"
/>
<INHERITS
nodename=
"SaveWebService::.*"
mandatory=
"false"
/>
</NODE>
</NODE>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment