|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcfa.vo.iris.sed.SedlibSedManager
public class SedlibSedManager
| Constructor Summary | |
|---|---|
SedlibSedManager()
|
|
| Method Summary | |
|---|---|
void |
add(ExtSed sed)
Add an SED to be managed by this manager. |
void |
addAttachment(ExtSed sed,
String attachmentId,
Object attachment)
Components can attach any kind of objects to the SED, identifying them by a string. |
void |
addAttachment(String id,
String attachmentId,
Object attachment)
Add an attachment using the SED ID as a key |
boolean |
existsSed(ExtSed sed)
Check whether an SED is managed by this SED Manager. |
boolean |
existsSed(String id)
Check whether an SED is managed by this SED Manager. |
Object |
getAttachment(ExtSed sed,
String attachmentId)
Retrieve an attachment from a given SED. |
Object |
getAttachment(String id,
String attachmentId)
Retrieve an attachment from a given SED. |
IList<ExtSed> |
getSeds()
Return the list of SEDs managed by this SED Manager. |
ExtSed |
getSelected()
All the time a single SED can be considered as "selected". |
ExtSed |
newSed(String id)
Create a new, empty managed SED. |
void |
remove(String id)
Remove an SED from this manager. |
void |
removeAttachment(ExtSed sed,
String attachmentId)
Remove an attachment from a SED. |
void |
removeAttachment(String id,
String attachmentId)
Remove an attachment from an SED. |
void |
rename(ExtSed sed,
String newId)
Rename a managed sed; |
void |
select(ExtSed sed)
Set the selected SED. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SedlibSedManager()
| Method Detail |
|---|
public IList<ExtSed> getSeds()
ISedManager
getSeds in interface ISedManager<ExtSed>public boolean existsSed(ExtSed sed)
ISedManager
existsSed in interface ISedManager<ExtSed>sed - The SED instance to be queried.
public void addAttachment(ExtSed sed,
String attachmentId,
Object attachment)
ISedManager
addAttachment in interface ISedManager<ExtSed>sed - The SED to which attach the new object.attachmentId - The String ID of the attachment.attachment - The actual object to be attached.
public void removeAttachment(ExtSed sed,
String attachmentId)
ISedManager
removeAttachment in interface ISedManager<ExtSed>sed - The SED to which the attachment has to be removed.attachmentId - The ID of the attachment that has to be removed.
public void removeAttachment(String id,
String attachmentId)
ISedManager
removeAttachment in interface ISedManager<ExtSed>id - The ID of the SED from which the attachment has to be removed.attachmentId - The ID of the attachment to be removed.
public void addAttachment(String id,
String attachmentId,
Object attachment)
ISedManager
addAttachment in interface ISedManager<ExtSed>id - The ID of the SED to which the attachment has to be added.attachmentId - The ID of the attachment.attachment - The actual object to be attached.
public Object getAttachment(ExtSed sed,
String attachmentId)
ISedManager
getAttachment in interface ISedManager<ExtSed>sed - The SED object from which the attachment has to be retrieved.attachmentId - the ID of the attachment to be retrieved.
public Object getAttachment(String id,
String attachmentId)
ISedManager
getAttachment in interface ISedManager<ExtSed>attachmentId - the ID of the attachment to be retrieved.
public ExtSed getSelected()
ISedManager
getSelected in interface ISedManager<ExtSed>public void add(ExtSed sed)
ISedManager
add in interface ISedManager<ExtSed>sed - The SED to add.public void remove(String id)
ISedManager
remove in interface ISedManager<ExtSed>id - The ID of the SED that has to be dropped.public void select(ExtSed sed)
ISedManager
select in interface ISedManager<ExtSed>sed - The SED that has to be selected.public ExtSed newSed(String id)
ISedManager
newSed in interface ISedManager<ExtSed>id - The ID of the new SED.
public boolean existsSed(String id)
ISedManager
existsSed in interface ISedManager<ExtSed>id - The ID of the SED to be queried.
public void rename(ExtSed sed,
String newId)
ISedManager
rename in interface ISedManager<ExtSed>sed - The SED to be renamednewId - the new SED name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||