|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ViewMarkUpService contains the methods to create, query, and delete
the classes in the viewmarkup package.
Supported API: false
Extendable: false
Method Summary | |
Void |
deleteDerivedImage(DerivedImage derivedImage)
Deletes the passed DerivedImage, unless it is the default representation for the associated Representable. |
Void |
deleteDerivedImage(DerivedImage derivedImage,
boolean noDefaultsOK)
If the noDefaultsOK argument is true, unconditionally deletes the passed Representation. |
Void |
deleteDerivedImage(WTSet derivedImages,
boolean noDefaultsOK)
If the noDefaultsOK argument is true, unconditionally deletes the passed DerivedImages. |
Void |
deleteMarkUp(MarkUp markUp)
Remove the passed MarkUp for the passed Markable. |
Void |
deleteMarkUp(WTSet markUps)
Deletes the passed MarkUps Supported API: false |
QueryResult |
findDuplicateDerivedImages(DerivedImage image)
Finds other DerivedImages for the associated Representable with the same name and representationType as the passed DerviedImage. |
ConfigSpec |
getDerivedFromConfigSpec(DerivedImage derivedImage)
Gets the WTObject playing the role of derivedFromConfigSpec for the passed DerivedImage. |
QueryResult |
getMarkUps(Viewable viewable)
Get all the associated MarkUps of a Viewable Supported API: false |
WTKeyedMap |
getMarkUps(WTCollection viewables)
Get all the MarkUps associated to a collection of Viewables. |
PublishingProhibition |
getPublishingProhibition(Representable representable)
Gets the single most restrictive PublishingProhibition for
a Representable; if null is returned, then the Representable is publishable. |
WTValuedMap |
getPublishingProhibition(WTCollection representables)
Gets the single most restrictive PublishingProhibition for
each Representable; if a Representable is not returned as a key in
the WTValuedMap, then that Representable is publishable
Supported API: false |
ConfigSpec |
getRepresentableConfigSpec(DerivedImage derivedImage)
Gets the WTObject playing the role of representableConfigSpec for the passed DerivedImage. |
Viewable |
getViewable(MarkUp markUp)
Get the Viewable for the passed MarkUp Supported API: false |
WTValuedMap |
getViewable(WTCollection markUps)
Gets the associated Viewables for the passed MarkUps. |
void |
lockMarkUp(MarkUp markUp)
Lock the passed MarkUp for the current WTPrincipal. |
DerivedImage |
postStoreDerivedImage(DerivedImage derivedImage,
Boolean defaultRepresentation)
This method should be called after a DerivedImage has been persisted with storeDerivedImage and after its contents have been uploaded. |
ConfigSpec |
setDerivedFromConfigSpec(ConfigSpec configSpec,
DerivedImage derivedImage)
Copies the passed ConfigSpec and stores it as the object playing the role of derivedFromonfigSpec for the passed DerivedImage. |
ConfigSpec |
setRepresentableConfigSpec(ConfigSpec configSpec,
DerivedImage derivedImage)
Copies the passed ConfigSpec and stores it as the object playing the role of representableConfigSpec for the passed DerivedImage. |
DerivedImage |
storeDerivedImage(Representable representable,
String imageName,
String imageDescription,
String imageAdditionalInfo,
RepresentationType imageType,
DerivationType derivationType,
ConfigSpec representableConfigSpec,
ConfigSpec derivedFromConfigSpec,
RepresentationContributor derivedFrom)
Store a DerivedImage in the database without any content.. |
DerivedImage |
storeDerivedImage(Representable representable,
String imageName,
String imageDescription,
String imageAdditionalInfo,
RepresentationType imageType,
DerivationType derivationType,
ConfigSpec representableConfigSpec,
ConfigSpec derivedFromConfigSpec,
RepresentationContributor derivedFrom,
String CADFormName,
String CADPartName)
Store a DerivedImage in the database without any content.. |
MarkUp |
storeMarkUp(Viewable viewable,
MarkUp markUp)
Store a MarkUp for the passed Viewable. |
void |
unLockMarkUp(MarkUp markUp)
Remove the passed MarkUp for the passed Markable. |
Method Detail |
public MarkUp storeMarkUp(Viewable viewable, MarkUp markUp) throws WTException
viewable
- markUp
-
WTException
public QueryResult getMarkUps(Viewable viewable) throws WTException
viewable
-
WTException
public WTKeyedMap getMarkUps(WTCollection viewables) throws WTException
viewables
- WTCollection of Viewables
WTException
public Viewable getViewable(MarkUp markUp) throws WTException
markUp
-
WTException
public WTValuedMap getViewable(WTCollection markUps) throws WTException
markUps
- WTCollection of MarkUp objects
WTException
public Void deleteMarkUp(MarkUp markUp) throws WTException
markUp
-
WTException
public Void deleteMarkUp(WTSet markUps) throws WTException
markUps
- WTCollection of MarkUp objects
WTException
public void unLockMarkUp(MarkUp markUp) throws WTException, WTPropertyVetoException
markUp
-
WTException
WTPropertyVetoException
public void lockMarkUp(MarkUp markUp) throws WTException, WTPropertyVetoException
markUp
-
WTException
WTPropertyVetoException
public DerivedImage storeDerivedImage(Representable representable, String imageName, String imageDescription, String imageAdditionalInfo, RepresentationType imageType, DerivationType derivationType, ConfigSpec representableConfigSpec, ConfigSpec derivedFromConfigSpec, RepresentationContributor derivedFrom) throws WTException, WTPropertyVetoException, PropertyVetoException
representable
- The object playing the role of representable for the DerivedImage. Required.imageName
- Name of the DerivedImage. Required.imageDescription
- Description of the DerivedImage. Optional.imageAdditionalInfo
- Additional information for the DerivedImage. Optional.imageType
- RepresentationType of the DerivedImage. Required.derivationType
- DerivationType of the DerivedImage. Required.representableConfigSpec
- Object playing the role of representableConfigSpec. Must be a WTObject. Optional.derivedFromConfigSpec
- Object playing the role of derivedFromConfigSpec. Must be a WTObject. Optional.derivedFrom
- Object playing the role of derivedFrom. Optional.
WTException
WTPropertyVetoException
PropertyVetoException
public DerivedImage storeDerivedImage(Representable representable, String imageName, String imageDescription, String imageAdditionalInfo, RepresentationType imageType, DerivationType derivationType, ConfigSpec representableConfigSpec, ConfigSpec derivedFromConfigSpec, RepresentationContributor derivedFrom, String CADFormName, String CADPartName) throws WTException, WTPropertyVetoException, PropertyVetoException
representable
- The object playing the role of representable for the DerivedImage. Required.imageName
- Name of the DerivedImage. Required.imageDescription
- Description of the DerivedImage. Optional.imageAdditionalInfo
- Additional information for the DerivedImage. Optional.imageType
- RepresentationType of the DerivedImage. Required.derivationType
- DerivationType of the DerivedImage. Required.representableConfigSpec
- Object playing the role of representableConfigSpec. Must be a WTObject. Optional.derivedFromConfigSpec
- Object playing the role of derivedFromConfigSpec. Must be a WTObject. Optional.derivedFrom
- Object playing the role of derivedFrom. Optional.CADFormName
- CADPartName
-
WTException
WTPropertyVetoException
PropertyVetoException
public DerivedImage postStoreDerivedImage(DerivedImage derivedImage, Boolean defaultRepresentation) throws WTException, PropertyVetoException
derivedImage
- defaultRepresentation
-
WTException
PropertyVetoException
public Void deleteDerivedImage(DerivedImage derivedImage) throws WTException
derivedImage
-
WTException
public Void deleteDerivedImage(DerivedImage derivedImage, boolean noDefaultsOK) throws WTException
derivedImage
- noDefaultsOK
-
WTException
public Void deleteDerivedImage(WTSet derivedImages, boolean noDefaultsOK) throws WTException
derivedImages
- WTSet of DerivedImage objectsnoDefaultsOK
-
WTException
public ConfigSpec getDerivedFromConfigSpec(DerivedImage derivedImage) throws WTException
derivedImage
-
WTException
public ConfigSpec setDerivedFromConfigSpec(ConfigSpec configSpec, DerivedImage derivedImage) throws WTException, WTPropertyVetoException
configSpec
- derivedImage
-
WTException
WTPropertyVetoException
public ConfigSpec getRepresentableConfigSpec(DerivedImage derivedImage) throws WTException
derivedImage
-
WTException
public ConfigSpec setRepresentableConfigSpec(ConfigSpec configSpec, DerivedImage derivedImage) throws WTException, WTPropertyVetoException
configSpec
- derivedImage
-
WTException
WTPropertyVetoException
public QueryResult findDuplicateDerivedImages(DerivedImage image) throws WTException
image
-
WTException
public PublishingProhibition getPublishingProhibition(Representable representable) throws WTException
PublishingProhibition
for
a Representable; if null is returned, then the Representable is publishable.
representable
-
WTException
public WTValuedMap getPublishingProhibition(WTCollection representables) throws WTException
PublishingProhibition
for
each Representable; if a Representable is not returned as a key in
the WTValuedMap, then that Representable is publishable
representables
- WTCollection of Representable objects
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |