wt.prefs.delegates
Class DefaultSystemDelegate

java.lang.Object
  extended bywt.prefs.delegates.PreferenceDelegate
      extended bywt.prefs.delegates.DefaultSystemDelegate

public class DefaultSystemDelegate
extends PreferenceDelegate

This is the delegate for the default Windchill System preferences.


Field Summary
 
Fields inherited from class wt.prefs.delegates.PreferenceDelegate
DELEGATE_FILE, DELEGATE_ORDER, DELEGATE_PREFERENCE_NODE
 
Constructor Summary
DefaultSystemDelegate()
           
 
Method Summary
 ArrayList getDivisions(WTUser user)
          This method will return the contstant WTPreferences.DEFAULT_CONTEXT for the Default division.
 ArrayList getDivisionsAsAdministrator(WTUser user)
          This method will return the divisions which the user is administrator of that this delegate handles.
 String getLocalizedName(String division, Locale aLocale)
           
 boolean isAdministrator(String division, WTUser user)
          This method will return false for all users, since the Default Windchill Preferences should never be edited from their installed value.
 
Methods inherited from class wt.prefs.delegates.PreferenceDelegate
getDivisions, getDivisionsAsAdministrator, isAdministrator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSystemDelegate

public DefaultSystemDelegate()
Method Detail

getLocalizedName

public final String getLocalizedName(String division,
                                     Locale aLocale)
Specified by:
getLocalizedName in class PreferenceDelegate

isAdministrator

public boolean isAdministrator(String division,
                               WTUser user)
This method will return false for all users, since the Default Windchill Preferences should never be edited from their installed value.

Specified by:
isAdministrator in class PreferenceDelegate
Parameters:
division - The division to administer
user - The user to check for authentication access
Returns:
Always false.

getDivisions

public final ArrayList getDivisions(WTUser user)
This method will return the contstant WTPreferences.DEFAULT_CONTEXT for the Default division.

Specified by:
getDivisions in class PreferenceDelegate
Parameters:
user - ignored
Returns:
The Default System Division.

getDivisionsAsAdministrator

public final ArrayList getDivisionsAsAdministrator(WTUser user)
This method will return the divisions which the user is administrator of that this delegate handles. In this case, the method will always return an empty ArrayList;

Specified by:
getDivisionsAsAdministrator in class PreferenceDelegate
Parameters:
user - ignored
Returns:
An empty ArrayList.