|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cfa.vo.iris.sed.SedManager
public class SedManager
Constructor Summary | |
---|---|
SedManager()
|
Method Summary | |
---|---|
void |
add(IXSed sed)
Add an SED to be managed by this manager. |
void |
addAttachment(IXSed 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(IXSed 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(IXSed sed,
String attachmentId)
Retrieve an attachment from a given SED. |
Object |
getAttachment(String id,
String attachmentId)
Retrieve an attachment from a given SED. |
IList<IXSed> |
getSeds()
Return the list of SEDs managed by this SED Manager. |
IXSed |
getSelected()
All the time a single SED can be considered as "selected". |
IXSed |
newSed(String id)
Create a new, empty managed SED. |
void |
remove(String id)
Remove an SED from this manager. |
void |
removeAttachment(IXSed sed,
String attachmentId)
Remove an attachment from a SED. |
void |
removeAttachment(String id,
String attachmentId)
Remove an attachment from an SED. |
void |
rename(IXSed sed,
String newId)
Rename a managed sed; |
void |
select(IXSed 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 SedManager()
Method Detail |
---|
public IList<IXSed> getSeds()
ISedManager
getSeds
in interface ISedManager<IXSed>
public boolean existsSed(String id)
ISedManager
existsSed
in interface ISedManager<IXSed>
id
- The ID of the SED to be queried.
public boolean existsSed(IXSed sed)
ISedManager
existsSed
in interface ISedManager<IXSed>
sed
- The SED instance to be queried.
public void addAttachment(IXSed sed, String attachmentId, Object attachment)
ISedManager
addAttachment
in interface ISedManager<IXSed>
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(IXSed sed, String attachmentId)
ISedManager
removeAttachment
in interface ISedManager<IXSed>
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<IXSed>
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<IXSed>
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(IXSed sed, String attachmentId)
ISedManager
getAttachment
in interface ISedManager<IXSed>
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<IXSed>
attachmentId
- the ID of the attachment to be retrieved.
public IXSed getSelected()
ISedManager
getSelected
in interface ISedManager<IXSed>
public void add(IXSed sed)
ISedManager
add
in interface ISedManager<IXSed>
sed
- The SED to add.public void remove(String id)
ISedManager
remove
in interface ISedManager<IXSed>
id
- The ID of the SED that has to be dropped.public void select(IXSed sed)
ISedManager
select
in interface ISedManager<IXSed>
sed
- The SED that has to be selected.public IXSed newSed(String id)
ISedManager
newSed
in interface ISedManager<IXSed>
id
- The ID of the new SED.
public void rename(IXSed sed, String newId)
ISedManager
rename
in interface ISedManager<IXSed>
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 |