|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.scrashmeow.ojb.console.service.UiMetaDataServiceImpl
The UI MetaData service. Provides a view into the metadata that describes the repository but is specific to the user interface.
Field Summary | |
protected ApplicationService |
service
Field service |
Constructor Summary | |
UiMetaDataServiceImpl()
|
Method Summary | |
protected ClassDescriptor |
findClassDescriptor(java.lang.String classId)
Method findClassDescriptor @add-javadoc!!! |
protected FieldDescriptor |
findFieldDescriptor(java.lang.String classId,
java.lang.String fieldId)
|
ApplicationService |
getApplicationService()
Returns the applicationService. |
java.util.Collection |
getBrowseableClassDescriptorIds(java.util.Collection clds)
Method getBrowseableClassDescriptorIds @add-javadoc!!! |
java.lang.String |
getClassDescriptorHelp(java.lang.String classId,
java.util.Locale loc)
|
java.lang.String |
getClassDescriptorLabel(java.lang.String classId,
java.util.Locale loc)
Method getClassDescriptorLabel @add-javadoc!!! |
java.lang.String |
getFieldDescriptorLabel(java.lang.String classId,
java.lang.String fieldId,
java.util.Locale loc)
|
UiDescriptorRepository |
getUiRepositoryDescriptor()
Returns the uiRepositoryDescriptor. |
WidgetDescriptor |
getWidgetDescriptor(java.lang.String classId,
java.lang.String fieldId)
Returns the widget descriptor for the class and field id. |
void |
setApplicationService(ApplicationService applicationService)
Sets the applicationService. |
void |
setUiRepositoryDescriptor(UiDescriptorRepository uiRepositoryDescriptor)
Sets the uiRepositoryDescriptor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ApplicationService service
Constructor Detail |
public UiMetaDataServiceImpl()
Method Detail |
public UiDescriptorRepository getUiRepositoryDescriptor()
public void setUiRepositoryDescriptor(UiDescriptorRepository uiRepositoryDescriptor)
uiRepositoryDescriptor
- The uiRepositoryDescriptor to setpublic java.util.Collection getBrowseableClassDescriptorIds(java.util.Collection clds) throws ServiceException
getBrowseableClassDescriptorIds
in interface UiMetaDataService
clds
- @add-javadoc!!!
ServiceException
- @add-javadoc!!!public java.lang.String getClassDescriptorLabel(java.lang.String classId, java.util.Locale loc) throws ServiceException
UiMetaDataService
getClassDescriptorLabel
in interface UiMetaDataService
classId
- @add-javadoc!!!loc
- @add-javadoc!!!
ServiceException
- @add-javadoc!!!UiMetaDataService.getClassDescriptorLabel(String, Locale)
public java.lang.String getFieldDescriptorLabel(java.lang.String classId, java.lang.String fieldId, java.util.Locale loc) throws ServiceException
getFieldDescriptorLabel
in interface UiMetaDataService
ServiceException
public java.lang.String getClassDescriptorHelp(java.lang.String classId, java.util.Locale loc) throws ServiceException
classId
- @add-javadoc!!!loc
- @add-javadoc!!!
ServiceException
- @add-javadoc!!!UiMetaDataService.getClassDescriptorLabel(String, Locale)
public WidgetDescriptor getWidgetDescriptor(java.lang.String classId, java.lang.String fieldId) throws ServiceException
getWidgetDescriptor
in interface UiMetaDataService
fieldId
-
ServiceException
protected ClassDescriptor findClassDescriptor(java.lang.String classId) throws ServiceException
classId
- @add-javadoc!!!
ServiceException
- @add-javadoc!!!protected FieldDescriptor findFieldDescriptor(java.lang.String classId, java.lang.String fieldId) throws ServiceException
ServiceException
public ApplicationService getApplicationService()
public void setApplicationService(ApplicationService applicationService)
applicationService
- The applicationService to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |