public abstract class MetadataResource extends Object implements com.bradmcevoy.http.PropFindableResource
| Modifier and Type | Field and Description |
|---|---|
protected Date |
creationDate |
protected org.apache.commons.logging.Log |
log |
protected Date |
modificationDate |
protected String |
name |
protected String |
uniqueId |
protected User |
user |
| Modifier | Constructor and Description |
|---|---|
protected |
MetadataResource() |
| Modifier and Type | Method and Description |
|---|---|
Object |
authenticate(String username,
String password) |
boolean |
authorise(com.bradmcevoy.http.Request request,
com.bradmcevoy.http.Request.Method method,
com.bradmcevoy.http.Auth auth) |
String |
checkRedirect(com.bradmcevoy.http.Request arg0) |
int |
compareTo(com.bradmcevoy.http.Resource o) |
Date |
getCreateDate() |
Date |
getModifiedDate() |
String |
getName() |
String |
getRealm() |
String |
getUniqueId() |
protected void |
init(String uid,
Date creationDate,
Date modificationDate) |
protected final org.apache.commons.logging.Log log
protected String uniqueId
protected String name
protected Date modificationDate
protected Date creationDate
protected User user
public Object authenticate(String username, String password)
authenticate in interface com.bradmcevoy.http.Resourcepublic boolean authorise(com.bradmcevoy.http.Request request,
com.bradmcevoy.http.Request.Method method,
com.bradmcevoy.http.Auth auth)
authorise in interface com.bradmcevoy.http.Resourcepublic String getRealm()
getRealm in interface com.bradmcevoy.http.Resourcepublic String checkRedirect(com.bradmcevoy.http.Request arg0)
checkRedirect in interface com.bradmcevoy.http.Resourcepublic String getUniqueId()
getUniqueId in interface com.bradmcevoy.http.Resourcepublic String getName()
getName in interface com.bradmcevoy.http.Resourcepublic Date getModifiedDate()
getModifiedDate in interface com.bradmcevoy.http.Resourcepublic int compareTo(com.bradmcevoy.http.Resource o)
compareTo in interface Comparable<com.bradmcevoy.http.Resource>public Date getCreateDate()
getCreateDate in interface com.bradmcevoy.http.PropFindableResourceCopyright © 2015. All rights reserved.