Interface Slide
public interface Slide
Slide represents a single issue slide created manually or from other sources that is intended to be communicated
 outside the software. Notably these slides might be used in communication through BCF API with servers.
- Since:
- 9.10.8
- 
Method SummaryModifier and TypeMethodDescriptionbooleanaddComment(Comment comment)Adds the given comment to this slide.booleanaddComponent(Component component)Add the given component to the components of this slide.booleanaddExternalID(UUID uuid)Add an id this slide has in some external system.booleanaddViewpoint(Viewpoint viewpoint)Adds the given viewpoint to this Slide.static Slidecreate()Creates an empty slide.Returns the checking result this slide is based on, if it is based on a checking result.Returns a list of the comments this Slide has directly.Returns the components of this slide.Returns the description of this slide.Returns the optional due date for this slide.Returns all the external IDs for this slide.Returns the labels of this slide.Get the time when the slide was modified in some external system.Returns the presentations this slide is a part of.Returns the priority of this slide.Returns the responsible persons of this slide.Get the source result and component pair.Returns the related checking result category, if one exists.getStage()Returns the stage of slide in issue management workflow.Returns the status of this slide.getTitle()Returns the title of this slide.getType()Returns the type of this slide.Returns the unique ID of the slide.Returns the viewpoints this Slide has.booleanReturns whether this local slide has been marked to have local-only changes that are not in sync with some remote.booleanremoveComment(Comment comment)Removes the given comment from this slide.booleanremoveComponent(Component component)Remove the given component from the components of this slide.booleanremoveExternalID(UUID uuid)Remove an id this slide has in some external system.booleanremoveViewpoint(Viewpoint viewpoint)Removes the given viewpoint from this slide.voidsetComponents(Set<Component> components)Sets the given components as components of this slide.voidsetDescription(String description)Sets the description of this slide.voidsetDueDate(LocalDate dueDate)Sets the due date for this slide.voidsetHasLocalChanges(boolean localChanges)Set whether this local slide has local-only changes that are not in sync with some remote.voidSets the labels to this slide.voidSet the modified time in some external system.voidsetPriority(String priority)Sets the priority of this slide.voidsetResponsibilities(List<String> responsibilities)Sets the list of responsible persons to this slide.voidSets the stage of slide in issue management workflow.voidSets the status of this slide.voidSets the title of this slide.voidSets the type of this slide.
- 
Method Details- 
createCreates an empty slide.- Returns:
- the new slide
- Since:
- 9.12.0
 
- 
getPresentationsCollection<Presentation> getPresentations()Returns the presentations this slide is a part of. All modifications to the Presentation-Slide relationships must be done fromPresentation.addSlide(Slide)andPresentation.removeSlide(Slide). Modifying the collection this method returns does not modify the relationships.- Returns:
- a collection of the presentations
- Since:
- 9.12.0
 
- 
getUniqueIdString getUniqueId()Returns the unique ID of the slide.- Returns:
- the ID of the slide
- Since:
- 9.12.0
 
- 
getTitleString getTitle()Returns the title of this slide.- Returns:
- the title
- Since:
- 9.10.8
 
- 
getCommentsReturns a list of the comments this Slide has directly. Note that the viewpoints under this slide can also have comments.- Returns:
- the comments
- Since:
- 9.12.0
 
- 
getViewpointsReturns the viewpoints this Slide has.- Returns:
- the viewpoints
- Since:
- 9.10.8
 
- 
addViewpointAdds the given viewpoint to this Slide.- Parameters:
- viewpoint- the new viewpoint
- Returns:
- true if the viewpoint did not previously exist for this slide, false otherwise
- Since:
- 9.12.0
 
- 
removeViewpointRemoves the given viewpoint from this slide. If the viewpoint is not in this slide, nothing happens. If the given viewpoint is the last viewpoint then the slide is removed from Solibri.- Parameters:
- viewpoint- the viewpoint to remove
- Returns:
- true if the viewpoint was removed, false if it didn't exist to begin with
- Since:
- 9.12.0
 
- 
getCheckingResultReturns the checking result this slide is based on, if it is based on a checking result.- Returns:
- the checking result
- Since:
- 9.10.8
 
- 
setTitleSets the title of this slide.- Parameters:
- title- the title
- Since:
- 9.12.0
 
- 
getTypeString getType()Returns the type of this slide. Type is the type of issue the slide represents. Solibri defaults are Error, Info, Warning, Unknown.- Returns:
- the type
- Since:
- 9.12.0
 
- 
setTypeSets the type of this slide. Type is the type of issue the slide represents. Solibri defaults are Error, Info, Warning, Unknown.- Parameters:
- type- the type
- Since:
- 9.12.0
 
- 
getStatusString getStatus()Returns the status of this slide. Status is the state of the slide in the workflow. Solibri defaults are Open, Assigned, Closed, Resolved.- Returns:
- the status
- Since:
- 9.12.0
 
- 
setStatusSets the status of this slide. Status is the state of the slide in the workflow. Solibri defaults are Open, Assigned, Closed, Resolved.- Parameters:
- status- the status
- Since:
- 9.12.0
 
- 
getStageReturns the stage of slide in issue management workflow. BCF Servers controls the list of values that can be used as stage.- Returns:
- the stage
- Since:
- 9.12.0
 
- 
setStageSets the stage of slide in issue management workflow. BCF Servers controls the list of values that can be used as stage.- Parameters:
- stage- the stage
- Since:
- 9.12.0
 
- 
getPriorityReturns the priority of this slide. BCF Servers controls the list of values that can be used as priority.- Returns:
- the priority
- Since:
- 9.12.0
 
- 
setPrioritySets the priority of this slide. BCF Servers controls the list of values that can be used as priority.- Parameters:
- priority- the priority
- Since:
- 9.12.0
 
- 
getDescriptionReturns the description of this slide.- Returns:
- the description
- Since:
- 9.12.0
 
- 
setDescriptionSets the description of this slide.- Parameters:
- description- the description
- Since:
- 9.12.0
 
- 
getResponsibilitiesCollection<String> getResponsibilities()Returns the responsible persons of this slide. BCF Servers controls the list of values that can be used as responsible persons.- Returns:
- the responsibilities
- Since:
- 9.12.0
 
- 
setResponsibilitiesSets the list of responsible persons to this slide. BCF Servers controls the list of values that can be used as priority.- Parameters:
- responsibilities- the responsibilities
- Since:
- 9.12.0
 
- 
getLabelsReturns the labels of this slide. BCF Servers controls the list of values that can be used as labels. Labels can be used for tagging or grouping the slides.- Returns:
- the labels
- Since:
- 9.12.0
 
- 
setLabelsSets the labels to this slide. BCF Servers controls the list of values that can be used as labels. Labels can be used for tagging or grouping the slides.- Parameters:
- labels- the labels
- Since:
- 9.12.0
 
- 
getDueDateReturns the optional due date for this slide.- Returns:
- the optional due date
- Since:
- 9.12.0
 
- 
setDueDateSets the due date for this slide.- Parameters:
- dueDate- the due date
- Since:
- 9.12.0
 
- 
getComponentsReturns the components of this slide.- Returns:
- the set of components
- Since:
- 9.12.0
 
- 
setComponentsSets the given components as components of this slide.- Parameters:
- components- the set of components
- Since:
- 9.12.0
 
- 
addComponentAdd the given component to the components of this slide.- Parameters:
- component- the component
- Returns:
- true if the given components was added, false if component was already in this slide
- Since:
- 9.12.0
 
- 
removeComponentRemove the given component from the components of this slide.- Parameters:
- component- the component
- Returns:
- true if the given components was removed, false if it wasn't there to begin with
- Since:
- 9.12.0
 
- 
getResultCategoryOptional<ResultCategory> getResultCategory()Returns the related checking result category, if one exists.- Returns:
- the related checking result category
- Since:
- 9.12.0
 
- 
getResultAndComponentGet the source result and component pair.- Returns:
- return the pair, or empty, if it doesn't exist.
- Since:
- 9.12.0
 
- 
addExternalIDAdd an id this slide has in some external system.- Parameters:
- uuid- the external id
- Returns:
- true when the id didn't exist previously
- Since:
- 9.12.0
 
- 
removeExternalIDRemove an id this slide has in some external system.- Parameters:
- uuid- the external id
- Returns:
- true when the id existed and was removed
- Since:
- 9.12.0
 
- 
getExternalIdsReturns all the external IDs for this slide.- Returns:
- all the external IDs
- Since:
- 9.12.0
 
- 
getModifiedTimeInExternalSystemOffsetDateTime getModifiedTimeInExternalSystem()Get the time when the slide was modified in some external system.- Returns:
- the modified time in an external system
- Since:
- 9.12.0
 
- 
setModifiedTimeInExternalSystemSet the modified time in some external system. The modified time is not guaranteed to be saved with sub-second accuracy. Practically this means that the returned modified time might be different from what is set here when it comes to milliseconds.- Parameters:
- date- the modified time in an external system
- Since:
- 9.12.0
 
- 
addCommentAdds the given comment to this slide.- Parameters:
- comment- the new comment
- Returns:
- true if the comment didn't already exist in this slide, false otherwise
- Since:
- 9.12.0
 
- 
removeCommentRemoves the given comment from this slide.- Parameters:
- comment- the comment to remove
- Returns:
- true if the comments was removed, false if it didn't exist in this slide
- Since:
- 9.12.0
 
- 
hasLocalChangesboolean hasLocalChanges()Returns whether this local slide has been marked to have local-only changes that are not in sync with some remote. Solibri BCF Live Connector reads and updates this information. So while this can be safely read, when updating some care needs to be taken when using the information.- Returns:
- true if local-only changes
- Since:
- 9.12.3
 
- 
setHasLocalChangesvoid setHasLocalChanges(boolean localChanges)Set whether this local slide has local-only changes that are not in sync with some remote. If changing slide information through the API with fresh local information, this should be called to update the state of the slide.- Parameters:
- localChanges- true if there are now local-only changes
- Since:
- 9.12.3
 
 
-