|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.cms.exec.CMSConnection
public class CMSConnection
Models a connection to the jsr 170 repository
Constructor Summary | |
---|---|
CMSConnection(Session sess,
java.lang.String nameRep,
java.lang.String preSys,
java.lang.String preUsr)
Constructor of the connection |
Method Summary | |
---|---|
void |
close()
Closes the connection |
java.lang.String |
getNameRepositoryPool()
Gets the name of the repository connection pool to which the connection belongs |
java.lang.String |
getPrefixPropertySystem()
Gets the prefix used for system properties |
java.lang.String |
getPrefixPropertyUser()
Gets the prefix used for user properties |
Session |
getSession()
Gets a jcr 170 session |
boolean |
isClose()
Checks if the connection is close |
void |
setClose(boolean close)
Set the close / open state of the connection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CMSConnection(Session sess, java.lang.String nameRep, java.lang.String preSys, java.lang.String preUsr)
sess,
- jcr sessionnameRep,
- name of the repository connectpreSys,
- prefix for system propertiespreUsr,
- prefix for user propertiesMethod Detail |
---|
public void close()
public boolean isClose()
public Session getSession()
public java.lang.String getNameRepositoryPool()
public java.lang.String getPrefixPropertySystem()
public java.lang.String getPrefixPropertyUser()
public void setClose(boolean close)
close
- state to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |