Package org.corrib.s3b.sscf.synchronization

Examples of org.corrib.s3b.sscf.synchronization.SynchronizationPost


          String[] tags = extractWebBookmarkResourceTags(childWbr);
          String wbrURI = childWbr.getSeeAlso().toString();
          //don't add resources marked as IGNORED
          if(!SynchronizationState.IGNORED.equals(childWbr.getSynchronizationState())){
            //we use label here as it is mapped from Post.Description in post when it is imported and stored in repo
            SynchronizationPost post = new SynchronizationPost(wbrURI,childWbr.getLabel(),wbrURI,childWbr.getIssueDate(),true,childWbr.getSynchronizationState(),tags);
            result.add(post);
          }
        }
      }
    }
View Full Code Here


        };
    int i = 0;
    for(String uri : uris){
      i++;
      String[] tags = new String[]{"test1","test2","dipa"};
      SynchronizationPost ip = new SynchronizationPost(uri,"test"+i,"",new Date(),true,SynchronizationState.NEW_IMPORTED,tags);
      ResourceDifference rd = new ResourceDifference(null,ip,BookmarkingSource.DEL_ICIO_US);
      result.add(rd);
    }
   
    return result;
View Full Code Here

TOP

Related Classes of org.corrib.s3b.sscf.synchronization.SynchronizationPost

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.