[ 
https://issues.apache.org/jira/browse/CONNECTORS-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660902#comment-13660902
 ] 

David Morana edited comment on CONNECTORS-689 at 5/17/13 5:47 PM:
------------------------------------------------------------------

It appears to be working fine, thanks!
I don't know what caused the earlier problem

P.S. the Status still says "Starting Up" even when there are 6000 docs listed 
in the Active column...
It's a minor issue, but I thought you should know. 
Other than that it seems to be working great
                
      was (Author: dmorana):
    It appears to be working fine, thanks!
I don't know what caused the earlier problem
                  
> Add Personal Workspaces to the Livelink connector
> -------------------------------------------------
>
>                 Key: CONNECTORS-689
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-689
>             Project: ManifoldCF
>          Issue Type: Improvement
>    Affects Versions: ManifoldCF 1.3
>            Reporter: David Morana
>            Assignee: Karl Wright
>            Priority: Minor
>             Fix For: ManifoldCF 1.3
>
>
> Currently, the Livelink connector only crawls the Enterprise workspace.
> Can we add each users personal workspace to the crawl?
> First you would have to enumerate all the users (and get the users object ID) 
> and then use ListObjects to enumerate all of the files and folders.
> Initially, I was testing to see if deleted users appeared; fortunately they 
> don't. You could also test to exclude login disabled users but that's 
> probably not necessary.
> here's some prototype code:
> {code}
> // list all users test
> LLValue uu = new LLValue();
> LLValue children = new LLValue();
> int stat = users.ListUsers(uu);
> //add test status for errors
> LLValueEnumeration valEnum = uu.enumerateValues();
> while (valEnum.hasMoreElements())
> {
>       elem = (LLValue) valEnum.nextElement(); 
>       //int t = elem.toInteger("DELETED");
>       //if (t == 1)
>       //{
>               System.out.println("OwnerID = " + elem.toString("ID"));
>               System.out.println("Name = " + elem.toString("NAME"));          
>                 
>               System.out.println("Deleted = " + elem.toString("DELETED"));
>       //}
>               // exclude the Admin account - objectID 1000, 1001
>               // enumerate all objects in the Users PersonalWS, see and see 
> contents at the very least 
>               int objID =  elem.toInteger("ID");
>               if (objID != 1000 || objID != 1001)
>                       stat = documents.ListObjects(0, objID, null, null, 2 + 
> 36865, children);
>               
>               // loop through children to get files and folders
>               children.enumerateValues();
>               ...
> }
> {code}
> We're really only after files and folders. There are other Livelink objects, 
> like LiveReports, that you can probably exclude. Some users have the ability 
> to create and use LiveReports which are stored in their PersonalWS. 
> LiveReports are just glorified oracle stored procedures.
> Exclude the Admin account. You can't enumerate that in lapi.
> Thanks,

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to