org.semanticdesktop.aperture.outlook
Class OutlookResource.Folder

java.lang.Object
  extended by org.semanticdesktop.aperture.outlook.OutlookResource
      extended by org.semanticdesktop.aperture.outlook.OutlookResource.Folder
Direct Known Subclasses:
OutlookResource.Calendar
Enclosing class:
OutlookResource

public static class OutlookResource.Folder
extends OutlookResource


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
static String ITEMTYPE
           
 
Constructor Summary
OutlookResource.Folder(OutlookCrawler crawler, com.jacob.com.Dispatch resource)
           
OutlookResource.Folder(OutlookCrawler crawler, com.jacob.com.Dispatch resource, String itemtype)
           
OutlookResource.Folder(OutlookCrawler crawler, String uri, com.jacob.com.Dispatch resource, String itemType)
           
 
Method Summary
protected  void addDetailData(RDFContainer rdf)
          Add the detail data about this object.
 int getDefaultItemType()
          The oItemType constant identifying the standard type of element stored in this folder.
 String getDefaultMessageClass()
          The oItemType constant identifying the standard type of element stored in this folder.
 long getLastModified()
          get the last modification time of this resource.
 String getName()
          the name of the folder
 URI getType()
           
 boolean isFolder()
           
 
Methods inherited from class org.semanticdesktop.aperture.outlook.OutlookResource
addData, addDateIfNotNull, addEmailAddressIfNotNull, addNcalDateTimeIfNotNull, addPropertyIfNotNull, addRecipientsIfNotNull, addStatement, addStatement, addStatement, addTelephoneNumberIfNotNull, createWrapperFor, createWrapperFor, createWrapperForFolder, createWrapperForFolder, finalize, getDataObjectIfModified, getDateOf, getItemType, getLiteralOf, getOLCrawler, getResource, getUri, release
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ITEMTYPE

public static final String ITEMTYPE
See Also:
Constant Field Values
Constructor Detail

OutlookResource.Folder

public OutlookResource.Folder(OutlookCrawler crawler,
                              com.jacob.com.Dispatch resource)

OutlookResource.Folder

public OutlookResource.Folder(OutlookCrawler crawler,
                              com.jacob.com.Dispatch resource,
                              String itemtype)

OutlookResource.Folder

public OutlookResource.Folder(OutlookCrawler crawler,
                              String uri,
                              com.jacob.com.Dispatch resource,
                              String itemType)
Method Detail

addDetailData

protected void addDetailData(RDFContainer rdf)
                      throws IOException
Description copied from class: OutlookResource
Add the detail data about this object.

Specified by:
addDetailData in class OutlookResource
Parameters:
rdf - the container to add the rdf to
Throws:
IOException - if reading is not possible

getLastModified

public long getLastModified()
Description copied from class: OutlookResource
get the last modification time of this resource. Return the standard Java date value (milliseconds since epoch)

Overrides:
getLastModified in class OutlookResource

getType

public URI getType()
Specified by:
getType in class OutlookResource

getDefaultItemType

public int getDefaultItemType()
The oItemType constant identifying the standard type of element stored in this folder. Examples are OlObjectClass.olAppointment or OlObjectClass.olMail.

Returns:
default item type

getDefaultMessageClass

public String getDefaultMessageClass()
The oItemType constant identifying the standard type of element stored in this folder. Examples are OlObjectClass.olAppointment or OlObjectClass.olMail.

Returns:
the default message class

getName

public String getName()
the name of the folder

Returns:
the name or null

isFolder

public boolean isFolder()
Overrides:
isFolder in class OutlookResource


Copyright © 2010 Aperture Development Team. All Rights Reserved.