Skip to content

Commit abd927a

Browse files
clean up cds
1 parent a757561 commit abd927a

File tree

5 files changed

+4
-14
lines changed

5 files changed

+4
-14
lines changed

app/admin/fiori-service.cds

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,6 @@ annotate AdminService.ContentsHierarchy with @Hierarchy.RecursiveHierarchy#Conte
210210
LimitedDescendantCount: LimitedDescendantCount,
211211
DistanceFromRoot: DistanceFromRoot,
212212
DrillState: DrillState,
213-
Matched: Matched,
214-
MatchedDescendantCount: MatchedDescendantCount,
215213
LimitedRank: LimitedRank
216214
};
217215

app/browse-genres/fiori-service.cds

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,5 @@ annotate CatalogService.GenreHierarchy with @Hierarchy.RecursiveHierarchy#GenreH
1616
LimitedDescendantCount: LimitedDescendantCount,
1717
DistanceFromRoot: DistanceFromRoot,
1818
DrillState: DrillState,
19-
Matched: Matched,
20-
MatchedDescendantCount: MatchedDescendantCount,
2119
LimitedRank: LimitedRank
2220
};

app/genres/fiori-service.cds

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,5 @@ annotate AdminService.GenreHierarchy with @Aggregation.RecursiveHierarchy#GenreH
1717
LimitedDescendantCount: LimitedDescendantCount,
1818
DistanceFromRoot: DistanceFromRoot,
1919
DrillState: DrillState,
20-
Matched: Matched,
21-
MatchedDescendantCount: MatchedDescendantCount,
2220
LimitedRank: LimitedRank
2321
};

db/hierarchy.cds

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ aspect Hierarchy {
44
virtual LimitedDescendantCount : Integer64;
55
virtual DistanceFromRoot : Integer64;
66
virtual DrillState : String;
7-
virtual Matched : Boolean; // not used
8-
virtual MatchedDescendantCount : Integer64; // not used
97
virtual LimitedRank : Integer64;
108
}
119

@@ -14,16 +12,12 @@ annotate Hierarchy with @Capabilities.FilterRestrictions.NonFilterableProperties
1412
'LimitedDescendantCount',
1513
'DistanceFromRoot',
1614
'DrillState',
17-
'Matched',
18-
'MatchedDescendantCount',
1915
'LimitedRank'
2016
];
2117

2218
annotate Hierarchy with @Capabilities.SortRestrictions.NonSortableProperties: [
2319
'LimitedDescendantCount',
2420
'DistanceFromRoot',
2521
'DrillState',
26-
'Matched',
27-
'MatchedDescendantCount',
2822
'LimitedRank'
2923
];

srv/admin-service.cds

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ service AdminService @(requires: 'admin') {
2424
entity GenreHierarchy as projection on my.Genres
2525
excluding {children} order by siblingRank
2626
actions {
27-
// HierarchySiblingActionHandler.java
28-
action moveSibling(NextSibling : NextSibling); // to be implemented in custom handler
27+
// Custom Handler -> HierarchySiblingActionHandler.java
28+
// Experimental UI feature, see:
29+
// https://github.com/SAP/odata-vocabularies/blob/main/vocabularies/Hierarchy.md#template_changenextsiblingaction-experimental
30+
action moveSibling(NextSibling : NextSibling);
2931
};
3032

3133
entity ContentsHierarchy as projection on my.Contents;

0 commit comments

Comments
 (0)