org.sciplore.resources
Class FulltextUrl
java.lang.Object
org.sciplore.resources.Resource
org.sciplore.resources.FulltextUrl
@Entity
public class FulltextUrl
- extends Resource
Methods inherited from class org.sciplore.resources.Resource |
save |
FULLTEXTURL_LICENCE_WEB
public static final Short FULLTEXTURL_LICENCE_WEB
FULLTEXTURL_FILETYPE_PDF
public static final Short FULLTEXTURL_FILETYPE_PDF
FULLTEXTURL_FILETYPE_PS
public static final Short FULLTEXTURL_FILETYPE_PS
FULLTEXTURL_FILETYPE_PPT
public static final Short FULLTEXTURL_FILETYPE_PPT
FULLTEXTURL_FILETYPE_WORD
public static final Short FULLTEXTURL_FILETYPE_WORD
FULLTEXTURL_FILETYPE_HTML
public static final Short FULLTEXTURL_FILETYPE_HTML
FULLTEXTURL_STATUS_NEW
public static final Short FULLTEXTURL_STATUS_NEW
FULLTEXTURL_STATUS_DOWNLOADING
public static final Short FULLTEXTURL_STATUS_DOWNLOADING
FULLTEXTURL_STATUS_DOWNLOADED
public static final Short FULLTEXTURL_STATUS_DOWNLOADED
FULLTEXTURL_STATUS_WRONG
public static final Short FULLTEXTURL_STATUS_WRONG
FULLTEXTURL_STATUS_CORRECT
public static final Short FULLTEXTURL_STATUS_CORRECT
FulltextUrl
public FulltextUrl()
FulltextUrl
public FulltextUrl(Integer id,
Integer documentId,
Short filetype)
getDownloaded
public static List<FulltextUrl> getDownloaded()
throws ResourceException
- Throws:
ResourceException
getDownloaded
public static List<FulltextUrl> getDownloaded(Short limit)
throws ResourceException
- Throws:
ResourceException
getFulltextUrl
public static FulltextUrl getFulltextUrl(Integer id)
sync
public static FulltextUrl sync(FulltextUrl fulltexturl)
updateStatus
public FulltextUrl updateStatus(Short status)
throws ResourceException
- Throws:
ResourceException
delete
public FulltextUrl delete()
throws ResourceException
- Throws:
ResourceException
getId
public Integer getId()
- Returns:
- the id
setId
public FulltextUrl setId(Integer id)
- Parameters:
id
- the id to set
getUrl
public String getUrl()
- Returns:
- the url
setUrl
public FulltextUrl setUrl(String url)
- Parameters:
url
- the url to set
getLicence
public Short getLicence()
- Returns:
- the licence
setLicence
public FulltextUrl setLicence(Short licence)
- Parameters:
licence
- the licence to set
getFiletype
public Short getFiletype()
- Returns:
- the filetype
setFiletype
public FulltextUrl setFiletype(Short filetype)
- Parameters:
filetype
- the filetype to set
getValid
public Short getValid()
- Returns:
- the valid
setValid
public FulltextUrl setValid(Short valid)
- Parameters:
valid
- the valid to set
getStatus
public Short getStatus()
- Returns:
- the status
setStatus
public FulltextUrl setStatus(Short status)
- Parameters:
status
- the status to set
getDocument
public Document getDocument()
- Returns:
- the document
setDocument
public FulltextUrl setDocument(Document document)
- Parameters:
document
- the document to set
getFilePath
public String getFilePath()
deleteFile
public void deleteFile()