Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Using Java LAPI GetSearchBrokers() ....
Jens_Brockmann_(DAFractalesAdmin_(Delete)_2535762)
We try to use the Java LAPI function GetSearchBrokers() with the following code sippet:>>>> LLValue searchBroker = (new LLValue()).setAssoc(); session = new LLSession( "server.domain.local", 2099, "dbname", "Admin", "livelink" ); LAPI_SEARCH search = new LAPI_SEARCH( session ); int status = search.GetSearchBrokers( searchBroker ); if ( searchBroker.isDefined() && searchBroker.isList() ) { Enumeration enum; LLValue listValue; Enumeration enum2; LLValue listValue2; System.out.println( "YES! " + searchBroker.size() + "\n" ); enum = searchBroker.enumerateValues(); while ( enum.hasMoreElements() ) { listValue = (LLValue)enum.nextElement(); enum2 = listValue.enumerateValues(); listValue2 = (LLValue)enum2.nextElement(); System.out.println( listValue2.toString() ); } }<<<<The result seems funny!>>>>YES! 4Es gruntso grun,wenn SpaniensBluten bluh'n.<<<<Does anybody has an idea which can help me to solve that ?
Find more posts tagged with
Comments
There are no comments yet