org.opencrx.application.carddav
Class AccountCollectionResource

java.lang.Object
  extended by org.opencrx.application.carddav.AccountCollectionResource
All Implemented Interfaces:
Resource

public class AccountCollectionResource
extends Object


Constructor Summary
AccountCollectionResource(RequestContext requestContext, ContactsFeed contactsFeed)
           
 
Method Summary
 Collection<Resource> getChildren()
           
 BinaryLargeObject getContent()
           
 Date getCreationDate()
          Gets the date of the creation
 String getDisplayName()
          Get resource's display name.
 Date getLastModified()
          Gets the date of the last modification
 String getMimeType()
           
 String getName()
          Get resource's name.
 ContactsFeed getObject()
           
 org.opencrx.application.carddav.CardDavRequestContext getRequestContext()
           
 boolean isCollection()
          Determines whether the Resource is a collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountCollectionResource

public AccountCollectionResource(RequestContext requestContext,
                                 ContactsFeed contactsFeed)
Method Detail

getObject

public ContactsFeed getObject()

getDisplayName

public String getDisplayName()
Description copied from interface: Resource
Get resource's display name.


isCollection

public boolean isCollection()
Description copied from interface: Resource
Determines whether the Resource is a collection.

Returns:
true if the Resource is a collection

getName

public String getName()
Description copied from interface: Resource
Get resource's name.

Specified by:
getName in interface Resource
Returns:

getMimeType

public String getMimeType()

getChildren

public Collection<Resource> getChildren()

getCreationDate

public Date getCreationDate()
Description copied from interface: Resource
Gets the date of the creation

Specified by:
getCreationDate in interface Resource
Returns:
creation Date

getLastModified

public Date getLastModified()
Description copied from interface: Resource
Gets the date of the last modification

Specified by:
getLastModified in interface Resource
Returns:
last modification Date

getRequestContext

public org.opencrx.application.carddav.CardDavRequestContext getRequestContext()

getContent

public BinaryLargeObject getContent()


This software is published under the BSD license. Copyright © 2003-2012, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.