Methods in com.ptc.wvs.server.publish with parameters of type EnterpriseServiceEvent |
protected void |
StandardPublishService.processRepresentationCopyForward(EnterpriseServiceEvent event)
single object verson
protected void processRepresentationCopyForward(PersistenceManagerEvent event) throws WTException
{
Object obj = event.getEventTarget();
if( (obj == null) || !(obj instanceof Representable) || !(obj instanceof Workable) || !(obj instanceof Iterated) ) return;
// only process depending on if Representable is a WTDocument and settings
if( obj instanceof WTDocument ) {
if( !copyDocumentRepresentationsForward ) return;
}
else {
if( !copyRepresentationsForward ) return;
}
boolean access = SessionServerHelper.manager.setAccessEnforced(false);
try {
if(VERBOSE) System.out.println("POST_STORE copy forward event is " + event);
Representable newIteration = (Representable)obj;
// as this is from POST_STORE, if the new iteration is a working copy than we do nothing as
// the POST_CHECKOUT will do the work. |
protected void |
StandardPublishService.processMarkupCopyForward(EnterpriseServiceEvent event)
single object version
protected void processMarkupCopyForward(PersistenceManagerEvent event) throws WTException
{
Object obj = event.getEventTarget();
if( (obj == null) || !(obj instanceof Viewable) || !(obj instanceof Workable) || !(obj instanceof Iterated) ) return;
boolean access = SessionServerHelper.manager.setAccessEnforced(false);
try {
if(VERBOSE) System.out.println("POST_STORE markup copy forward event is " + event);
Viewable newIteration = (Viewable)obj;
// as this is from POST_STORE, if the new iteration is a working copy than we do nothing as
// the POST_CHECKOUT will do the work. |