|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectspcp7.imagegallery.abstractionlayer.impl.internal.ContentImpl
public class ContentImpl
| Constructor Summary | |
|---|---|
ContentImpl()
|
|
| Method Summary | |
|---|---|
int |
compareTo(ContentFace cf)
|
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 contentProviderTypeId)
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> parentContentFolderProperties)
|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentImpl()
| Method Detail |
|---|
public java.lang.String getFileExtension()
ContentFace
getFileExtension in interface ContentFacepublic java.lang.String getName()
ContentFace
getName in interface ContentFacepublic java.lang.String getPath()
ContentFaceContentFace.getProprietaryId() because this must be a real full path
like "/test/test2/test.jpg".
getPath in interface ContentFacepublic java.lang.String getUrl()
ContentFace
getUrl in interface ContentFacepublic void setFileExtension(java.lang.String fileExtension)
setFileExtension in interface ContentFacefileExtension - The file extension of this content.ContentFace.getFileExtension()public void setName(java.lang.String name)
setName in interface ContentFacename - The new name of this content.ContentFace.getName()public void setPath(java.lang.String path)
setPath in interface ContentFacepath - The path to setContentFace.getPath()public void setUrl(java.lang.String url)
ContentFace
setUrl in interface ContentFaceurl - the http retrievable url of this content instance.ContentFace.getProprietaryId()public java.lang.String getProprietaryId()
ContentFace
getProprietaryId in interface ContentFacepublic void setProprietaryId(java.lang.String id)
ContentFace
setProprietaryId in interface ContentFaceContentFace.getProprietaryId()public int compareTo(ContentFace cf)
compareTo in interface java.lang.Comparable<ContentFace>public boolean isDirectory()
ContentFace
isDirectory in interface ContentFacepublic boolean isImage()
ContentFace
isImage in interface ContentFacepublic void setDirectory(boolean directory)
setDirectory in interface ContentFacedirectory - True if this is a directory otherwise falseContentFace.isDirectory()public void setImage(boolean image)
setImage in interface ContentFaceimage - True if this is an image, false otherwiseContentFace.isImage()public java.util.Map<java.lang.String,PropertyModelFace> getParentContentFolderProperties()
getParentContentFolderProperties in interface ContentFacepublic void setParentContentFolderProperties(java.util.Map<java.lang.String,PropertyModelFace> parentContentFolderProperties)
setParentContentFolderProperties in interface ContentFaceparentContentFolderProperties - The property map with which this content instance was
created.public java.lang.String getContentProviderTypeId()
ContentFace
getContentProviderTypeId in interface ContentFacepublic void setContentProviderTypeId(java.lang.String contentProviderTypeId)
ContentFace
setContentProviderTypeId in interface ContentFacecontentProviderTypeId - The content provider type Id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||