AuthorizeManager.authorizeAction(ourContext, this, Constants.WRITE);
canEdit();
    public void removeTemplateItem()        throws SQLException, AuthorizeException, IOException    {        // Check authorisation        AuthorizeManager.authorizeAction(ourContext, this, Constants.WRITE);        collectionRow.setColumnNull("template_item_id");        DatabaseManager.update(ourContext, collectionRow);        if (template != null)        {            log.info(LogManager.getHeader(ourContext,                "remove_template_item",                "collection_id=" + getID() +                    ",template_item_id=" + template.getID()));            template.delete();            template = null;        }    }