|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.fh_mannheim.mm.dms.framework.Upload
de.fh_mannheim.mm.dms.framework.Bookmark
Discribes a bookmark corresponding to a found upload.
| Field Summary | |
static int |
ADDED_BY_USER
Bookmarktypes |
static int |
BOOKMARKTYPE_COUNT
|
static int |
LAST_SEEN
|
static int |
MOST_SEEN
|
static int |
PREFERED_BY_OTHER_USERS
|
static int |
UNKNOWN
UKNOWN is set as initial value for bookmarktype of bookmark |
| Constructor Summary | |
Bookmark()
Constructor. |
|
Bookmark(Upload upload,
int nType)
Constructor. |
|
| Method Summary | |
int |
getBookmarkType()
Get type of bookmark. |
java.lang.String |
getBookmarkTypeText()
Get type of bookmark. |
static java.lang.String |
getBookmarkTypeText(int nBookmarktype)
Get type of bookmark. |
void |
setBookmarkType(int nType)
Set type of bookmark. |
org.w3c.dom.Element |
toElement(org.w3c.dom.Document doc)
Write information of upload in a xml element. |
java.lang.String |
toString()
Write information of uploadorder in a string. |
| Methods inherited from class de.fh_mannheim.mm.dms.framework.Upload |
equals, getAuthorID, getAuthorname, getAvailableLanguages, getCategory, getDescription, getExtension, getFilename, getFiletype, getFiletype, getFiletypeByName, getFiletypeShortText, getFiletypeShortText, getFiletypeText, getFiletypeText, getID, getLanguage, getLanguage, getLanguageText, getLanguageText, getPath, getPriority, getPriority, getPriorityText, getPriorityText, getSize, getSize, getState, getState, getStateText, getStateText, getStateText, getTitle, getUploadDate, isKnownLanguage, isKnownLanguage, isNew, isOptionalFiletype, isOptionalFiletype, isURL, isValidFiletype, isValidFiletype, setAuthor, setAuthorname, setCategory, setDescription, setFilename, setID, setLanguage, setPriority, setSize, setSize, setState, setState, setTitle, setUploadDate, setUploadDate, toElement |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.fh_mannheim.mm.dms.framework.IElement |
toElement |
| Field Detail |
public static final int UNKNOWN
public static final int ADDED_BY_USER
public static final int MOST_SEEN
public static final int LAST_SEEN
public static final int PREFERED_BY_OTHER_USERS
public static final int BOOKMARKTYPE_COUNT
| Constructor Detail |
public Bookmark()
public Bookmark(Upload upload,
int nType)
upload - Upload datanType - Type of bookmark| Method Detail |
public static java.lang.String getBookmarkTypeText(int nBookmarktype)
nBookmarktype -
public int getBookmarkType()
public java.lang.String getBookmarkTypeText()
public void setBookmarkType(int nType)
nType - Type of bookmarkpublic org.w3c.dom.Element toElement(org.w3c.dom.Document doc)
toElement in interface IElementtoElement in class Uploaddoc - XML Document
public java.lang.String toString()
toString in interface IElementtoString in class Upload
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||