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

Added view entities #230

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
19 changes: 19 additions & 0 deletions entity/OmsCommonViewEntities.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,23 @@ under the License.
</alias-all>
<alias name="typeDescription" field="description" entity-alias="TYPE"/>
</view-entity>

<view-entity entity-name="UserLoginSecurityGroupAndPermission"
package="co.hotwax.security" >
<member-entity entity-alias="SP" entity-name="SecurityPermission"/>
<member-entity entity-alias="SGP" entity-name="SecurityGroupPermission" join-from-alias="SP">
<key-map field-name="permissionId"/>
</member-entity>
<member-entity entity-alias="ULSG" entity-name="UserLoginSecurityGroup" join-from-alias="SGP">
<key-map field-name="groupId"/>
</member-entity>
<alias entity-alias="ULSG" name="userLoginId"/>
<alias entity-alias="ULSG" name="groupId"/>
<alias entity-alias="ULSG" name="fromDate"/>
<alias entity-alias="ULSG" name="thruDate"/>
<alias entity-alias="SP" name="permissionId"/>
<alias entity-alias="SP" name="description"/>
<alias entity-alias="SGP" name="sGPFromDate" field="fromDate"/>
<alias entity-alias="SGP" name="sGPThruDate" field="thruDate"/>
</view-entity>
</entities>
2 changes: 1 addition & 1 deletion entity/OmsOrderViewEntities.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1625,5 +1625,5 @@ under the License.
<alias entity-alias="OI" name="cancelQuantity"/>
<alias entity-alias="OI" name="statusId"/>
</view-entity>

</entities>