|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContentFace
If an implementation of a ContentProviderFace returns content it must
implement this interface.
| Method Summary | |
|---|---|
java.lang.String |
getContentProviderTypeId()
Gets the typeId of the content provider which returned this content instance |
java.lang.String |
getFileExtension()
The file extension of this content. |
java.lang.String |
getName()
The name of this content for display purposes. |
java.util.Map<java.lang.String,PropertyModelFace> |
getParentContentFolderProperties()
|
java.lang.String |
getPath()
This method returns the full system path to this content. |
java.lang.String |
getProprietaryId()
This method should get the proprietary id of the content instance. |
java.lang.String |
getUrl()
This method returns the http retrievable url of this content instance. |
boolean |
isDirectory()
This method returns true if this content instance is a folder or folder like volume which can contain other volumes. |
boolean |
isImage()
This method returns true if this content instance is an image |
void |
setContentProviderTypeId(java.lang.String typeId)
Sets the typeID of the content provider which returned this content instance |
void |
setDirectory(boolean directory)
|
void |
setFileExtension(java.lang.String fileExtension)
|
void |
setImage(boolean image)
|
void |
setName(java.lang.String name)
|
void |
setParentContentFolderProperties(java.util.Map<java.lang.String,PropertyModelFace> properties)
|
void |
setPath(java.lang.String path)
|
void |
setProprietaryId(java.lang.String id)
Sets the proprietary id. |
void |
setUrl(java.lang.String url)
Sets the url of this content instance |
| Method Detail |
|---|
void setContentProviderTypeId(java.lang.String typeId)
typeId - The content provider type Idjava.lang.String getContentProviderTypeId()
java.util.Map<java.lang.String,PropertyModelFace> getParentContentFolderProperties()
void setParentContentFolderProperties(java.util.Map<java.lang.String,PropertyModelFace> properties)
properties - The property map with which this content instance was
created.java.lang.String getProprietaryId()
void setProprietaryId(java.lang.String id)
id - getProprietaryId()java.lang.String getUrl()
void setUrl(java.lang.String url)
url - the http retrievable url of this content instance.getProprietaryId()java.lang.String getPath()
getProprietaryId() because this must be a real full path
like "/test/test2/test.jpg".
void setPath(java.lang.String path)
path - The path to setgetPath()java.lang.String getName()
void setName(java.lang.String name)
name - The new name of this content.getName()java.lang.String getFileExtension()
void setFileExtension(java.lang.String fileExtension)
fileExtension - The file extension of this content.getFileExtension()boolean isDirectory()
void setDirectory(boolean directory)
directory - True if this is a directory otherwise falseisDirectory()boolean isImage()
void setImage(boolean image)
image - True if this is an image, false otherwiseisImage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||