public class WfDocument extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | JOIN_DOC_CLASS | 
| Constructor and Description | 
|---|
| WfDocument() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addIndex(IndexInfo indexInfo)Dodaje indeks do dokumenty | 
| Long | getDocumentClassId() | 
| Date | getExpirationDate()Data wygaśnięcia | 
| WfFile | getFile()Informacje o pliku | 
| Long | getId()Id dokumentu z bazy danych(tabela pm_idx000x) | 
| IndexInfo | getIndexById(Long indexId)Pobiera indeks po id | 
| IndexInfo | getIndexByName(String indexName)Pobiera indeks po nazwie. | 
| List<IndexInfo> | getIndexes()Lista indeksów dokumentu | 
| Object | getIndexValue(Long indexId) | 
| Object | getIndexValue(String indexName) | 
| WfFileVersion | getVersion()Informacje o wersji pliku | 
| boolean | isExpired()Określa czy dokument wygasł | 
| void | setDocumentClassId(Long documentClassId) | 
| void | setExpirationDate(Date expirationDate)Data wygaśnięcia | 
| void | setExpired(boolean expired)Określa czy dokument wygasł | 
| void | setFile(WfFile file)Informacje o pliku | 
| void | setId(Long id)Id dokumentu z bazy danych(tabela pm_idx000x) | 
| void | setIndexes(List<IndexInfo> indexes)Lista indeksów dokumentu | 
| void | setIndexValue(Long indexId,
             Object indexValue) | 
| void | setIndexValue(String indexName,
             Object indexValue) | 
| void | setVersion(WfFileVersion version)Informacje o wersji pliku | 
public static final String JOIN_DOC_CLASS
public Long getId()
public void setId(Long id)
public boolean isExpired()
public void setExpired(boolean expired)
public WfFile getFile()
public void setFile(WfFile file)
file - public WfFileVersion getVersion()
public void setVersion(WfFileVersion version)
version - public void setIndexes(List<IndexInfo> indexes)
indexes - public void addIndex(IndexInfo indexInfo)
indexInfo - public Date getExpirationDate()
public void setExpirationDate(Date expirationDate)
expirationDate - public IndexInfo getIndexById(Long indexId)
indexId - Id indeksupublic IndexInfo getIndexByName(String indexName)
indexName - Nazwa indkesupublic Long getDocumentClassId()
public void setDocumentClassId(Long documentClassId)
Copyright © 2019 Suncode. All rights reserved.