Package wt.org

Class LoadUserPicture

java.lang.Object
wt.org.LoadUserPicture
All Implemented Interfaces:
wt.load.DefaultLoaderIfc

public class LoadUserPicture extends Object implements wt.load.DefaultLoaderIfc
Following are the use cases that this class currently performs:
  • Uploads and associates pictures to the profiles of users in the system. The users must already exist in the system. If a picture was previously associated with a user's profile, it is removed and a new one created.


  • Supported API: true This class could be invoked using the command WC_COMMAND> windchill wt.load.LoadFromFile -d
    • Field Summary

      Fields inherited from interface wt.load.DefaultLoaderIfc

      LOGGERINT, REMOTE_LOAD_FILE_LOCATION, WT_LOAD_FILES_PROPERTY, WT_XML_LOAD_FILE_DIRECTORY_PROPERTY
    • Method Summary

      Modifier and Type
      Method
      Description
      static boolean
      update(Hashtable nv, Hashtable cmd_line, Vector<String> return_objects)
      Uploads and associates pictures to the profiles of users in the system.

      Methods inherited from class java.lang.Object

      clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Details

      • update

        public static boolean update(Hashtable nv, Hashtable cmd_line, Vector<String> return_objects)
        Uploads and associates pictures to the profiles of users in the system. The users must already exist in the system. If a picture was previously associated with a user's profile, it is removed and a new one created. userid \\userphotos\\abc.gif This loader does not require any additional command line parameters.
        Parameters:
        nv - Name/value pairs of meta data to set on the user.
        cmd_line - command line argument that can be substituted into the load data.
        return_objects - Object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.

        Supported API: true