|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencms.db.CmsUserSettings
org.opencms.configuration.CmsDefaultUserSettings
public class CmsDefaultUserSettings
Default user workplace settings, used as default values for worklace settings in the user preferences.
| Field Summary | |
|---|---|
static String[] |
BUTTON_STYLES
Array of the possible "button styles". |
static List |
BUTTON_STYLES_LIST
Array list for fast lookup of "button styles". |
static String[] |
FILTER_NAMES
Array of the "task startupfilter" nicenames. |
static List |
FILTER_NAMES_LIST
Array list for fast lookup of "task startupfilter" nicenames. |
static String[] |
FILTER_VALUES
Array of the "task startupfilter" values. |
static List |
FILTER_VALUES_LIST
Array list for fast lookup of "task startupfilter" values. |
| Constructor Summary | |
|---|---|
CmsDefaultUserSettings()
|
|
| Method Summary | |
|---|---|
String |
getDialogCopyFileModeString()
Gets the default copy mode when copying a file of the user. |
String |
getDialogCopyFolderModeString()
Gets the default copy mode when copying a folder of the user. |
String |
getDialogDeleteFileModeString()
Returns the default setting for file deletion. |
String |
getDialogExpandInheritedPermissionsString()
Returns the default setting for expanding inherited permissions in the dialog. |
String |
getDialogExpandUserPermissionsString()
Returns the default setting for expanding the users permissions in the dialog. |
String |
getDialogPermissionsInheritOnFolderString()
Returns the default setting for inheriting permissions on folders. |
String |
getDialogPublishSiblingsString()
Returns the default setting for direct publishing. |
String |
getDialogShowExportSettingsString()
Determines if the export settings part of the secure/export dialog should be shown. |
String |
getDialogShowLockString()
Determines if the lock dialog should be shown. |
String |
getDirectEditButtonStyleString()
Returns a string representation of the direct edit button style. |
String |
getEditorButtonStyleString()
Returns a string representation of the editor button style. |
String |
getExplorerButtonStyleString()
Returns a string representation of the explorer button style. |
String |
getRestrictExplorerViewString()
Returns if the explorer view is restricted to the defined site and folder. |
String |
getShowExplorerFileDateCreated()
Gets if the file creation date should be shown in explorer view. |
String |
getShowExplorerFileDateExpired()
Gets if the file expired by should be shown in explorer view. |
String |
getShowExplorerFileDateLastModified()
Gets if the file last modified date should be shown in explorer view. |
String |
getShowExplorerFileDateReleased()
Gets if the file released by should be shown in explorer view. |
String |
getShowExplorerFileLockedBy()
Gets if the file locked by should be shown in explorer view. |
String |
getShowExplorerFilePermissions()
Gets if the file permissions should be shown in explorer view. |
String |
getShowExplorerFileSize()
Gets if the file size should be shown in explorer view. |
String |
getShowExplorerFileState()
Gets if the file state should be shown in explorer view. |
String |
getShowExplorerFileTitle()
Gets if the file title should be shown in explorer view. |
String |
getShowExplorerFileType()
Gets if the file type should be shown in explorer view. |
String |
getShowExplorerFileUserCreated()
Gets if the file creator should be shown in explorer view. |
String |
getShowExplorerFileUserLastModified()
Gets if the file last modified by should be shown in explorer view. |
String |
getTaskMessageAcceptedString()
Determines if a message should be sent if the task is accepted. |
String |
getTaskMessageCompletedString()
Determines if a message should be sent if the task is completed. |
String |
getTaskMessageForwardedString()
Determines if a message should be sent if the task is forwarded. |
String |
getTaskMessageMembersString()
Determines if all role members should be informed about the task. |
String |
getTaskShowAllProjectsString()
Determines if all projects should be shown in tasks view. |
String |
getTaskStartupFilterDefault()
Gets the startup filter for the tasks view. |
String |
getUploadAppletString()
Returns a string representation of the upload Applet flag. |
String |
getWorkplaceButtonStyleString()
Returns a string representation of the workplace button style. |
void |
setDialogCopyFileMode(String mode)
Sets the default copy mode when copying a file of the user. |
void |
setDialogCopyFolderMode(String mode)
Sets the default copy mode when copying a folder of the user. |
void |
setDialogDeleteFileMode(String mode)
Sets the default setting for file deletion. |
void |
setDialogExpandInheritedPermissions(String dialogExpandInheritedPermissions)
Sets the default setting for expanding inherited permissions in the dialog. |
void |
setDialogExpandUserPermissions(String dialogExpandUserPermissions)
Sets the default setting for expanding the users permissions in the dialog. |
void |
setDialogPermissionsInheritOnFolder(String dialogPermissionsInheritOnFolder)
Sets the default setting for inheriting permissions on folders. |
void |
setDialogPublishSiblings(String mode)
Sets the default setting for direct publishing. |
void |
setDirectEditButtonStyle(String buttonstyle)
Sets the style of the direct edit buttons of the user. |
void |
setEditorButtonStyle(String buttonstyle)
Sets the style of the editor buttons of the user. |
void |
setExplorerButtonStyle(String buttonstyle)
Sets the style of the explorer workplace buttons of the user. |
void |
setExplorerFileEntries(String entries)
Sets the number of displayed files per page of the user. |
void |
setLocale(String locale)
Sets the workplace locale. |
void |
setRestrictExplorerView(String restrict)
Sets if the explorer view is restricted to the defined site and folder. |
void |
setShowExplorerFileDateCreated(String show)
Sets if the file creation date should be shown in explorer view. |
void |
setShowExplorerFileDateExpired(String show)
Sets if the file expire date should be shown in explorer view. |
void |
setShowExplorerFileDateLastModified(String show)
Sets if the file last modified date should be shown in explorer view. |
void |
setShowExplorerFileDateReleased(String show)
Sets if the file release date should be shown in explorer view. |
void |
setShowExplorerFileLockedBy(String show)
Sets if the file locked by should be shown in explorer view. |
void |
setShowExplorerFilePermissions(String show)
Sets if the file permissions should be shown in explorer view. |
void |
setShowExplorerFileSize(String show)
Sets if the file size should be shown in explorer view. |
void |
setShowExplorerFileState(String show)
Sets if the file state should be shown in explorer view. |
void |
setShowExplorerFileTitle(String show)
Sets if the file title should be shown in explorer view. |
void |
setShowExplorerFileType(String show)
Sets if the file type should be shown in explorer view. |
void |
setShowExplorerFileUserCreated(String show)
Sets if the file creator should be shown in explorer view. |
void |
setShowExplorerFileUserLastModified(String show)
Sets if the file last modified by should be shown in explorer view. |
void |
setShowExportSettingsDialog(String mode)
Sets if the export part of the secure/export dialog should be shown. |
void |
setShowLockDialog(String mode)
Sets if the lock dialog should be shown. |
void |
setTaskMessageAccepted(String mode)
Sets if a message should be sent if the task is accepted. |
void |
setTaskMessageCompleted(String mode)
Sets if a message should be sent if the task is completed. |
void |
setTaskMessageForwarded(String mode)
Sets if a message should be sent if the task is forwarded. |
void |
setTaskMessageMembers(String mode)
Sets if all role members should be informed about the task. |
void |
setTaskShowAllProjects(String mode)
Sets if all projects should be shown in tasks view. |
void |
setTaskStartupFilterDefault(String filter)
Sets the startup filter for the tasks view. |
void |
setUploadApplet(String applet)
Sets the usage of the upload applet for the user user. |
void |
setWorkplaceButtonStyle(String buttonstyle)
Sets the style of the workplace buttons of the user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String[] BUTTON_STYLES
public static final List BUTTON_STYLES_LIST
public static final String[] FILTER_NAMES
public static final List FILTER_NAMES_LIST
public static final String[] FILTER_VALUES
public static final List FILTER_VALUES_LIST
| Constructor Detail |
|---|
public CmsDefaultUserSettings()
| Method Detail |
|---|
public String getDialogCopyFileModeString()
public String getDialogCopyFolderModeString()
public String getDialogDeleteFileModeString()
public String getDialogExpandInheritedPermissionsString()
public String getDialogExpandUserPermissionsString()
public String getDialogPermissionsInheritOnFolderString()
public String getDialogPublishSiblingsString()
public String getDialogShowExportSettingsString()
public String getDialogShowLockString()
public String getDirectEditButtonStyleString()
public String getEditorButtonStyleString()
public String getExplorerButtonStyleString()
public String getRestrictExplorerViewString()
public String getShowExplorerFileDateCreated()
public String getShowExplorerFileDateExpired()
public String getShowExplorerFileDateLastModified()
public String getShowExplorerFileDateReleased()
public String getShowExplorerFileLockedBy()
public String getShowExplorerFilePermissions()
public String getShowExplorerFileSize()
public String getShowExplorerFileState()
public String getShowExplorerFileTitle()
public String getShowExplorerFileType()
public String getShowExplorerFileUserCreated()
public String getShowExplorerFileUserLastModified()
public String getTaskMessageAcceptedString()
public String getTaskMessageCompletedString()
public String getTaskMessageForwardedString()
public String getTaskMessageMembersString()
public String getTaskShowAllProjectsString()
public String getTaskStartupFilterDefault()
public String getUploadAppletString()
public String getWorkplaceButtonStyleString()
public void setDialogCopyFileMode(String mode)
mode - the default copy mode when copying a file of the userpublic void setDialogCopyFolderMode(String mode)
mode - the default copy mode when copying a folder of the userpublic void setDialogDeleteFileMode(String mode)
mode - the default setting for file deletionpublic void setDialogExpandInheritedPermissions(String dialogExpandInheritedPermissions)
dialogExpandInheritedPermissions - the default setting for expanding inherited permissions in the dialogpublic void setDialogExpandUserPermissions(String dialogExpandUserPermissions)
dialogExpandUserPermissions - the default setting for expanding the users permissions in the dialogpublic void setDialogPermissionsInheritOnFolder(String dialogPermissionsInheritOnFolder)
dialogPermissionsInheritOnFolder - the default setting for inheriting permissions on folderspublic void setDialogPublishSiblings(String mode)
mode - the default setting for direct publishingpublic void setDirectEditButtonStyle(String buttonstyle)
buttonstyle - the style of the direct edit buttons of the userpublic void setEditorButtonStyle(String buttonstyle)
buttonstyle - the style of the editor buttons of the userpublic void setExplorerButtonStyle(String buttonstyle)
buttonstyle - the style of the explorer workplace buttons of the userpublic void setExplorerFileEntries(String entries)
entries - the number of displayed files per page of the userpublic void setLocale(String locale)
locale - the workplace language defaultpublic void setRestrictExplorerView(String restrict)
restrict - true if the explorer view is restricted, otherwise falsepublic void setShowExplorerFileDateCreated(String show)
show - true if the file creation date should be shown, otherwise falsepublic void setShowExplorerFileDateExpired(String show)
show - true if the file expire date should be shown, otherwise falsepublic void setShowExplorerFileDateLastModified(String show)
show - true if the file last modified date should be shown, otherwise falsepublic void setShowExplorerFileDateReleased(String show)
show - true if the file relese date should be shown, otherwise falsepublic void setShowExplorerFileLockedBy(String show)
show - true if the file locked by should be shown, otherwise falsepublic void setShowExplorerFilePermissions(String show)
show - true if the file permissions should be shown, otherwise falsepublic void setShowExplorerFileSize(String show)
show - true if the file size should be shown, otherwise falsepublic void setShowExplorerFileState(String show)
show - true if the state size should be shown, otherwise falsepublic void setShowExplorerFileTitle(String show)
show - true if the file title should be shown, otherwise falsepublic void setShowExplorerFileType(String show)
show - true if the file type should be shown, otherwise falsepublic void setShowExplorerFileUserCreated(String show)
show - true if the file creator should be shown, otherwise falsepublic void setShowExplorerFileUserLastModified(String show)
show - true if the file last modified by should be shown, otherwise falsepublic void setShowExportSettingsDialog(String mode)
mode - true if the export dialog should be shown, otherwise falsepublic void setShowLockDialog(String mode)
mode - true if the lock dialog should be shown, otherwise falsepublic void setTaskMessageAccepted(String mode)
mode - true if a message should be sent if the task is accepted, otherwise falsepublic void setTaskMessageCompleted(String mode)
mode - true if a message should be sent if the task is completed, otherwise falsepublic void setTaskMessageForwarded(String mode)
mode - true if a message should be sent if the task is forwarded, otherwise falsepublic void setTaskMessageMembers(String mode)
mode - true if all role members should be informed about the task, otherwise falsepublic void setTaskShowAllProjects(String mode)
mode - true if all projects should be shown in tasks view, otherwise falsepublic void setTaskStartupFilterDefault(String filter)
filter - the startup filter for the tasks viewpublic void setUploadApplet(String applet)
applet - "true" or "false" to flag the use of the appletpublic void setWorkplaceButtonStyle(String buttonstyle)
buttonstyle - the style of the workplace buttons of the user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||