Class PersistedFileInfo
Object
PersistedFileInfo
- All Implemented Interfaces:
FileInfo,Serializable
- See Also:
-
Constructor Details
-
PersistedFileInfo
public PersistedFileInfo(Anexo anexo) -
PersistedFileInfo
public PersistedFileInfo(Arquivo arquivo)
-
-
Method Details
-
getSize
public long getSize() -
getMime
-
getFileName
- Specified by:
getFileNamein interfaceFileInfo
-
getDescription
- Specified by:
getDescriptionin interfaceFileInfo
-
getExtension
- Specified by:
getExtensionin interfaceFileInfo
-
getFile
-
isPersisted
public boolean isPersisted()- Specified by:
isPersistedin interfaceFileInfo
-
getFileId
Description copied from interface:FileInfoObtem o ID do arquivo caso seja peristido, ou NULL se nao for um arquivo persistido ainda -
getFileDomainId
Description copied from interface:FileInfoObtem o ID do arquivo dentro de seu contexto de negocio- Specified by:
getFileDomainIdin interfaceFileInfo- Returns:
-