Changes for page TQL - metody (funkce)

Last modified by Jan Šimeček on 2026/03/26 09:49

From version 3.1
edited by Jan Klůfa
on 2024/12/05 11:36
Change comment: There is no comment for this version
To version 5.1
edited by Jan Šimeček
on 2026/03/26 09:49
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.klufa
1 +XWiki.simecek
Content
... ... @@ -16,7 +16,7 @@
16 16  
17 17   Long itemBookBindingId();
18 18  
19 - boolean itemProposalToWriteOff();
19 + Boolean itemProposalToWriteOff();
20 20  
21 21   String workTitleShow();
22 22  
... ... @@ -39,6 +39,8 @@
39 39   String workSpecialString5();
40 40   String workSpecialString6();
41 41  
42 + String workRules();
43 +
42 42   Boolean workIsPeriodical();
43 43  
44 44   boolean workHasSubfieldValueInSubfieldIds(String value, Integer... ids);
... ... @@ -45,16 +45,32 @@
45 45  
46 46   boolean workHasSubfieldNameWithValue(String subfield, String value);
47 47  
50 + boolean workHasAnyLabelIds(Integer... ids);
51 +
52 + boolean workHasNotAnyLabelIds(Integer... ids);
53 +
54 + boolean workHasAllLabelIds(Integer... ids);
55 +
48 48   boolean userHasSubfieldValueInSubfieldId(String value, int id);
49 49  
50 - Integer userElectronicBorrowingsCount(int dayCount, int harvestedSourceId);
58 + Integer userElectronicBorrowingsCount(int dayCount, Integer... harvestedSourceId);
51 51  
52 52   String itemBorrowCategoryExternalId();
61 +
53 53   boolean itemHasSubfieldNameWithValue(String subfield, String value);
63 +
64 + boolean itemHasAnyLabelIds(Integer... ids);
65 +
66 + boolean itemHasAllLabelIds(Integer... ids);
67 +
54 54   String itemIncrementalNumberValueShow();
55 55  
56 56   String itemIncrementalNumberRoot();
57 57  
72 + String itemSpecialString1();
73 + String itemSpecialString2();
74 + String itemSpecialString3();
75 +
58 58   Long itemIncrementalNumberValue();
59 59  
60 60   String itemType();
... ... @@ -81,6 +81,8 @@
81 81  
82 82   Long itemSublocationId();
83 83  
102 + Long itemSupplierId();
103 +
84 84   Long itemLocationOwnerId();
85 85  
86 86   String itemPeriodicalYear();
... ... @@ -116,9 +116,12 @@
116 116   Long userId();
117 117  
118 118   String userIdentityCardNumber();
139 + Date userIdentityCardNumberValidityDate();
119 119   Long userDefaultDepartmentId();
120 120   Long userProfessionId();
121 121  
143 + Long userEducationLevelId();
144 +
122 122   String userEducationLevelCode();
123 123  
124 124   Long userLocationForExchangesId();
... ... @@ -138,8 +138,10 @@
138 138  
139 139   boolean userIsFamilyWithValidRegistration();
140 140  
141 - Integer userElectronicBorrowingsCurrentMonthCount(int harvestedSourceId);
164 + Integer userElectronicBorrowingsCurrentMonthCount(Integer... harvestedSourceId);
165 +
142 142   String userCategoryCode();
167 +
143 143   String userFullname();
144 144  
145 145   String userLastname();
... ... @@ -210,6 +210,8 @@
210 210  
211 211   Long itemUserDeletedId();
212 212  
238 + Long itemUserCreatedId();
239 +
213 213   Long loggedUserId();
214 214  
215 215   boolean isUserVisitCountLimitExceed();
... ... @@ -216,12 +216,16 @@
216 216  
217 217   boolean hasUserNoActiveRegistrationInHisDefaultDepartment(int departmentId);
218 218  
219 - boolean isFamilyOrPartnerOfSizeWithChildCount(boolean orPartner, int minFamilySize, int maxFamilySize, int maxChildCount);
246 + boolean isFamilyOrPartnerOfSizeWithChildCount(boolean isFamily, boolean isPartner, int minFamilySize, int maxFamilySize, int minAdultCount, int maxAdultCount);
220 220  
221 221   boolean isShowUserVisitCountWarning();
222 222  
223 223   boolean existsReservation();
224 224  
252 + boolean existsReservationOnRelatedDepartments();
253 +
254 + boolean hasWaitingWemiRequest(Integer... departmentIds);
255 +
225 225   boolean hasUserActiveRegistrationInCurrentDepartment();
226 226  
227 227   boolean isAfterInCurrentYear(int day, int month);
... ... @@ -240,3 +240,5 @@
240 240  
241 241   Double userDebt(long departmentId);
242 242  }}}
274 +
275 +