Changes for page TQL - metody (funkce)

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

From version 2.1
edited by Martin Mahr
on 2024/10/21 22:21
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.mahr
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();
... ... @@ -61,6 +61,8 @@
61 61  
62 62   Date itemDateCreated();
63 63  
82 + Date itemDateWriteOffList();
83 +
64 64   Boolean itemActive();
65 65  
66 66   Boolean itemCompound();
... ... @@ -79,6 +79,8 @@
79 79  
80 80   Long itemSublocationId();
81 81  
102 + Long itemSupplierId();
103 +
82 82   Long itemLocationOwnerId();
83 83  
84 84   String itemPeriodicalYear();
... ... @@ -114,9 +114,12 @@
114 114   Long userId();
115 115  
116 116   String userIdentityCardNumber();
139 + Date userIdentityCardNumberValidityDate();
117 117   Long userDefaultDepartmentId();
118 118   Long userProfessionId();
119 119  
143 + Long userEducationLevelId();
144 +
120 120   String userEducationLevelCode();
121 121  
122 122   Long userLocationForExchangesId();
... ... @@ -136,8 +136,10 @@
136 136  
137 137   boolean userIsFamilyWithValidRegistration();
138 138  
139 - Integer userElectronicBorrowingsCurrentMonthCount(int harvestedSourceId);
164 + Integer userElectronicBorrowingsCurrentMonthCount(Integer... harvestedSourceId);
165 +
140 140   String userCategoryCode();
167 +
141 141   String userFullname();
142 142  
143 143   String userLastname();
... ... @@ -208,6 +208,8 @@
208 208  
209 209   Long itemUserDeletedId();
210 210  
238 + Long itemUserCreatedId();
239 +
211 211   Long loggedUserId();
212 212  
213 213   boolean isUserVisitCountLimitExceed();
... ... @@ -214,12 +214,16 @@
214 214  
215 215   boolean hasUserNoActiveRegistrationInHisDefaultDepartment(int departmentId);
216 216  
217 - 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);
218 218  
219 219   boolean isShowUserVisitCountWarning();
220 220  
221 221   boolean existsReservation();
222 222  
252 + boolean existsReservationOnRelatedDepartments();
253 +
254 + boolean hasWaitingWemiRequest(Integer... departmentIds);
255 +
223 223   boolean hasUserActiveRegistrationInCurrentDepartment();
224 224  
225 225   boolean isAfterInCurrentYear(int day, int month);
... ... @@ -238,3 +238,5 @@
238 238  
239 239   Double userDebt(long departmentId);
240 240  }}}
274 +
275 +