Package com.polarion.alm.tracker.model
Interface IAttachmentBase
- All Superinterfaces:
IAdaptable,IChangeListener,IHasCustomValues,IHasValues,IPObject,IUniqueObject
- All Known Subinterfaces:
IAttachment,IModuleAttachment,IRichPageAttachment,ITestRunAttachment,IWikiPageAttachment
- Since:
- 3.5.0
- Author:
- Stepan Roh
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface com.polarion.alm.projects.model.IUniqueObject
KEY_ID, KEY_PROJECT -
Method Summary
Modifier and TypeMethodDescriptionlonggetTitle()getURL()Deprecated.This method returns an internal SVN URL that is typically inaccessible externally.voidsetDataStream(InputStream data) Updates the attachment.views()Methods inherited from interface com.polarion.platform.persistence.model.IAdaptable
adaptMethods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChangedMethods inherited from interface com.polarion.platform.persistence.model.IHasCustomValues
getCustomField, getCustomFieldPrototype, getCustomFieldsList, setCustomFieldMethods inherited from interface com.polarion.platform.persistence.model.IPObject
can, copyTo, createStructureForKey, forget, getContextId, getDataRevision, getDataSvc, getEnumerationOptionForField, getEnumerationTypeForField, getFieldLabel, getFieldType, getIncompatibleCustomField, getIncompatibleCustomFieldPrototype, getIncompatibleCustomFieldsList, getLastRevision, getLocalId, getObjectId, getPrototype, getRevision, getUri, getValue, isModified, isPersisted, isReadOnly, isResolved, isUnresolvable, resolve, save, setEnumerationValue, setValue, updateMethods inherited from interface com.polarion.alm.projects.model.IUniqueObject
getId, getProject, getProjectId
-
Field Details
-
KEY_AUTHOR
- See Also:
-
KEY_FILE_NAME
- See Also:
-
KEY_URL
- See Also:
-
KEY_CONTENT
- See Also:
-
KEY_TITLE
- See Also:
-
KEY_UPDATED
- See Also:
-
KEY_LENGTH
- See Also:
-
-
Method Details
-
getAuthor
IUser getAuthor() -
getFileName
String getFileName() -
getURL
Deprecated.This method returns an internal SVN URL that is typically inaccessible externally. Please use the Rendering API as an alternative. -
getTitle
String getTitle() -
getDataStream
InputStream getDataStream() -
setDataStream
Updates the attachment. The input stream is not read, until the object is saved.- Parameters:
data-
-
getLength
long getLength() -
getUpdated
Date getUpdated() -
views
- Returns:
- the class that manages views like "thumbnail".
- Since:
- 3.17.1
-