|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.fixagora.basis.server.control.BasisPersistenceHandler
public class BasisPersistenceHandler
The Class BasisPersistenceHandler.
| Constructor Summary | |
|---|---|
BasisPersistenceHandler()
Instantiates a new basis persistence handler. |
|
| Method Summary | ||
|---|---|---|
void |
close()
Close. |
|
|
executeQuery(java.lang.Class<T> clazz,
java.lang.String queryString,
java.util.List<java.lang.Object> parameterList,
TransientValueSetter transientValueSetter,
boolean makeEager)
Execute query. |
|
|
executeQuery(java.lang.Class<T> clazz,
java.lang.String queryString,
java.lang.Object parameter,
TransientValueSetter transientValueSetter,
boolean makeEager)
Execute query. |
|
|
executeQuery(java.lang.Class<T> clazz,
java.lang.String queryString,
TransientValueSetter transientValueSetter,
boolean makeEager)
Execute query. |
|
|
findById(java.lang.Class<T> clazz,
long id,
TransientValueSetter transientValueSetter)
Find by id. |
|
|
findByName(java.lang.Class<T> clazz,
java.lang.String name,
TransientValueSetter transientValueSetter)
Find by name. |
|
long |
getId(java.lang.String name)
Gets the id. |
|
java.util.List<LogEntry> |
getLogEntries()
Gets the log entries. |
|
java.util.Set<SpreadSheetCellContent> |
getSpreadSheetCellContents(long id)
Gets the spread sheet cell contents. |
|
java.util.Set<SpreadSheetCellFormat> |
getSpreadSheetCellFormats(long id)
Gets the spread sheet cell formats. |
|
java.util.Set<SpreadSheetColumnFormat> |
getSpreadSheetColumnFormats(long id)
Gets the spread sheet column formats. |
|
java.util.Set<SpreadSheetConditionalFormat> |
getSpreadSheetConditionalFormats(long id)
Gets the spread sheet conditional formats. |
|
java.util.Set<SpreadSheetRowFormat> |
getSpreadSheetRowFormats(long id)
Gets the spread sheet row formats. |
|
FUser |
getUser(org.jboss.netty.channel.Channel channel)
Gets the user. |
|
boolean |
isUserOnline(FUser fUser)
Checks if is user online. |
|
boolean |
nameCheck(UniqueNameRequest uniqueNameRequest)
Name check. |
|
void |
persist(AbstractBusinessObject abstractBusinessObject,
org.jboss.netty.channel.Channel channel,
TransientValueSetter transientValueSetter)
Persist. |
|
void |
persist(java.lang.Object object)
Persist. |
|
void |
processLogEntries(java.util.List<LogEntry> logEntries)
Process log entries. |
|
java.util.Set<AbstractBusinessObject> |
remove(java.util.Set<AbstractBusinessObject> abstractBusinessObjects,
org.jboss.netty.channel.Channel channel)
Removes the. |
|
void |
removeObject(java.lang.Object object)
Removes the object. |
|
void |
removeSession(org.jboss.netty.channel.Channel channel,
TransientValueSetter transientValueSetter)
Removes the session. |
|
boolean |
securityIDCheck(UniqueSecurityIDRequest uniqueSecurityIDRequest)
Security id check. |
|
void |
send(AbstractResponse abstractResponse)
Send. |
|
void |
send(AbstractResponse abstractResponse,
org.jboss.netty.channel.Channel channel)
Send. |
|
void |
setBasisClientAcceptor(FBasisClientAcceptor fBasisClientAcceptor)
Sets the basis client acceptor. |
|
boolean |
setUser(FUser fUser,
org.jboss.netty.channel.Channel session,
TransientValueSetter transientValueSetter)
Sets the user. |
|
java.util.List<AbstractBusinessObject> |
update(java.util.List<AbstractBusinessObject> abstractBusinessObjects,
org.jboss.netty.channel.Channel channel,
TransientValueSetter transientValueSetter,
boolean writeLogEntry)
Update. |
|
void |
update(java.lang.Object object)
Update. |
|
void |
updateSpreadSheetCellContent(java.util.List<SpreadSheetCellContent> sheetCellContents)
Update spread sheet cell content. |
|
void |
updateSpreadSheetCellFormat(SpreadSheetCellFormat spreadSheetCellFormat)
Update spread sheet cell format. |
|
void |
updateSpreadSheetColumnFormat(SpreadSheetColumnFormat spreadSheetColumnFormat)
Update spread sheet column format. |
|
void |
updateSpreadSheetConditionalFormat(SpreadSheetConditionalFormat spreadSheetConditionalFormat)
Update spread sheet conditional format. |
|
void |
updateSpreadSheetRowFormat(SpreadSheetRowFormat spreadSheetRowFormat)
Update spread sheet row format. |
|
void |
writeLogEntry(LogEntry logEntry)
Write log entry. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasisPersistenceHandler()
| Method Detail |
|---|
public void persist(AbstractBusinessObject abstractBusinessObject,
org.jboss.netty.channel.Channel channel,
TransientValueSetter transientValueSetter)
throws java.lang.Exception
abstractBusinessObject - the abstract business objectchannel - the channeltransientValueSetter - the transient value setter
java.lang.Exception - the exception
public void persist(java.lang.Object object)
throws java.lang.Exception
object - the object
java.lang.Exception - the exception
public void update(java.lang.Object object)
throws java.lang.Exception
object - the object
java.lang.Exception - the exception
public void removeObject(java.lang.Object object)
throws java.lang.Exception
object - the object
java.lang.Exception - the exception
public <T> T findByName(java.lang.Class<T> clazz,
java.lang.String name,
TransientValueSetter transientValueSetter)
T - the generic typeclazz - the clazzname - the nametransientValueSetter - the transient value setter
public <T> T findById(java.lang.Class<T> clazz,
long id,
TransientValueSetter transientValueSetter)
T - the generic typeclazz - the clazzid - the idtransientValueSetter - the transient value setter
public <T extends PersistenceInterface> java.util.List<T> executeQuery(java.lang.Class<T> clazz,
java.lang.String queryString,
TransientValueSetter transientValueSetter,
boolean makeEager)
T - the generic typeclazz - the clazzqueryString - the query stringtransientValueSetter - the transient value settermakeEager - the make eager
public <T extends PersistenceInterface> java.util.List<T> executeQuery(java.lang.Class<T> clazz,
java.lang.String queryString,
java.lang.Object parameter,
TransientValueSetter transientValueSetter,
boolean makeEager)
T - the generic typeclazz - the clazzqueryString - the query stringparameter - the parametertransientValueSetter - the transient value settermakeEager - the make eager
public <T extends PersistenceInterface> java.util.List<T> executeQuery(java.lang.Class<T> clazz,
java.lang.String queryString,
java.util.List<java.lang.Object> parameterList,
TransientValueSetter transientValueSetter,
boolean makeEager)
T - the generic typeclazz - the clazzqueryString - the query stringparameterList - the parameter listtransientValueSetter - the transient value settermakeEager - the make eager
public void close()
public void setBasisClientAcceptor(FBasisClientAcceptor fBasisClientAcceptor)
fBasisClientAcceptor - the new basis client acceptorpublic void processLogEntries(java.util.List<LogEntry> logEntries)
logEntries - the log entriespublic void writeLogEntry(LogEntry logEntry)
logEntry - the log entrypublic boolean nameCheck(UniqueNameRequest uniqueNameRequest)
uniqueNameRequest - the unique name request
public boolean securityIDCheck(UniqueSecurityIDRequest uniqueSecurityIDRequest)
uniqueSecurityIDRequest - the unique security id request
public java.util.List<AbstractBusinessObject> update(java.util.List<AbstractBusinessObject> abstractBusinessObjects,
org.jboss.netty.channel.Channel channel,
TransientValueSetter transientValueSetter,
boolean writeLogEntry)
abstractBusinessObjects - the abstract business objectschannel - the channeltransientValueSetter - the transient value setterwriteLogEntry - the write log entry
public boolean setUser(FUser fUser,
org.jboss.netty.channel.Channel session,
TransientValueSetter transientValueSetter)
fUser - the f usersession - the sessiontransientValueSetter - the transient value setter
public boolean isUserOnline(FUser fUser)
fUser - the f user
public void removeSession(org.jboss.netty.channel.Channel channel,
TransientValueSetter transientValueSetter)
channel - the channeltransientValueSetter - the transient value setter
public java.util.Set<AbstractBusinessObject> remove(java.util.Set<AbstractBusinessObject> abstractBusinessObjects,
org.jboss.netty.channel.Channel channel)
abstractBusinessObjects - the abstract business objectschannel - the channel
public java.util.List<LogEntry> getLogEntries()
public void updateSpreadSheetCellContent(java.util.List<SpreadSheetCellContent> sheetCellContents)
sheetCellContents - the sheet cell contentspublic java.util.Set<SpreadSheetCellContent> getSpreadSheetCellContents(long id)
id - the id
public void updateSpreadSheetCellFormat(SpreadSheetCellFormat spreadSheetCellFormat)
spreadSheetCellFormat - the spread sheet cell formatpublic java.util.Set<SpreadSheetCellFormat> getSpreadSheetCellFormats(long id)
id - the id
public void updateSpreadSheetColumnFormat(SpreadSheetColumnFormat spreadSheetColumnFormat)
spreadSheetColumnFormat - the spread sheet column formatpublic java.util.Set<SpreadSheetColumnFormat> getSpreadSheetColumnFormats(long id)
id - the id
public void updateSpreadSheetRowFormat(SpreadSheetRowFormat spreadSheetRowFormat)
spreadSheetRowFormat - the spread sheet row formatpublic java.util.Set<SpreadSheetRowFormat> getSpreadSheetRowFormats(long id)
id - the id
public void updateSpreadSheetConditionalFormat(SpreadSheetConditionalFormat spreadSheetConditionalFormat)
spreadSheetConditionalFormat - the spread sheet conditional formatpublic java.util.Set<SpreadSheetConditionalFormat> getSpreadSheetConditionalFormats(long id)
id - the id
public FUser getUser(org.jboss.netty.channel.Channel channel)
channel - the channel
public long getId(java.lang.String name)
name - the name
public void send(AbstractResponse abstractResponse,
org.jboss.netty.channel.Channel channel)
abstractResponse - the abstract responsechannel - the channelpublic void send(AbstractResponse abstractResponse)
abstractResponse - the abstract response
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||