|
|||||||||
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.DcMediaModule
net.datacrow.core.modules.DcMediaChildModule
public class DcMediaChildModule
Items belonging to a child module are dependent on the existence of a parent item.
Parent items always belong to another module, represented by the DcMediaParentModule
class.
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 | |
---|---|
DcMediaChildModule(int index,
boolean topModule,
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. |
|
DcMediaChildModule(XmlModule xmlModule)
Creates a new instance based on a XML definition. |
Method Summary | |
---|---|
DcMinimalisticItemView |
getItemView(DcObject parent,
int module,
boolean readonly)
Creates a new item view. |
int[] |
getMinimalFields(java.util.Collection<java.lang.Integer> include)
|
int[] |
getSupportedViews()
|
protected void |
initializeUI()
Initializes the various views. |
boolean |
isChildModule()
Indicates if this module is a child module. |
boolean |
isTopModule()
Indicates if this module is a top module. |
Methods inherited from class net.datacrow.core.modules.DcMediaModule |
---|
equals, initializeFields |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.datacrow.core.modules.IChildModule |
---|
getIndex |
Constructor Detail |
---|
public DcMediaChildModule(XmlModule xmlModule)
xmlModule
- public DcMediaChildModule(int index, boolean topModule, 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.Method Detail |
---|
public int[] getMinimalFields(java.util.Collection<java.lang.Integer> include)
getMinimalFields
in class DcMediaModule
public DcMinimalisticItemView getItemView(DcObject parent, int module, boolean readonly)
getItemView
in interface IChildModule
parent
- The parent item.readonly
- Indicates if editing is allowed.public int[] getSupportedViews()
getSupportedViews
in class DcModule
protected void initializeUI()
initializeUI
in class DcModule
public boolean isChildModule()
isChildModule
in class DcModule
public boolean isTopModule()
isTopModule
in class DcModule
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |