org.semanticdesktop.aperture.outlook
Class OutlookResource.OutlookResourceSave

java.lang.Object
  extended by org.semanticdesktop.aperture.outlook.OutlookResource
      extended by org.semanticdesktop.aperture.outlook.OutlookResource.OutlookResourceSave
Direct Known Subclasses:
OutlookResource.Appointment, OutlookResource.Contact, OutlookResource.DistList, OutlookResource.Mail, OutlookResource.Task
Enclosing class:
OutlookResource

public abstract static class OutlookResource.OutlookResourceSave
extends OutlookResource

a OutlookResource that has a "save" object from redemption. In the constructor, set the saveRedemptionClass field to the name of the redemption class.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.semanticdesktop.aperture.outlook.OutlookResource
OutlookResource.Appointment, OutlookResource.Calendar, OutlookResource.Contact, OutlookResource.DistList, OutlookResource.Document, OutlookResource.Folder, OutlookResource.Mail, OutlookResource.Note, OutlookResource.OutlookResourceSave, OutlookResource.RootFolder, OutlookResource.Task
 
Field Summary
protected  Logger logger
           
protected  String saveRedemptionClass
           
 
Constructor Summary
protected OutlookResource.OutlookResourceSave(OutlookCrawler crawler, com.jacob.com.Dispatch resource, String itemtype)
           
  OutlookResource.OutlookResourceSave(OutlookCrawler crawler, String url, com.jacob.com.Dispatch resource, String itemtype)
           
 
Method Summary
 com.jacob.com.Dispatch getSaveResource()
          return a save-contact using redemption.
 void release()
          release
 
Methods inherited from class org.semanticdesktop.aperture.outlook.OutlookResource
addData, addDateIfNotNull, addDetailData, addEmailAddressIfNotNull, addNcalDateTimeIfNotNull, addPropertyIfNotNull, addRecipientsIfNotNull, addStatement, addStatement, addStatement, addTelephoneNumberIfNotNull, createWrapperFor, createWrapperFor, createWrapperForFolder, createWrapperForFolder, finalize, getDataObjectIfModified, getDateOf, getItemType, getLastModified, getLiteralOf, getOLCrawler, getResource, getType, getUri, isFolder
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected Logger logger

saveRedemptionClass

protected String saveRedemptionClass
Constructor Detail

OutlookResource.OutlookResourceSave

protected OutlookResource.OutlookResourceSave(OutlookCrawler crawler,
                                              com.jacob.com.Dispatch resource,
                                              String itemtype)

OutlookResource.OutlookResourceSave

public OutlookResource.OutlookResourceSave(OutlookCrawler crawler,
                                           String url,
                                           com.jacob.com.Dispatch resource,
                                           String itemtype)
Method Detail

getSaveResource

public com.jacob.com.Dispatch getSaveResource()
return a save-contact using redemption. If redemption does not work, this returns the normal contact. Use this method to explicitly try to access more.

Returns:
a save contact or the normal resource, if redemption is not available

release

public void release()
Description copied from class: OutlookResource
release

Overrides:
release in class OutlookResource


Copyright © 2010 Aperture Development Team. All Rights Reserved.