net.datacrow.core.modules.security
Class UserModule

java.lang.Object
  extended by net.datacrow.core.modules.DcModule
      extended by net.datacrow.core.modules.DcParentModule
          extended by net.datacrow.core.modules.security.UserModule
All Implemented Interfaces:
java.lang.Comparable<DcModule>

public class UserModule
extends DcParentModule

The user module represents users.

Author:
Robert Jan van der Waals
See Also:
User

Field Summary
 
Fields inherited from class net.datacrow.core.modules.DcModule
_TYPE_ASSOCIATE_MODULE, _TYPE_EXTERNALREFERENCE_MODULE, _TYPE_MAPPING_MODULE, _TYPE_MEDIA_MODULE, _TYPE_MODULE, _TYPE_PROPERTY_MODULE, _TYPE_TEMPLATE_MODULE, insertView, searchView
 
Constructor Summary
UserModule()
          Creates a new instance.
 
Method Summary
 DcObject createItem()
          Creates a new user instance.
 boolean equals(java.lang.Object o)
           
 DcModule getChild()
          Retrieves the child module
 DcImageIcon getIcon16()
          The small icon.
 DcImageIcon getIcon32()
          The large icon.
 MasterView getInsertView()
          Retrieves the insert view.
 int[] getSupportedViews()
           
 boolean hasDependingModules()
          Indicates if other modules are depending on this module.
 boolean hasInsertView()
          Indicates if this module has an insert view.
 boolean hasSearchView()
          Indicates if this module has a search view.
protected  void initializeFields()
          Initializes the default fields.
protected  void initializeUI()
          Initializes all views.
 boolean isCustomFieldsAllowed()
          Indicates if this module is allowed to be customized.
 boolean isEnabled()
          Indicates if this module is enabled.
 boolean isFileBacked()
          Indicates if items belonging to this module are file based.
 boolean isParentModule()
          Indicates if this module is a parent module.
 
Methods inherited from class net.datacrow.core.modules.DcParentModule
isTopModule
 
Methods inherited from class net.datacrow.core.modules.DcModule
addField, addValueEnhancer, applySettings, canBeLend, compareTo, delete, deliversOnlineService, getChartPanel, getCurrentInsertView, getCurrentSearchView, getDefaultData, getDefaultSortFieldIdx, getDescription, getDisplayFieldIdx, getDisplayIndex, getField, getField, getFieldCount, getFieldDefinitions, getFieldIndices, getFields, getFileField, getFileRenamerDialog, getFilterForm, getIcon16Filename, getIcon32Filename, getIconField, getImporter, getImporterClass, getIndex, getItem, getItemForm, getItemPluralResourceKey, getItemResourceKey, getKeyStroke, getLabel, getMenuBar, getMinimalFields, getModuleResourceKey, getName, getNameFieldIdx, getObjectName, getObjectNamePlural, getOnlineServices, getParent, getParentReferenceFieldIndex, getPersistentField, getPropertyModule, getQuickView, getQuickViewFieldDefinitions, getSearchView, getSetting, getSettings, getSynchronizer, getSystemDisplayFieldIdx, getSystemField, getSystemObjectName, getSystemObjectNamePlural, getTableName, getTableShortName, getTemplateModule, getType, getViews, getWebFieldDefinitions, getXmlModule, hasActualReferenceTo, hashCode, hasReferenceTo, hasReports, initializeMultiReferenceFields, initializeSettings, initializeSystemFields, isAbstract, isChildModule, isContainerManaged, isCustomModule, isDefaultDataLoaded, isEditingAllowed, isEnabled, isHasImages, isHasReferences, isNew, isSearchViewInitialized, isSelectableInUI, isServingMultipleModules, isValid, release, removeEnhancers, setChild, setDefaultDataLoaded, setIcon16, setIcon32, setNew, setServingMultipleModules, setSetting, setValid, setXmlModule, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserModule

public UserModule()
Creates a new instance.

Method Detail

getIcon16

public DcImageIcon getIcon16()
The small icon.

Overrides:
getIcon16 in class DcModule

getIcon32

public DcImageIcon getIcon32()
The large icon.

Overrides:
getIcon32 in class DcModule

getInsertView

public MasterView getInsertView()
Retrieves the insert view.

Overrides:
getInsertView in class DcModule
Returns:
Always null.

hasDependingModules

public boolean hasDependingModules()
Indicates if other modules are depending on this module.

Overrides:
hasDependingModules in class DcModule
Returns:
Always false.

isEnabled

public boolean isEnabled()
Indicates if this module is enabled.

Overrides:
isEnabled in class DcModule
Returns:
Depends if the user currently logged on is an administrator.
See Also:
DcModuleSettings

hasSearchView

public boolean hasSearchView()
Indicates if this module has a search view.

Overrides:
hasSearchView in class DcModule
Returns:
Always true.

hasInsertView

public boolean hasInsertView()
Indicates if this module has an insert view.

Overrides:
hasInsertView in class DcModule
Returns:
Always false.

isFileBacked

public boolean isFileBacked()
Indicates if items belonging to this module are file based.

Overrides:
isFileBacked in class DcModule
Returns:
Always false.

createItem

public DcObject createItem()
Creates a new user instance.

Overrides:
createItem in class DcModule
See Also:
User

getChild

public DcModule getChild()
Retrieves the child module

Overrides:
getChild in class DcModule
Returns:
The child module or null if not applicable.
See Also:
PermissionModule

isCustomFieldsAllowed

public boolean isCustomFieldsAllowed()
Indicates if this module is allowed to be customized.

Overrides:
isCustomFieldsAllowed in class DcModule
Returns:
Always false.

isParentModule

public boolean isParentModule()
Indicates if this module is a parent module.

Overrides:
isParentModule in class DcParentModule
Returns:
Always true

initializeUI

protected void initializeUI()
Initializes all views.

Overrides:
initializeUI in class DcModule

getSupportedViews

public int[] getSupportedViews()
Overrides:
getSupportedViews in class DcModule

initializeFields

protected void initializeFields()
Initializes the default fields.

Overrides:
initializeFields in class DcModule

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class DcParentModule