|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jtheque.books.services.impl.EditorsService
public final class EditorsService
An editors service implementation.
| Field Summary |
|---|
| Fields inherited from interface org.jtheque.books.services.able.IEditorsService |
|---|
DATA_TYPE |
| Constructor Summary | |
|---|---|
EditorsService()
|
|
| Method Summary | |
|---|---|
void |
addDataListener(org.jtheque.core.managers.persistence.able.DataListener listener)
|
void |
clearAll()
|
void |
create(Editor editor)
Create the editor. |
boolean |
delete(Editor editor)
Delete the editor. |
boolean |
exists(String name)
Indicate if exists an editor with a name. |
Collection<Editor> |
getDatas()
|
String |
getDataType()
|
Editor |
getDefaultEditor()
Return the default editor. |
Editor |
getEditor(String name)
Return the editor with the name. |
Editor |
getEmptyEditor()
Create an empty editor. |
void |
save(Editor editor)
Save the editor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EditorsService()
| Method Detail |
|---|
@Transactional public Editor getDefaultEditor()
IEditorsService
getDefaultEditor in interface IEditorsService@Transactional public void create(Editor editor)
IEditorsService
create in interface IEditorsServiceeditor - The editor to create.public Editor getEditor(String name)
IEditorsService
getEditor in interface IEditorsServicename - The name to search for.
public boolean exists(String name)
IEditorsService
exists in interface IEditorsServicename - The name to search for.
@Transactional public boolean delete(Editor editor)
IEditorsService
delete in interface IEditorsServiceeditor - The editor to delete.
@Transactional public void save(Editor editor)
IEditorsService
save in interface IEditorsServiceeditor - The editor to save.public Editor getEmptyEditor()
IEditorsService
getEmptyEditor in interface IEditorsServicepublic Collection<Editor> getDatas()
getDatas in interface org.jtheque.core.managers.persistence.able.DataContainer<Editor>public void addDataListener(org.jtheque.core.managers.persistence.able.DataListener listener)
addDataListener in interface org.jtheque.core.managers.persistence.able.DataContainer<Editor>@Transactional public void clearAll()
clearAll in interface org.jtheque.core.managers.persistence.able.DataContainer<Editor>public String getDataType()
getDataType in interface org.jtheque.core.managers.persistence.able.DataContainer<Editor>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||