Constructor and Description |
---|
AccountResource(RequestContext requestContext,
Account account,
AccountCollectionResource parent) |
Modifier and Type | Method and Description |
---|---|
AccountCollectionResource |
getAccountCollectionResource() |
<T extends Resource> |
getChildren(Date timeRangeStart,
Date timeRangeEnd) |
WebDavStore.ResourceContent |
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.
|
Account |
getObject() |
static Photo |
getPhoto(Account account)
Get PHOTO property for given account if account.getPicture() is set.
|
org.opencrx.application.carddav.CardDavRequestContext |
getRequestContext() |
boolean |
isCollection()
Determines whether the Resource is a collection.
|
public AccountResource(RequestContext requestContext, Account account, AccountCollectionResource parent)
public Account getObject()
public boolean isCollection()
Resource
public String getMimeType()
public String getDisplayName()
Resource
public AccountCollectionResource getAccountCollectionResource()
public static Photo getPhoto(Account account)
p
- account
- org.openmdx.base.exception.ServiceException
public WebDavStore.ResourceContent getContent()
public Date getCreationDate()
Resource
getCreationDate
in interface Resource
public Date getLastModified()
Resource
getLastModified
in interface Resource
public <T extends Resource> Collection<T> getChildren(Date timeRangeStart, Date timeRangeEnd)
public org.opencrx.application.carddav.CardDavRequestContext getRequestContext()
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.