@doc hierarchy="GMLDOM">
Class for model's dependency graph
(c) SAP AG 2003-2006. All rights reserved.
/**
* A DC Sync Dependency Graph class.
* This is a Channel Object. It must be identical to its corresponding server side object
* defined in property _objectType.
*
* @author I031820
*
*/
class DCsSyncState implement env:IChannelObject;
<@doc>DCs that were synced successfully
property synced = [];
<@doc>DCs that the system failed to sync
property failed2Sync = [];
<@doc>Ignored DCs
property ignored = [];
<@doc>Server error message
property displayedErrorMsg = "";
<@doc>Server exception stack trace
property exceptionStackTrace="";
<@doc scope="private">Gets the corresponding server side object path
property _objectType = "com.sap.visualcomposer.channelObjects.DCsSyncState";
<@doc scope="private">Gets the corresponding client side object path
property _gsObjectType = "dev:DCsSyncState";
<@doc>
Creates a new DCsSyncState
constructor()
end
<@doc>
Sets synced DCs
method setSynced(synced)
this.synced = synced;
end
<@doc>
Gets synced dcs
method getSynced()
return this.synced;
end
<@doc>
Sets dcs that failed to sync
method setFailed2Sync(failed2Sync)
this.failed2Sync = failed2Sync;
end
<@doc>
Gets dcs that failed to synce
method getFailed2Sync()
return this.failed2Sync;
end
<@doc>
Sets ignored DCs
method setIgnored(ignored)
this.ignored = ignored;
end
<@doc>
Gets ignored dcs
method getIgnored()
return this.ignored;
end
<@doc>
Sets error message
method setDisplayedErrorMsg(errorMsg)
this.displayedErrorMsg = errorMsg;
end
<@doc>
Gets server error message
method getDisplayedErrorMsg()
return this.displayedErrorMsg;
end
method setExceptionStackTrace(exceptionStackTrace)
this.exceptionStackTrace = exceptionStackTrace;
end
method getExceptionStackTrace()
return this.exceptionStackTrace;
end
method hasError()
return this.displayedErrorMsg && this.displayedErrorMsg!="";
end