|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.representation.RepresentationServiceFwd
The RepresentationService contains the methods to create, query, and
delete Representations and associated files.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
FC_RESOURCE
|
(package private) static boolean |
SERVER
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Constructor Summary | |
RepresentationServiceFwd()
|
Method Summary | |
Void |
deleteRepresentation(Representation representation)
Deletes the passed Representation, unless it is the default representation for the associated Representable. |
Void |
deleteRepresentation(Representation representation,
boolean noDefaultsOK)
If the noDefaultsOK argument is true, unconditionally deletes the passed Representation. |
Void |
deleteRepresentation(WTSet representations,
boolean noDefaultsOK)
If the noDefaultsOK argument is true, unconditionally deletes the passed Representations. |
void |
emitReadyToPublishEvent(Persistable persistable)
Supported API: false |
void |
emitReadyToPublishEvent(Vector objects,
ConfigSpec configSpec)
Supported API: false |
ApplicationData |
get3DThumbnail(Representable representable)
Get the associated Thumbnail for the passed Representable. |
ApplicationData |
get3DThumbnail(Representation representation)
Get the associated Thumbnail for the passed Representation. |
Representation |
getDefaultRepresentation(Representable representable)
Get the default Representation for the passed Representable. |
WTValuedMap |
getDefaultRepresentation(WTCollection representables)
Gets the default Representations for the passed Representables. |
private static Manager |
getManager()
|
QueryResult |
getOutOfDateRepresentationContributors(Representation representation)
Return all the associated RepresentationContributors that are responsible for making the Representation out of date. |
Representable |
getRepresentable(Representation representation)
Get the Representable for the passed Representation Supported API: false |
WTValuedMap |
getRepresentable(WTCollection representations)
Gets the Representables for the passed Representations Supported API: false |
QueryResult |
getRepresentations(Representable representable)
Return all the associated Representations for the associated Representable Supported API: false |
WTKeyedMap |
getRepresentations(WTCollection representables)
Return all the associated Representations for the passed Representables. |
ApplicationData |
getThumbnail(Representable representable)
Get the associated Thumbnail for the passed Representable. |
ApplicationData |
getThumbnail(Representation representation)
Get the associated Thumbnail for the passed Representation. |
Representation |
makeDefaultRepresentation(Representable representable,
Representation representation)
Makes the passed Representation the default representation for the passed Representable. |
Representation |
storeRepresentation(Representation representation,
Representable representable,
String representationName,
String representationDescription,
RepresentationType representationType)
Sets the representation attributes of the passed Representation and stores it in the database without any content. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final boolean SERVER
private static final String FC_RESOURCE
private static final String CLASSNAME
Constructor Detail |
public RepresentationServiceFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public ApplicationData getThumbnail(Representable representable) throws WTException
getThumbnail
in interface RepresentationService
representable
-
WTException
public ApplicationData getThumbnail(Representation representation) throws WTException
getThumbnail
in interface RepresentationService
representation
-
WTException
public QueryResult getOutOfDateRepresentationContributors(Representation representation) throws WTException
getOutOfDateRepresentationContributors
in interface RepresentationService
representation
-
WTException
public QueryResult getRepresentations(Representable representable) throws WTException
getRepresentations
in interface RepresentationService
representable
-
WTException
public WTKeyedMap getRepresentations(WTCollection representables) throws WTException
getRepresentations
in interface RepresentationService
representables
- WTCollection of Representables
WTException
public Representable getRepresentable(Representation representation) throws WTException
getRepresentable
in interface RepresentationService
representation
-
WTException
public WTValuedMap getRepresentable(WTCollection representations) throws WTException
getRepresentable
in interface RepresentationService
representations
- WTCollection of Representations
WTException
public Representation storeRepresentation(Representation representation, Representable representable, String representationName, String representationDescription, RepresentationType representationType) throws WTException, WTPropertyVetoException, PropertyVetoException
storeRepresentation
in interface RepresentationService
representation
- representable
- representationName
- representationDescription
- representationType
-
WTException
WTPropertyVetoException
PropertyVetoException
public Void deleteRepresentation(Representation representation) throws WTException
deleteRepresentation
in interface RepresentationService
representation
-
WTException
public Void deleteRepresentation(Representation representation, boolean noDefaultsOK) throws WTException
deleteRepresentation
in interface RepresentationService
representation
- noDefaultsOK
- Modifies method behavior if passed Representation is a default Representation. Set to true if it OK for the associated Representable to have Representations without one being designated the default. In this case, the passed Representation will be unconditionally deleted even if it a default Representation. Otherwise, the passed Representation will only be deleted if it is not a default Representation or is the only Representation associated with the Representable.
WTException
public Void deleteRepresentation(WTSet representations, boolean noDefaultsOK) throws WTException
deleteRepresentation
in interface RepresentationService
representations
- WTSet of RepresentationsnoDefaultsOK
- Modifies method behavior if a passed Representation is a default Representation. Set to true if it is OK for the associated Representable to have Representations without one being designated as the default. In this case, the passed Representation will be unconditionally deleted even if it is a default Representation. Otherwise, a Representation will only be deleted if it is not a default Representation or it is the only Representation associated with the Representable.
WTException
public Representation getDefaultRepresentation(Representable representable) throws WTException
getDefaultRepresentation
in interface RepresentationService
representable
-
WTException
public WTValuedMap getDefaultRepresentation(WTCollection representables) throws WTException
getDefaultRepresentation
in interface RepresentationService
representables
- WTCollection of Representables
WTException
public Representation makeDefaultRepresentation(Representable representable, Representation representation) throws WTException, PropertyVetoException
makeDefaultRepresentation
in interface RepresentationService
representable
- representation
-
WTException
PropertyVetoException
public void emitReadyToPublishEvent(Persistable persistable) throws WTException
emitReadyToPublishEvent
in interface RepresentationService
persistable
-
WTException
public void emitReadyToPublishEvent(Vector objects, ConfigSpec configSpec) throws WTException
emitReadyToPublishEvent
in interface RepresentationService
objects
- configSpec
-
WTException
public ApplicationData get3DThumbnail(Representable representable) throws WTException
get3DThumbnail
in interface RepresentationService
representable
-
WTException
public ApplicationData get3DThumbnail(Representation representation) throws WTException
get3DThumbnail
in interface RepresentationService
representation
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |