Search in sources :

Example 1 with ViewColumn

use of org.openntf.domino.ViewColumn in project org.openntf.domino by OpenNTF.

the class View method createColumn.

/*
	 * (non-Javadoc)
	 *
	 * @see org.openntf.domino.View#createColumn(int)
	 */
@Override
public ViewColumn createColumn(final int position) {
    try {
        ViewColumn result = fromLotus(getDelegate().createColumn(position), ViewColumn.SCHEMA, this);
        flushCaches();
        return result;
    } catch (NotesException e) {
        DominoUtils.handleException(e);
    }
    return null;
}
Also used : NotesException(lotus.domino.NotesException) ViewColumn(org.openntf.domino.ViewColumn)

Example 2 with ViewColumn

use of org.openntf.domino.ViewColumn in project org.openntf.domino by OpenNTF.

the class View method copyColumn.

/*
	 * (non-Javadoc)
	 *
	 * @see org.openntf.domino.View#copyColumn(int, int)
	 */
@Override
public ViewColumn copyColumn(final int sourceColumn, final int destinationIndex) {
    try {
        ViewColumn result = fromLotus(getDelegate().copyColumn(sourceColumn, destinationIndex), ViewColumn.SCHEMA, this);
        flushCaches();
        return result;
    } catch (NotesException e) {
        DominoUtils.handleException(e);
    }
    return null;
}
Also used : NotesException(lotus.domino.NotesException) ViewColumn(org.openntf.domino.ViewColumn)

Example 3 with ViewColumn

use of org.openntf.domino.ViewColumn in project org.openntf.domino by OpenNTF.

the class View method copyColumn.

/*
	 * (non-Javadoc)
	 *
	 * @see org.openntf.domino.View#copyColumn(lotus.domino.ViewColumn, int)
	 */
@Override
public ViewColumn copyColumn(final lotus.domino.ViewColumn sourceColumn, final int destinationIndex) {
    try {
        ViewColumn result = fromLotus(getDelegate().copyColumn(toLotus(sourceColumn), destinationIndex), ViewColumn.SCHEMA, this);
        flushCaches();
        return result;
    } catch (NotesException e) {
        DominoUtils.handleException(e);
    }
    return null;
}
Also used : NotesException(lotus.domino.NotesException) ViewColumn(org.openntf.domino.ViewColumn)

Example 4 with ViewColumn

use of org.openntf.domino.ViewColumn in project org.openntf.domino by OpenNTF.

the class View method createColumn.

/*
	 * (non-Javadoc)
	 *
	 * @see org.openntf.domino.View#createColumn(int, java.lang.String)
	 */
@Override
public ViewColumn createColumn(final int position, final String columnTitle) {
    try {
        ViewColumn result = fromLotus(getDelegate().createColumn(position, columnTitle), ViewColumn.SCHEMA, this);
        flushCaches();
        return result;
    } catch (NotesException e) {
        DominoUtils.handleException(e);
    }
    return null;
}
Also used : NotesException(lotus.domino.NotesException) ViewColumn(org.openntf.domino.ViewColumn)

Example 5 with ViewColumn

use of org.openntf.domino.ViewColumn in project org.openntf.domino by OpenNTF.

the class View method copyColumn.

/*
	 * (non-Javadoc)
	 *
	 * @see org.openntf.domino.View#copyColumn(java.lang.String)
	 */
@Override
public ViewColumn copyColumn(final String sourceColumn) {
    try {
        ViewColumn result = fromLotus(getDelegate().copyColumn(sourceColumn), ViewColumn.SCHEMA, this);
        flushCaches();
        return result;
    } catch (NotesException e) {
        DominoUtils.handleException(e);
    }
    return null;
}
Also used : NotesException(lotus.domino.NotesException) ViewColumn(org.openntf.domino.ViewColumn)

Aggregations

ViewColumn (org.openntf.domino.ViewColumn)15 NotesException (lotus.domino.NotesException)8 View (org.openntf.domino.View)4 ArrayList (java.util.ArrayList)3 LinkedHashMap (java.util.LinkedHashMap)3 JsonJavaObject (com.ibm.commons.util.io.json.JsonJavaObject)2 JsonObject (com.ibm.commons.util.io.json.JsonObject)2 Edge (com.tinkerpop.blueprints.Edge)2 Vertex (com.tinkerpop.blueprints.Vertex)2 EdgeFrame (com.tinkerpop.frames.EdgeFrame)2 VertexFrame (com.tinkerpop.frames.VertexFrame)2 Method (java.lang.reflect.Method)2 List (java.util.List)2 Map (java.util.Map)2 Set (java.util.Set)2 Database (org.openntf.domino.Database)2 Session (org.openntf.domino.Session)2 UserAccessException (org.openntf.domino.exceptions.UserAccessException)2 DEdgeList (org.openntf.domino.graph2.DEdgeList)2 FramedEdgeList (org.openntf.domino.graph2.annotations.FramedEdgeList)2