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 String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from interface com.polarion.alm.projects.model.IUniqueObject
KEY_ID, KEY_PROJECT
-
Method Summary
Modifier and TypeMethodDescriptionlong
getTitle()
getURL()
Deprecated.This method returns an internal SVN URL that is typically inaccessible externally.void
setDataStream
(InputStream data) Updates the attachment.views()
Methods inherited from interface com.polarion.platform.persistence.model.IAdaptable
adapt
Methods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChanged
Methods inherited from interface com.polarion.platform.persistence.model.IHasCustomValues
getCustomField, getCustomFieldPrototype, getCustomFieldsList, setCustomField
Methods 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, update
Methods 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
-