22<!-- NewPage -->
33< html lang ="en ">
44< 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 -->
66< title > BuiltApplication</ title >
7- < meta name ="date " content ="2018-02-08 ">
7+ < meta name ="date " content ="2018-07-13 ">
88< link rel ="stylesheet " type ="text/css " href ="../../../stylesheet.css " title ="Style ">
99< script type ="text/javascript " src ="../../../script.js "> </ script >
1010</ head >
1818 catch ( err ) {
1919 }
2020//-->
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 } ;
2222var tabs = { 65535 :[ "t0" , "All Methods" ] , 2 :[ "t2" , "Instance Methods" ] , 8 :[ "t4" , "Concrete Methods" ] } ;
2323var altColor = "altColor" ;
2424var rowColor = "rowColor" ;
@@ -402,13 +402,21 @@ <h3>Method Summary</h3>
402402</ tr >
403403< tr id ="i40 " class ="altColor ">
404404< 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 >
405413< 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,
406414 com.raweng.built.BuiltAppSyncCallback appSyncCallback,
407415 com.raweng.built.BuiltClassSyncCallback syncCallback)</ code >
408416< div class ="block "> Sync particular classes with the server with provided date.</ div >
409417</ td >
410418</ tr >
411- < tr id ="i41 " class ="rowColor ">
419+ < tr id ="i42 " class ="altColor ">
412420< td class ="colFirst "> < code > void</ code > </ td >
413421< 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,
414422 java.lang.Object dateObject,
@@ -417,54 +425,69 @@ <h3>Method Summary</h3>
417425< div class ="block "> Sync particular classes with the server with provided date.</ div >
418426</ td >
419427</ 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 ">
421444< td class ="colFirst "> < code > org.json.JSONObject</ code > </ td >
422445< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#toJSON-- "> toJSON</ a > </ span > ()</ code >
423446< 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 >
424447</ td >
425448</ tr >
426- < tr id ="i43 " class ="rowColor ">
449+ < tr id ="i46 " class ="altColor ">
427450< td class ="colFirst "> < code > void</ code > </ td >
428451< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#trackAnonymously-boolean- "> trackAnonymously</ a > </ span > (boolean isTrackAnonymous)</ code >
429452< div class ="block "> Set True/False for enable/disable anonymous user track.</ div >
430453</ td >
431454</ tr >
432- < tr id ="i44 " class ="altColor ">
455+ < tr id ="i47 " class ="rowColor ">
433456< td class ="colFirst "> < code > < a href ="../../../com/raweng/built/BuiltUpload.html " title ="class in com.raweng.built "> BuiltUpload</ a > </ code > </ td >
434457< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#upload-- "> upload</ a > </ span > ()</ code >
435458< div class ="block "> Represents a < a href ="../../../com/raweng/built/BuiltUpload.html " title ="class in com.raweng.built "> < code > BuiltUpload</ code > </ a > .< br >
436459 Create < a href ="../../../com/raweng/built/BuiltUpload.html " title ="class in com.raweng.built "> < code > BuiltUpload</ code > </ a > instance.</ div >
437460</ td >
438461</ tr >
439- < tr id ="i45 " class ="rowColor ">
462+ < tr id ="i48 " class ="altColor ">
440463< td class ="colFirst "> < code > < a href ="../../../com/raweng/built/BuiltUpload.html " title ="class in com.raweng.built "> BuiltUpload</ a > </ code > </ td >
441464< 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 >
442465< div class ="block "> Represents a < a href ="../../../com/raweng/built/BuiltUpload.html " title ="class in com.raweng.built "> < code > BuiltUpload</ code > </ a > .< br >
443466 Create < a href ="../../../com/raweng/built/BuiltUpload.html " title ="class in com.raweng.built "> < code > BuiltUpload</ code > </ a > instance.</ div >
444467</ td >
445468</ tr >
446- < tr id ="i46 " class ="altColor ">
469+ < tr id ="i49 " class ="rowColor ">
447470< td class ="colFirst "> < code > < a href ="../../../com/raweng/built/BuiltUser.html " title ="class in com.raweng.built "> BuiltUser</ a > </ code > </ td >
448471< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#user-- "> user</ a > </ span > ()</ code >
449472< div class ="block "> Represents a < a href ="../../../com/raweng/built/BuiltUser.html " title ="class in com.raweng.built "> < code > BuiltUser</ code > </ a > .< br >
450473 Create < a href ="../../../com/raweng/built/BuiltUser.html " title ="class in com.raweng.built "> < code > BuiltUser</ code > </ a > instance.</ div >
451474</ td >
452475</ tr >
453- < tr id ="i47 " class ="rowColor ">
476+ < tr id ="i50 " class ="altColor ">
454477< td class ="colFirst "> < code > < a href ="../../../com/raweng/built/BuiltUser.html " title ="class in com.raweng.built "> BuiltUser</ a > </ code > </ td >
455478< 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 >
456479< div class ="block "> Represents a < a href ="../../../com/raweng/built/BuiltUser.html " title ="class in com.raweng.built "> < code > BuiltUser</ code > </ a > .< br >
457480 Create < a href ="../../../com/raweng/built/BuiltUser.html " title ="class in com.raweng.built "> < code > BuiltUser</ code > </ a > instance.</ div >
458481</ td >
459482</ tr >
460- < tr id ="i48 " class ="altColor ">
483+ < tr id ="i51 " class ="rowColor ">
461484< td class ="colFirst "> < code > < a href ="../../../com/raweng/built/BuiltUserRoleMapper.html " title ="class in com.raweng.built "> BuiltUserRoleMapper</ a > </ code > </ td >
462485< td class ="colLast "> < code > < span class ="memberNameLink "> < a href ="../../../com/raweng/built/BuiltApplication.html#userRoleMapper-- "> userRoleMapper</ a > </ span > ()</ code >
463486< div class ="block "> Represents a < a href ="../../../com/raweng/built/BuiltUserRoleMapper.html " title ="class in com.raweng.built "> < code > BuiltUserRoleMapper</ code > </ a > .< br >
464487 Create < a href ="../../../com/raweng/built/BuiltUserRoleMapper.html " title ="class in com.raweng.built "> < code > BuiltUserRoleMapper</ code > </ a > instance.</ div >
465488</ td >
466489</ tr >
467- < tr id ="i49 " class ="rowColor ">
490+ < tr id ="i52 " class ="altColor ">
468491< td class ="colFirst "> < code > < a href ="../../../com/raweng/built/BuiltUserRoleMapper.html " title ="class in com.raweng.built "> BuiltUserRoleMapper</ a > </ code > </ td >
469492< 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 >
470493< 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>
16331656</ dl >
16341657</ li >
16351658</ 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 >
16361693< a name ="syncOnly-java.lang.String:A-com.raweng.built.BuiltAppSyncCallback-com.raweng.built.BuiltClassSyncCallback- ">
16371694<!-- -->
16381695</ a >
@@ -1715,6 +1772,41 @@ <h4>syncOnly</h4>
17151772</ dl >
17161773</ li >
17171774</ 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 >
17181810< a name ="syncExcept-java.lang.String:A-com.raweng.built.BuiltAppSyncCallback-com.raweng.built.BuiltClassSyncCallback- ">
17191811<!-- -->
17201812</ a >
@@ -1752,7 +1844,7 @@ <h4>syncExcept</h4>
17521844< a name ="syncExcept-java.lang.String:A-java.lang.Object-com.raweng.built.BuiltAppSyncCallback-com.raweng.built.BuiltClassSyncCallback- ">
17531845<!-- -->
17541846</ a >
1755- < ul class ="blockListLast ">
1847+ < ul class ="blockList ">
17561848< li class ="blockList ">
17571849< h4 > syncExcept</ h4 >
17581850< pre > public void syncExcept(java.lang.String[] exceptClassUid,
@@ -1798,6 +1890,42 @@ <h4>syncExcept</h4>
17981890</ dl >
17991891</ li >
18001892</ 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 >
18011929</ li >
18021930</ ul >
18031931</ li >
0 commit comments