When is a computed attribute calculated?
A. once, when a session is opened
B. each time the value is requested
C. when a persistent object is saved
D. when a persistent object is created
How many objects will have their subject attribute updated when the following code is executed? (Assume that there are 25 objects having the string 'test' in their object_name.)
A. 19
B. 20
C. 24
D. 25
Using IDfSysObject interface, which method should be used to assign the primary content from a file located on the file system (not in memory)?
A. setFile()
B. setContent()
C. addRendition()
D. appendFile()
What does the following code do?
A. removes all versions of an object
B. removes only the current version regardless of the version selected
C. removes the exact object relating to the given object ID
D. It does nothing as sysObj.save() has not been called.
You have three repositories A ,B and C and the following objects (assume all objects are valid). How should you specify the default identity for the three repositories?
A. sMgr.setIdentity ("*" , loginInfoObj);
B. sMgr.setIdentity ("A,B,C", loginInfoObj);
C. sMgr.setIdentities ("A,B,C", loginInfoObj);
D. sMgr.setIdentities ("*", loginInfoObj);
User "docuser" has READ permission in an ACL. Which method from the IDfACL interface must be used to revoke the permission to "docuser"?
A. revoke("docuser", IDfACL.DF_PERMIT_READ)
B. grant("docuser", IDfACL.DF_PERMIT_NONE, null)
C. revokePermit("docuser", IDfACL.DF_PERMIT_READ)
D. removePermit("docuser", IDfACL.DF_PERMIT_READ)
The setDestinationDirectory(String dirPath) method of the IDfValidationOperation is used to set the _____.
A. destination directory for the validated XML file
B. location where the XML application can be found
C. temporary directory that will be used to validate the XML file
D. location where the corresponding DTD or schema used to manage the validation, can befound
Given the following namespaces: Which namespaces are required in the stylesheet to execute XDQL queries?
A. 1 and 2 only
B. 1 and 3 only
C. 1, 2 and 3 only
D. 1, 2, 3 and 4
Which statement is true about the collection returned by IDfSysObject.getVersions()
A. It has a fixed number of fields in the result set that cannot be extendeD.
B. It must be closed after the code has processed the list of versions returneD.
C. It only returns versions with symbolic labels.
D. It does not have to be closed because it did not result from IDfQuery.execute().
What information can be combined into a DFC trace?
A. SQL query tracing
B. DMCL functional tracing
C. content transfer progress
D. IP number and port tracing