JAVA/CORBA CLASSES
import lotus.domino.*; public class JavaAgent extends AgentBase { public void NotesMain() { try { Session session = getSession(); AgentContext agentContext = session.getAgentContext(); // (Your code goes here) Database db = agentContext.getCurrentDatabase(); int uet = db.getUndeleteExpireTime(); if (uet > 71) db.setUndeleteExpireTime(24); else db.setUndeleteExpireTime(uet + 24); System.out.println( "UndeleteExpireTime = " + db.getUndeleteExpireTime()); } catch(Exception e) { e.printStackTrace(); } } }
See Also