public interface DocumentDescriptor extends ResourceDescriptor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BLOG_RESOURCE_TYPE
Blog entry resource type
|
static java.lang.String |
BLOG_SERVICE_ID
The blogs service ID
|
static java.lang.String |
CONTENT_SERVICE_ID
The web content service ID
|
static java.lang.String |
DOCUMENT_RESOURCE_TYPE
Document resource type.
|
static java.lang.String |
DOCUMENTS_SERVICE_ID
The documents service ID
|
static java.lang.String |
FOLDER_RESOURCE_TYPE
Folder resource type
|
static java.lang.String |
WEB_CONTENT_RESOURCE_TYPE
Web content resource type
|
static java.lang.String |
WIKI_RESOURCE_TYPE
Wiki document resource type
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAttrs()
A map of additional attributes that describe this item
|
java.lang.String |
getConnectionName()
The repository connection name this item belongs to.
|
java.util.Calendar |
getCreateDate()
Gets the Creation Date of this item.
|
java.lang.String |
getCreatedBy()
Gets the user name of the user who created this item.
|
java.lang.String |
getDescription()
Gets the Description of this item.
|
java.lang.String |
getFileExtension()
Gets the file extension from the item name.
|
java.lang.String |
getIcon()
Get's the icon for that item (16px).
|
java.lang.String |
getLargeIcon()
Get's the icon for that item (32px).
|
java.lang.String |
getLastModifiedBy()
Gets the user name of the user who modified this item most recently.
|
java.util.Calendar |
getLastModifiedDate()
Gets the Last Modified Date of this item.
|
java.lang.String |
getMimeType()
Gets the MIME type for that item.
|
java.lang.String |
getPath()
Gets the path of this item (including the item name itself)
May return null when the item is an unfoldered document.
|
java.lang.String |
getPermanentUrl()
Gets the download URL for this item.
|
long |
getSize()
Gets the size of this item.
|
java.lang.String |
getTagWords()
Gets the tag words associated with this item.
|
java.lang.String |
getTitle()
Gets the title for this resource (usually an alternative to the file name)
|
java.lang.String |
getUrl()
Gets the download URL for this item
|
boolean |
isFile()
If the item is a File return true.
|
boolean |
isFolder()
If the item is a Folder return true.
|
getGoLink, getIconSource, getResourceType
getName, getResourceId, getScope, getServiceId, getShortDescription
static final java.lang.String DOCUMENTS_SERVICE_ID
static final java.lang.String CONTENT_SERVICE_ID
static final java.lang.String BLOG_SERVICE_ID
static final java.lang.String FOLDER_RESOURCE_TYPE
static final java.lang.String DOCUMENT_RESOURCE_TYPE
static final java.lang.String WIKI_RESOURCE_TYPE
static final java.lang.String WEB_CONTENT_RESOURCE_TYPE
static final java.lang.String BLOG_RESOURCE_TYPE
boolean isFolder()
boolean isFile()
java.lang.String getConnectionName()
java.lang.String getPath()
java.lang.String getTitle()
java.lang.String getIcon()
java.lang.String getLargeIcon()
long getSize()
java.lang.String getDescription()
java.lang.String getTagWords()
java.lang.String getMimeType()
java.lang.String getUrl()
java.lang.String getPermanentUrl()
java.lang.String getCreatedBy()
java.util.Calendar getCreateDate()
java.lang.String getLastModifiedBy()
java.util.Calendar getLastModifiedDate()
java.util.Map<java.lang.String,java.lang.Object> getAttrs()
java.lang.String getFileExtension()