|  | Download TeamPage 6.2.31 |  | 
/jmxviewer  into the search bar). (Server87683 / Server87687)com.traction.sdk.view.EntryFormat     and Custom FilteringEntryFormat's includeEntry method has been removed. This was a relic from a previous generation of TeamPage's public SDK: it was a barrier to improving query performance; and did not belong in the EntryFormat class, whose purpose is to give the SDK implementation layer certain information about how entry content and metadata should be presented to users. All the filtering which built-in EntryFormat objects used to implement is now automatically incorporated into the SDK implementation layer.com.traction.sdk.SearchExpression   , you can now use the com.traction.sdk.JournalRequest   's setCustomFilter(java.util.function.Predicate<? super com.traction.sdk.Entry> customFilter)       method to specify a custom Predicate for filtering Entry results.com.traction.sdk.File    and com.traction.sdk.Attachment   com.traction.sdk.File    and com.traction.sdk.Attachment    are now interfaces rather than an abstract classes, as they always should have been. The new class com.traction.sdk.AbstractFile    provides the same base implementation that the File abstract class used to provide, with most of the same internal implementation-dependent subclasses implementing different sorts of files (e.com.traction.sdk.iter.FileIterator    , com.traction.sdk.FileRequest    and getChildrengetChildren and getHistory methods now return instances of the new com.traction.sdk.iter.FileIterator     interface. There's also an overloaded version of getChildren that accepts a parameter of the new type com.traction.sdk.FileRequest   . FileRequest, similar to com.traction.sdk.CJournalRequest    and JournalRequest, encapsulates the requested sort order, as well as optional offset, maximum results, and filtering using a very simple java.util.function.Predicate   .com.traction.sdk.file.FileLoadFailedException    File's getChildren and getHistory methods also now throw a new type of checked Exception: com.traction.sdk.file.FileLoadFailedException    . FileLoadFailedException extends com.traction.sdk.DocumentLoadFailedException    so that it will already be handled by clients of methods on com.traction.sdk.search.DocumentType     objects that represent File types, since DocumentType's getDocument method declares the thrown Exception type DocumentLoadFailedException. Like the other main subclass of DocumentLoadFailedException, com.traction.sdk.JournalException   , FileLoadFailedException generally represents any low-level failure, and will possibly wrap an IOException or other Exception that represents the original cause of the problem.com.traction.sdk.AuthenticationException    when a check on the requesting user's permissions fails when attempting to load a File for a given URI/com.traction.sdk.Journal   's getFile method can also now throw a FileLoadFailedException.com.traction.sdk.util.TransientTempFile     has been removed. The existing com.traction.sdk.file.TempFile     type now covers the cases that TransientTempFile used to cover. TempFiles can be obtained through various com.traction.sdk.SdkFactory    methods, e.
// With a com.traction.sdk.Context object:
TempFile temp = context.getSdkFactory().createNewTempFile(context);
TempFile has been modified to ensure that it offers at least the same set of features that TransientTempFile did, and to support a "safer" usage pattern with respect to ensuring that any underlying file descriptor or other resources are properly disposed of:TempFile now implements java.io.Flushable  , java.io.Closeable  , and com.traction.sdk.file.IFileData     in addition to com.traction.sdk.file.FileInfo    .getInputStream() and getUtf8Reader() for the same TempFile instance will return the same instances until one of them is closed.getOutputStream(), getUtf8PrintWriter() and getTractionWriter() will return the same instances until one of those is closed.TempFile is now also a Closeable, when used with a try-with-resources construct, any wrapped InputStream or Reader will be closed; and/OutputStream will also be flushed and closed, and its output will be either committed, or set aside to be committed when the save() method is invoked.TempFile instances also perform the equivalent of the close() method in their finalize() method so that any open file descriptors or similar resources will be disposed of.com.traction.sdk.edit.NewAttachment     has been removed. com.traction.sdk.edit.NewEntry    's addAttachment method now accepts any IFileData, and since TempFile implements IFileData, they can be directly used as new attachments.TempFile, NewEntry and other classes, please see the latest Traction Java SDK documentation.84C2B6C3-7595-461D-A644-1DCD64FC327F.jpeg
show_sidebox.png
google_calender_setting_prev.png
google_calender_setting_cur.png
datatables.png
3E65F346-8A6A-406C-A65C-AAA62BF4A5C0.jpeg
A039A6CA-FE16-4242-8637-AD7C090A3DB7.jpeg