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
67e8c8c3
Commit
67e8c8c3
authored
Sep 10, 2019
by
Chamath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enum services, Message Template services and Cougar services added.
parent
c9dd911a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
99 additions
and
0 deletions
+99
-0
BaseSearchMessageTemplate.java
cmsWebApp/src/performa/search/BaseSearchMessageTemplate.java
+0
-0
SearchMessageTemplate.java
cmsWebApp/src/performa/search/SearchMessageTemplate.java
+30
-0
SearchMessageTemplate.xml
cmsWebApp/src/performa/search/SearchMessageTemplate.xml
+20
-0
GeneralConfig_performa.xml
...pp/webroot/extensions/performa/GeneralConfig_performa.xml
+49
-0
No files found.
cmsWebApp/src/performa/search/BaseSearchMessageTemplate.java
0 → 100644
View file @
67e8c8c3
This diff is collapsed.
Click to expand it.
cmsWebApp/src/performa/search/SearchMessageTemplate.java
0 → 100644
View file @
67e8c8c3
package
performa
.
search
;
import
oneit.objstore.*
;
import
oneit.objstore.rdbms.filters.*
;
import
performa.orm.*
;
public
class
SearchMessageTemplate
extends
BaseSearchMessageTemplate
{
private
static
final
long
serialVersionUID
=
0L
;
// This constructor should not be called
public
SearchMessageTemplate
()
{
// Do not add any code to this, always put it in initialiseNewObject
}
@Override
public
BaseBusinessClass
[]
doSearch
()
{
BaseMessageTemplate
.
SearchAll
searchByAll
=
MessageTemplate
.
SearchByAll
();
if
(
isTrue
(
getOnlyGlobalTemplate
()))
{
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/SearchMessageTemplate.xml
0 → 100644
View file @
67e8c8c3
<?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=
"SearchMessageTemplate"
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=
"OnlyGlobalTemplate"
type=
"Boolean"
/>
</TABLE>
</BUSINESSCLASS>
</ROOT>
\ No newline at end of file
cmsWebApp/webroot/extensions/performa/GeneralConfig_performa.xml
View file @
67e8c8c3
...
@@ -35,6 +35,55 @@
...
@@ -35,6 +35,55 @@
<MAP
value=
"HOME_TL"
description=
"HomePage"
JSP=
"/extensions/performa/editor/additionalHomePage.jsp"
/>
<MAP
value=
"HOME_TL"
description=
"HomePage"
JSP=
"/extensions/performa/editor/additionalHomePage.jsp"
/>
</NODE>
</NODE>
<NODE
name=
"SaveWebService::Performa"
>
<Privilege
name=
"performa.orm.MessageTemplate"
factory=
"String"
value=
"*"
/>
</NODE>
<NODE
name=
"JSONServices::Performa"
>
<NODE
name=
"EnvironmentInformation"
factory=
"Participant"
class=
"oneit.appservices.ws.services.EnvironmentJSONService"
privilege=
""
>
<Overview>
This webservice service is used to get information about the logged in user, the time, and their privileges.
</Overview>
</NODE>
<NODE
name=
"UserConfigs"
factory=
"Participant"
class=
"oneit.appservices.ws.services.ORMSearchJSONService"
boClass=
"oneit.appservices.ws.config.UserConfig"
privilege=
"*"
>
<Overview>
This webservice service is used to get user related other configs.
</Overview>
<QueryType
name=
"All"
factory=
"String"
value=
"oneit.appservices.ws.search.SearchUserConfig"
/>
</NODE>
<NODE
name=
"SaveUserConfig"
factory=
"Participant"
class=
"oneit.appservices.ws.services.ORMFormProcessorService"
fpClass=
"oneit.appservices.ws.config.SaveUserConfigWSFP"
privilege=
"*"
>
<Overview>
This webservice service is used to get save UserConfigs.
</Overview>
</NODE>
<NODE
name=
"Menu"
factory=
"Participant"
class=
"oneit.appservices.ws.services.MenuJSONService"
privilege=
"*"
>
<Overview>
This webservice is used to get all menu items.
</Overview>
</NODE>
<NODE
name=
"Users"
factory=
"Participant"
class=
"oneit.appservices.ws.services.ORMSearchJSONService"
boClass=
"oneit.security.SecUser"
privilege=
"*"
>
<Overview>
This webservice service is used to get list of users from the system. Note: It will include the disabled users too.
</Overview>
<QueryType
factory=
"String"
name=
"All"
value=
"oneit.security.search.SearchUser"
/>
</NODE>
<NODE
name=
"CMSText"
factory=
"Participant"
class=
"oneit.appservices.ws.services.ORMFormProcessorService"
fpClass=
"oneit.business.content.search.SearchArticleContent"
privilege=
""
>
<Overview>
This service uses to get the cms text by shortcut of article
</Overview>
</NODE>
<NODE
name=
"MessageTemplates"
factory=
"Participant"
class=
"oneit.appservices.ws.services.ORMSearchJSONService"
boClass=
"performa.orm.MessageTemplate"
privilege=
"*"
>
<Overview>
This service returns all the message templates
</Overview>
<QueryType
factory=
"String"
name=
"All"
value=
"performa.search.SearchMessageTemplate"
/>
</NODE>
<!-- Enum services -->
<NODE
name=
"ResponseAction"
factory=
"Participant"
class=
"oneit.appservices.ws.services.EnumJSONService"
enumClass=
"performa.orm.types.ResponseAction"
privilege=
"*"
/>
<NODE
name=
"StageType"
factory=
"Participant"
class=
"oneit.appservices.ws.services.EnumJSONService"
enumClass=
"performa.orm.types.StageType"
privilege=
"*"
/>
<NODE
name=
"TemplateType"
factory=
"Participant"
class=
"oneit.appservices.ws.services.EnumJSONService"
enumClass=
"performa.orm.types.TemplateType"
privilege=
"*"
/>
<NODE
name=
"SentVia"
factory=
"Participant"
class=
"oneit.appservices.ws.services.EnumJSONService"
enumClass=
"performa.orm.types.SentVia"
privilege=
"*"
/>
<NODE
name=
"PlaceholderOptions"
factory=
"Participant"
class=
"oneit.appservices.ws.services.EnumJSONService"
enumClass=
"performa.orm.types.PlaceholderOptions"
privilege=
"*"
/>
</NODE>
<NODE
name=
"WEB_BATCH::Email"
>
<NODE
name=
"WEB_BATCH::Email"
>
<TASK
factory=
"Participant"
class=
"oneit.appservices.batch.DefaultTask"
>
<TASK
factory=
"Participant"
class=
"oneit.appservices.batch.DefaultTask"
>
<RUN
class=
"performa.utils.PerformaEmailFetcher"
factory=
"Participant"
>
<RUN
class=
"performa.utils.PerformaEmailFetcher"
factory=
"Participant"
>
...
...
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