2
2
<!-- NewPage -->
3
3
< html lang ="en ">
4
4
< head >
5
- <!-- Generated by javadoc (1.8.0_152-release) on Thu Feb 08 19:23:36 IST 2018 -->
5
+ <!-- Generated by javadoc (1.8.0_152-release) on Fri Jul 13 16:16:19 IST 2018 -->
6
6
< title > BuiltApplication</ title >
7
- < meta name ="date " content ="2018-02-08 ">
7
+ < meta name ="date " content ="2018-07-13 ">
8
8
< link rel ="stylesheet " type ="text/css " href ="../../../stylesheet.css " title ="Style ">
9
9
< script type ="text/javascript " src ="../../../script.js "> </ script >
10
10
</ head >
18
18
catch ( err ) {
19
19
}
20
20
//-->
21
- var methods = { "i0" :10 , "i1" :10 , "i2" :10 , "i3" :10 , "i4" :10 , "i5" :10 , "i6" :10 , "i7" :10 , "i8" :10 , "i9" :10 , "i10" :10 , "i11" :10 , "i12" :10 , "i13" :10 , "i14" :10 , "i15" :10 , "i16" :10 , "i17" :10 , "i18" :10 , "i19" :10 , "i20" :10 , "i21" :10 , "i22" :10 , "i23" :10 , "i24" :10 , "i25" :10 , "i26" :10 , "i27" :10 , "i28" :10 , "i29" :10 , "i30" :10 , "i31" :10 , "i32" :10 , "i33" :10 , "i34" :10 , "i35" :10 , "i36" :10 , "i37" :10 , "i38" :10 , "i39" :10 , "i40" :10 , "i41" :10 , "i42" :10 , "i43" :10 , "i44" :10 , "i45" :10 , "i46" :10 , "i47" :10 , "i48" :10 , "i49" :10 } ;
21
+ var methods = { "i0" :10 , "i1" :10 , "i2" :10 , "i3" :10 , "i4" :10 , "i5" :10 , "i6" :10 , "i7" :10 , "i8" :10 , "i9" :10 , "i10" :10 , "i11" :10 , "i12" :10 , "i13" :10 , "i14" :10 , "i15" :10 , "i16" :10 , "i17" :10 , "i18" :10 , "i19" :10 , "i20" :10 , "i21" :10 , "i22" :10 , "i23" :10 , "i24" :10 , "i25" :10 , "i26" :10 , "i27" :10 , "i28" :10 , "i29" :10 , "i30" :10 , "i31" :10 , "i32" :10 , "i33" :10 , "i34" :10 , "i35" :10 , "i36" :10 , "i37" :10 , "i38" :10 , "i39" :10 , "i40" :10 , "i41" :10 , "i42" :10 , "i43" :10 , "i44" :10 , "i45" :10 , "i46" :10 , "i47" :10 , "i48" :10 , "i49" :10 , "i50" : 10 , "i51" : 10 , "i52" : 10 } ;
22
22
var tabs = { 65535 :[ "t0" , "All Methods" ] , 2 :[ "t2" , "Instance Methods" ] , 8 :[ "t4" , "Concrete Methods" ] } ;
23
23
var altColor = "altColor" ;
24
24
var rowColor = "rowColor" ;
@@ -402,13 +402,21 @@ <h3>Method Summary</h3>
402
402
</ tr >
403
403
< tr id ="i40 " class ="altColor ">
404
404
< td class ="colFirst "> < code > void</ code > </ td >
405
+ < td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#syncExceptWithPagination-java.lang.String:A-com.raweng.built.BuiltAppSyncCallback-com.raweng.built.BuiltClassSyncCallback- "> syncExceptWithPagination</ a > </ span > (java.lang.String[] exceptClassUid,
406
+ com.raweng.built.BuiltAppSyncCallback appSyncCallback,
407
+ com.raweng.built.BuiltClassSyncCallback syncCallback)</ code >
408
+ < div class ="block "> Sync classes omitting particular classes with the server with provided date.</ div >
409
+ </ td >
410
+ </ tr >
411
+ < tr id ="i41 " class ="rowColor ">
412
+ < td class ="colFirst "> < code > void</ code > </ td >
405
413
< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#syncOnly-java.lang.String:A-com.raweng.built.BuiltAppSyncCallback-com.raweng.built.BuiltClassSyncCallback- "> syncOnly</ a > </ span > (java.lang.String[] onlyClassUid,
406
414
com.raweng.built.BuiltAppSyncCallback appSyncCallback,
407
415
com.raweng.built.BuiltClassSyncCallback syncCallback)</ code >
408
416
< div class ="block "> Sync particular classes with the server with provided date.</ div >
409
417
</ td >
410
418
</ tr >
411
- < tr id ="i41 " class ="rowColor ">
419
+ < tr id ="i42 " class ="altColor ">
412
420
< td class ="colFirst "> < code > void</ code > </ td >
413
421
< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#syncOnly-java.lang.String:A-java.lang.Object-com.raweng.built.BuiltAppSyncCallback-com.raweng.built.BuiltClassSyncCallback- "> syncOnly</ a > </ span > (java.lang.String[] onlyClassUid,
414
422
java.lang.Object dateObject,
@@ -417,54 +425,69 @@ <h3>Method Summary</h3>
417
425
< div class ="block "> Sync particular classes with the server with provided date.</ div >
418
426
</ td >
419
427
</ tr >
420
- < tr id ="i42 " class ="altColor ">
428
+ < tr id ="i43 " class ="rowColor ">
429
+ < td class ="colFirst "> < code > void</ code > </ td >
430
+ < td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#syncOnlyWithPagination-java.lang.String:A-com.raweng.built.BuiltAppSyncCallback-com.raweng.built.BuiltClassSyncCallback- "> syncOnlyWithPagination</ a > </ span > (java.lang.String[] onlyClassUid,
431
+ com.raweng.built.BuiltAppSyncCallback appSyncCallback,
432
+ com.raweng.built.BuiltClassSyncCallback syncCallback)</ code >
433
+ < div class ="block "> Sync particular classes with the server with provided date.</ div >
434
+ </ td >
435
+ </ tr >
436
+ < tr id ="i44 " class ="altColor ">
437
+ < td class ="colFirst "> < code > void</ code > </ td >
438
+ < td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#syncWithPagination-com.raweng.built.BuiltAppSyncCallback-com.raweng.built.BuiltClassSyncCallback- "> syncWithPagination</ a > </ span > (com.raweng.built.BuiltAppSyncCallback appSyncCallback,
439
+ com.raweng.built.BuiltClassSyncCallback syncCallback)</ code >
440
+ < div class ="block "> Sync all classes with the server using pagination.</ div >
441
+ </ td >
442
+ </ tr >
443
+ < tr id ="i45 " class ="rowColor ">
421
444
< td class ="colFirst "> < code > org.json.JSONObject</ code > </ td >
422
445
< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#toJSON-- "> toJSON</ a > </ span > ()</ code >
423
446
< div class ="block "> Returns JSON representation of this < a href ="../../../com/raweng/built/BuiltApplication.html " title ="class in com.raweng.built "> < code > BuiltApplication</ code > </ a > instance data.</ div >
424
447
</ td >
425
448
</ tr >
426
- < tr id ="i43 " class ="rowColor ">
449
+ < tr id ="i46 " class ="altColor ">
427
450
< td class ="colFirst "> < code > void</ code > </ td >
428
451
< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#trackAnonymously-boolean- "> trackAnonymously</ a > </ span > (boolean isTrackAnonymous)</ code >
429
452
< div class ="block "> Set True/False for enable/disable anonymous user track.</ div >
430
453
</ td >
431
454
</ tr >
432
- < tr id ="i44 " class ="altColor ">
455
+ < tr id ="i47 " class ="rowColor ">
433
456
< td class ="colFirst "> < code > < a href ="../../../com/raweng/built/BuiltUpload.html " title ="class in com.raweng.built "> BuiltUpload</ a > </ code > </ td >
434
457
< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#upload-- "> upload</ a > </ span > ()</ code >
435
458
< div class ="block "> Represents a < a href ="../../../com/raweng/built/BuiltUpload.html " title ="class in com.raweng.built "> < code > BuiltUpload</ code > </ a > .< br >
436
459
Create < a href ="../../../com/raweng/built/BuiltUpload.html " title ="class in com.raweng.built "> < code > BuiltUpload</ code > </ a > instance.</ div >
437
460
</ td >
438
461
</ tr >
439
- < tr id ="i45 " class ="rowColor ">
462
+ < tr id ="i48 " class ="altColor ">
440
463
< td class ="colFirst "> < code > < a href ="../../../com/raweng/built/BuiltUpload.html " title ="class in com.raweng.built "> BuiltUpload</ a > </ code > </ td >
441
464
< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#upload-java.lang.String- "> upload</ a > </ span > (java.lang.String uploadUid)</ code >
442
465
< div class ="block "> Represents a < a href ="../../../com/raweng/built/BuiltUpload.html " title ="class in com.raweng.built "> < code > BuiltUpload</ code > </ a > .< br >
443
466
Create < a href ="../../../com/raweng/built/BuiltUpload.html " title ="class in com.raweng.built "> < code > BuiltUpload</ code > </ a > instance.</ div >
444
467
</ td >
445
468
</ tr >
446
- < tr id ="i46 " class ="altColor ">
469
+ < tr id ="i49 " class ="rowColor ">
447
470
< td class ="colFirst "> < code > < a href ="../../../com/raweng/built/BuiltUser.html " title ="class in com.raweng.built "> BuiltUser</ a > </ code > </ td >
448
471
< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#user-- "> user</ a > </ span > ()</ code >
449
472
< div class ="block "> Represents a < a href ="../../../com/raweng/built/BuiltUser.html " title ="class in com.raweng.built "> < code > BuiltUser</ code > </ a > .< br >
450
473
Create < a href ="../../../com/raweng/built/BuiltUser.html " title ="class in com.raweng.built "> < code > BuiltUser</ code > </ a > instance.</ div >
451
474
</ td >
452
475
</ tr >
453
- < tr id ="i47 " class ="rowColor ">
476
+ < tr id ="i50 " class ="altColor ">
454
477
< td class ="colFirst "> < code > < a href ="../../../com/raweng/built/BuiltUser.html " title ="class in com.raweng.built "> BuiltUser</ a > </ code > </ td >
455
478
< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#user-java.lang.String- "> user</ a > </ span > (java.lang.String userUid)</ code >
456
479
< div class ="block "> Represents a < a href ="../../../com/raweng/built/BuiltUser.html " title ="class in com.raweng.built "> < code > BuiltUser</ code > </ a > .< br >
457
480
Create < a href ="../../../com/raweng/built/BuiltUser.html " title ="class in com.raweng.built "> < code > BuiltUser</ code > </ a > instance.</ div >
458
481
</ td >
459
482
</ tr >
460
- < tr id ="i48 " class ="altColor ">
483
+ < tr id ="i51 " class ="rowColor ">
461
484
< td class ="colFirst "> < code > < a href ="../../../com/raweng/built/BuiltUserRoleMapper.html " title ="class in com.raweng.built "> BuiltUserRoleMapper</ a > </ code > </ td >
462
485
< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#userRoleMapper-- "> userRoleMapper</ a > </ span > ()</ code >
463
486
< div class ="block "> Represents a < a href ="../../../com/raweng/built/BuiltUserRoleMapper.html " title ="class in com.raweng.built "> < code > BuiltUserRoleMapper</ code > </ a > .< br >
464
487
Create < a href ="../../../com/raweng/built/BuiltUserRoleMapper.html " title ="class in com.raweng.built "> < code > BuiltUserRoleMapper</ code > </ a > instance.</ div >
465
488
</ td >
466
489
</ tr >
467
- < tr id ="i49 " class ="rowColor ">
490
+ < tr id ="i52 " class ="altColor ">
468
491
< td class ="colFirst "> < code > < a href ="../../../com/raweng/built/BuiltUserRoleMapper.html " title ="class in com.raweng.built "> BuiltUserRoleMapper</ a > </ code > </ td >
469
492
< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#userRoleMapper-java.lang.String- "> userRoleMapper</ a > </ span > (java.lang.String uid)</ code >
470
493
< div class ="block "> Represents a < a href ="../../../com/raweng/built/BuiltUserRoleMapper.html " title ="class in com.raweng.built "> < code > BuiltUserRoleMapper</ code > </ a > .< br >
@@ -1633,6 +1656,40 @@ <h4>sync</h4>
1633
1656
</ dl >
1634
1657
</ li >
1635
1658
</ ul >
1659
+ < a name ="syncWithPagination-com.raweng.built.BuiltAppSyncCallback-com.raweng.built.BuiltClassSyncCallback- ">
1660
+ <!-- -->
1661
+ </ a >
1662
+ < ul class ="blockList ">
1663
+ < li class ="blockList ">
1664
+ < h4 > syncWithPagination</ h4 >
1665
+ < pre > public void syncWithPagination(com.raweng.built.BuiltAppSyncCallback appSyncCallback,
1666
+ com.raweng.built.BuiltClassSyncCallback syncCallback)</ pre >
1667
+ < div class ="block "> Sync all classes with the server using pagination. If offline is enabled in BuiltConfig it will save all records.
1668
+
1669
+ Note: If objects are more than 1000 in a class, then this method will be recommended to sync.</ div >
1670
+ < dl >
1671
+ < dt > < span class ="paramLabel "> Parameters:</ span > </ dt >
1672
+ < dd > < code > appSyncCallback</ code > - This callback provides a result when all classes get synced OR set null if don't want.</ dd >
1673
+ < dd > < code > syncCallback</ code > - This callback provides a result class by class synced OR set null if don't want.
1674
+
1675
+ < br > < br > < b > Example :</ b > < br >
1676
+ < pre class ="prettyprint ">
1677
+ builtApplication.syncWithPagination(new BuiltAppSyncCallback() {
1678
+
1679
+ @Override
1680
+ public void onCompletion(BuiltSyncResult syncResult) {
1681
+
1682
+ }, new BuiltClassSyncCallback() {
1683
+
1684
+ @Override
1685
+ public void onCompletion(BuiltSyncResult syncResult, BuiltError builtError) {
1686
+
1687
+ }
1688
+ });
1689
+ </ pre > </ dd >
1690
+ </ dl >
1691
+ </ li >
1692
+ </ ul >
1636
1693
< a name ="syncOnly-java.lang.String:A-com.raweng.built.BuiltAppSyncCallback-com.raweng.built.BuiltClassSyncCallback- ">
1637
1694
<!-- -->
1638
1695
</ a >
@@ -1715,6 +1772,41 @@ <h4>syncOnly</h4>
1715
1772
</ dl >
1716
1773
</ li >
1717
1774
</ ul >
1775
+ < a name ="syncOnlyWithPagination-java.lang.String:A-com.raweng.built.BuiltAppSyncCallback-com.raweng.built.BuiltClassSyncCallback- ">
1776
+ <!-- -->
1777
+ </ a >
1778
+ < ul class ="blockList ">
1779
+ < li class ="blockList ">
1780
+ < h4 > syncOnlyWithPagination</ h4 >
1781
+ < pre > public void syncOnlyWithPagination(java.lang.String[] onlyClassUid,
1782
+ com.raweng.built.BuiltAppSyncCallback appSyncCallback,
1783
+ com.raweng.built.BuiltClassSyncCallback syncCallback)</ pre >
1784
+ < div class ="block "> Sync particular classes with the server with provided date. If offline is enabled in BuiltConfig it will save all records.
1785
+
1786
+ Note: If objects are more than 1000 in a class, then this method will be recommended to sync.</ div >
1787
+ < dl >
1788
+ < dt > < span class ="paramLabel "> Parameters:</ span > </ dt >
1789
+ < dd > < code > onlyClassUid</ code > - string array of classes</ dd >
1790
+ < dd > < code > appSyncCallback</ code > - This callback provides a result when all classes get synced OR set null if don't want.</ dd >
1791
+ < dd > < code > syncCallback</ code > - This callback provides a result class by class synced OR set null if don't want.
1792
+
1793
+ < br > < br > < b > Example :</ b > < br >
1794
+ < pre class ="prettyprint ">
1795
+ builtApplication.syncOnlyWithPagination(new String[]{"classUid"}, new BuiltAppSyncCallback() {
1796
+
1797
+ @Override
1798
+ public void onCompletion(BuiltSyncResult syncResult) {
1799
+
1800
+ }, new BuiltClassSyncCallback() {
1801
+
1802
+ @Override
1803
+ public void onCompletion(BuiltSyncResult syncResult, BuiltError builtError) {
1804
+
1805
+ } });
1806
+ </ pre > </ dd >
1807
+ </ dl >
1808
+ </ li >
1809
+ </ ul >
1718
1810
< a name ="syncExcept-java.lang.String:A-com.raweng.built.BuiltAppSyncCallback-com.raweng.built.BuiltClassSyncCallback- ">
1719
1811
<!-- -->
1720
1812
</ a >
@@ -1752,7 +1844,7 @@ <h4>syncExcept</h4>
1752
1844
< a name ="syncExcept-java.lang.String:A-java.lang.Object-com.raweng.built.BuiltAppSyncCallback-com.raweng.built.BuiltClassSyncCallback- ">
1753
1845
<!-- -->
1754
1846
</ a >
1755
- < ul class ="blockListLast ">
1847
+ < ul class ="blockList ">
1756
1848
< li class ="blockList ">
1757
1849
< h4 > syncExcept</ h4 >
1758
1850
< pre > public void syncExcept(java.lang.String[] exceptClassUid,
@@ -1798,6 +1890,42 @@ <h4>syncExcept</h4>
1798
1890
</ dl >
1799
1891
</ li >
1800
1892
</ ul >
1893
+ < a name ="syncExceptWithPagination-java.lang.String:A-com.raweng.built.BuiltAppSyncCallback-com.raweng.built.BuiltClassSyncCallback- ">
1894
+ <!-- -->
1895
+ </ a >
1896
+ < ul class ="blockListLast ">
1897
+ < li class ="blockList ">
1898
+ < h4 > syncExceptWithPagination</ h4 >
1899
+ < pre > public void syncExceptWithPagination(java.lang.String[] exceptClassUid,
1900
+ com.raweng.built.BuiltAppSyncCallback appSyncCallback,
1901
+ com.raweng.built.BuiltClassSyncCallback syncCallback)</ pre >
1902
+ < div class ="block "> Sync classes omitting particular classes with the server with provided date. If offline is enabled in BuiltConfig it will save all records.
1903
+
1904
+ Note: If objects are more than 1000 in a class, then this method will be recommended to sync.</ div >
1905
+ < dl >
1906
+ < dt > < span class ="paramLabel "> Parameters:</ span > </ dt >
1907
+ < dd > < code > exceptClassUid</ code > - string array of classes</ dd >
1908
+ < dd > < code > appSyncCallback</ code > - This callback provides a result when all classes get synced OR set null if don't want.</ dd >
1909
+ < dd > < code > syncCallback</ code > - This callback provides a result class by class synced OR set null if don't want.
1910
+
1911
+ < br > < br > < b > Example :</ b > < br >
1912
+ < pre class ="prettyprint ">
1913
+ builtApplication.syncExceptWithPagination(new String[]{"classUid"}, new BuiltAppSyncCallback() {
1914
+
1915
+ @Override
1916
+ public void onCompletion(BuiltSyncResult syncResult) {
1917
+
1918
+ }, new BuiltClassSyncCallback() {
1919
+
1920
+ @Override
1921
+ public void onCompletion(BuiltSyncResult syncResult, BuiltError builtError) {
1922
+
1923
+ }
1924
+ });
1925
+ </ pre > </ dd >
1926
+ </ dl >
1927
+ </ li >
1928
+ </ ul >
1801
1929
</ li >
1802
1930
</ ul >
1803
1931
</ li >
0 commit comments