Method Detailcommit() Typically changes to the packet are committed at the end of the workflow cycle. However, sometimes you need to commit before, in which case use this method. Since: 08-23-2013 PacketDataList createDataList(String name, String[] columns) Creates a new persistent DataList and returns it. Maximum column size is 20. Quietly over-rides any existing DataList with the same name. Column names cannot be null or empty.
Parameters:
Returns: PacketDataList Since: 03-19-2009 deleteData(String name) Deletes the Data object with the given name.
Parameters:
Since: 03-19-2009 deleteDataList(String name) Deletes the specified DataList.
Parameters:
Since: 03-19-2009 deleteProperty(String name) Deletes the specified property.
Parameters:
Since: 03-19-2009 boolean disableSystemWorkflow() Disables/cancels execution of console system workflow. If there is no console system workflowassociated with this Pal, calling this method is quietly ignored. This method returns false if console system workflow is not enabled. Returns: boolean Since: 03-19-2009 boolean enableSystemWorkflow() Marks the system workflow (if any) available for immediate execution. If there is no console system workflowassociated with this Pal, calling this method is quietly ignored. This method returns false if console system workflow is not enabled. Returns: boolean Since: 03-19-2009 Data getData(String name) Returns the named Data object. Modifications to the content of the Data object are automatically persisted.
Parameters:
Returns: Data Since: 03-19-2009 PacketDataList getDataList(String name) Returns the specified DataList if it exists, or null if it does not.
Parameters:
Returns: PacketDataList Since: 03-19-2009 String getDefaultProperty(String field, String defaultValue, boolean emptyIsNull) Returns the given property. If the field does not exist, it returns the default value. If the field exists but is value is empty, this method returns defaultValue only if emptyIsNull=true.
Parameters:
Returns: String Since: 03-19-2009 SystemDataView getEmailJobs() Returns list of email jobs for this enterprise created by the controlling Pal. Returns: SystemDataView DataList Name: ConsoleEmailJobs
Since: 09-08-2010 Date getLastCycle() Returns the date when Console System workflow will ran last. Returns: Date Since: 03-19-2009 Date getNextCycle() Returns the date when Console System workflow will run next. Returns: Date Since: 03-19-2009 String getPalId() Returns the ID of this Pal. Returns: String Since: 09-02-2009 Data getProperties() Returns all properties of this Packet. Changes made to these items are automatically persisted. Returns: Data Since: 03-19-2009 String getProperty(String name) Returns the specified property.
Parameters:
Returns: String Since: 03-19-2009 int getSize() Returns the size of this ConsolePacket in bytes. Returns: int Since: 01-29-2010 String getStatus() Returns the status of the packet. Returns: String Since: 03-19-2009 String getSystemErrorMessage() Returns the error message, if any, of Console System workflow. Returns: String Since: 03-19-2009 String getSystemStatus() Returns the system status Returns: String Since: 03-19-2009 boolean isStatus(String status) Returns true if the packet status is the specified status.
Parameters:
Returns: boolean Since: 03-19-2009 boolean isSystemError() Returns true if Console System workflow generated an error. Returns: boolean Since: 03-19-2009 boolean schedule(Date date) Schedules the console system workflow to run on the given date. Returns false if the given date is already passed. Daemons run on a schedule, so execution time may not be exact.
Parameters:
Returns: boolean Since: 03-19-2009 setData(String name, Data data) Saves the Data object with the given name, over-writing any existing Data object with the same name.
Parameters:
Since: 03-19-2009 setDataList(PacketDataList list) Saves the specified DataList, over-writing any other table that might exist with the same name.
Parameters:
Since: 03-19-2009 setProperty(String name, String value) Sets the specified property.
Parameters:
Since: 03-19-2009 setStatus(String status) Sets the status of the packet.
Parameters:
Since: 03-19-2009 setSystemStatus(String status) Sets the system status
Parameters:
Since: 03-19-2009 String toString() Returns a description of this object Returns: String Since: 03-19-2009 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Nov 18, 2024 01:04 PM |