/** Get an instance of a FileTypeEntityHandler. */ public static FileTypeEntityHandler getInstance() { FileTypeEntityHandler handler = null; if (EntityHandlerFactory.hasEntityHandlerFor(FileType.ENTITY_NAME, true)) { handler = (FileTypeEntityHandler) EntityHandlerFactory.getHandlerFor(FileType.ENTITY_NAME, true); } else { handler = new FileTypeEntityHandler(); EntityHandlerFactory.putEntityHandler(FileType.ENTITY_NAME, true, handler); } return handler; }
/** Get an instance of a WorkflowActivityEntityHandler. */ public static WorkflowActivityEntityHandler getInstance() { WorkflowActivityEntityHandler handler = null; if (EntityHandlerFactory.hasEntityHandlerFor(WorkflowActivity.ENTITY_NAME, true)) { handler = (WorkflowActivityEntityHandler) EntityHandlerFactory.getHandlerFor(WorkflowActivity.ENTITY_NAME, true); } else { handler = new WorkflowActivityEntityHandler(); EntityHandlerFactory.putEntityHandler(WorkflowActivity.ENTITY_NAME, true, handler); } return handler; }
/** Get an instance of a ResponseTrackRecordEntityHandler. */ public static ResponseTrackRecordEntityHandler getInstance() { ResponseTrackRecordEntityHandler handler = null; if (EntityHandlerFactory.hasEntityHandlerFor(ResponseTrackRecord.ENTITY_NAME, true)) { handler = (ResponseTrackRecordEntityHandler) EntityHandlerFactory.getHandlerFor(ResponseTrackRecord.ENTITY_NAME, true); } else { handler = new ResponseTrackRecordEntityHandler(); EntityHandlerFactory.putEntityHandler(ResponseTrackRecord.ENTITY_NAME, true, handler); } return handler; }