📄 cmsusersettings.java
字号:
/**
* Sets if the file release date should be shown in explorer view.<p>
*
* @param show true if the file release date should be shown, otherwise false
*/
public void setShowExplorerFileDateReleased(boolean show) {
setExplorerSetting(show, CmsUserSettings.FILELIST_DATE_RELEASED);
}
/**
* Sets if the file locked by should be shown in explorer view.<p>
*
* @param show true if the file locked by should be shown, otherwise false
*/
public void setShowExplorerFileLockedBy(boolean show) {
setExplorerSetting(show, CmsUserSettings.FILELIST_LOCKEDBY);
}
/**
* Sets if the file permissions should be shown in explorer view.<p>
*
* @param show true if the file permissions should be shown, otherwise false
*/
public void setShowExplorerFilePermissions(boolean show) {
setExplorerSetting(show, CmsUserSettings.FILELIST_PERMISSIONS);
}
/**
* Sets if the file size should be shown in explorer view.<p>
*
* @param show true if the file size should be shown, otherwise false
*/
public void setShowExplorerFileSize(boolean show) {
setExplorerSetting(show, CmsUserSettings.FILELIST_SIZE);
}
/**
* Sets if the file state should be shown in explorer view.<p>
*
* @param show true if the state size should be shown, otherwise false
*/
public void setShowExplorerFileState(boolean show) {
setExplorerSetting(show, CmsUserSettings.FILELIST_STATE);
}
/**
* Sets if the file title should be shown in explorer view.<p>
*
* @param show true if the file title should be shown, otherwise false
*/
public void setShowExplorerFileTitle(boolean show) {
setExplorerSetting(show, CmsUserSettings.FILELIST_TITLE);
}
/**
* Sets if the file type should be shown in explorer view.<p>
*
* @param show true if the file type should be shown, otherwise false
*/
public void setShowExplorerFileType(boolean show) {
setExplorerSetting(show, CmsUserSettings.FILELIST_TYPE);
}
/**
* Sets if the file creator should be shown in explorer view.<p>
*
* @param show true if the file creator should be shown, otherwise false
*/
public void setShowExplorerFileUserCreated(boolean show) {
setExplorerSetting(show, CmsUserSettings.FILELIST_USER_CREATED);
}
/**
* Sets if the file last modified by should be shown in explorer view.<p>
*
* @param show true if the file last modified by should be shown, otherwise false
*/
public void setShowExplorerFileUserLastModified(boolean show) {
setExplorerSetting(show, CmsUserSettings.FILELIST_USER_LASTMODIFIED);
}
/**
* Sets the start folder of the user.<p>
*
* @param folder the start folder of the user
*/
public void setStartFolder(String folder) {
m_startFolder = folder;
}
/**
* Sets the start project of the user.<p>
*
* @param project the start project id of the user
*/
public void setStartProject(String project) {
m_project = project;
}
/**
* Sets the start site of the user.<p>
*
* @param site the start site of the user
*/
public void setStartSite(String site) {
m_startSite = site;
}
/**
* Sets the current start view of the user.<p>
*
* @param view the current start view of the user
*/
public void setStartView(String view) {
m_view = view;
}
/**
* Sets the (optional) workplace synchronize settings.<p>
*
* @param synchronizeSettings the (optional) workplace synchronize settings to set
*/
public void setSynchronizeSettings(CmsSynchronizeSettings synchronizeSettings) {
m_synchronizeSettings = synchronizeSettings;
}
/**
* Sets if a message should be sent if the task is accepted.<p>
*
* @param message true if a message should be sent if the task is accepted, otherwise false
*/
public void setTaskMessageAccepted(boolean message) {
setTaskMessageSetting(message, CmsTaskService.TASK_MESSAGES_ACCEPTED);
}
/**
* Sets if a message should be sent if the task is completed.<p>
*
* @param message true if a message should be sent if the task is completed, otherwise false
*/
public void setTaskMessageCompleted(boolean message) {
setTaskMessageSetting(message, CmsTaskService.TASK_MESSAGES_COMPLETED);
}
/**
* Sets if a message should be sent if the task is forwarded.<p>
*
* @param message true if a message should be sent if the task is forwarded, otherwise false
*/
public void setTaskMessageForwarded(boolean message) {
setTaskMessageSetting(message, CmsTaskService.TASK_MESSAGES_FORWARDED);
}
/**
* Sets if all role members should be informed about the task.<p>
*
* @param message true if all role members should be informed about the task, otherwise false
*/
public void setTaskMessageMembers(boolean message) {
setTaskMessageSetting(message, CmsTaskService.TASK_MESSAGES_MEMBERS);
}
/**
* Sets the task message values.<p>
*
* @param value the value of the task messages
*/
public void setTaskMessageValue(int value) {
m_taskMessages = value;
}
/**
* Sets if all projects should be shown in tasks view.<p>
*
* @param show true if all projects should be shown in tasks view, otherwise false
*/
public void setTaskShowAllProjects(boolean show) {
m_taskShowProjects = show;
}
/**
* Sets the startup filter for the tasks view.<p>
*
* @param filter the startup filter for the tasks view
*/
public void setTaskStartupFilter(String filter) {
m_taskStartupfilter = filter;
}
/**
* Sets the current user for the settings.<p>
*
* @param user the CmsUser
*/
public void setUser(CmsUser user) {
m_user = user;
}
/**
* Sets if the upload applet should be used.<p>
*
* @param use true if the upload applet should be used, otherwise false
*/
public void setUseUploadApplet(boolean use) {
m_uploadApplet = use;
}
/**
* Sets the style of the workplace buttons of the user.<p>
*
* @param style the style of the workplace buttons of the user
*/
public void setWorkplaceButtonStyle(int style) {
m_workplaceButtonStyle = style;
}
/**
* Sets the type of the report (simple or extended) of the user.<p>
*
* @param type the type of the report (simple or extended) of the user
*/
public void setWorkplaceReportType(String type) {
m_workplaceReportType = type;
}
/**
* Determines if the file creation date should be shown in explorer view.<p>
*
* @return true if the file creation date should be shown, otherwise false
*/
public boolean showExplorerFileDateCreated() {
return ((m_explorerSettings & CmsUserSettings.FILELIST_DATE_CREATED) > 0);
}
/**
* Determines if the file date expired should be shown in explorer view.<p>
*
* @return true if the file date expired should be shown, otherwise false
*/
public boolean showExplorerFileDateExpired() {
return ((m_explorerSettings & CmsUserSettings.FILELIST_DATE_EXPIRED) > 0);
}
/**
* Determines if the file last modified date should be shown in explorer view.<p>
*
* @return true if the file last modified date should be shown, otherwise false
*/
public boolean showExplorerFileDateLastModified() {
return ((m_explorerSettings & CmsUserSettings.FILELIST_DATE_LASTMODIFIED) > 0);
}
/**
* Determines if the file date released should be shown in explorer view.<p>
*
* @return true if the file date released should be shown, otherwise false
*/
public boolean showExplorerFileDateReleased() {
return ((m_explorerSettings & CmsUserSettings.FILELIST_DATE_RELEASED) > 0);
}
/**
* Determines if the file locked by should be shown in explorer view.<p>
*
* @return true if the file locked by should be shown, otherwise false
*/
public boolean showExplorerFileLockedBy() {
return ((m_explorerSettings & CmsUserSettings.FILELIST_LOCKEDBY) > 0);
}
/**
* Determines if the file permissions should be shown in explorer view.<p>
*
* @return true if the file permissions should be shown, otherwise false
*/
public boolean showExplorerFilePermissions() {
return ((m_explorerSettings & CmsUserSettings.FILELIST_PERMISSIONS) > 0);
}
/**
* Determines if the file size should be shown in explorer view.<p>
*
* @return true if the file size should be shown, otherwise false
*/
public boolean showExplorerFileSize() {
return ((m_explorerSettings & CmsUserSettings.FILELIST_SIZE) > 0);
}
/**
* Determines if the file state should be shown in explorer view.<p>
*
* @return true if the file state should be shown, otherwise false
*/
public boolean showExplorerFileState() {
return ((m_explorerSettings & CmsUserSettings.FILELIST_STATE) > 0);
}
/**
* Determines if the file title should be shown in explorer view.<p>
*
* @return true if the file title should be shown, otherwise false
*/
public boolean showExplorerFileTitle() {
return ((m_explorerSettings & CmsUserSettings.FILELIST_TITLE) > 0);
}
/**
* Determines if the file type should be shown in explorer view.<p>
*
* @return true if the file type should be shown, otherwise false
*/
public boolean showExplorerFileType() {
return ((m_explorerSettings & CmsUserSettings.FILELIST_TYPE) > 0);
}
/**
* Determines if the file creator should be shown in explorer view.<p>
*
* @return true if the file creator shoul
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -