|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.datacrow.core.modules.DcModule
net.datacrow.core.modules.DcAssociateModule
public class DcAssociateModule
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 | |
---|---|
DcAssociateModule(int index,
java.lang.String name,
java.lang.String description,
java.lang.String objectName,
java.lang.String objectNamePlural,
java.lang.String tableName,
java.lang.String tableShortName)
Creates a new instance. |
|
DcAssociateModule(XmlModule module)
Creates this module based on an XML module definition. |
Method Summary | |
---|---|
DcObject |
createItem()
Creates a new instance of an item belonging to this module. |
boolean |
equals(java.lang.Object o)
|
int |
getDefaultSortFieldIdx()
Retrieves the index of the field on which is sorted by default. |
protected void |
initializeFields()
Initializes the default fields. |
boolean |
isContainerManaged()
Indicates if the module is managed by (can belong to) a container. |
boolean |
isSelectableInUI()
Indicates whether this module be selected from the module bar. |
boolean |
isTopModule()
Indicates if this module is a top module. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DcAssociateModule(int index, java.lang.String name, java.lang.String description, java.lang.String objectName, java.lang.String objectNamePlural, java.lang.String tableName, java.lang.String tableShortName)
index
- The module index.topModule
- Indicates if the module is a top module. Top modules are allowed
to be displayed in the module bar and can be enabled or disabled.name
- The internal unique name of the module.description
- The module descriptionobjectName
- The name of the items belonging to this module.objectNamePlural
- The plural name of the items belonging to this module.tableName
- The database table name for this module.tableShortName
- The database table short name for this module.public DcAssociateModule(XmlModule module)
module
- Method Detail |
---|
public boolean isContainerManaged()
DcModule
isContainerManaged
in class DcModule
ContainerModule
,
Container
public boolean isSelectableInUI()
isSelectableInUI
in class DcModule
public int getDefaultSortFieldIdx()
DcModule
getDefaultSortFieldIdx
in class DcModule
public boolean isTopModule()
DcModule
isTopModule
in class DcModule
public DcObject createItem()
createItem
in class DcModule
protected void initializeFields()
DcModule
initializeFields
in class DcModule
public boolean equals(java.lang.Object o)
equals
in class DcModule
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |